phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] tts/admin.php, 1.3


From: nomail
Subject: [Phpgroupware-cvs] tts/admin.php, 1.3
Date: Mon, 11 Oct 2004 11:43:14 +0200

Update of /tts
Modified Files:
        Branch: 
          admin.php

date: 2004/10/11 09:43:14;  author: fipsfuchs;  state: Exp;  lines: +12 -11

Log Message:
replaced with 0.9.16 branche
=====================================================================
Index: tts/admin.php
diff -u tts/admin.php:1.2 tts/admin.php:1.3
--- tts/admin.php:1.2   Mon Sep 24 16:12:00 2001
+++ tts/admin.php       Mon Oct 11 09:43:14 2004
@@ -30,38 +30,38 @@
 
        $GLOBALS['phpgw']->config->read_repository();
 
-       if ($HTTP_POST_VARS['submit'])
+       if ($_POST['submit'])
        {
-               if ($HTTP_POST_VARS['usemailnotification'])
+               if ($_POST['usemailnotification'])
                {
-                       
$GLOBALS['phpgw']->config->config_data['mailnotification'] = True;
+                       
$GLOBALS['phpgw']->config->config_data['mailnotification'] = true;
                }
                else
                {
-                       
unset($GLOBALS['phpgw']->config->config_data['mailnotification']);
+                       
$GLOBALS['phpgw']->config->config_data['mailnotification'] = false;
                }
 
-               if ($HTTP_POST_VARS['ownernotification'])
+               if ($_POST['ownernotification'])
                {
-                       
$GLOBALS['phpgw']->config->config_data['ownernotification'] = 
$HTTP_POST_VARS['ownernotification'];
+                       
$GLOBALS['phpgw']->config->config_data['ownernotification'] = 
$_POST['ownernotification'];
                }
                else
                {
                        
unset($GLOBALS['phpgw']->config->config_data['ownernotification']);
                }
 
-               if ($HTTP_POST_VARS['groupnotification'])
+               if ($_POST['groupnotification'])
                {
-                       
$GLOBALS['phpgw']->config->config_data['groupnotification'] = 
$HTTP_POST_VARS['groupnotification'];
+                       
$GLOBALS['phpgw']->config->config_data['groupnotification'] = 
$_POST['groupnotification'];
                }
                else
                {
                        
unset($GLOBALS['phpgw']->config->config_data['groupnotification']);
                }
 
-               if ($HTTP_POST_VARS['assignednotification'])
+               if ($_POST['assignednotification'])
                {
-                       
$GLOBALS['phpgw']->config->config_data['assignednotification'] = 
$HTTP_POST_VARS['assignednotification'];
+                       
$GLOBALS['phpgw']->config->config_data['assignednotification'] = 
$_POST['assignednotification'];
                }
                else
                {
@@ -71,6 +71,7 @@
                $GLOBALS['phpgw']->config->save_repository(True);
                Header('Location: ' . 
$GLOBALS['phpgw']->link('/admin/index.php'));
        }
+       $GLOBALS['phpgw']->config->config_data['mailnotification'];
 
        $GLOBALS['phpgw']->common->phpgw_header();
        echo parse_navbar();




reply via email to

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