monitoring/CommandForm: remove obsolete classes

This commit is contained in:
Thomas Gelf 2014-06-20 14:24:32 +02:00
parent fb18de1f42
commit e170c889d2
1 changed files with 1 additions and 20 deletions

View File

@ -195,7 +195,7 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
$formCode = (string) $form;
$jsLessSubmit = '<noscript>'
. '<input type="submit" value="Change" class="button btn btn-cta" />'
. '<input type="submit" value="Change" class="button" />'
. '</noscript></form>';
$formCode = str_replace('</form>', $jsLessSubmit, $formCode);
@ -204,25 +204,6 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
return $out;
}
/**
* Merges css class names together
*
* @param string $base
* @param string $additional
* @param string ...
*
* @return string
*/
private function mergeClass($base, $additional)
{
$args = func_get_args();
$base = explode(' ', array_shift($args));
while (($additional = array_shift($args))) {
$base = array_merge($base, explode(' ', $additional));
}
return implode(' ', $base);
}
}
// @codingStandardsIgnoreStop