Skip to content

Commit

Permalink
Item13909: Corrections to use of TMPL: in topics
Browse files Browse the repository at this point in the history
  • Loading branch information
cdot committed Feb 20, 2017
1 parent 7196d29 commit b80f83f
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 16 deletions.
6 changes: 3 additions & 3 deletions PatternSkin/data/System/WebLeftBarPersonalTemplate.txt
@@ -1,11 +1,11 @@
%META:TOPICINFO{author="ProjectContributor" date="1452261257" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1487619523" format="1.1" version="1"}%
%META:TOPICPARENT{name="WebLeftBarExample"}%
<!--
Customise this topic; samples and ideas available at %SYSTEMWEB%.WebLeftBarCookbook.
-->
*My links:*
* [[%TMPL:WIKIUSERNAME%][My home page]]
* [[%SCRIPTURL{search}%/%BASEWEB%/?search=%TMPL:WIKINAME%;order=modified;limit=50;reverse=on][My %BASEWEB% activities]]
* [[%WIKIUSERNAME%][My home page]]
* [[%SCRIPTURL{search}%/%BASEWEB%/?search=%WIKINAME%;order=modified;limit=50;reverse=on][My %BASEWEB% activities]]
*
<a class="foswikiSmallish" href="%SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%?t=%GM%NOP%TIME{"$epoch"}%">edit</a>

4 changes: 2 additions & 2 deletions TipsContrib/data/System/TipsOfTheDayTemplate.txt
@@ -1,10 +1,10 @@
%META:TOPICINFO{author="ProjectContributor" date="1452261257" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1487619523" format="1.1" version="1"}%
%META:TOPICPARENT{name="TipsOfTheDayAdmin"}%
---+ Heading

Quick Summary with link to more information.

[[%SYSTEMWEB%.TipsOfTheDay][See More Tips...]]

-- %TMPL:WIKIUSERNAME% - %TMPL:DATE%
-- %CREATE:WIKIUSERNAME% - %CREATE:DATE%

4 changes: 2 additions & 2 deletions TopicUserMappingContrib/data/Main/GroupTemplate.txt
@@ -1,8 +1,8 @@
%META:TOPICINFO{author="ProjectContributor" date="1452261275" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1487619533" format="1.1" version="1"}%
%META:TOPICPARENT{name="WikiGroups"}%

Edit this topic to add a description to the !%TMPL:URLPARAM{"topic"}%

%META:PREFERENCE{name="GROUP" title="GROUP" value=""}%
%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" value="GroupView"}%
%META:PREFERENCE{name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="%TMPL:URLPARAM{"topic"}%"}%
%META:PREFERENCE{name="ALLOWTOPICCHANGE" title="ALLOWTOPICCHANGE" type="Set" value="%CREATE:URLPARAM{"topic"}%"}%
4 changes: 2 additions & 2 deletions TopicUserMappingContrib/data/System/NewUserTemplate.txt
@@ -1,12 +1,12 @@
%META:TOPICINFO{author="ProjectContributor" date="1452261257" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1487619523" format="1.1" version="1"}%
%META:TOPICPARENT{name="WikiUsers"}%
---+ <nop>%TOPIC%

%SPLIT%
* %KEY%: %VALUE%%SPLIT%

<!--
* Set ALLOWTOPICCHANGE = %TMPL:WIKIUSERNAME%
* Set ALLOWTOPICCHANGE = %CREATE:WIKIUSERNAME%
-->


Expand Down
4 changes: 2 additions & 2 deletions core/data/System/ExampleTopicTemplate.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1452261257" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1487619523" format="1.1" version="1"}%
(just an example illustrating how to create a new topic based on a specific template topic. TemplateTopics has more)

-- %TMPL:WIKIUSERNAME% - %TMPL:DATE%
-- %CREATE:WIKIUSERNAME% - %CREATE:DATE%
4 changes: 2 additions & 2 deletions core/data/System/FAQTemplate.txt
@@ -1,6 +1,6 @@
%META:TOPICINFO{author="ProjectContributor" date="1452261257" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1487619523" format="1.1" version="1"}%
%META:TOPICPARENT{name="FrequentlyAskedQuestions"}%
The answer is...

-- %TMPL:WIKIUSERNAME% - %TMPL:DATE% <br />
-- %CREATE:WIKIUSERNAME% - %CREATE:DATE% <br />
%META:FORM{name="FAQForm"}%
4 changes: 2 additions & 2 deletions core/data/System/WebTopicEditTemplate.txt
@@ -1,7 +1,7 @@
%META:TOPICINFO{author="ProjectContributor" date="1452261257" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1487619523" format="1.1" version="1"}%





-- %TMPL:WIKIUSERNAME% - %TMPL:DATE%
-- %CREATE:WIKIUSERNAME% - %CREATE:DATE%
1 change: 0 additions & 1 deletion core/tools/develop/githooks/commit-msg
Expand Up @@ -124,7 +124,6 @@ Item12345: Item12346: fixed foo, updated release notes
with $WINDOW_DAYS days of the checkin.
Getting rejected commits with perltidy? We are checking using
version $Perl::Tidy::VERSION
See http://foswiki.org/Development/PerlTidy#Versions
------------TRUNCATED COMMIT MESSAGE FOLLOWS------------------------
EOF
Expand Down

0 comments on commit b80f83f

Please sign in to comment.