Author: jfthomps
Date: Mon Mar 23 20:54:48 2009
New Revision: 757541

URL: http://svn.apache.org/viewvc?rev=757541&view=rev
Log:
VCL-109

requests.php:
modified viewRequestInfo: changed processInputVar to getContinuationVar

utils.php:
modified showTimeTable: changed href link for viewRequestInfo to use a 
continuation

Modified:
    incubator/vcl/trunk/web/.ht-inc/requests.php
    incubator/vcl/trunk/web/.ht-inc/utils.php

Modified: incubator/vcl/trunk/web/.ht-inc/requests.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/requests.php?rev=757541&r1=757540&r2=757541&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/requests.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/requests.php Mon Mar 23 20:54:48 2009
@@ -2213,7 +2213,7 @@
 ///
 
////////////////////////////////////////////////////////////////////////////////
 function viewRequestInfo() {
-       $requestid = processInputVar("requestid", ARG_NUMERIC);
+       $requestid = getContinuationVar("requestid");
        $request = getRequestInfo($requestid);
        if($request['forimaging'])
                $reservation = $request['reservations'][0];

Modified: incubator/vcl/trunk/web/.ht-inc/utils.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/utils.php?rev=757541&r1=757540&r2=757541&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/utils.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/utils.php Mon Mar 23 20:54:48 2009
@@ -5931,9 +5931,11 @@
                                else {
                                        $title = "User: " . 
$timeslots[$id][$stamp]["unityid"]
                                               . " Image: " . 
$timeslots[$id][$stamp]["prettyimage"];
-                                       print "          <TD 
bgcolor=\"#ff0000\"><a href=\"" . BASEURL . SCRIPT;
-                                       print 
"?mode=viewRequestInfo&requestid=" . $timeslots[$id][$stamp]["requestid"] . 
"\"><img ";
-                                       print "src=images/red.jpg alt=used 
border=0 title=\"$title\"></a></TD>\n";
+                                       $cdata = array('requestid' => 
$timeslots[$id][$stamp]["requestid"]);
+                                       $cont = 
addContinuationsEntry('viewRequestInfo', $cdata);
+                                       print "          <TD 
bgcolor=\"#ff0000\"><a href=\"" . BASEURL;
+                                       print SCRIPT . 
"?continuation=$cont\"><img src=images/red.jpg ";
+                                       print "alt=used border=0 
title=\"$title\"></a></TD>\n";
                                }
                        }
                }


Reply via email to