[Fusionforge-commits] r11065 - trunk/src/common/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Oct 19 21:13:14 CEST 2010


Author: aljeux
Date: 2010-10-19 21:13:14 +0200 (Tue, 19 Oct 2010)
New Revision: 11065

Modified:
   trunk/src/common/include/exit.php
Log:
Add Permission denied text in exit error.

Modified: trunk/src/common/include/exit.php
===================================================================
--- trunk/src/common/include/exit.php	2010-10-19 19:12:46 UTC (rev 11064)
+++ trunk/src/common/include/exit.php	2010-10-19 19:13:14 UTC (rev 11065)
@@ -48,7 +48,7 @@
 		exit_not_logged_in();
 	} else {
 		if (!$reason_descr) {
-			$reason_descr=_('This project\'s administrator will have to grant you permission to view this page.');
+			$reason_descr=_('Permission denied. This project\'s administrator will have to grant you permission to view this page.');
 		}
 		exit_error($reason_descr,$toptab);
 	}
@@ -67,7 +67,7 @@
  * @param	string toptab
  */
 function exit_no_group() {
-	exit_error(_('No project was chosen, project does not exist or you can\'t access it.'),$toptab='');
+	exit_error(_('Permission denied. No project was chosen, project does not exist or you can\'t access it.'),$toptab='');
 }
 
 /**




More information about the Fusionforge-commits mailing list