Author: jfthomps
Date: Tue May 15 19:38:47 2012
New Revision: 1338857
URL: http://svn.apache.org/viewvc?rev=1338857&view=rev
Log:
VCL-30
additional user access methods for connecting to reserved compute node
requests.php: modified connectRequest - changed conditional for displaying Get
RDP File button to match any connect method with 'remote desktop' in the name
instead of exactly matching 'Remote Desktop'
Modified:
incubator/vcl/trunk/web/.ht-inc/requests.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=1338857&r1=1338856&r2=1338857&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/requests.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/requests.php Tue May 15 19:38:47 2012
@@ -3394,7 +3394,7 @@ function connectRequest() {
$res['connectIP'],
$res['connectport']);
print preg_replace($froms, $tos,
$method['connecttext']);
- if($method['description'] == 'Remote Desktop') {
+ if(preg_match('/remote desktop/i',
$method['description'])) {
print "<div id=\"counterdiv\"></div>\n";
print "<div id=\"connectdiv\"
class=\"hidden\">\n";
print "<FORM action=\"" . BASEURL . SCRIPT .
"\" method=post>\n";