phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] admin/inc class.uiloglevels.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] admin/inc class.uiloglevels.inc.php
Date: Sun, 15 Oct 2006 03:59:40 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    admin
Changes by:     Dave Hall <skwashd>     06/10/15 03:59:40

Modified files:
        inc            : class.uiloglevels.inc.php 

Log message:
        some but not all notices

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/class.uiloglevels.inc.php?cvsroot=phpgroupware&r1=1.4&r2=1.5

Patches:
Index: class.uiloglevels.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uiloglevels.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- class.uiloglevels.inc.php   19 Sep 2006 15:16:32 -0000      1.4
+++ class.uiloglevels.inc.php   15 Oct 2006 03:59:40 -0000      1.5
@@ -9,7 +9,7 @@
        *  option) any later version.                                           
   *
        
\**************************************************************************/
 
-       /* $Id: class.uiloglevels.inc.php,v 1.4 2006/09/19 15:16:32 skwashd Exp 
$ */
+       /* $Id: class.uiloglevels.inc.php,v 1.5 2006/10/15 03:59:40 skwashd Exp 
$ */
 
        class uiloglevels
        {
@@ -118,7 +118,7 @@
                                                'type'                  => 
'module',
                                                'module_name'   => $title,
                                                'module_option' => 
$this->create_select_box('module', $app, 
$GLOBALS['phpgw_info']['server']['log_levels']['module'][$app]),
-                                               'remove_url'    => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiloglevels.edit_log_levels'
 . '&level_type=module&level_key='.$app),
+                                               'remove_url'    => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiloglevels.edit_log_levels', 'level_type' => 'module', 'level_key' => 
$app) ),
                                                'lang_remove'   => 
lang('remove')
                                        );
                                        $this->template->set_var($var);
@@ -143,7 +143,7 @@
                                $var = array(
                                        'tr_class'              => $tr_class,
                                        'type'                  => 'module',
-                                       'module_add_link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiloglevels.edit_log_levels'),
+                                       'module_add_link' => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiloglevels.edit_log_levels') ),
                                        'lang_add' => lang('add'),
                                        'module_add_options'   => $add_options,
                                        'lang_fatal'    => lang('fatal'),
@@ -162,6 +162,7 @@
                
                function add_users_list() 
                {
+                       $add_options = '';
                        $tr_class = 'row_on';
                        $accounts = 
$GLOBALS['phpgw']->accounts->get_list('accounts');
                        foreach($accounts as $account)
@@ -174,7 +175,7 @@
                                                'tr_class'              => 
$tr_class,
                                                'module_name'   => $account_lid,
                                                'module_option' => 
$this->create_select_box('user', $account_lid, 
$GLOBALS['phpgw_info']['server']['log_levels']['user'][$account_lid]),
-                                               'remove_url' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiloglevels.edit_log_levels'
 . '&level_type=user&level_key='.$account_lid),
+                                               'remove_url' => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiloglevels.edit_log_levels', 'level_type' => 'user', 'level_key' => 
$account_lid) ),
                                                'lang_remove'   => 
lang('remove')
                                        );
                                        $this->template->set_var($var);
@@ -190,7 +191,7 @@
                        }
                        else 
                        {
-                                       $add_options = $add_options . '<option 
value="' . $account_lid . '">' . $account_lid . '</option>';
+                                       $add_options .= '<option value="' . 
$account_lid . '">' . $account_lid . '</option>';
                        }
                    }   
                                
@@ -199,7 +200,7 @@
                                $var = array(
                                        'type'                  => 'user',
                                        'tr_class'              => $tr_class,
-                                       'module_add_link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiloglevels.edit_log_levels'),
+                                       'module_add_link' => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiloglevels.edit_log_levels') ),
                                        'lang_add' => lang('add'),
                                        'module_add_options'   => $add_options,
                                        'lang_fatal'    => lang('fatal'),
@@ -222,7 +223,7 @@
                        (
                                'level_type'    => $level_type,
                                'level_key'             => $level_key,
-                               'select_link'   => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiloglevels.edit_log_levels'),
+                               'select_link'   => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiloglevels.edit_log_levels') ),
                                'select_name'   => $select_name,
                                'lang_fatal'    => lang('fatal'),
                                'lang_error'    => lang('error'),




reply via email to

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