phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: wiki/admin index.php,1.1.1.1,1.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: wiki/admin index.php,1.1.1.1,1.2
Date: Mon, 03 Mar 2003 08:37:07 -0500

Update of /cvsroot/phpgroupware/wiki/admin
In directory subversions:/tmp/cvs-serv23134/admin

Modified Files:
        index.php 
Log Message:
make Axis-0.44 the new head-version

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/wiki/admin/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:38 -0000       1.1.1.1
--- index.php   3 Mar 2003 13:37:05 -0000       1.2
***************
*** 1,6 ****
  <?php
  // $Id$
  
! chdir('..');
! require('action/admin.php');
  ?>
--- 1,30 ----
  <?php
  // $Id$
+ if(empty($Save) && empty($Block) && empty($Unblock)) {
+ $phpgw_info["flags"] = array ("currentapp" => "axiswiki",
+                                                        
"enable_nextmatchs_class" => True );
+ } else {
+                               $phpgw_info["flags"] = array ("currentapp" => 
"axiswiki",
+                                                        
"enable_nextmatchs_class" => True,
+                                                        "noheader" => True );
+ }
+ include ("../../header.inc.php"); #PHP Groupware header
  
! include ("../config.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 ($GLOBALS['phpgw_info']['user']['apps']['admin']) {
!       chdir('..');
!       require('action/admin.php');
! }
! else {
!               echo "You are not authorized to access this page.<br><a 
href=\"";
!               echo $GLOBALS['phpgw']->link("/axiswiki/index.php");
!               echo "\">Go Back</a>";
! }
  ?>





reply via email to

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