phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: property/inc hook_admin.inc.php,1.2,1.3 header.i


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/inc hook_admin.inc.php,1.2,1.3 header.inc.php,1.1.1.1,1.2
Date: Sun, 01 Sep 2002 15:43:51 -0400

Update of /cvsroot/phpgroupware/property/inc
In directory subversions:/tmp/cvs-serv6157/inc

Modified Files:
        hook_admin.inc.php header.inc.php 
Log Message:
no message

Index: hook_admin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/hook_admin.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** hook_admin.inc.php  29 Aug 2002 20:28:06 -0000      1.2
--- hook_admin.inc.php  1 Sep 2002 19:43:49 -0000       1.3
***************
*** 13,17 ****
                        $file = Array
                        (
!                               'Global Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname='
 . $appname),
                                'Configuration' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiconfig.index&appname=' 
. $appname),
                                'Equipment type'=> 
$GLOBALS['phpgw']->link('/property/list_equipment_type.php'),
--- 13,21 ----
                        $file = Array
                        (
!       //                      'Global Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname='
 . $appname),
!                               'Workorder Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=p_workorder'),
!                               'Property Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=p_property'),
!       //                      'Equipment Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=p_equipment'),
!                               'Ticket Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname=p_ticket'),
                                'Configuration' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiconfig.index&appname=' 
. $appname),
                                'Equipment type'=> 
$GLOBALS['phpgw']->link('/property/list_equipment_type.php'),
***************
*** 20,24 ****
                                'Property type attributes '=> 
$GLOBALS['phpgw']->link('/property/list_property_type_attribute.php'),
                                'Property type attributes class'=> 
$GLOBALS['phpgw']->link('/property/list_property_type_attribute_class.php'),
-                               'Global Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname='
 . $appname),
                                'Workorder template'=> 
$GLOBALS['phpgw']->link('/property/list_wo_template.php'),
                                'Workorder administration'=> 
$GLOBALS['phpgw']->link('/property/workorder_admin.php'),
--- 24,27 ----

Index: header.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/header.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** header.inc.php      28 Aug 2002 16:43:17 -0000      1.1.1.1
--- header.inc.php      1 Sep 2002 19:43:49 -0000       1.2
***************
*** 42,48 ****
  //            $t->set_var('lang_activities','');
  //    }
!       
$t->set_var('link_property',$GLOBALS['phpgw']->link('/property/list_property.php','sub=property'));
        $t->set_var('lang_property',lang('Property'));
!       
$t->set_var('link_equipment',$GLOBALS['phpgw']->link('/property/list_equipment.php','sub=equipment'));
        $t->set_var('lang_equipment',lang('Equipment'));
        
$t->set_var('link_requirement',$GLOBALS['phpgw']->link('/property/list_requirement.php'));
--- 42,48 ----
  //            $t->set_var('lang_activities','');
  //    }
!       
$t->set_var('link_property',$GLOBALS['phpgw']->link('/property/list_property.php','sub=p_property'));
        $t->set_var('lang_property',lang('Property'));
!       
$t->set_var('link_equipment',$GLOBALS['phpgw']->link('/property/list_equipment.php','sub=p_equipment'));
        $t->set_var('lang_equipment',lang('Equipment'));
        
$t->set_var('link_requirement',$GLOBALS['phpgw']->link('/property/list_requirement.php'));
***************
*** 54,76 ****
        
$t->set_var('link_events',$GLOBALS['phpgw']->link('/calendar/index.php'));
        $t->set_var('lang_events',lang('Events'));
!       
$t->set_var('link_helpdesk',$GLOBALS['phpgw']->link('/property/list_ticket.php','sub=ticket'));
        $t->set_var('lang_helpdesk',lang('Helpdesk'));
!       
$t->set_var('link_workorder',$GLOBALS['phpgw']->link('/property/list_workorder.php','sub=workorder'));
        $t->set_var('lang_workorder',lang('Workorder'));
!       
$t->set_var('link_invoice',$GLOBALS['phpgw']->link('/property/list_invoice.php','sub=invoice'));
        $t->set_var('lang_invoice',lang('Invoice'));
!       
$t->set_var('link_activities',$GLOBALS['phpgw']->link('/property/list_activity.php','sub=activity'));
        $t->set_var('lang_activities',lang('Activities'));
  
