Skip to content
Permalink
Browse files

Item1458: converted all forms to POST not GET

git-svn-id: http://svn.foswiki.org/branches/Release01x00@3515 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie CrawfordCurrie
CrawfordCurrie authored and CrawfordCurrie committed Apr 18, 2009
1 parent 652808f commit 526f7280479d8c3c9da77b03c850634b402abb8e
@@ -60,7 +60,7 @@
<div class="foswikiLeft">
<a href="%SCRIPTURLPATH{"view"}%/%WEB%/%HOMETOPIC%">%WEB%</a> &gt; %META{"parent" nowebhome="on" suffix=" &gt;"}% <b>%TOPIC%</b> %TMPL:P{"titleaction"}%</div>
<div class="foswikiRight foswikiSmall">%WIKITOOLNAME% webs: %WIKIWEBLIST% &nbsp; %TMPL:P{"login"}%</div><br class="foswikiClear" /></div>
<form name="main" action="%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%">
<form name="main" action="%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%" method="POST">
%TMPL:P{"webaction"}%</form></div>%TMPL:END%

%TMPL:DEF{"simpleheader"}%
@@ -201,7 +201,7 @@

%MAKETEXT{"Your activation code has been sent to [_1]. Either click on the link in your e-mail or enter the code in the box below to activate your membership. (This code is of the form \"YourName.xxxxxxxxxx\")" args="%PARAM1%"}%

<form action="%SCRIPTURLPATH{"register"}%" method=get>
<form action="%SCRIPTURLPATH{"register"}%" method="post">
<input type="hidden" name="action" value="verify" size="20" />
<input type="text" name="code" size="20" />
<input type="submit" class="foswikiSubmit" value=' %MAKETEXT{"Submit"}% ' />
@@ -310,7 +310,7 @@
*%MAKETEXT{"Note:"}%*
%MAKETEXT{"Some mail tools have an error that causes them to send the same request twice when you click on a link. It you did this, it is possible that you actually *have* registered successfully."}%

<form action="%SCRIPTURLPATH{"register"}%" method=get>
<form action="%SCRIPTURLPATH{"register"}%" method="post">
<input type="hidden" name="action" value="verify" size="20" />
<input type="text" name="code" size="20" />
<input type="submit" class="foswikiSubmit" value=' %MAKETEXT{"Submit"}% ' />
@@ -12,7 +12,7 @@
%MAKETEXT{"Foswiki's user interface is available in several languages. If you want to change the language for this session, choose one of the following and hit \"Change language\". Otherwise, follow the \"Cancel\" link on the bottom of the page to return to the previous topic."}%

<center>
<form action="%SCRIPTURLPATH{"oops"}%/%WEB%/%TOPIC%" method="get">
<form action="%SCRIPTURLPATH{"oops"}%/%WEB%/%TOPIC%" method="post">
<select name="language">
%LANGUAGES{format="<option $marker value='$langtag'>$langname</option>" selection="%LANGUAGE%"}%
</select>
@@ -101,19 +101,19 @@ table.twikiDiffOptions img {

%TMPL:DEF{"revision"}%---++ %MAKETEXT{"Revisions"}%
%IF{"$ param1='0'" then="<!--" else="---+++ %MAKETEXT{"View previous topic revision"}% (1 ... %PARAM1%)" }%
<form name="main" action="%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%">
<form name="main" action="%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%" method="post">
* %MAKETEXT{"View revision:"}% <input class="foswikiInputField" type="text" name="rev" size="6" value="%PARAM2%" /> &nbsp;
<input type="checkbox" class="foswikiCheckbox" id="raw" name="raw" /><label for="raw">%MAKETEXT{"in raw text format"}%</label> <input type="submit" class="foswikiButton" value='%MAKETEXT{"View"}%' />
</form>
---+++ %MAKETEXT{"Compare revisions"}%
%TMPL:P{"cssTwikiDiffOptions"}%
<form name="main" action="%SCRIPTURLPATH{"rdiff"}%/%WEB%/%TOPIC%">
<form name="main" action="%SCRIPTURLPATH{"rdiff"}%/%WEB%/%TOPIC%" method="post">
* %MAKETEXT{"Older revision:"}% <input class="foswikiInputField" type="text" name="rev2" size="6" value="1" /> &nbsp; %MAKETEXT{"Newer revision:"}% <input class="foswikiInputField" type="text" name="rev1" size="6" value="%PARAM1%" /><br />
<table class="foswikiTable twikiDiffOptions"><tr><td><label for="sequential"><img src="%PUBURLPATH%/%SYSTEMWEB%/SkinTemplates/oopsmore_diff_sequential.gif" alt="sequential" width="80" height="80" /></label></td><td><label for="sidebyside"><img src="%PUBURLPATH%/%SYSTEMWEB%/SkinTemplates/oopsmore_diff_sidebyside.gif" alt="side by side" width="80" height="80" /></label></td><td><label for="debug"><img src="%PUBURLPATH%/%SYSTEMWEB%/SkinTemplates/oopsmore_diff_debug.gif" alt="debug" width="80" height="80" /></label></td></tr><tr><td><input type="radio" name="render" id="sequential" value="sequential" checked="checked" /><label for="sequential"> %MAKETEXT{"Sequential"}%</label></td><td><input type="radio" name="render" id="sidebyside" value="sidebyside" /><label for="sidebyside"> %MAKETEXT{"Side by side"}%</label></td><td><input type="radio" name="render" id="debug" value="debug" /><label for="debug"> %MAKETEXT{"Debug"}%</label></td></tr></table>
<input type="submit" class="foswikiButton" value='%MAKETEXT{"View difference"}%' />
</form>
---+++ %MAKETEXT{"Restore topic"}%
<form name="main" action="%SCRIPTURLPATH{"manage"}%/%WEB%/%TOPIC%">
<form name="main" action="%SCRIPTURLPATH{"manage"}%/%WEB%/%TOPIC%" method="post">
* %MAKETEXT{"Restore topic to revision:"}% <input class="foswikiInputField" type="text" name="rev" size="6" value="%PARAM2%" />
<input type="hidden" name="action" value="restoreRevision" />
<input type="hidden" name="nowysiwyg" value="1" />

0 comments on commit 526f728

Please sign in to comment.
You can’t perform that action at this time.