monitoring/CommandForm: remove obsolete classes
This commit is contained in:
parent
fb18de1f42
commit
e170c889d2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue