Changeset 5855

Show
Ignore:
Timestamp:
07/23/08 17:45:06 (3 months ago)
Author:
ncordier
Message:

change display "service" to "command" in command categories

Location:
trunk/centreon/www/include/configuration/configObject/command_categories
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/centreon/www/include/configuration/configObject/command_categories/formCommandCategories.php

    r5226 r5855  
    4646        $form = new HTML_QuickForm('Form', 'post', "?p=".$p); 
    4747        if ($o == "a") 
    48                 $form->addElement('header', 'title', _("Add a Service Category")); 
     48                $form->addElement('header', 'title', _("Add a Command Category")); 
    4949        else if ($o == "c") 
    50                 $form->addElement('header', 'title', _("Modify a Service Category")); 
     50                $form->addElement('header', 'title', _("Modify a Command Category")); 
    5151        else if ($o == "w") 
    52                 $form->addElement('header', 'title', _("View a Service Category")); 
     52                $form->addElement('header', 'title', _("View a Command Category")); 
    5353         
    5454        /* 
     
    102102        $tpl = initSmartyTpl($path, $tpl); 
    103103 
    104         # Just watch a service_categories information 
     104        # Just watch a command_categories information 
    105105        if ($o == "w")  { 
    106106                $form->addElement("button", "change", _("Modify"), array("onClick"=>"javascript:window.location.href='?p=".$p."&o=c&sc_id=".$sc_id."'")); 
     
    108108                $form->freeze(); 
    109109        } else if ($o == "c")   { 
    110                 # Modify a service_categories information 
     110                # Modify a command_categories information 
    111111                $subC =& $form->addElement('submit', 'submitC', _("Save")); 
    112112                $res =& $form->addElement('reset', 'reset', _("Reset")); 
    113113            $form->setDefaults($ccdata); 
    114114        } else if ($o == "a")   { 
    115                 # Add a service_categories information 
     115                # Add a command_categories information 
    116116                $subA =& $form->addElement('submit', 'submitA', _("Save")); 
    117117                $res =& $form->addElement('reset', 'reset', _("Reset")); 
  • trunk/centreon/www/include/configuration/configObject/command_categories/listCommandCategories.ihtml

    r5226 r5855  
    2121                        <td class="ListColHeaderLeft">{$headerMenu_name}</td> 
    2222                        <td class="ListColHeaderCenter">{$headerMenu_desc}</td> 
    23                         <td class="ListColHeaderCenter">{$headerMenu_linked_svc}</td> 
     23                        <td class="ListColHeaderCenter">{$headerMenu_linked_cmd}</td> 
    2424                        <td class="ListColHeaderRight">{$headerMenu_options}</td> 
    2525                </tr> 
  • trunk/centreon/www/include/configuration/configObject/command_categories/listCommandCategories.php

    r5226 r5855  
    5151        $tpl->assign("headerMenu_name", _("Name")); 
    5252        $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")); 
    5454        $tpl->assign("headerMenu_options", _("Options")); 
    5555