From abc9481a58b0ee252d1a722a3954382ce4faa4b8 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Fri, 19 Sep 2014 12:55:47 -0400 Subject: [PATCH] Updated to conform to naming conventions --- airtime_mvc/application/forms/AddShowStyle.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/airtime_mvc/application/forms/AddShowStyle.php b/airtime_mvc/application/forms/AddShowStyle.php index a520c9bd0..d6e97e019 100644 --- a/airtime_mvc/application/forms/AddShowStyle.php +++ b/airtime_mvc/application/forms/AddShowStyle.php @@ -45,11 +45,11 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm )); // Show the current logo - $this->addElement('image', 'show_logo_current', array( + $this->addElement('image', 'add_show_logo_current', array( 'label' => _('Current Logo:'), )); - $logo = $this->getElement('show_logo_current'); + $logo = $this->getElement('add_show_logo_current'); $logo->setDecorators(array( array('ViewScript', array( 'viewScript' => 'form/add-show-style.phtml', @@ -60,7 +60,7 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm $logo->setAttrib('disabled','disabled'); // Button to remove the current logo - $this->addElement('button', 'show_remove_logo', array( + $this->addElement('button', 'add_show_logo_current_remove', array( 'label' => '' . _('Remove') . '', 'class' => 'ui-button ui-state-default ui-button-text-only', 'escape' => false @@ -83,11 +83,11 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm $this->addElement($upload); // Add image preview - $this->addElement('image', 'show_logo_preview', array( + $this->addElement('image', 'add_show_logo_preview', array( 'label' => _('Logo Preview:'), )); - $preview = $this->getElement('show_logo_preview'); + $preview = $this->getElement('add_show_logo_preview'); $preview->setDecorators(array(array('ViewScript', array( 'viewScript' => 'form/add-show-style.phtml', 'class' => 'big'