Author: jfthomps
Date: Tue Apr 21 13:50:25 2015
New Revision: 1675118
URL: http://svn.apache.org/r1675118
Log:
modified maintenanceCheck and main - minor formatting changes - some <br> tags
were being concatenated to the end of some printf statements after the close )
so they were not actually getting added to the output
Modified:
vcl/trunk/web/.ht-inc/utils.php
Modified: vcl/trunk/web/.ht-inc/utils.php
URL:
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/utils.php?rev=1675118&r1=1675117&r2=1675118&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/utils.php (original)
+++ vcl/trunk/web/.ht-inc/utils.php Tue Apr 21 13:50:25 2015
@@ -671,7 +671,7 @@ function maintenanceCheck() {
else
print _("This site is currently in maintenance.") .
"<br>\n";
$niceend = strftime('%A, %x, %l:%M %P', $end);
- printf(_("The maintenance is scheduled to end
<strong>%s</strong>."), $niceend) . "<br><br><br>\n";
+ printf(_("The maintenance is scheduled to end
<strong>%s</strong>.") . "<br><br><br>\n", $niceend);
printHTMLFooter();
exit;
}
@@ -833,7 +833,7 @@ function main() {
if($num == 1)
print _("You currently have 1 reservation.") .
"<br>\n";
else
- printf(_("You currently have %d
reservations."), $num ) . "<br>\n";
+ printf(_("You currently have %d reservations.")
. "<br>\n", $num);
}
else {
print _("You do not have any current reservations.") .
"<br>\n";