%{ This is the "master template" file for Foswiki. The definitions are used in other templates, such as view.tmpl, which in turn define a number of macros that are instantiated at the end of this file. --------------------------------------------------- Handy macro for including JS from system paths }%%TMPL:DEF{"LIBJS"}%%ADDTOZONE{ "script" id="%id%" text="" requires="%requires%"}%%TMPL:END%%{ --------------------------------------------------- Requires for each of the foswiki library JS components. These are not used by the base templates, but are provided for fancier skins. JQUERYPLUGIN is not a hard requirement, but it must sort earlier. --------------------------------------------------- }%%TMPL:DEF{"JavascriptFiles/foswikilib"}%%{ }%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"JavascriptFiles/foswikiString"}% %TMPL:P{"LIBJS" id="JavascriptFiles/foswikiString" requires="JQUERYPLUGIN::FOSWIKI"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"JavascriptFiles/foswikiStringUnicodeChars"}%%{ }%%TMPL:P{"LIBJS" id="JavascriptFiles/foswikiStringUnicodeChars" requires="JQUERYPLUGIN::FOSWIKI,JavascriptFiles/foswikiString"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"JavascriptFiles/foswikiPref"}%%{ }%%TMPL:P{"LIBJS" id="JavascriptFiles/foswikiPref" requires="JQUERYPLUGIN::FOSWIKI"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"JavascriptFiles/foswikiForm"}%%{ }%%TMPL:P{"LIBJS" id="JavascriptFiles/foswikiForm" requires="JQUERYPLUGIN::FOSWIKI,JavascriptFiles/foswikiString"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"JavascriptFiles/foswiki_edit"}%%{ }%%TMPL:P{"JavascriptFiles/foswikiPref"}%%TMPL:P{"LIBJS" id="JavascriptFiles/foswiki_edit" requires="JQUERYPLUGIN::FOSWIKI,JavascriptFiles/foswikiPref"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:INCLUDE{"css"}%%{ --------------------------------------------------- }%%TMPL:DEF{"sep"}% | %TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"titlesep"}% < %TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"LOG_IN"}%Log In%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"LOG_OUT"}%Log Out%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"nonwikiwordwarning"}%

%TMPL:P{"nonwikiwordhelp"}%

