[Fusionforge-commits] r10863 - in trunk/src/www: pm/admin survey/admin
Franck VILLAUME
nerville at libremir.placard.fr.eu.org
Mon Oct 4 19:49:46 CEST 2010
Author: nerville
Date: 2010-10-04 19:49:45 +0200 (Mon, 04 Oct 2010)
New Revision: 10863
Modified:
trunk/src/www/pm/admin/index.php
trunk/src/www/survey/admin/index.php
Log:
php warnings and remove useless double header
Modified: trunk/src/www/pm/admin/index.php
===================================================================
--- trunk/src/www/pm/admin/index.php 2010-10-04 17:45:07 UTC (rev 10862)
+++ trunk/src/www/pm/admin/index.php 2010-10-04 17:49:45 UTC (rev 10863)
@@ -425,7 +425,7 @@
<?php
}
- $pg_arr =& $pgf->getProjectGroups();
+ $pg_arr = $pgf->getProjectGroups();
if (count($pg_arr) < 1 || $pg_arr == false) {
echo '<h2>' . _('No Subprojects Found in this Project') . '</h2>';
Modified: trunk/src/www/survey/admin/index.php
===================================================================
--- trunk/src/www/survey/admin/index.php 2010-10-04 17:45:07 UTC (rev 10862)
+++ trunk/src/www/survey/admin/index.php 2010-10-04 17:49:45 UTC (rev 10863)
@@ -32,7 +32,6 @@
$group_id = getIntFromRequest('group_id');
$survey_id = getIntFromRequest('survey_id');
$sh = new SurveyHtml();
-$sh->header(array('title'=>_('Survey Administration')));
if (!$group_id) {
exit_no_group();
@@ -44,8 +43,6 @@
exit_error($group->getErrorMessage(),'surveys');
}
-echo '<h1>'._('Survey Administration').'</h1>';
-
if (!session_loggedin()) {
exit_not_logged_in();
}
More information about the Fusionforge-commits
mailing list