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

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

Files:
1 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"));