%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"nonwikiwordhelp"}%%TWISTY{mode="span"}% %MAKETEXT{"It's usually best to choose a [_1] for the new topic name, otherwise automatic linking may not work. Characters not allowed in topic names, such as spaces will automatically be removed." args="%POPUPWINDOW{"%SYSTEMWEB%.WikiWord" label="WikiWord"}%"}%%JQREQUIRE{"popupwindow"}%%ENDTWISTY%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"nonwikiwordallowed"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"nonwikiword"}%%IF{"$HIDE_NON_WIKI_WORD_WARNINGS!='on'" then="$percntTMPL:P{$quotnonwikiwordwarning$quot}$percnt" else="$percntTMPL:P{$quotnonwikiwordallowed$quot}$percnt"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"htmldoctype"}% %TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"script"}%%TMPL:P{"script:skinbase"}%%TMPL:P{"script:skintemplate"}%%TMPL:P{"script:topictemplate"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"script:skinbase"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"script:skintemplate"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"script:topictemplate"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"windowtitle"}%%TMPL:P{"titleaction"}% <nop>%BASETOPIC%%TMPL:P{"titlesep"}%%BASEWEB%%TMPL:P{"titlesep"}%<nop>%WIKITOOLNAME%%TMPL:END%%{ --------------------------------------------------- Item2476: Put IE8 into compatibility mode to work around slow, erratic textarea }% %TMPL:DEF{"ie8compatibilitymode"}%%IF{"$EDIT_FORCE_IE8_COMPATIBILITYMODE='on'" then=""}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"head"}% %TMPL:P{"windowtitle"}% %TMPL:P{context="edit" then="ie8compatibilitymode"}% %HTTP_EQUIV_ON_VIEW% %TMPL:P{"script"}% %TMPL:P{"defaultstyle"}% %TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"titleaction"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"webaction"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"bodyclassname"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"bodystart"}%
#PageTop %TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"bodyend"}%
%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"broadcastmessage"}%%IF{"defined BROADCASTMESSAGE and $BROADCASTMESSAGE != ''" then="$percntTMPL:P{$quotbroadcastmessage:contents$quot}$percnt"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"broadcastmessage:contents"}%
%BROADCASTMESSAGE%
%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"attachments"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"standardheader"}%
%WEBLOGOALT%
%WEB% > %META{"parent" nowebhome="on" suffix=" >"}% %TOPIC% %TMPL:P{"titleaction"}%
%WIKITOOLNAME% webs: %WIKIWEBLIST%   %TMPL:P{"login"}%
%TMPL:P{"webaction"}%
%TMPL:P{"top:toolbarbuttons"}%
%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"simpleheader"}%
%WEBLOGOALT%
%WEB%  %TOPIC% %TMPL:P{"titleaction"}%
%TMPL:P{"headerhelp"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"copyright"}%
%WEBCOPYRIGHT%
%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"footernote"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"content"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"contentwrapper"}%%TMPL:P{"content"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"standardfooter"}% #PageBottom %TMPL:P{"footernote"}%%TMPL:P{"copyright"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"canceltopicaction"}%[[%WEB%.%TOPIC%][%MAKETEXT{"Cancel"}%]]%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"oktopicaction"}%[[%WEB%.%TOPIC%][%MAKETEXT{"OK"}%]]%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"gobacktopicaction"}%%MAKETEXT{"Go back"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"topicaction"}%
%TMPL:P{"topicactionbuttons"}%
%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"topicactionbuttons"}%%TMPL:P{"canceltopicaction"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"topicinfo"}%
%TMPL:P{"topicaction"}%
%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"main"}%
%TMPL:P{"simpleheader"}%%{ --------------------------------------------------- }%%TMPL:P{"pagetitlestylewrapper"}%%TMPL:P{"contentwrapper"}%%{ --------------------------------------------------- }%%TMPL:P{"standardfooter"}%
%TMPL:END%%{ --------------------------------------------------- Container displayed just above the topic text: }% %TMPL:DEF{"contentheader"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"contentheaderstylewrapper"}%
%TMPL:P{"contentheader"}%
%TMPL:END%%{ --------------------------------------------------- Container displayed just below the topic text: }% %TMPL:DEF{"contentfooter"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"contentfooterstylewrapper"}%
%TMPL:P{"contentfooter"}%
%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"revisions"}%%MAKETEXT{"&History"}%: %REVISIONS% %TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"login"}%%TMPL:P{context="can_login" then="login_actions"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"login_actions"}%%IF{"context authenticated" then='%MAKETEXT{"Hello [_1]!" args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%%IF{"context isadmin" then=" (admin)"}%]]"}% %LOGOUT%' else='%LOGIN% %MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]'}%%TMPL:END%%{ --------------------------------------------------- app-style page layout additional style %TMPL:DEF{"templatestyle"}%%TMPL:END%%{ --------------------------------------------------- title string in page: }%%TMPL:DEF{"pagetitle"}%%TMPL:P{"webaction"}%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"pagetitlestylewrapper"}%

%TMPL:P{"pagetitle"}%

%TMPL:END%%{ --------------------------------------------------- formatting macros webListIndent - used in WEBLIST }%%TMPL:DEF{"webListIndent"}%%TMPL:END%%{ --------------------------------------------------- icon:image - uses double quotes required for legacy reasons :/ }%%TMPL:DEF{"icon:image"}%%ALT%%TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"icon:image_singlequote"}%%ALT%%TMPL:END%%{ --------------------------------------------------- support for default skin's webtopiclist }%%TMPL:DEF{"defaultwebtopiclist"}%[[WebChanges][Changes]] %SEP% [[WebIndex][Index]] %SEP% [[WebSearch][Search]] %SEP% Go %TMPL:END%%{ --------------------------------------------------- }%%TMPL:DEF{"webtopiclist"}%%IF{"defined 'WEBTOPICLIST'" then="$percntWEBTOPICLIST$percnt" else="$percntTMPL:P{\"defaultwebtopiclist\"}$percnt" }%%TMPL:END%%{ --------------------------------------------------- The bit that controls the output _SHOULD_ be last in the foswiki.SKIN.tmpl file. }%%TMPL:P{"htmldoctype"}% %TMPL:P{"head"}% %TMPL:P{"bodystart"}%%TMPL:P{"main"}%%TMPL:P{"bodyend"}% %{ REQUIRED: comment after output definition to filter out newlines }%