Revision: 1972
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1972&view=rev
Author:   cimorrison
Date:     2011-09-21 09:08:08 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
Removed the "View" column by making the booking description link to view_entry

Modified Paths:
--------------
    mrbs/branches/datatables/web/search.php

Modified: mrbs/branches/datatables/web/search.php
===================================================================
--- mrbs/branches/datatables/web/search.php     2011-09-21 08:41:56 UTC (rev 
1971)
+++ mrbs/branches/datatables/web/search.php     2011-09-21 09:08:08 UTC (rev 
1972)
@@ -235,11 +235,11 @@
   <table id="search_results">
     <thead>
       <tr>
-        <th><?php echo get_vocab("entry") ?></th>
-        <th><?php echo get_vocab("createdby") ?></th>
         <th><?php echo get_vocab("namebooker") ?></th>
-        <th><?php echo get_vocab("description") ?></th>
+        <th><?php echo get_vocab("createdby") ?></th>
         <th><?php echo get_vocab("start_date") ?></th>
+        <th><?php echo get_vocab("description") ?></th>
+
       </tr>
     </thead>
     
@@ -248,10 +248,8 @@
 for ($i = 0; ($row = sql_row_keyed($result, $i)); $i++)
 {
   echo "<tr>\n";
-  echo "<td><a 
href=\"view_entry.php?id=".$row['entry_id']."\">".get_vocab("view")."</a></td>\n";
+  echo "<td><a href=\"view_entry.php?id=".$row['entry_id']."\">" . 
htmlspecialchars($row['name']) . "</a></td>\n";
   echo "<td>" . htmlspecialchars($row['create_by']) . "</td>\n";
-  echo "<td>" . htmlspecialchars($row['name']) . "</td>\n";
-  echo "<td>" . htmlspecialchars($row['description']) . "</td>\n";
   // generate a link to the day.php
   $link = getdate($row['start_time']);
   echo "<td><a 
href=\"day.php?day=$link[mday]&amp;month=$link[mon]&amp;year=$link[year]&amp;area=".$row['area_id']."\">";
@@ -264,6 +262,7 @@
     list(,$link_str) = period_date_string($row['start_time']);
   }
   echo "$link_str</a></td>";
+  echo "<td>" . htmlspecialchars($row['description']) . "</td>\n";
   echo "</tr>\n";
 }
 echo "</tbody>\n";

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to