[Fusionforge-commits] r19034 - in trunk/src: common/frs/include common/include common/reporting common/tracker/actions plugins/admssw/www plugins/authbuiltin/www plugins/globalsearch/www plugins/mailman/www/admin plugins/wiki/www/themes/fusionforge www www/account www/admin www/developer www/export www/forum/admin www/trove
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Fri Jan 31 14:44:57 CET 2014
Author: vargenau
Date: 2014-01-31 14:44:57 +0100 (Fri, 31 Jan 2014)
New Revision: 19034
Modified:
trunk/src/common/frs/include/frs_utils.php
trunk/src/common/include/exit.php
trunk/src/common/reporting/report_utils.php
trunk/src/common/tracker/actions/add.php
trunk/src/plugins/admssw/www/full.php
trunk/src/plugins/admssw/www/index.php
trunk/src/plugins/admssw/www/projectsturtle.php
trunk/src/plugins/admssw/www/projectturtle.php
trunk/src/plugins/admssw/www/trove.php
trunk/src/plugins/authbuiltin/www/post-login.php
trunk/src/plugins/globalsearch/www/edit_assoc_sites.php
trunk/src/plugins/globalsearch/www/index.php
trunk/src/plugins/mailman/www/admin/index.php
trunk/src/plugins/wiki/www/themes/fusionforge/themeinfo.php
trunk/src/www/404.php
trunk/src/www/account/lostlogin.php
trunk/src/www/account/lostpw.php
trunk/src/www/account/pending-resend.php
trunk/src/www/account/setlang.php
trunk/src/www/account/verify.php
trunk/src/www/admin/admin_table.php
trunk/src/www/admin/unsubscribe.php
trunk/src/www/developer/diary.php
trunk/src/www/developer/monitor.php
trunk/src/www/export/index.php
trunk/src/www/export/rss_project.php
trunk/src/www/forum/admin/index.php
trunk/src/www/trove/index.php
Log:
Add default value 'array()' for footer function
Modified: trunk/src/common/frs/include/frs_utils.php
===================================================================
--- trunk/src/common/frs/include/frs_utils.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/common/frs/include/frs_utils.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -94,7 +94,7 @@
}
function frs_footer() {
- site_project_footer(array());
+ site_project_footer();
}
/*
Modified: trunk/src/common/include/exit.php
===================================================================
--- trunk/src/common/include/exit.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/common/include/exit.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -32,7 +32,7 @@
global $HTML, $group_id;
$HTML->header(array('title'=>_('Exiting with error'), 'group'=>$group_id, 'toptab'=>$toptab));
echo $HTML->error_msg(htmlspecialchars($text));
- $HTML->footer(array());
+ $HTML->footer();
exit;
}
Modified: trunk/src/common/reporting/report_utils.php
===================================================================
--- trunk/src/common/reporting/report_utils.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/common/reporting/report_utils.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -30,7 +30,7 @@
function report_footer() {
global $HTML;
- $HTML->footer(array());
+ $HTML->footer();
}
function report_span_box($name='SPAN', $selected='1', $suppress_daily=false) {
@@ -721,7 +721,7 @@
foreach ($results as $arr) {
$dd = date($formatDate, $arr['activity_date']);
switch ($SPAN) {
- case REPORT_TYPE_MONTHLY : {
+ case REPORT_TYPE_MONTHLY: {
$d = mktime(0, 0, 0, substr($dd, 5, 2) , 1, substr($dd, 0, 4));
break;
}
Modified: trunk/src/common/tracker/actions/add.php
===================================================================
--- trunk/src/common/tracker/actions/add.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/common/tracker/actions/add.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -32,7 +32,7 @@
require_once $gfcommon.'tracker/include/build_submission_form.php';
artifact_submission_form($ath, $group);
-$ath->footer(array());
+$ath->footer();
// Local Variables:
// mode: php
Modified: trunk/src/plugins/admssw/www/full.php
===================================================================
--- trunk/src/plugins/admssw/www/full.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/admssw/www/full.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -65,7 +65,7 @@
print $plugin->getProjectsListDisplay($documenturi, $content_type, $p, $pl, $detailed);
if ($content_type == 'text/html') {
- $HTML->footer(array());
+ $HTML->footer();
}
// Local Variables:
Modified: trunk/src/plugins/admssw/www/index.php
===================================================================
--- trunk/src/plugins/admssw/www/index.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/admssw/www/index.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -60,7 +60,7 @@
echo '</ul>';
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/plugins/admssw/www/projectsturtle.php
===================================================================
--- trunk/src/plugins/admssw/www/projectsturtle.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/admssw/www/projectsturtle.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -55,7 +55,7 @@
$detailed = false;
print $plugin->getProjectsListDisplay($documenturi, 'text/html', $p, $pl, $detailed, $scripturl);
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/plugins/admssw/www/projectturtle.php
===================================================================
--- trunk/src/plugins/admssw/www/projectturtle.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/admssw/www/projectturtle.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -53,7 +53,7 @@
echo '<br />';
echo '<tt>$ curl -H "Accept: text/turtle" '. util_make_url_g($projectname, $group_id) .'</tt><br />';
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/plugins/admssw/www/trove.php
===================================================================
--- trunk/src/plugins/admssw/www/trove.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/admssw/www/trove.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -47,7 +47,7 @@
echo '<br />';
echo '<tt>$ curl -H "Accept: text/turtle" '. util_make_url('/softwaremap/trove_list.php') .'</tt><br />';
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/plugins/authbuiltin/www/post-login.php
===================================================================
--- trunk/src/plugins/authbuiltin/www/post-login.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/authbuiltin/www/post-login.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -128,7 +128,7 @@
// Otherwise, display the login form again
display_login_form($return_to, $triggered);
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/plugins/globalsearch/www/edit_assoc_sites.php
===================================================================
--- trunk/src/plugins/globalsearch/www/edit_assoc_sites.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/globalsearch/www/edit_assoc_sites.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -65,4 +65,4 @@
echo globalsearch_admin_table_show ();
-$HTML->footer(array());
+$HTML->footer();
Modified: trunk/src/plugins/globalsearch/www/index.php
===================================================================
--- trunk/src/plugins/globalsearch/www/index.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/globalsearch/www/index.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -81,13 +81,13 @@
if ($gwords && (strlen($gwords) < 3)) {
echo "<h2>"._("Search must be at least three characters")."</h2>";
- $HTML->footer(array());
+ $HTML->footer();
exit;
}
if (!$gwords) {
echo "<br /><b>"._("Enter Your Search Words Above")."</b></p>";
- $HTML->footer(array());
+ $HTML->footer();
exit;
}
@@ -218,7 +218,7 @@
echo "</table>\n";
}
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/plugins/mailman/www/admin/index.php
===================================================================
--- trunk/src/plugins/mailman/www/admin/index.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/mailman/www/admin/index.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -156,7 +156,7 @@
<input type="submit" name="submit" value="<?php echo _('Add This List'); ?>" /></p>
</form>
<?php
- mail_footer(array());
+ mail_footer();
//
// Form to modify list
@@ -189,7 +189,7 @@
<input type="submit" name="submit" value="<?php echo _('Update'); ?>" /></p>
</form>
<?php
- mail_footer(array());
+ mail_footer();
} else {
//
// Show lists
@@ -210,7 +210,7 @@
if ($mlFactory->isError()) {
echo '<p>'._('Error').' '.sprintf(_('Unable to get the list %s'), $Group->getPublicName()) .'</p>';
echo $mlFactory->getErrorMessage();
- mail_footer(array());
+ mail_footer();
exit;
}
echo '<p>'.sprintf(_('You can administrate lists from here. Please note that private lists can still be viewed by members of your project, but are not listed on %s.'), forge_get_config ('forge_name')).'</p>';
@@ -231,7 +231,7 @@
table_end();
}
- mail_footer(array());
+ mail_footer();
}
} else {
exit_no_group();
Modified: trunk/src/plugins/wiki/www/themes/fusionforge/themeinfo.php
===================================================================
--- trunk/src/plugins/wiki/www/themes/fusionforge/themeinfo.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/plugins/wiki/www/themes/fusionforge/themeinfo.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -87,7 +87,7 @@
$domain = textdomain(NULL);
textdomain('fusionforge');
- $HTML->footer(array());
+ $HTML->footer();
textdomain($domain);
}
Modified: trunk/src/www/404.php
===================================================================
--- trunk/src/www/404.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/404.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -24,4 +24,4 @@
require_once $gfcommon.'include/pre.php';
$HTML->header(array('title'=>_('Requested Page not Found (Error 404)')));
-$HTML->footer(array());
+$HTML->footer();
Modified: trunk/src/www/account/lostlogin.php
===================================================================
--- trunk/src/www/account/lostlogin.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/account/lostlogin.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -77,7 +77,7 @@
printf (_('Congratulations, you have re-set your account password. You may <a href="%s">login</a> to the site now.'),
util_make_url ("/account/login.php"));
print '</p>';
- $HTML->footer(array());
+ $HTML->footer();
exit();
}
@@ -109,7 +109,7 @@
<?php
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/www/account/lostpw.php
===================================================================
--- trunk/src/www/account/lostpw.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/account/lostpw.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -73,7 +73,7 @@
echo '<p>'.printf(_('An email has been sent to the address you have on file. Follow the instructions in the email to change your account password.').'</p><p><a href="%s">'._("Home").'</a>', util_make_url ('/')).'</p>';
- $HTML->footer(array());
+ $HTML->footer();
exit();
}
}
@@ -100,7 +100,7 @@
<?php
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/www/account/pending-resend.php
===================================================================
--- trunk/src/www/account/pending-resend.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/account/pending-resend.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -44,7 +44,7 @@
$u->sendRegistrationEmail();
$HTML->header(array('title'=>_('Pending Account')));
echo '<p>'. _('Your email confirmation has been resent. Visit the link in this email to complete the registration process.'). '</p>';
- $HTML->footer(array());
+ $HTML->footer();
exit;
}
}
@@ -75,4 +75,4 @@
<p><input type="submit" name="submit" value="<?php echo _('Submit'); ?>" /></p>
</form>
-<?php $HTML->footer(array());
+<?php $HTML->footer();
Modified: trunk/src/www/account/setlang.php
===================================================================
--- trunk/src/www/account/setlang.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/account/setlang.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -39,4 +39,4 @@
<?php
-$HTML->footer(array());
+$HTML->footer();
Modified: trunk/src/www/account/verify.php
===================================================================
--- trunk/src/www/account/verify.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/account/verify.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -94,4 +94,4 @@
</form>
<?php
-$HTML->footer(array());
+$HTML->footer();
Modified: trunk/src/www/admin/admin_table.php
===================================================================
--- trunk/src/www/admin/admin_table.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/admin/admin_table.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -382,7 +382,7 @@
admin_table_show($table, $unit, $primary_key);
-$HTML->footer(array());
+$HTML->footer();
// Local Variables:
// mode: php
Modified: trunk/src/www/admin/unsubscribe.php
===================================================================
--- trunk/src/www/admin/unsubscribe.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/admin/unsubscribe.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -136,7 +136,7 @@
}
-site_admin_footer(array());
+site_admin_footer();
// Local Variables:
// mode: php
Modified: trunk/src/www/developer/diary.php
===================================================================
--- trunk/src/www/developer/diary.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/developer/diary.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -91,7 +91,7 @@
}
echo "</table>\n";
- $HTML->footer(array());
+ $HTML->footer();
} else {
exit_error(_('No User Selected'),'home');
Modified: trunk/src/www/developer/monitor.php
===================================================================
--- trunk/src/www/developer/monitor.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/developer/monitor.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -76,10 +76,10 @@
echo _('You will not receive any more emails from this user');
}
- $HTML->footer (array());
+ $HTML->footer();
} else {
$HTML->header(array('title'=>_('Error: Choose a User To Monitor First')));
- $HTML->footer(array());
+ $HTML->footer();
}
}
Modified: trunk/src/www/export/index.php
===================================================================
--- trunk/src/www/export/index.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/export/index.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -95,4 +95,4 @@
</p>
<?php
-$HTML->footer(array());
+$HTML->footer();
Modified: trunk/src/www/export/rss_project.php
===================================================================
--- trunk/src/www/export/rss_project.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/export/rss_project.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -117,4 +117,4 @@
<a href="javascript:history.go(-1)">[<?php echo _('Go back') ?>]</a>
<br />
-<?php $HTML->footer(array());
+<?php $HTML->footer();
Modified: trunk/src/www/forum/admin/index.php
===================================================================
--- trunk/src/www/forum/admin/index.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/forum/admin/index.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -450,7 +450,7 @@
if ($ff->isError()) {
echo '<p class="error">'.sprintf(_('No Forums Found for %s'), $g->getPublicName())
. $ff->getErrorMessage().'</p>';
- forum_footer(array());
+ forum_footer();
exit;
}
Modified: trunk/src/www/trove/index.php
===================================================================
--- trunk/src/www/trove/index.php 2014-01-31 10:36:47 UTC (rev 19033)
+++ trunk/src/www/trove/index.php 2014-01-31 13:44:57 UTC (rev 19034)
@@ -238,4 +238,4 @@
print $html_limit;
}
-$HTML->footer(array());
+$HTML->footer();
More information about the Fusionforge-commits
mailing list