[Fusionforge-commits] r19465 - trunk/src/www/pm/admin

Marc-Etienne VARGENAU vargenau at fusionforge.org
Tue Mar 11 16:38:28 CET 2014


Author: vargenau
Date: 2014-03-11 16:38:28 +0100 (Tue, 11 Mar 2014)
New Revision: 19465

Modified:
   trunk/src/www/pm/admin/index.php
Log:
Move header to top

Modified: trunk/src/www/pm/admin/index.php
===================================================================
--- trunk/src/www/pm/admin/index.php	2014-03-11 15:38:10 UTC (rev 19464)
+++ trunk/src/www/pm/admin/index.php	2014-03-11 15:38:28 UTC (rev 19465)
@@ -241,6 +241,7 @@
 	session_require_perm ('pm', $pg->getID(), 'manager') ;
 
 	$title = sprintf(_('Modify a Category in: %s'), $pg->getName());
+	pm_header(array('title'=>$title));
 
 	$ac = new ProjectCategory($pg,$id);
 	if (!$ac || !is_object($ac)) {
@@ -248,7 +249,6 @@
 	} elseif ($ac->isError()) {
 		exit_error($ac->getErrorMessage(),'pm');
 	} else {
-		pm_header(array ('title'=>$title));
 		?>
 		<p class="information"><?php echo _('It is not recommended that you change the category name because other things are dependent upon it. When you change the category name, all related items will be changed to the new name.')?></p>
 		<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id; ?>" method="post">




More information about the Fusionforge-commits mailing list