%{
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"}% %BASETOPIC%%TMPL:P{"titlesep"}%%BASEWEB%%TMPL:P{"titlesep"}%%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"}%
%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"}%%TMPL:END%%{
---------------------------------------------------
}%%TMPL:DEF{"icon:image_singlequote"}%%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 }%