From: Rob H. <for...@us...> - 2003-01-13 08:33:03
|
Update of /cvsroot/sandweb/sandweb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv11138/templates Modified Files: branch.html commit.html configuration.html create_file.html create_folder.html delete.html rename.html sandbox.html tag.html tool_bar.html upload.html Log Message: ah, fixed the remaining bugs I know about right now - * removed the "submit" attribute from the <form> tag everywhere so IE will ( hopefully ) work, required removing PROGNAME HTML::Template variable from sandweb.cgi in some places * made it so popups that are supposed to close after being used ( upload, rename, create_folder ) actually works with the new HREF submits. Index: branch.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/branch.html,v retrieving revision 1.6 retrieving revision 1.7 diff -U2 -r1.6 -r1.7 --- branch.html 6 Jan 2003 08:07:20 -0000 1.6 +++ branch.html 13 Jan 2003 08:33:00 -0000 1.7 @@ -2,5 +2,5 @@ <tr> <center> - <form submit="<TMPL_VAR NAME=PROGNAME>"> + <form name="branch"> <input type="hidden" name="action" value="vcs"> <input type="hidden" name="vcs_command" value="branch"> Index: commit.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/commit.html,v retrieving revision 1.18 retrieving revision 1.19 diff -U2 -r1.18 -r1.19 --- commit.html 6 Jan 2003 01:25:56 -0000 1.18 +++ commit.html 13 Jan 2003 08:33:00 -0000 1.19 @@ -3,5 +3,5 @@ <td width="center"> Please enter a commit message for <TMPL_VAR NAME=LOCATION>/<TMPL_VAR NAME=FILENAME> : - <form name="commit" submit="<TMPL_VAR NAME=PROGNAME>"> + <form name="commit"> <input type="hidden" name="action" value="vcs"> <input type="hidden" name="vcs_command" value="commit"> Index: configuration.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/configuration.html,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 --- configuration.html 6 Jan 2003 01:25:56 -0000 1.8 +++ configuration.html 13 Jan 2003 08:33:00 -0000 1.9 @@ -1,3 +1,3 @@ -<form name="configuration" submit="<TMPL_VAR NAME=PROGNAME>"> +<form name="configuration"> <input type="hidden" name="action" value="configuration"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0"> Index: create_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/create_file.html,v retrieving revision 1.22 retrieving revision 1.23 diff -U2 -r1.22 -r1.23 --- create_file.html 6 Jan 2003 08:07:20 -0000 1.22 +++ create_file.html 13 Jan 2003 08:33:00 -0000 1.23 @@ -12,5 +12,5 @@ <input name="filename" type="text"><br> <input type="hidden" name="Submit"> -<a href="javascript:{document.create_file.Submit.value='Done';document.create_file.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> +<a href="javascript:{document.create_file.Submit.value='Done';setTimeout('window.close()',2000);document.create_file.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> <br> </form> Index: create_folder.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/create_folder.html,v retrieving revision 1.21 retrieving revision 1.22 diff -U2 -r1.21 -r1.22 --- create_folder.html 6 Jan 2003 08:07:20 -0000 1.21 +++ create_folder.html 13 Jan 2003 08:33:00 -0000 1.22 @@ -14,5 +14,5 @@ <input name="filename" type="text"> <input type="hidden" name="Submit"> -<a href="javascript:{document.create_folder.Submit.value='Done';document.create_folder.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> +<a href="javascript:{document.create_folder.Submit.value='Done';setTimeout('window.close()',2000);document.create_folder.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> <br> </form> Index: delete.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/delete.html,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- delete.html 6 Jan 2003 01:25:56 -0000 1.5 +++ delete.html 13 Jan 2003 08:33:00 -0000 1.6 @@ -2,5 +2,5 @@ <tr> <center> - <form name="dform" submit="<TMPL_VAR NAME=PROGNAME>"> + <form name="dform"> <input type="hidden" name="action" value="delete"> <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>"> Index: rename.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/rename.html,v retrieving revision 1.7 retrieving revision 1.8 diff -U2 -r1.7 -r1.8 --- rename.html 6 Jan 2003 01:25:56 -0000 1.7 +++ rename.html 13 Jan 2003 08:33:00 -0000 1.8 @@ -3,5 +3,5 @@ <td width="center"> Rename <TMPL_VAR NAME=LOCATION>/<TMPL_VAR NAME=FILENAME> to : - <form name="rename" submit="<TMPL_VAR NAME=PROGNAME>" target="mainWindow" onsubmit="setTimeout('window.close()',2000)"> + <form name="rename" target="mainWindow" onsubmit="setTimeout('window.close()',2000)"> <input type="hidden" name="action" value="rename"> <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>"> @@ -12,5 +12,5 @@ <input name="Submit" value="1" type="hidden"> <input type="text" name="tofile"> - <a href="javascript:{document.rename.Submit.value='Done';document.rename.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> + <a href="javascript:{document.rename.Submit.value='Done';setTimeout('window.close()',2000);document.rename.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> </form> </td> Index: sandbox.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/sandbox.html,v retrieving revision 1.24 retrieving revision 1.25 diff -U2 -r1.24 -r1.25 --- sandbox.html 13 Jan 2003 08:07:27 -0000 1.24 +++ sandbox.html 13 Jan 2003 08:33:00 -0000 1.25 @@ -20,5 +20,5 @@ - <form name="module" submit="<TMPL_VAR NAME=PROGNAME>" onsubmit="myOpenWindow()" target="popUp"> + <form name="module" onsubmit="myOpenWindow()" target="popUp"> <input type="hidden" name="action" value="sandbox"> <tr> Index: tag.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/tag.html,v retrieving revision 1.16 retrieving revision 1.17 diff -U2 -r1.16 -r1.17 --- tag.html 6 Jan 2003 08:07:20 -0000 1.16 +++ tag.html 13 Jan 2003 08:33:00 -0000 1.17 @@ -2,5 +2,5 @@ <tr> <center> - <form submit="<TMPL_VAR NAME=PROGNAME>"> + <form name="tag"> <input type="hidden" name="action" value="vcs"> <input type="hidden" name="main_window_url" value="<TMPL_VAR NAME=MAIN_WINDOW_URL>"> Index: tool_bar.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/tool_bar.html,v retrieving revision 1.16 retrieving revision 1.17 diff -U2 -r1.16 -r1.17 --- tool_bar.html 13 Jan 2003 08:07:27 -0000 1.16 +++ tool_bar.html 13 Jan 2003 08:33:00 -0000 1.17 @@ -13,8 +13,8 @@ <input type="hidden" name="action"> - <a href="javascript:{document.browse.action.value='create_folder';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/create_folder.png" alt="Create Folder" title="Create Folder" border="0"></a> - <a href="javascript:{document.browse.action.value='delete';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/delete.png" alt="Delete" title="Delete" border="0"></a> - <a href="javascript:{document.browse.action.value='rename';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/rename.png" alt="Rename" title="Rename" border="0"></a> - <a href="javascript:{document.browse.action.value='upload';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/upload.png" alt="Upload" title="Upload" border="0"></a> + <a href="javascript:{onClick=myOpenWindow();document.browse.action.value='create_folder';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/create_folder.png" alt="Create Folder" title="Create Folder" border="0"></a> + <a href="javascript:{onClick=myOpenWindow();document.browse.action.value='delete';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/delete.png" alt="Delete" title="Delete" border="0"></a> + <a href="javascript:{onClick=myOpenWindow();document.browse.action.value='rename';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/rename.png" alt="Rename" title="Rename" border="0"></a> + <a href="javascript:{onClick=myOpenWindow();document.browse.action.value='upload';document.browse.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/upload.png" alt="Upload" title="Upload" border="0"></a> | <select name="vcs_command"> Index: upload.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/upload.html,v retrieving revision 1.11 retrieving revision 1.12 diff -U2 -r1.11 -r1.12 --- upload.html 6 Jan 2003 01:25:56 -0000 1.11 +++ upload.html 13 Jan 2003 08:33:00 -0000 1.12 @@ -13,5 +13,5 @@ Enter a file to upload:<br> <input name="filehandle" type="file"><br> -<a href="javascript:{document.upload.Submit.value='Done';document.upload.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> +<a href="javascript:{document.upload.Submit.value='Done';setTimeout('window.close()',2000);document.upload.submit();}"><img src="<TMPL_VAR NAME=IMAGE_DIR>/go.png" alt="Go" title="Go" border="0"></a> <br> </form> |