!       if ($sub == ticket)
        {
                $admin_info = lang('Fm Ticket System');
        }
  
!       if ($sub == equipment)
        {
!               
$t->set_var('link_equipment_type',$GLOBALS['phpgw']->link('/property/list_equipment_type.php','sub=equipment'));
                $t->set_var('sublang_equipment_type',lang('Equipment type'));
!               
$t->set_var('link_equipment_type_attribute',$GLOBALS['phpgw']->link('/property/list_equipment_type_attribute.php','sub=equipment'));
                $t->set_var('sublang_equipment_type_attribute',lang('Equipment 
type attribute'));
                $admin_info = lang('equipment');
--- 54,76 ----
        
$t->set_var('link_events',$GLOBALS['phpgw']->link('/calendar/index.php'));
        $t->set_var('lang_events',lang('Events'));
!       
$t->set_var('link_helpdesk',$GLOBALS['phpgw']->link('/property/list_ticket.php','sub=p_ticket'));
        $t->set_var('lang_helpdesk',lang('Helpdesk'));
!       
$t->set_var('link_workorder',$GLOBALS['phpgw']->link('/property/list_workorder.php','sub=p_workorder'));
        $t->set_var('lang_workorder',lang('Workorder'));
!       
$t->set_var('link_invoice',$GLOBALS['phpgw']->link('/property/list_invoice.php','sub=p_invoice'));
        $t->set_var('lang_invoice',lang('Invoice'));
!       
$t->set_var('link_activities',$GLOBALS['phpgw']->link('/property/list_activity.php','sub=p_activity'));
        $t->set_var('lang_activities',lang('Activities'));
  
!       if ($sub == p_ticket)
        {
                $admin_info = lang('Fm Ticket System');
        }
  
!       if ($sub == p_equipment)
        {
!               
$t->set_var('link_equipment_type',$GLOBALS['phpgw']->link('/property/list_equipment_type.php','sub=p_equipment'));
                $t->set_var('sublang_equipment_type',lang('Equipment type'));
!               
$t->set_var('link_equipment_type_attribute',$GLOBALS['phpgw']->link('/property/list_equipment_type_attribute.php','sub=p_equipment'));
                $t->set_var('sublang_equipment_type_attribute',lang('Equipment 
type attribute'));
                $admin_info = lang('equipment');
***************
*** 85,101 ****
        }
  
!       if ($sub == property)
        {
!               
$t->set_var('sublink_property',$GLOBALS['phpgw']->link('/property/list_property.php','sub=property'));
                $t->set_var('sublang_property',lang('Property'));
!               
$t->set_var('sublink_building',$GLOBALS['phpgw']->link('/property/list_building.php','sub=property'));
                $t->set_var('sublang_building',lang('Building'));
!               
$t->set_var('sublink_entrance',$GLOBALS['phpgw']->link('/property/list_entrance.php','sub=property'));
                $t->set_var('sublang_entrance',lang('Entrance'));
!               
$t->set_var('sublink_apartment',$GLOBALS['phpgw']->link('/property/list_apartment.php','sub=property'));
                $t->set_var('sublang_apartment',lang('Apartment'));
!               
$t->set_var('sublink_drawing',$GLOBALS['phpgw']->link('/property/list_drawing.php','sub=property'));
                $t->set_var('sublang_drawing',lang('Drawing'));
!               
$t->set_var('sublink_gabnr',$GLOBALS['phpgw']->link('/property/list_gabnr.php','sub=property'));
                $t->set_var('sublang_gabnr',lang('gabnr'));
                $admin_info = lang('property');
--- 85,101 ----
        }
  
!       if ($sub == p_property)
        {
!               
$t->set_var('sublink_property',$GLOBALS['phpgw']->link('/property/list_property.php','sub=p_property'));
                $t->set_var('sublang_property',lang('Property'));
!               
$t->set_var('sublink_building',$GLOBALS['phpgw']->link('/property/list_building.php','sub=p_property'));
                $t->set_var('sublang_building',lang('Building'));
!               
$t->set_var('sublink_entrance',$GLOBALS['phpgw']->link('/property/list_entrance.php','sub=p_property'));
                $t->set_var('sublang_entrance',lang('Entrance'));
!               
$t->set_var('sublink_apartment',$GLOBALS['phpgw']->link('/property/list_apartment.php','sub=p_property'));
                $t->set_var('sublang_apartment',lang('Apartment'));
!               
$t->set_var('sublink_drawing',$GLOBALS['phpgw']->link('/property/list_drawing.php','sub=p_property'));
                $t->set_var('sublang_drawing',lang('Drawing'));
!               
$t->set_var('sublink_gabnr',$GLOBALS['phpgw']->link('/property/list_gabnr.php','sub=p_property'));
                $t->set_var('sublang_gabnr',lang('gabnr'));
                $admin_info = lang('property');
***************
*** 119,127 ****
        }
  
!       if ($sub == invoice)
        {
!               
$t->set_var('sub_invoice_list',$phpgw->link('/property/list_invoice.php','sub=invoice'));
!               
$t->set_var('sub_invoice_paid',$phpgw->link('/property/invoice_paid.php','sub=invoice'));
!               
$t->set_var('sub_invoice_powermeter',$phpgw->link('/property/list_power_meter.php','sub=invoice'));
                $t->set_var('sublang_invoice_list',lang('Invoice'));
                $t->set_var('sublang_invoice_paid',lang('Paid'));
--- 119,127 ----
        }
  
!       if ($sub == p_invoice)
        {
!               
$t->set_var('sub_invoice_list',$phpgw->link('/property/list_invoice.php','sub=p_invoice'));
!               
$t->set_var('sub_invoice_paid',$phpgw->link('/property/invoice_paid.php','sub=p_invoice'));
!               
$t->set_var('sub_invoice_powermeter',$phpgw->link('/property/list_power_meter.php','sub=p_invoice'));
                $t->set_var('sublang_invoice_list',lang('Invoice'));
                $t->set_var('sublang_invoice_paid',lang('Paid'));
***************
*** 139,147 ****
          $t->set_var('sublang_invoice_powermeter','');
        }
!       if ($sub == activity)
        {
!               
$t->set_var('sub_activities_list',$phpgw->link('/property/list_activity.php','sub=activity'));
!               
$t->set_var('sub_vendor_activities',$phpgw->link('/property/list_vendors_activities.php','sub=activity'));
!               
$t->set_var('sub_list_agreement',$phpgw->link('/property/list_agreement.php','sub=activity'));
                $t->set_var('sublang_activities_list',lang('Activities'));
                $t->set_var('sublang_vendor_activities',lang('Vendors'));
--- 139,147 ----
          $t->set_var('sublang_invoice_powermeter','');
        }
!       if ($sub == p_activity)
        {
!               
$t->set_var('sub_activities_list',$phpgw->link('/property/list_activity.php','sub=p_activity'));
!               
$t->set_var('sub_vendor_activities',$phpgw->link('/property/list_vendors_activities.php','sub=p_activity'));
!               
$t->set_var('sub_list_agreement',$phpgw->link('/property/list_agreement.php','sub=p_activity'));
                $t->set_var('sublang_activities_list',lang('Activities'));
                $t->set_var('sublang_vendor_activities',lang('Vendors'));
***************
*** 159,167 ****
          $t->set_var('sublang_agreement','');
        }
!       if ($sub == workorder)
        {
!               
$t->set_var('sub_workorder_list',$phpgw->link('/property/list_workorder.php','sub=workorder'));
!               
$t->set_var('sub_workorder_request',$phpgw->link('/property/list_request.php','sub=workorder'));
!               
$t->set_var('sub_workorder_archive',$phpgw->link('/property/workorder_archive.php','sub=workorder'));
                $t->set_var('sublang_workorder_list',lang('Workorder'));
                $t->set_var('sublang_workorder_request',lang('Request'));
--- 159,167 ----
          $t->set_var('sublang_agreement','');
        }
!       if ($sub == p_workorder)
        {
!               
$t->set_var('sub_workorder_list',$phpgw->link('/property/list_workorder.php','sub=p_workorder'));
!               
$t->set_var('sub_workorder_request',$phpgw->link('/property/list_request.php','sub=p_workorder'));
!               
$t->set_var('sub_workorder_archive',$phpgw->link('/property/workorder_archive.php','sub=p_workorder'));
                $t->set_var('sublang_workorder_list',lang('Workorder'));
                $t->set_var('sublang_workorder_request',lang('Request'));





reply via email to

[Prev in Thread] Current Thread [Next in Thread]