phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] wiki index.php,1.6


From: skwashd
Subject: [Phpgroupware-cvs] wiki index.php,1.6
Date: Thu, 5 May 2005 03:09:00 +0200

Update of wiki

Modified Files:
     Branch: MAIN
            index.php lines: +7 -4

Log Message:
merge from 16

====================================================
Index: wiki/index.php
diff -u wiki/index.php:1.5 wiki/index.php:1.6
--- wiki/index.php:1.5  Fri Mar  7 00:19:11 2003
+++ wiki/index.php      Thu May  5 01:09:02 2005
@@ -8,15 +8,18 @@

 // the phpGW header.inc.php got included later by lib/init.php

-$action = $HTTP_GET_VARS['action'];
+$action = strip_tags($_GET['action']);
 switch ($action) {
        case 'edit':
                $GLOBALS['phpgw_info']['cursor_focus'] = 
"document.editform.document.focus();";
        break;
        case 'save':
-               if ($HTTP_POST_VARS['Preview'] == 'Preview') {
+               if ($_POST['Preview'] == 'Preview')
+               {
                        $GLOBALS['phpgw_info']['cursor_focus'] = 
"document.editform.document.focus();";
-               } else {
+               }
+               else
+               {
                        $GLOBALS['phpgw_info']['cursor_focus'] = 
"document.thesearch.find.focus();";
                }
        break;






reply via email to

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