Skip to content

Commit

Permalink
Item11764: hide the skin template topics from view
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@16037 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Nov 16, 2012
1 parent 5542aea commit b13ca32
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 3 deletions.
2 changes: 2 additions & 0 deletions JSCalendarContrib/data/System/JSCalendarContribInline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ Inline include of [[JSCalendarContrib]] HTML for use in forms.
requires="JSCalendarContrib/calendar-setup"
}%%ENDSECTION{"loadCalendar"}%%STOPINCLUDE%
</verbatim>

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
4 changes: 3 additions & 1 deletion PatternSkin/data/Main/PatternSkinUserViewTemplate.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1300477710" format="1.1" version="1"}%
%TMPL:INCLUDE{"view"}%
%TMPL:INCLUDE{"view"}%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
2 changes: 2 additions & 0 deletions core/data/System/FAQEditTemplate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
Define the formbottom container to be empty

}%%TMPL:DEF{"formbottom"}%%TMPL:END%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
2 changes: 2 additions & 0 deletions core/data/System/FAQViewTemplate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@
}%%TMPL:DEF{"form"}%%TMPL:END%%{
===================================================
</verbatim>}%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
7 changes: 6 additions & 1 deletion core/data/System/SkinTemplateViewTemplate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,10 @@ So should not be viewed directly. Use %TMPL:P{"raw_link"}% to see the Template s

*%MAKETEXT{"Related topics:"}%* [[%SYSTEMWEB%.SkinTemplates][Skin Templates]]

Set =VIEW_TEMPLATE=SkinTemplateView= to a topic that is a Skin Template


#TopicEnd
</div>%TMPL:END%
</div>%TMPL:END%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
4 changes: 3 additions & 1 deletion core/data/System/TopicDoesNotExistViewTemplate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@

%TMPL:DEF{"searchMoved"}%%SEARCH{ "moved.from='%BASEWEB%.%BASETOPIC%'" nosearch="on" nototal="on" type="query" format="<div class='foswikiNotification'>$percentMAKETEXT{\"A topic with this name did exist, but has been renamed or moved to [_1].\" args=\"[[$web.$topic]]\"}$percent</div>" }%%TMPL:END%

%TMPL:DEF{"searchSimilarTopics"}%%SEARCH{"%BASETOPIC%" limit="10" scope="topic" web="%BASEWEB%" nonoise="on" order="modified" reverse="on"}%%SEARCH{"%BASETOPIC%" limit="1" scope="topic" web="%BASEWEB%" nonoise="on" format="$percentBR$percent$percentICON{arrowbright}$percent [[$percentSCRIPTURLPATH{\"view\"}$percent/$percentBASEWEB$percent/WebSearch?scope=topic;search=$percentBASETOPIC$percent][$percentMAKETEXT{\"Search more topics in this web\"}$percent]]$percentBR$percent"}% %ICON{arrowbright}% [[%SCRIPTURLPATH{"view"}%/%BASEWEB%/WebSearch?scope=topic;web=all;search=%BASETOPIC%][%MAKETEXT{"Search in all webs"}%]]%TMPL:END%
%TMPL:DEF{"searchSimilarTopics"}%%SEARCH{"%BASETOPIC%" limit="10" scope="topic" web="%BASEWEB%" nonoise="on" order="modified" reverse="on"}%%SEARCH{"%BASETOPIC%" limit="1" scope="topic" web="%BASEWEB%" nonoise="on" format="$percentBR$percent$percentICON{arrowbright}$percent [[$percentSCRIPTURLPATH{\"view\"}$percent/$percentBASEWEB$percent/WebSearch?scope=topic;search=$percentBASETOPIC$percent][$percentMAKETEXT{\"Search more topics in this web\"}$percent]]$percentBR$percent"}% %ICON{arrowbright}% [[%SCRIPTURLPATH{"view"}%/%BASEWEB%/WebSearch?scope=topic;web=all;search=%BASETOPIC%][%MAKETEXT{"Search in all webs"}%]]%TMPL:END%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
2 changes: 2 additions & 0 deletions core/data/System/WebCreateNewTopicTemplate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,5 @@
}%%TMPL:END%%{
===================================================
</verbatim>}%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
1 change: 1 addition & 0 deletions core/data/System/WikiApplicationsViewSectionTemplate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
<a class="jqUIDialogButton jqUIDialogClose {icon:'ui-icon-cancel'}">%MAKETEXT{"Cancel"}%</a>
}%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%
2 changes: 2 additions & 0 deletions core/data/System/WikiApplicationsViewTemplate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ These Wiki Applications have some pre-defined INCLUDE sections that let you add
%TMPL:END%%{

}%

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Set" value="SkinTemplateView"}%

0 comments on commit b13ca32

Please sign in to comment.