ispman/ispman-web/cgi-bin/tmpl/processes manageProcesses.tmpl,1.6,1.7

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/processes
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv21400/ispman-web/cgi-bin/tmpl/processes

Modified Files:
	manageProcesses.tmpl 
Log Message:
cosmetic fix
bugfix with CONSOLE session (unable to edit/delete process)

Index: manageProcesses.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/processes/manageProcesses.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- manageProcesses.tmpl	28 May 2006 23:56:22 -0000	1.6
+++ manageProcesses.tmpl	29 May 2006 22:23:56 -0000	1.7
@@ -44,9 +44,9 @@
         }
         $text .= " href='javascript:showSession(\"$_\")'>";
         if ($_ eq $ispman->{sessID}) {
-          $text .= "<u>$_ ($sessions{$_}{'count'})</u>";
+          $text .= "<u>$_($sessions{$_}{'count'})</u>";
         } else {
-          $text .= "$_ ($sessions{$_}{'count'})";
+          $text .= "$_($sessions{$_}{'count'})";
         }
         $text .= "</a>";
         push @out,$text;
@@ -97,13 +97,13 @@
     $text.="<td>$status&nbsp;</td>\n";
     $text.="<td>$processes->{$_}{'ispmanUser'}&nbsp;</td>\n";
     $text.="<td>";
-	$text.="<a href='javascript:editProcess(".
-	       $processes->{$_}{'ispmanSession'}.",".
+	$text.="<a href='javascript:editProcess(\"".
+	       $processes->{$_}{'ispmanSession'}."\",".
 		   $processes->{$_}{'ispmanPid'}.")'>".
 	       "<img src='".$ispman->getConfig("ispmanUrlPrefix")."/gfx/apply.gif' border=0>".
 		   "</a>";
-    $text.="<a href='javascript:deleteProcess(".
-           $processes->{$_}{'ispmanSession'}.",".
+    $text.="<a href='javascript:deleteProcess(\"".
+           $processes->{$_}{'ispmanSession'}."\",".
 		   $processes->{$_}{'ispmanPid'}.")'>".
 	       "<img src='".$ispman->getConfig('ispmanUrlPrefix')."/gfx/delete.gif' border=0>".
 		   "</a>";



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.