[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc functions.inc.php |
Date: |
Sun, 07 Jan 2007 01:04:45 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 07/01/07 01:04:45
Modified files:
inc : functions.inc.php
Log message:
kill some notices when trying to access an app you have no rights to,
also make it look a little nicer
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/functions.inc.php?cvsroot=phpgwapi&r1=1.212&r2=1.213
Patches:
Index: functions.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/functions.inc.php,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -b -r1.212 -r1.213
--- functions.inc.php 27 Dec 2006 12:25:17 -0000 1.212
+++ functions.inc.php 7 Jan 2007 01:04:45 -0000 1.213
@@ -8,7 +8,7 @@
* @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage utilities
- * @version $Id: functions.inc.php,v 1.212 2006/12/27 12:25:17 skwashd
Exp $
+ * @version $Id: functions.inc.php,v 1.213 2007/01/07 01:04:45 skwashd
Exp $
*/
@@ -659,7 +659,7 @@
{
if (!$GLOBALS['phpgw']->acl->check('run',
PHPGW_ACL_READ, $GLOBALS['phpgw_info']['flags']['currentapp']))
{
- $GLOBALS['phpgw']->common->phpgw_header(
!(isset($GLOBALS['phpgw_info']['flags']['nonavbar']) &&
$GLOBALS['phpgw_info']['flags']['nonavbar']) );
+ $GLOBALS['phpgw']->common->phpgw_header( true
); //!(isset($GLOBALS['phpgw_info']['flags']['nonavbar']) &&
$GLOBALS['phpgw_info']['flags']['nonavbar']) );
$GLOBALS['phpgw']->log->write(array('text'=>'W-Permissions, Attempted to access
%1','p1'=>$GLOBALS['phpgw_info']['flags']['currentapp']));
echo '<p><center><b>'.lang('Access not
permitted').'</b></center>';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc functions.inc.php,
Dave Hall <=