ispman/ispman-web/cgi-bin/tmpl status.tmpl,1.10,1.11

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

Modified Files:
	status.tmpl 
Log Message:
some HTML beautifying
adjusting to releaseSession_web method

Index: status.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/status.tmpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- status.tmpl	21 Jun 2004 20:07:30 -0000	1.10
+++ status.tmpl	28 May 2006 23:54:27 -0000	1.11
@@ -7,9 +7,11 @@
     }
     $text;
 </perl>
+</head>
 
-<LINK HREF="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css"> 
-<SCRIPT>
+<LINK HREF="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">
+
+<script type="text/javascript">
     function Refresh(seconds){
         url="<perl>$ENV{'SCRIPT_NAME'}</perl>?mode=status";
         if (seconds){
@@ -17,33 +19,32 @@
         }
         self.location=url;
     }
-    
 </script>
 
-
-</head>
 <body class="status">
-        <form>
-                <input type=hidden name="mode" value="commitSession">
-                <table width=100%>
-                        <td align=left class=status><perl>_("Running Session")</perl> : <perl>$ispman->{"sessID"}</perl> 
-			<br><perl>
-			_("Processes in queue: [_1]", $ispman->countProcessesInSession($ispman->{"sessID"}))</perl> 
-			</td>
+  <form>
+    <input type=hidden name="mode" value="releaseSession_web">
+    <input type=hidden name="nextPage" value="<perl>$ENV{'SCRIPT_NAME'}</perl>?mode=status&newSession=1">
+    <input type=hidden name="session" value="<perl>$ispman->{"sessID"}</perl>">
+    <table width=100%>
+      <td align=left class=status><perl>_("Running Session")</perl> : <perl>$ispman->{"sessID"}</perl> 
+	    <br><perl>_("Processes in queue: [_1]", $ispman->countProcessesInSession($ispman->{"sessID"}))</perl> 
+      </td>
                         
-                        <td align=right>
-                        <select class=statusselect name="refresh" ONCHANGE="Refresh(this.options[this.selectedIndex].value)">
-                        <option value="10" <perl>($r->param("refresh") && $r->param("refresh")==10)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 10)</perl></option>
-                        <option value="30"  <perl>($r->param("refresh") && $r->param("refresh")==30)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 30)</perl></option>
-                        <option value="60"  <perl>($r->param("refresh") && $r->param("refresh")==60)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 60)</perl></option>
-                        <OPTION value=""  <perl>($r->param("refresh"))?"  ":" selected "</perl>><perl>_("Don't refresh")</perl></option>
-                        </select>
+      <td align=right>
+        <select class=statusselect name="refresh" onChange="Refresh(this.options[this.selectedIndex].value)">
+          <option value="10" <perl>($r->param("refresh") && $r->param("refresh")==10)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 10)</perl></option>
+          <option value="30" <perl>($r->param("refresh") && $r->param("refresh")==30)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 30)</perl></option>
+          <option value="60" <perl>($r->param("refresh") && $r->param("refresh")==60)?" selected ":""</perl>><perl>_("Refresh every [_1] seconds", 60)</perl></option>
+          <option value="" <perl>($r->param("refresh"))?"  ":" selected "</perl>><perl>_("Don't refresh")</perl></option>
+        </select>
                         
-                        <input class="statusbutton" type=button name="refresher" value="<perl>_("Refresh")</perl>" 
-                        onClick="Refresh(this.form.refresh.options[this.form.refresh.selectedIndex].value)"
-                        ><input class="statusbutton" type=submit value="<perl>_("Commit session")</perl>"></td>
-                </table>
-        </form>
+        <input class="statusbutton" type=button name="refresher" value="<perl>_("Refresh")</perl>" 
+               onClick="Refresh(this.form.refresh.options[this.form.refresh.selectedIndex].value)">
+        <input class="statusbutton" type=submit value="<perl>_("Commit session")</perl>">
+	  </td>
+    </table>
+  </form>
 </body>
 </html>
 



-------------------------------------------------------
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.