[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.common.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.common.inc.php |
Date: |
Sun, 07 Jan 2007 01:07:46 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 07/01/07 01:07:46
Modified files:
inc : class.common.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/class.common.inc.php?cvsroot=phpgwapi&r1=1.252&r2=1.253
Patches:
Index: class.common.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -b -r1.252 -r1.253
--- class.common.inc.php 28 Dec 2006 14:07:08 -0000 1.252
+++ class.common.inc.php 7 Jan 2007 01:07:46 -0000 1.253
@@ -8,7 +8,7 @@
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage utilities
- * @version $Id: class.common.inc.php,v 1.252 2006/12/28 14:07:08
skwashd Exp $
+ * @version $Id: class.common.inc.php,v 1.253 2007/01/07 01:07:46
skwashd Exp $
*/
/**
@@ -1052,7 +1052,7 @@
else
{
$app =
$GLOBALS['phpgw_info']['flags']['currentapp'];
- $app_title =
$GLOBALS['phpgw_info']['apps'][$app]['title'];
+ $app_title = lang($app);
}
if
(isset($GLOBALS['phpgw_info']['user']['apps']['preferences'])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.common.inc.php,
Dave Hall <=