[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [20973] Improvement: Added deprecated as loglevel - 4
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] [20973] Improvement: Added deprecated as loglevel - 4512:4565 |
Date: |
Fri, 22 Jan 2010 09:44:29 +0000 |
Revision: 20973
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20973
Author: sigurdne
Date: 2010-01-22 09:44:29 +0000 (Fri, 22 Jan 2010)
Log Message:
-----------
Improvement: Added deprecated as loglevel - 4512:4565
Modified Paths:
--------------
people/sigurdne/modules/admin/trunk/inc/class.uiloglevels.inc.php
people/sigurdne/modules/admin/trunk/templates/base/log_level_select.tpl
Modified: people/sigurdne/modules/admin/trunk/inc/class.uiloglevels.inc.php
===================================================================
--- people/sigurdne/modules/admin/trunk/inc/class.uiloglevels.inc.php
2010-01-22 09:43:33 UTC (rev 20972)
+++ people/sigurdne/modules/admin/trunk/inc/class.uiloglevels.inc.php
2010-01-22 09:44:29 UTC (rev 20973)
@@ -224,7 +224,7 @@
private function create_select_box($level_type, $level_key,
$current_level)
{
- $select_name = $level_type . '_' . $level_key .
'_select';
+ $select_name = "{$level_type}_{$level_key}_select";
$var = array
(
@@ -239,13 +239,15 @@
'lang_notice' => lang('notice'),
'lang_debug' => lang('debug'),
'lang_strict' => 'strict',
+ 'lang_deprecated' => 'deprecated',
'F_selected' => '',
'E_selected' => '',
'N_selected' => '',
'W_selected' => '',
'I_selected' => '',
'D_selected' => '',
- 'S_selected' => ''
+ 'S_selected' => '',
+ 'DP_selected' => ''
);
if ( $current_level )
Modified:
people/sigurdne/modules/admin/trunk/templates/base/log_level_select.tpl
===================================================================
--- people/sigurdne/modules/admin/trunk/templates/base/log_level_select.tpl
2010-01-22 09:43:33 UTC (rev 20972)
+++ people/sigurdne/modules/admin/trunk/templates/base/log_level_select.tpl
2010-01-22 09:44:29 UTC (rev 20973)
@@ -11,6 +11,7 @@
<option value="I" {I_selected}>{lang_info}</option>
<option value="D" {D_selected}>{lang_debug}</option>
<option value="S" {S_selected}>{lang_strict}</option>
+ <option value="DP"
{DP_selected}>{lang_deprecated}</option>
</select>
<noscript><input type="submit"></noscript>
</form>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [20973] Improvement: Added deprecated as loglevel - 4512:4565,
Sigurd Nes <=