Revision: 1688
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1688&view=rev
Author:   cimorrison
Date:     2010-12-10 08:53:12 +0000 (Fri, 10 Dec 2010)

Log Message:
-----------
Fixed bug that caused the room and area links in the day, week and month views 
to operate incorrectly when using "list" format.  See SF Tracker ID: 3134046.

Modified Paths:
--------------
    mrbs/trunk/web/functions.inc

Modified: mrbs/trunk/web/functions.inc
===================================================================
--- mrbs/trunk/web/functions.inc        2010-12-09 23:07:10 UTC (rev 1687)
+++ mrbs/trunk/web/functions.inc        2010-12-10 08:53:12 UTC (rev 1688)
@@ -940,7 +940,7 @@
       $out_html .= "<ul>\n";
       for ($i = 0; ($row = sql_row_keyed($res, $i)); $i++)
       {
-        $out_html .= "<li><a 
href=\"week.php?year=$year&amp;month=$month&amp;day=$day&amp;area=${row['id']}\">";
+        $out_html .= "<li><a 
href=\"$link?year=$year&amp;month=$month&amp;day=$day&amp;area=${row['id']}\">";
         $out_html .= "<span" . (($row['id'] == $current) ? ' class="current"' 
: '') . ">";
         $out_html .= htmlspecialchars($row['area_name']) . 
"</span></a></li>\n";
       }
@@ -997,7 +997,7 @@
       $out_html .= "<ul>\n";
       for ($i = 0; ($row = sql_row_keyed($res, $i)); $i++)
       {
-        $out_html .= "<li><a 
href=\"month.php?year=$year&amp;month=$month&amp;day=$day&amp;area=$area&amp;room=".$row['id']."\">";
+        $out_html .= "<li><a 
href=\"$link?year=$year&amp;month=$month&amp;day=$day&amp;area=$area&amp;room=".$row['id']."\">";
         $out_html .= "<span" . (($row['id'] == $current) ? ' class="current"' 
: '') . ">";
         $out_html .= htmlspecialchars($row['room_name']) . 
"</span></a></li>\n";
       }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to