Changeset 5855 for trunk/centreon/www/include/configuration/configObject/command_categories/formCommandCategories.php
- Timestamp:
- 07/23/08 17:45:06 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/include/configuration/configObject/command_categories/formCommandCategories.php
r5226 r5855 46 46 $form = new HTML_QuickForm('Form', 'post', "?p=".$p); 47 47 if ($o == "a") 48 $form->addElement('header', 'title', _("Add a ServiceCategory"));48 $form->addElement('header', 'title', _("Add a Command Category")); 49 49 else if ($o == "c") 50 $form->addElement('header', 'title', _("Modify a ServiceCategory"));50 $form->addElement('header', 'title', _("Modify a Command Category")); 51 51 else if ($o == "w") 52 $form->addElement('header', 'title', _("View a ServiceCategory"));52 $form->addElement('header', 'title', _("View a Command Category")); 53 53 54 54 /* … … 102 102 $tpl = initSmartyTpl($path, $tpl); 103 103 104 # Just watch a service_categories information104 # Just watch a command_categories information 105 105 if ($o == "w") { 106 106 $form->addElement("button", "change", _("Modify"), array("onClick"=>"javascript:window.location.href='?p=".$p."&o=c&sc_id=".$sc_id."'")); … … 108 108 $form->freeze(); 109 109 } else if ($o == "c") { 110 # Modify a service_categories information110 # Modify a command_categories information 111 111 $subC =& $form->addElement('submit', 'submitC', _("Save")); 112 112 $res =& $form->addElement('reset', 'reset', _("Reset")); 113 113 $form->setDefaults($ccdata); 114 114 } else if ($o == "a") { 115 # Add a service_categories information115 # Add a command_categories information 116 116 $subA =& $form->addElement('submit', 'submitA', _("Save")); 117 117 $res =& $form->addElement('reset', 'reset', _("Reset"));
