Revision: 2595
https://sourceforge.net/p/mrbs/code/2595/
Author: tbleher
Date: 2012-12-15 08:52:22 +0000 (Sat, 15 Dec 2012)
Log Message:
-----------
day view: Add space before () when showing capacity for room names
Modified Paths:
--------------
mrbs/trunk/web/functions_table.inc
Modified: mrbs/trunk/web/functions_table.inc
===================================================================
--- mrbs/trunk/web/functions_table.inc 2012-12-14 22:22:23 UTC (rev 2594)
+++ mrbs/trunk/web/functions_table.inc 2012-12-15 08:52:22 UTC (rev 2595)
@@ -858,11 +858,11 @@
$column_width = (int)(95 / sql_count($res));
for ($i = 0; ($row = sql_row_keyed($res, $i)); $i++)
{
- // Put the room_id in a data attrribute so that JavaScript can pick it up
+ // Put the room_id in a data attribute so that JavaScript can pick it up
$header_inner .= "<th data-room=\"" . $row['id'] . "\" style=\"width:
$column_width%\">
<a
href=\"week.php?year=$year&month=$month&day=$day&area=$area&room=".$row['id']."\"
title=\"" . get_vocab("viewweek") . "
".$row['description']."\">" .
- htmlspecialchars($row['room_name']) .
($row['capacity'] > 0 ? "(".$row['capacity'].")" : "") . "</a></th>";
+ htmlspecialchars($row['room_name']) .
($row['capacity'] > 0 ? " (".$row['capacity'].")" : "") . "</a></th>";
$rooms[] = $row['id'];
}
@@ -1327,4 +1327,4 @@
$tbody .= "</tbody>\n";
return $thead . $tfoot . $tbody;
-}
\ No newline at end of file
+}
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits