Changeset 5855
- Timestamp:
- 07/23/08 17:45:06 (3 months ago)
- Location:
- trunk/centreon/www/include/configuration/configObject/command_categories
- Files:
-
- 3 modified
-
formCommandCategories.php (modified) (3 diffs)
-
listCommandCategories.ihtml (modified) (1 diff)
-
listCommandCategories.php (modified) (1 diff)
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")); -
trunk/centreon/www/include/configuration/configObject/command_categories/listCommandCategories.ihtml
r5226 r5855 21 21 <td class="ListColHeaderLeft">{$headerMenu_name}</td> 22 22 <td class="ListColHeaderCenter">{$headerMenu_desc}</td> 23 <td class="ListColHeaderCenter">{$headerMenu_linked_ svc}</td>23 <td class="ListColHeaderCenter">{$headerMenu_linked_cmd}</td> 24 24 <td class="ListColHeaderRight">{$headerMenu_options}</td> 25 25 </tr> -
trunk/centreon/www/include/configuration/configObject/command_categories/listCommandCategories.php
r5226 r5855 51 51 $tpl->assign("headerMenu_name", _("Name")); 52 52 $tpl->assign("headerMenu_desc", _("Description")); 53 $tpl->assign("headerMenu_linked_ svc", _("Number of linked services"));53 $tpl->assign("headerMenu_linked_cmd", _("Number of linked commands")); 54 54 $tpl->assign("headerMenu_options", _("Options")); 55 55
