[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netsaint-devel
Subject:    [netsaint-devel] [PATCH]: Add a "back" link in cmd.cgi
From:       "Cliff Woolley" <JWOOLLEY () wlu ! edu>
Date:       2000-05-22 17:50:07
[Download RAW message or body]

Hello all... 

    I've been bugging Ethan directly lately with tons of patches... I
figured I'd start posting them here instead. Pretty much everything I've
been doing is user interface tweaks and enhancements... This is a really
simple one. It just adds a link in the output of the cmd.cgi to take you
back to where you started (ie, the extinfo.cgi).
--Cliff
--- cmd.c.052200	Mon May 22 13:08:49 2000
+++ cmd.c	Mon May 22 13:47:49 2000
@@ -987,11 +987,13 @@
 		result=commit_command(cmd);
 
 		if(result==OK){
-			printf("<P><DIV CLASS='infoMessage'>Your command
request was successfully submitted to NetSaint for
processing.<br><br>");
-			printf("Note: It may take a few minutes before
the command is actually processed...</DIV></P>");
+			printf("<P><DIV CLASS='infoMessage'>Your command
request was successfully submitted to NetSaint for processing.<BR>\n");
+			printf("Note: It may take a few minutes before
the command is actually processed.<BR><BR>\n");
+			printf("<A
HREF='javascript:window.history.go(-2)'>Done</A></DIV></P>\n");
 		        }
 		else{
-			printf("<P><DIV CLASS='errorMessage'>An error
occurred while attempting to commit your command to NetSaint for
processing...</DIV></P>");
+			printf("<P><DIV CLASS='errorMessage'>An error
occurred while attempting to commit your command to NetSaint for
processing!<BR><BR>\n");
+			printf("<A
HREF='javascript:window.history.go(-2)'>Go Back</A></DIV></P>\n");
 		        }
 	        }
Cliff WoolleyCentral Systems Software AdministratorWashington and Lee
Universityhttp://www.wlu.edu/~jwoolley/
Work: (540) 463-8089Pager: (540) 462-2303

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY style="FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: 2px">
<DIV><BR>Hello all... <BR><BR>&nbsp;&nbsp;&nbsp; I've been bugging Ethan 
directly lately with tons of patches... I figured I'd start posting them here 
instead. Pretty much everything I've been doing is user interface tweaks and 
enhancements... This is a really simple one. It just adds a link in the output 
of the cmd.cgi to take you back to where you started (ie, the 
extinfo.cgi).</DIV>
<DIV><XMP><FONT face="MS Sans Serif">--Cliff</FONT></XMP><XMP>--- cmd.c.052200	Mon \
                May 22 13:08:49 2000
+++ cmd.c	Mon May 22 13:47:49 2000
@@ -987,11 +987,13 @@
 		result=commit_command(cmd);
 
 		if(result==OK){
-			printf("<P><DIV CLASS='infoMessage'>Your command request was successfully \
                submitted to NetSaint for processing.<br><br>");
-			printf("Note: It may take a few minutes before the command is actually \
processed...</DIV></P>"); +			printf("<P><DIV CLASS='infoMessage'>Your command \
request was successfully submitted to NetSaint for processing.<BR>\n"); \
+			printf("Note: It may take a few minutes before the command is actually \
processed.<BR><BR>\n"); +			printf("<A \
HREF='javascript:window.history.go(-2)'>Done</A></DIV></P>\n");  }
 		else{
-			printf("<P><DIV CLASS='errorMessage'>An error occurred while attempting to commit \
your command to NetSaint for processing...</DIV></P>"); +			printf("<P><DIV \
CLASS='errorMessage'>An error occurred while attempting to commit your command to \
NetSaint for processing!<BR><BR>\n"); +			printf("<A \
HREF='javascript:window.history.go(-2)'>Go Back</A></DIV></P>\n");  }
 	        }</XMP><XMP>Cliff Woolley<BR>Central Systems Software \
Administrator<BR>Washington and Lee University<BR><A \
href="http://www.wlu.edu/~jwoolley/">http://www.wlu.edu/~jwoolley/</A></XMP><XMP>Work: \
(540) 463-8089<BR>Pager: (540) 462-2303</XMP></DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic