Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14398: More macro quoting cleanup
  • Loading branch information
gac410 committed May 15, 2017
1 parent 962aa02 commit 1c690a1
Show file tree
Hide file tree
Showing 22 changed files with 67 additions and 69 deletions.
4 changes: 2 additions & 2 deletions CommentPlugin/data/Sandbox/CommentPluginExamples.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1494870493" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1"}%
* Top comment output 2 -- %USERSWEB%.ProjectContributor - 26 Nov 2006
* Top comment output 1 -- %USERSWEB%.ProjectContributor - 26 Nov 2006

Expand Down Expand Up @@ -198,7 +198,7 @@ Post to a different topic and return to here. In this example comments are writt

_Comments:_
<blockquote>
%INCLUDE{%COMMENT_TOPIC%}%
%INCLUDE{"%COMMENT_TOPIC%"}%
</blockquote>

---
Expand Down
2 changes: 1 addition & 1 deletion EmptyPlugin/lib/Foswiki/Plugins/EmptyPlugin.pm
Expand Up @@ -26,7 +26,7 @@ webserver error log. The ENVironment setting =$ENV{FOSWIKI_ASSERTS}= setting ma
Foswiki less tolerant of errors, and it is recommended to set it during
development. It can be set by editing =bin/LocalLib.cfg=, (If missing, see =bin/LocalLib.cfg.txt=)
Most handlers can also throw exceptions (e.g.
[[%SCRIPTURL{view}%/%SYSTEMWEB%/PerlDoc?module=Foswiki::OopsException][Foswiki::OopsException]])
[[%SCRIPTURL{"view"}%/%SYSTEMWEB%/PerlDoc?module=Foswiki::OopsException][Foswiki::OopsException]])
For increased performance, all handler functions except =initPlugin= are
commented out below. *To enable a handler* remove the leading =#= from
Expand Down
16 changes: 8 additions & 8 deletions FamFamFamContrib/data/System/FamFamFamContrib.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1454519814" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1494874118" format="1.1" version="1"}%
---+!! !FamFamFamContrib
<!--
One line description, required for extensions repository catalog.
Expand Down Expand Up @@ -56,7 +56,7 @@ eg
<img src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkGeoSilkIcons/geosilk.png" />

---+++ Foswiki Extra Icons FamFamFamFoswikiExtras
%INCLUDE{%SYSTEMWEB%.FamFamFamFoswikiExtras}%
%INCLUDE{"%SYSTEMWEB%.FamFamFamFoswikiExtras"}%

---++ Installation Instructions

Expand Down Expand Up @@ -111,9 +111,9 @@ __Related Topics:__ [[%SYSTEMWEB%.Contribs][Contribs]], %SYSTEMWEB%.DeveloperDoc
%META:FIELD{name="Support" title="Support" value="http://foswiki.org/Support/%25$ROOTMODULE%25"}%
%META:FIELD{name="Version" title="Version" value="%25$VERSION%25"}%
%META:FIELD{name="Repository" title="Repository" value="https://github.com/foswiki/distro"}%
%META:FILEATTACHMENT{name="SilkCompanion1Thumb.png" attr="h" comment="" date="1454519814" size="169896" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="silk-companion-II.png" attr="h" comment="" date="1454519814" size="24969" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="mini-preview.jpg" attr="h" comment="" date="1454519814" size="13799" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="mint-preview.jpg" attr="h" comment="" date="1454519814" size="3242" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="flags-preview.jpg" attr="h" comment="" date="1454519814" size="14996" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="silk-preview.jpg" attr="h" comment="" date="1454519814" size="22024" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="SilkCompanion1Thumb.png" attr="h" comment="" date="1494874118" size="169896" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="silk-companion-II.png" attr="h" comment="" date="1494874118" size="24969" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="mini-preview.jpg" attr="h" comment="" date="1494874118" size="13799" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="mint-preview.jpg" attr="h" comment="" date="1494874118" size="3242" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="flags-preview.jpg" attr="h" comment="" date="1494874118" size="14996" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="silk-preview.jpg" attr="h" comment="" date="1494874118" size="22024" user="ProjectContributor" version="1"}%
3 changes: 2 additions & 1 deletion MailerContrib/lib/Foswiki/Contrib/MailerContrib/Change.pm
Expand Up @@ -218,7 +218,8 @@ sub expandVariables {

# URL-encode topic names for use of I18N topic names in plain text
# DEPRECATED! DO NOT USE!
$template =~ s#%URL%#%SCRIPTURL{view}%/%ENCODE{%WEB%}%/%ENCODE{%TOPIC%}%#g;
$template =~
s#%URL%#%SCRIPTURL{"view"}%/%ENCODE{"%WEB%"}%/%ENCODE{"%TOPIC%"}%#g;
$template =~ s/%AUTHOR%/$this->{AUTHOR}/g;
$template =~ s/%BASE_REV%/$this->{BASE_REV}/g;
Expand Down
4 changes: 2 additions & 2 deletions PatternSkin/data/System/WebLeftBarExample.txt
@@ -1,6 +1,6 @@
%META:TOPICINFO{author="ProjectContributor" date="1494870493" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebHome"}%
%INCLUDE{"%IF{"context can_login" then="%SYSTEMWEB%.WebLeftBarLogin" else="<nop>"}%" warn="off""}%
%INCLUDE{"%IF{"context can_login" then="%SYSTEMWEB%.WebLeftBarLogin" else="<nop>"}%" warn="off"}%

%STARTSECTION{"topics"}%
* *%MAKETEXT{"Toolbox"}%*
Expand Down
6 changes: 3 additions & 3 deletions PatternSkin/data/System/WebLeftBarLogin.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1494870493" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebLeftBarExample"}%
%STARTINCLUDE%<div class="patternLeftBarPersonal">
<ul id="patternLeftBarUserActions">
Expand All @@ -18,8 +18,8 @@
}%</ul>
%IF{"'%USERNAME%'!='guest'"
then="$percntIF{\"istopic '%USERSWEB%.%WIKINAME%LeftBar'\"
then=\"<div class='patternLeftBarPersonalContent'>$n$dollarpercntINCLUDE{%USERSWEB%.%WIKINAME%LeftBar}$dollarpercnt</div>\"
else=\"<ul><li>%JQICON{"page_white_add"}%<a href='%SCRIPTURLPATH{edit}%/%USERSWEB%/%WIKINAME%LeftBar?templatetopic=%SYSTEMWEB%.WebLeftBarPersonalTemplate&amp;topicparent=%WIKINAME%'>%MAKETEXT{"Create personal sidebar"}%</a></li></ul>\"
then=\"<div class='patternLeftBarPersonalContent'>$n$dollarpercntINCLUDE{$dollarquot%USERSWEB%.%WIKINAME%LeftBar$dollarquot}$dollarpercnt</div>\"
else=\"<ul><li>%JQICON{"page_white_add"}%<a href='%SCRIPTURLPATH{"edit"}%/%USERSWEB%/%WIKINAME%LeftBar?templatetopic=%SYSTEMWEB%.WebLeftBarPersonalTemplate&amp;topicparent=%WIKINAME%'>%MAKETEXT{"Create personal sidebar"}%</a></li></ul>\"
}$percnt"
}%</div>%STOPINCLUDE%
%META:PREFERENCE{name="ALLOWTOPICVIEW" title="ALLOWTOPICVIEW" type="Set" value="*"}%
26 changes: 13 additions & 13 deletions TinyMCEPlugin/data/System/TinyMCEQuickHelp.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485356379" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1494874118" format="1.1" version="1"}%
%META:TOPICPARENT{name="TinyMCEPlugin"}%
---+!! !TinyMCE Editor Help Summary
<!--%STARTSECTION{"CSS"}%<style type="text/css" media="all">
Expand Down Expand Up @@ -110,18 +110,18 @@
</table>
</div>
<div id="foswikiTinyMcePluginRawEditHelp" style="display:none">
%INCLUDE{%SYSTEMWEB%.EditingShorthand}%
%INCLUDE{"%SYSTEMWEB%.EditingShorthand"}%
</div>
%STOPINCLUDE%

%META:FILEATTACHMENT{name="autosave.png" attr="h" comment="" date="1485356379" size="655" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="indent.png" attr="h" comment="" date="1485356379" size="327" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="chili_formatting.png" attr="h" comment="" date="1485356379" size="12756" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="Format_Drop_Down.png" attr="h" comment="" date="1485356379" size="6515" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="unlink.png" attr="h" comment="" date="1485356379" size="426" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="outdent.png" attr="h" comment="" date="1485356379" size="324" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="table_contextmenu.png" attr="h" comment="" date="1485356379" size="9076" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="link.png" attr="h" comment="" date="1485356379" size="385" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="anchor.png" attr="h" comment="" date="1485356379" size="397" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="clear_formatting.png" attr="h" comment="" date="1485356379" size="459" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="fullscreen.png" attr="h" comment="" date="1485356379" size="384" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="autosave.png" attr="h" comment="" date="1494874118" size="655" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="indent.png" attr="h" comment="" date="1494874118" size="327" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="chili_formatting.png" attr="h" comment="" date="1494874118" size="12756" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="Format_Drop_Down.png" attr="h" comment="" date="1494874118" size="6515" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="unlink.png" attr="h" comment="" date="1494874118" size="426" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="outdent.png" attr="h" comment="" date="1494874118" size="324" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="table_contextmenu.png" attr="h" comment="" date="1494874118" size="9076" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="link.png" attr="h" comment="" date="1494874118" size="385" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="anchor.png" attr="h" comment="" date="1494874118" size="397" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="clear_formatting.png" attr="h" comment="" date="1494874118" size="459" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="fullscreen.png" attr="h" comment="" date="1494874118" size="384" user="ProjectContributor" version="1"}%
8 changes: 4 additions & 4 deletions core/data/Main/GroupViewTemplate.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1458094641" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1"}%
%{ NOTE: THIS IS A SKIN TEMPLATE, NOT A TOPIC TEMPLATE }%
%TMPL:INCLUDE{"view"}%

Expand Down Expand Up @@ -161,16 +161,16 @@ div.wikiGroupsAction {
then='
---++ %MAKETEXT{"Administration"}%
'}%
%ICON{"useradd" quote="\""}% <a href='%SCRIPTURL{view}%/%WEB%/%TOPIC%?skin=text;section=group_add;groupname=%groupname%' alt='%MAKETEXT{"Add members..."}%' title='%MAKETEXT{"Add members..."}%' class='jqUIDialogLink {cache:false}'>%MAKETEXT{"Add members..."}%</a>
%ICON{"useradd" quote="\""}% <a href='%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?skin=text;section=group_add;groupname=%groupname%' alt='%MAKETEXT{"Add members..."}%' title='%MAKETEXT{"Add members..."}%' class='jqUIDialogLink {cache:false}'>%MAKETEXT{"Add members..."}%</a>
%IF{"$allowremove"
then='%BR%%ICON{"userdelete" quote="\""}% <a href="%SCRIPTURL{view}%/%WEB%/%TOPIC%?skin=text;section=group_remove;groupname=%groupname%" alt="%MAKETEXT{"Remove members..."}%" title="%MAKETEXT{"Remove members..."}%" class="jqUIDialogLink {cache:false}">%MAKETEXT{"Remove members..."}%</a>'
then='%BR%%ICON{"userdelete" quote="\""}% <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?skin=text;section=group_remove;groupname=%groupname%" alt="%MAKETEXT{"Remove members..."}%" title="%MAKETEXT{"Remove members..."}%" class="jqUIDialogLink {cache:false}">%MAKETEXT{"Remove members..."}%</a>'
}%
%IF{
"$allowremove AND
istopic '%USERSWEB%.%groupname%' AND
not ( '%USERSWEB%.%groupname%'/preferences[name='VIEW_TEMPLATE'].value = 'GroupView' )
"
then='%BR%%ICON{"wrench" quote="\""}% <a href="%SCRIPTURL{view}%/%WEB%/%TOPIC%?skin=text;section=group_upgrade;groupname=%groupname%" alt="%MAKETEXT{"Upgrade group topic..."}%" title="%MAKETEXT{"Upgrade group topic..."}%" class="jqUIDialogLink {cache:false}">%MAKETEXT{"Upgrade group topic..."}%</a>'
then='%BR%%ICON{"wrench" quote="\""}% <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?skin=text;section=group_upgrade;groupname=%groupname%" alt="%MAKETEXT{"Upgrade group topic..."}%" title="%MAKETEXT{"Upgrade group topic..."}%" class="jqUIDialogLink {cache:false}">%MAKETEXT{"Upgrade group topic..."}%</a>'
}%
<!-- /changegroup -->%ENDSECTION{"changegroup"}%
</verbatim>
Expand Down
4 changes: 2 additions & 2 deletions core/data/Main/WebPreferences.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1494206626" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebHome"}%
---+!! <nop>%WEB% Web Preferences

Expand Down Expand Up @@ -48,4 +48,4 @@ Users or groups allowed to change or rename this <nop>%TOPIC% topic: (e.g., [[%U

---

%INCLUDE{%SYSTEMWEB%.WebPreferencesHelp}%
%INCLUDE{"%SYSTEMWEB%.WebPreferencesHelp"}%
4 changes: 2 additions & 2 deletions core/data/System/WebPreferences.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1494206626" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebHome"}%
---+!! <nop>%WEB% Web Preferences

Expand Down Expand Up @@ -48,4 +48,4 @@ Users or groups allowed to change or rename this <nop>%TOPIC% topic
* Set ALLOWTOPICCHANGE = %USERSWEB%.AdminGroup

---
%INCLUDE{%SYSTEMWEB%.WebPreferencesHelp}%
%INCLUDE{"%SYSTEMWEB%.WebPreferencesHelp"}%
12 changes: 6 additions & 6 deletions core/data/System/WebSearch.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1494815729" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebHome"}%
%IF{
"$'URLPARAM{tab}'='search' OR $'URLPARAM{tab}'='' AND NOT $TAB='advanced'"
Expand Down Expand Up @@ -36,7 +36,7 @@

%STARTSECTION{"form"}%%INCLUDE{"%TOPIC%" section="tabs"}%<noautolink>
<div class='foswikiWebSearchForm'>
<form name='WebSearchForm' action='%SCRIPTURLPATH{view}%/%BASEWEB%/%TOPIC%'>
<form name='WebSearchForm' action='%SCRIPTURLPATH{"view"}%/%BASEWEB%/%TOPIC%'>
<input type='hidden' name='tab' value='%URLPARAM{"tab" default="search"}%' />
<div class='foswikiFormSteps'>
<div class='foswikiFormStep'>
Expand Down Expand Up @@ -80,16 +80,16 @@
<li%IF{
"$'URLPARAM{tab}'='search' OR $'URLPARAM{tab}'='' AND NOT $TAB='advanced'"
then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamssimple"}%;tab=search'>%MAKETEXT{"Search"}%</a></li>
}%><a href='%SCRIPTURL{"view"}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamssimple"}%;tab=search'>%MAKETEXT{"Search"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='searchadvanced' OR $TAB='advanced'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=searchadvanced'>%MAKETEXT{"Advanced search"}%</a></li>
}%><a href='%SCRIPTURL{"view"}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=searchadvanced'>%MAKETEXT{"Advanced search"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='az'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=az'>%MAKETEXT{"A-Z"}%</a></li>
}%><a href='%SCRIPTURL{"view"}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=az'>%MAKETEXT{"A-Z"}%</a></li>
<li%IF{
"$'URLPARAM{tab}'='help'" then=" class='foswikiActiveTab'"
}%><a href='%SCRIPTURL{view}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=help'>%MAKETEXT{"Help"}%</a></li>
}%><a href='%SCRIPTURL{"view"}%/%BASEWEB%/%TOPIC%?%INCLUDE{"%TOPIC%" section="searchparamsadvanced"}%;tab=help'>%MAKETEXT{"Help"}%</a></li>
</ul>
<div class='foswikiClear'></div>
</div></noautolink>%ENDSECTION{"tabs"}%
Expand Down
6 changes: 3 additions & 3 deletions core/data/TestCases/TestCaseAutoTableInclude.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="MidBum" date="1189245567" format="1.1" reprev="1.1" version="1.1"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1.1"}%
Description: Testcase covers Bugs:Item4439. Companion topics IncludeTableAttachment and IncludeTableNoAttachment also required.

[[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?test=compare&amp;debugenableplugins=TestFixturePlugin&skin=pattern][run this test]]
Expand All @@ -7,9 +7,9 @@ Designed by: Crawford Currie

---+ Actual
<!-- actual -->
| %INCLUDE{IncludeTableAttachment}% |
| %INCLUDE{"IncludeTableAttachment"}% |

| %INCLUDE{IncludeTableNoAttachment}% |
| %INCLUDE{"IncludeTableNoAttachment"}% |
<!-- /actual -->
---+ Expected
<!-- expected -->
Expand Down
16 changes: 8 additions & 8 deletions core/data/TestCases/TestCaseSaveContentWithoutEdit.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="LynnwoodBrown" date="1124300292" format="1.1" version="1.2"}%
%META:TOPICINFO{author="ProjectContributor" date="1494874118" format="1.1" version="1.2"}%

---+!! %TOPIC%

Expand All @@ -22,21 +22,21 @@ The other form fields should be unchanged. i.e.:
---
The actual content is:
---
%INCLUDE{SavedContentExistingTopic}%
%INCLUDE{"SavedContentExistingTopic"}%
---
*if the content is different, you need to delete SavedContentExistingTopic and "svn update" again*.

---++++ Test #1: Passing URL Params to update fields in an existing topic

If SavedContentExistingTopic %REVINFO{topic="SavedContentExistingTopic" format="r$rev"}% is not =r1=, <form name="save5" action="%SCRIPTURLPATH{save}%/TestCases/SavedContentExistingTopic" method="post">
If SavedContentExistingTopic %REVINFO{topic="SavedContentExistingTopic" format="r$rev"}% is not =r1=, <form name="save5" action="%SCRIPTURLPATH{"save"}%/TestCases/SavedContentExistingTopic" method="post">
<input type="hidden" name="action" value="quietsave">
<input type="hidden" name="cmd" value="delRev">
<input type="hidden" name="text" value="delRev test FAILED">
<input type="hidden" name="redirectto" value="TestCaseSaveContentWithoutEdit">
<input type="submit" class="foswikiSubmit" value="Revert it" /></form>


<form name="save1" action="%SCRIPTURLPATH{save}%/TestCases" method="post">
<form name="save1" action="%SCRIPTURLPATH{"save"}%/TestCases" method="post">
<input type="hidden" name="action" value="save">
<input type="hidden" name="topic" value="SavedContentExistingTopic">
<input type="hidden" name="Rubaduba" value="%GMTIME%">
Expand All @@ -54,7 +54,7 @@ If SavedContentExistingTopic %REVINFO{topic="SavedContentExistingTopic" format="

---++++ Test #2: Passing URL Params to new topic with =templatetopic= specified

Before running this test, check if SavedNewTopicNoEdit exist and, if so,<form name="del" action="%SCRIPTURLPATH{rename}%/TestCases/SavedNewTopicNoEdit" method="post">
Before running this test, check if SavedNewTopicNoEdit exist and, if so,<form name="del" action="%SCRIPTURLPATH{"rename"}%/TestCases/SavedNewTopicNoEdit" method="post">
<input type="hidden" name="action" value="renameother">
<input type="hidden" name="newweb" value="%TRASHWEB%">
<input type="hidden" name="newtopic" value="SaveNewTopicNoEdit%GMTIME{"$epoch"}%">
Expand All @@ -64,7 +64,7 @@ Before running this test, check if SavedNewTopicNoEdit exist and, if so,<form na
<input type="submit" class="foswikiSubmit" value="delete it" /></form>


<form name="save2" action="%SCRIPTURLPATH{save}%/TestCases" method="post">
<form name="save2" action="%SCRIPTURLPATH{"save"}%/TestCases" method="post">
<input type="hidden" name="action" value="save">
<input type="hidden" name="topic" value="SavedNewTopicNoEdit">
<input type="hidden" name="templatetopic" value="TopicTemplateWithUrlParamFixture">
Expand All @@ -83,7 +83,7 @@ Before running this test, check if SavedNewTopicNoEdit exist and, if so,<form na

---++++ Test #3: Passing URL Params to new topic with =formtemplate= specified

Before running this test, check if SavedNewTopicNoEdit exists and, if so, <form name="del" action="%SCRIPTURLPATH{rename}%/TestCases/SavedNewTopicNoEdit" method="post">
Before running this test, check if SavedNewTopicNoEdit exists and, if so, <form name="del" action="%SCRIPTURLPATH{"rename"}%/TestCases/SavedNewTopicNoEdit" method="post">
<input type="hidden" name="action" value="renameother">
<input type="hidden" name="newweb" value="%TRASHWEB%">
<input type="hidden" name="newtopic" value="SaveNewTopicNoEdit%GMTIME{"$epoch"}%">
Expand All @@ -92,7 +92,7 @@ Before running this test, check if SavedNewTopicNoEdit exists and, if so, <form
<input type="hidden" name="redirectto" value="TestCaseSaveContentWithoutEdit">
<input type="submit" class="foswikiSubmit" value="delete it" /></form>

<form name="save3" action="%SCRIPTURLPATH{save}%/TestCases" method="post">
<form name="save3" action="%SCRIPTURLPATH{"save"}%/TestCases" method="post">
<input type="hidden" name="action" value="save">
<input type="hidden" name="topic" value="SavedNewTopicNoEdit">
<input type="hidden" name="formtemplate" value="ThisForm">
Expand Down

0 comments on commit 1c690a1

Please sign in to comment.