phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: setup applications.php,1.21.2.6,1.21.2.7


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup applications.php,1.21.2.6,1.21.2.7
Date: Fri, 01 Aug 2003 18:05:34 -0400

Update of /cvsroot/phpgroupware/setup
In directory subversions:/tmp/cvs-serv30839

Modified Files:
      Tag: Version-0_9_16-branch
        applications.php 
Log Message:
added a checkbox to enable extra debug-messages for the application management


Index: applications.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/applications.php,v
retrieving revision 1.21.2.6
retrieving revision 1.21.2.7
diff -C2 -r1.21.2.6 -r1.21.2.7
*** applications.php    20 Jul 2003 11:01:22 -0000      1.21.2.6
--- applications.php    1 Aug 2003 22:05:32 -0000       1.21.2.7
***************
*** 12,16 ****
    /* $Id$ */
  
!       $DEBUG = False;
        /*
         TODO: We allow a user to hose their setup here, need to make use
--- 12,16 ----
    /* $Id$ */
  
!       $DEBUG = $_POST['debug'] || $_GET['debug'];
        /*
         TODO: We allow a user to hose their setup here, need to make use
***************
*** 220,224 ****
  
                //$setup_tpl->set_var('goback',
!               echo '<br><a href="applications.php">' . lang('Go back') . 
'</a>';
                //$setup_tpl->pparse('out','submit');
                $setup_tpl->pparse('out','footer');
--- 220,224 ----
  
                //$setup_tpl->set_var('goback',
!               echo '<br><a href="applications.php?debug='.$DEBUG.'">' . 
lang('Go back') . '</a>';
                //$setup_tpl->pparse('out','submit');
                $setup_tpl->pparse('out','footer');
***************
*** 269,273 ****
                }
  
!               echo '<br><a href="applications.php">' . lang('Go back') . 
'</a>';
                $setup_tpl->pparse('out','footer');
                exit;
--- 269,273 ----
                }
  
!               echo '<br><a href="applications.php?debug='.$DEBUG.'">' . 
lang('Go back') . '</a>';
                $setup_tpl->pparse('out','footer');
                exit;
***************
*** 358,362 ****
                }
  
!               echo '<br><a href="applications.php">' . lang('Go back') . 
'</a>';
                $setup_tpl->pparse('out','footer');
                exit;
--- 358,362 ----
                }
  
!               echo '<br><a href="applications.php?debug='.$DEBUG.'">' . 
lang('Go back') . '</a>';
                $setup_tpl->pparse('out','footer');
                exit;
***************
*** 382,385 ****
--- 382,387 ----
                $setup_tpl->set_var('upgrade_all',lang('Upgrade All'));
                $setup_tpl->set_var('remove_all',lang('Remove All'));
+               $setup_tpl->set_var('lang_debug',lang('enable for extra 
debug-messages'));
+               $setup_tpl->set_var('debug','<input type="checkbox" 
name="debug" value="True"' .($DEBUG ? ' checked' : '') . '>');
                $setup_tpl->set_var('bg_color',$bgcolor[0]);
  





reply via email to

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