|
From: | Ralf Becker <address@hidden> |
Subject: | [Phpgroupware-cvs] CVS: wiki index.php,1.1.1.1,1.2 ChangeLog.txt,1.1.1.1,NONE INSTALL.txt,1.1.1.1,NONE LICENSE.txt,1.1.1.1,NONE NEWS.txt,1.1.1.1,NONE README.txt,1.1.1.1,NONE TODO.txt,1.1.1.1,NONE |
Date: | Mon, 03 Mar 2003 08:37:07 -0500 |
Update of /cvsroot/phpgroupware/wiki In directory subversions:/tmp/cvs-serv23134 Modified Files: index.php Removed Files: ChangeLog.txt INSTALL.txt LICENSE.txt NEWS.txt README.txt TODO.txt Log Message: make Axis-0.44 the new head-version Index: index.php =================================================================== RCS file: /cvsroot/phpgroupware/wiki/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** index.php 3 Mar 2003 13:00:37 -0000 1.1.1.1 --- index.php 3 Mar 2003 13:37:05 -0000 1.2 *************** *** 1,4 **** --- 1,57 ---- <?php // $Id$ + $action = $HTTP_GET_VARS['action']; + switch ($action) { + case 'edit': + $phpgw_info["flags"] = array ("currentapp" => "axiswiki", + "enable_nextmatchs_class" => True ); + $GLOBALS['phpgw_info']['cursor_focus'] = "document.editform.document.focus();"; + break; + case 'save': + if ($HTTP_POST_VARS['Preview'] == 'Preview') { + $phpgw_info["flags"] = array ("currentapp" => "axiswiki", + "enable_nextmatchs_class" => True ); + $GLOBALS['phpgw_info']['cursor_focus'] = "document.editform.document.focus();"; + } else { + $phpgw_info["flags"] = array ("currentapp" => "axiswiki", + "enable_nextmatchs_class" => True, + "noheader" => True ); + $GLOBALS['phpgw_info']['cursor_focus'] = "document.thesearch.find.focus();"; + } + break; + case 'prefs': + if (empty($Save)) { + $phpgw_info["flags"] = array ("currentapp" => "axiswiki", + "enable_nextmatchs_class" => True ); + } else { + $phpgw_info["flags"] = array ("currentapp" => "axiswiki", + "enable_nextmatchs_class" => True, + "noheader" => True ); + } + $GLOBALS['phpgw_info']['cursor_focus'] = "document.thesearch.find.focus();"; + break; + default: + $phpgw_info["flags"] = array ("currentapp" => "axiswiki", + "enable_nextmatchs_class" => True ); + $GLOBALS['phpgw_info']['cursor_focus'] = "document.thesearch.find.focus();"; + + } + + include ("../header.inc.php"); #PHP Groupware header + require('lib/main.php'); + + /* + include("dbconnect.php"); + $accountid = get_account_id(); + $result = mysql_query("SELECT account_lid FROM phpgw_accounts WHERE account_id='$accountid'"); + $row = mysql_fetch_array($result); + $account_lid = $row["account_lid"]; + + if ($account_lid == $admin1 or $account_lid == $admin2) { + echo "<br><a href=\""; + echo $GLOBALS['phpgw']->link("/mis/axiswiki/admin/index.php"); + echo "\">Admin Page</a><br><br>"; + } */ + ?> --- ChangeLog.txt DELETED --- --- INSTALL.txt DELETED --- --- LICENSE.txt DELETED --- --- NEWS.txt DELETED --- --- README.txt DELETED --- --- TODO.txt DELETED ---
[Prev in Thread] | Current Thread | [Next in Thread] |