[Fusionforge-commits] r11590 - trunk/src/plugins/mantisbt/www
Franck VILLAUME
nerville at libremir.placard.fr.eu.org
Sat Nov 20 14:03:14 CET 2010
Author: nerville
Date: 2010-11-20 14:03:14 +0100 (Sat, 20 Nov 2010)
New Revision: 11590
Modified:
trunk/src/plugins/mantisbt/www/index.php
Log:
fix header function call
Modified: trunk/src/plugins/mantisbt/www/index.php
===================================================================
--- trunk/src/plugins/mantisbt/www/index.php 2010-11-20 12:48:19 UTC (rev 11589)
+++ trunk/src/plugins/mantisbt/www/index.php 2010-11-20 13:03:14 UTC (rev 11590)
@@ -93,8 +93,6 @@
if ( !$userperm->IsMember()) {
exit_permission_denied(_('You are not a member of this project'),'home');
}
- // other perms checks here...
- mantisbt_Project_Header(array('title'=>$pluginname . ' Project Plugin!','pagename'=>"$pluginname",'sectionvals'=>array(group_getname($id))));
// URL analysis
$sort = getStringFromRequest('sort');
@@ -122,6 +120,7 @@
exit_error(_('Impossible de récupérer les identifiants de connexions depuis le LDAP'),'home');
} else {
// do the job
+ mantisbt_Project_Header(array('title'=>$pluginname . ' Project Plugin!','pagename'=>"$pluginname",'sectionvals'=>array(group_getname($id))));
include ('mantisbt/www/group/index.php');
}
break;
@@ -134,7 +133,6 @@
if ( (!$user) || ($user->getID() != $id)) { // if someone else tried to access the private MantisBT part of this user
exit_permission_denied(sprintf(_('You cannot access other user\'s personal %s'),$pluginname),'my');
}
- mantisbt_User_Header(array('title'=>'My '.$pluginname,'pagename'=>"$pluginname",'sectionvals'=>array($realuser->getUnixName())));
$password ='';
$username = $realuser->getUnixName();
@@ -158,6 +156,7 @@
if (!is_int($password)){
// do the job
+ mantisbt_User_Header(array('title'=>'My '.$pluginname,'pagename'=>"$pluginname",'sectionvals'=>array($realuser->getUnixName())));
include ('mantisbt/www/user/index.php');
} else {
exit_error(_('Impossible de récupérer les identifiants de connexions depuis le LDAP'),'home');
More information about the Fusionforge-commits
mailing list