diff options
Diffstat (limited to 'frontends/php/include/views/administration.general.regularexpressions.edit.php')
-rw-r--r-- | frontends/php/include/views/administration.general.regularexpressions.edit.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/include/views/administration.general.regularexpressions.edit.php b/frontends/php/include/views/administration.general.regularexpressions.edit.php index 6fda291a5c2..ece16463cc6 100644 --- a/frontends/php/include/views/administration.general.regularexpressions.edit.php +++ b/frontends/php/include/views/administration.general.regularexpressions.edit.php @@ -32,7 +32,7 @@ $form->addVar('regexpid', $this->data['regexpid']); * Expressions tab */ $exprTab = new CFormList('exprTab'); -$nameTextBox = new CTextBox('name', $this->get('name'), ZBX_TEXTBOX_STANDARD_SIZE, null, 128); +$nameTextBox = new CTextBox('name', $this->get('name'), ZBX_TEXTBOX_STANDARD_SIZE, false, 128); $nameTextBox->attr('autofocus', 'autofocus'); $exprTab->addRow(_('Name'), $nameTextBox); @@ -53,9 +53,9 @@ $exprForm->addRow(array(_('Expression type'), new CComboBox('typeNew', null, nul $exprForm->addRow(array(_('Delimiter'), new CComboBox('delimiterNew', null, null, expressionDelimiters())), null, 'delimiterNewRow'); $exprForm->addRow(array(_('Case sensitive'), new CCheckBox('case_sensitiveNew'))); $exprFormFooter = array( - new Cbutton('saveExpression', _('Add'), null, 'link_menu'), + new CButton('saveExpression', _('Add'), null, 'link_menu'), SPACE, - new Cbutton('cancelExpression', _('Cancel'), null, 'link_menu') + new CButton('cancelExpression', _('Cancel'), null, 'link_menu') ); $exprTab->addRow(null, new CDiv(array($exprForm, $exprFormFooter), 'objectgroup inlineblock border_dotted'), true, 'exprForm'); @@ -85,8 +85,8 @@ $form->addItem($regExpView); $secondaryActions = array(new CButtonCancel()); if (isset($this->data['regexpid'])) { array_unshift($secondaryActions, - new CSubmit('clone', _('Clone')), - new CButtonDelete(_('Delete regular expression?'), url_param('form').url_param('regexpid').url_param('delete', false, 'go')) + new CButton('clone', _('Clone')), + new CButtonDelete(_('Delete regular expression?'), url_param('regexpid').url_param('regexp.massdelete', false, 'action')) ); } $form->addItem(makeFormFooter(new CSubmit('save', _('Save')), $secondaryActions)); |