1
0
Fork 0
W3C fix
Dieser Commit ist enthalten in:
DSB 2011-08-09 19:43:48 +00:00
Ursprung f9f5a75a7b
Commit 99555f092d
1 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -302,6 +302,12 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
*/
private function _addButtonsTestAndDelete($index)
{
if ($index == 0) {
// don't show delete button for first ftp profile
$buttonDecorator = 'default';
} else {
$buttonDecorator = 'LineStart';
}
$this->addElement(
'button',
'ftpCheck' . $index,
@ -310,7 +316,7 @@ class Application_Form_Config_Ftp extends Zend_Form_SubForm
'content' =>
$this->getView()->getIcon('Connect', '', 16) . ' ' .
$this->_lang->getTranslator()->_('L_TESTCONNECTION'),
'decorators' => array('LineStart'),
'decorators' => array($buttonDecorator),
'escape' => false,
'label' => '',
'class' => 'Formbutton ftpToggle' . $index,