MSD-12
W3C fix
Dieser Commit ist enthalten in:
Ursprung
f9f5a75a7b
Commit
99555f092d
1 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen
|
@ -302,6 +302,12 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
|
||||||
*/
|
*/
|
||||||
private function _addButtonsTestAndDelete($index)
|
private function _addButtonsTestAndDelete($index)
|
||||||
{
|
{
|
||||||
|
if ($index == 0) {
|
||||||
|
// don't show delete button for first ftp profile
|
||||||
|
$buttonDecorator = 'default';
|
||||||
|
} else {
|
||||||
|
$buttonDecorator = 'LineStart';
|
||||||
|
}
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'button',
|
'button',
|
||||||
'ftpCheck' . $index,
|
'ftpCheck' . $index,
|
||||||
|
@ -310,7 +316,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
|
||||||
'content' =>
|
'content' =>
|
||||||
$this->getView()->getIcon('Connect', '', 16) . ' ' .
|
$this->getView()->getIcon('Connect', '', 16) . ' ' .
|
||||||
$this->_lang->getTranslator()->_('L_TESTCONNECTION'),
|
$this->_lang->getTranslator()->_('L_TESTCONNECTION'),
|
||||||
'decorators' => array('LineStart'),
|
'decorators' => array($buttonDecorator),
|
||||||
'escape' => false,
|
'escape' => false,
|
||||||
'label' => '',
|
'label' => '',
|
||||||
'class' => 'Formbutton ftpToggle' . $index,
|
'class' => 'Formbutton ftpToggle' . $index,
|
||||||
|
|
Laden …
In neuem Issue referenzieren