CC-3001: Preferences->"Submit" button renamed to "Save", and should be at the top and the bottom of the screen
Changed all other buttons that says "Submit" to "Save. Also added some CSS stuff so that the "Save" button at the top of Preference page have some space between itself and the form below.
This commit is contained in:
parent
38719b1a4e
commit
5d741d84ee
|
@ -81,7 +81,7 @@ class Application_Form_AddUser extends Zend_Form
|
|||
$submit = new Zend_Form_Element_Submit('submit');
|
||||
$submit->setAttrib('class', 'ui-button ui-state-default right-floated');
|
||||
$submit->setIgnore(true);
|
||||
$submit->setLabel('Submit');
|
||||
$submit->setLabel('Save');
|
||||
$this->addElement($submit);
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ class Application_Form_AdvancedSearch extends Zend_Form
|
|||
// Add the submit button
|
||||
$this->addElement('button', 'search_submit', array(
|
||||
'ignore' => true,
|
||||
'label' => 'Submit',
|
||||
'label' => 'Save',
|
||||
'order' => '-1'
|
||||
));
|
||||
$this->getElement('search_submit')->removeDecorator('DtDdWrapper');
|
||||
|
|
|
@ -134,7 +134,7 @@ class Application_Form_EditAudioMD extends Zend_Form
|
|||
$this->addElement('submit', 'submit', array(
|
||||
'ignore' => true,
|
||||
'class' => 'ui-button ui-state-default',
|
||||
'label' => 'Submit',
|
||||
'label' => 'Save',
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
)
|
||||
|
|
|
@ -24,7 +24,7 @@ class Application_Form_PlaylistMetadata extends Zend_Form{
|
|||
|
||||
// Add the comment element
|
||||
$this->addElement('button', 'new_playlist_submit', array(
|
||||
'label' => 'Submit',
|
||||
'label' => 'Save',
|
||||
'ignore' => true
|
||||
));
|
||||
}
|
||||
|
|
|
@ -151,7 +151,7 @@ class Application_Form_SupportSettings extends Zend_Form
|
|||
$submit = new Zend_Form_Element_Submit("submit");
|
||||
$submit->class = 'ui-button ui-state-default right-floated';
|
||||
$submit->setIgnore(true)
|
||||
->setLabel("Submit")
|
||||
->setLabel("Save")
|
||||
->setDecorators(array('ViewHelper'));
|
||||
$this->addElement($submit);
|
||||
}
|
||||
|
|
|
@ -1618,6 +1618,10 @@ div.success{
|
|||
width: 500px;
|
||||
}
|
||||
|
||||
.preferences .padded {
|
||||
margin-top: 5px; /* Firefox needs this */
|
||||
}
|
||||
|
||||
dt.block-display, dd.block-display {
|
||||
display: block;
|
||||
float: none;
|
||||
|
|
Loading…
Reference in New Issue