Changeset 8378


Ignore:
Timestamp:
07/31/10 15:07:20 (22 months ago)
Author:
PaulHarvey
Message:

Item9415: Minor doc tweaks. ProjectContributor uses %$FOSWIKIAUTHROS%

Instead of URL include which is broken by default, will add to BuildContrib

Location:
trunk
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/PatternSkin/data/System/PatternSkin.txt

    r7584 r8378  
    105105 
    106106If =FOSWIKI_LAYOUT_URL= or =FOSWIKI_STYLE_URL= don't give a value or point to non-existing files, check in %SYSTEMWEB%.DefaultPreferences and in %USERSWEB%.SitePreferences that the following preferences do exist and that they are set to on: 
    107 <pre> 
     107%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    108108   * %SYSTEMWEB%.PatternSkin settings: 
    109       * <nop>Set FOSWIKI_LAYOUT_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkinTheme/layout.css 
    110       * <nop>Set FOSWIKI_STYLE_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkinTheme/style.css 
    111       * <nop>Set FOSWIKI_COLORS_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkinTheme/colors.css 
    112 </pre> 
     109      * Set FOSWIKI_LAYOUT_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/layout.css 
     110      * Set FOSWIKI_STYLE_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/style.css 
     111      * Set FOSWIKI_COLORS_URL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinTheme/colors.css 
     112</verbatim> 
    113113 
    114114*NOTE:* customization of these values should be done in [[%USERSWEB%.SitePreferences]] 
     
    155155|  Release: | %$RELEASE% | 
    156156|  History: | <!-- specify latest version first -->&nbsp; | 
     157|  31 Jul 2010: | v.5.3.1 - Documentation updates | 
    157158|  27 May 2010: | v.5.3 - Added "flexible width" column styles. | 
    158159|  05 Apr 2010: | v.5.2 - Visual update. | 
  • trunk/PatternSkin/data/System/PatternSkinColorSettings.txt

    r7427 r8378  
    1212<div class="foswikiFormStep"> 
    1313---+++!! Step 1 
    14 Let %SYSTEMWEB%.PatternSkin point to the custom-made colors style sheet. In [[%USERSWEB%.SitePreferences]] copy this line: <verbatim> 
     14Let %SYSTEMWEB%.PatternSkin point to the custom-made colors style sheet. In [[%USERSWEB%.SitePreferences]] copy this line: %JQREQUIRE{"chili"}%<verbatim class="tml"> 
    1515   * Set USERCOLORSURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/my_colors.css 
    1616</verbatim> 
     
    205205Do not change the text below this line unless you know what you are doing! 
    206206--- 
    207 <verbatim> 
     207<verbatim class="tml"> 
    208208%STARTATTACH{"my_colors.css" web="%SYSTEMWEB%" topic="PatternSkinTheme"}% 
    209209/* PatternSkin colors */ 
  • trunk/PatternSkin/data/System/PatternSkinCssCookbook.txt

    r4806 r8378  
    2424   * Attach 3 new style sheets to the topic 
    2525   * Point the CSS [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%SYSTEMWEB%.DefaultPreferences]] or [[%USERSWEB%.SitePreferences]] to your new files: 
    26 <pre> 
     26<pre class="tml"> 
    2727      * <nop>Set FOSWIKI_LAYOUT_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/layout.css 
    2828      * <nop>Set FOSWIKI_STYLE_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/style.css 
     
    3636   * Attach 1, 2 or 3 new style sheets to the topic, dependent on your CSS setup (if you don't change much, you might as well put everything in one CSS file, layout, margins and colors) 
    3737   * Point the CSS [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%SYSTEMWEB%.DefaultPreferences]] or [[%USERSWEB%.SitePreferences]] to your new files (below the =USERXXXURL= preferences): 
    38 <pre> 
     38<pre class="tml"> 
    3939      * <nop>Set USERLAYOUTURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/layout.css 
    4040      * <nop>Set USERSTYLEURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/style.css 
     
    4242 </pre> 
    4343   * If you use only little CSS and you've only attached one file, write: 
    44 <pre> 
     44<pre class="tml"> 
    4545      * Set USERSTYLEURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/style.css 
    4646 </pre> 
     
    7373<blockquote> 
    7474This is the complete style definition to set the height of the top bar: 
    75 <verbatim> 
     75%JQREQUIRE{"chili"}%<verbatim class="html"> 
    7676#patternTopBar, 
    7777#patternClearHeaderCenter, 
  • trunk/PatternSkin/data/System/PatternSkinCssCookbookCenterPage.txt

    r4806 r8378  
    88<div class="foswikiHelp"> 
    99This line loads the extra style definition: 
    10 <verbatim> 
     10%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    1111   * Set USERSTYLEURL = %ATTACHURLPATH%/centerpage.css 
    1212</verbatim> 
  • trunk/PatternSkin/data/System/PatternSkinCssCookbookCenterPageBorder.txt

    r4806 r8378  
    88<div class="foswikiHelp"> 
    99This line loads the extra style definition: 
    10 <verbatim> 
     10%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    1111   * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookCenterPageBorder/centerpageborder.css 
    1212</verbatim> 
     
    1515 
    1616Add the dynamic link to the logo image to the topic text: 
    17 <verbatim> 
     17<verbatim class="tml"> 
    1818<style type="text/css" media="all"> 
    1919#patternScreen { 
     
    2828<div class="foswikiHelp"> 
    2929%ICON{info}% If you don't write this overloading style in a template and use an external =.css= file, you need to set the image to the absolute url: 
    30 <pre> 
    31 &lt;style type="text/css" media="all"> 
    32 #patternScreen { 
    33 background-image:url("%<nop>ATTACHURLPATH%/gradient_page.gif"); 
    34 background-repeat:repeat-x; 
    35 } 
    36 &lt;/style> 
    37 </pre> 
     30<verbatim class="html"> 
     31<style type="text/css" media="all"> 
     32    #patternScreen { 
     33        background-image:url("%<nop>ATTACHURLPATH%/gradient_page.gif"); 
     34        background-repeat:repeat-x; 
     35    } 
     36</style> 
     37</verbatim> 
    3838You can always write a =&lt;style>= in a topic - all current browsers support this - but the page won't validate as valid XHTML. 
    3939</div> 
  • trunk/PatternSkin/data/System/PatternSkinCssCookbookEditTableStyle.txt

    r4806 r8378  
    1818<div class="foswikiHelp"> 
    1919This line loads the extra style definition: 
    20 <verbatim> 
     20%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    2121   * Set USERSTYLEURL = %ATTACHURLPATH%/edittable.css 
    2222</verbatim> 
  • trunk/PatternSkin/data/System/PatternSkinCssCookbookFonts.txt

    r4806 r8378  
    88<div class="foswikiHelp"> 
    99This line loads the extra style definition: 
    10 <verbatim> 
     10%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    1111   * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookFonts/fonts.css 
    1212</verbatim> 
  • trunk/PatternSkin/data/System/PatternSkinCssCookbookNoLeftBar.txt

    r4806 r8378  
    66<div class="foswikiHelp"> 
    77This line loads the extra style definition: 
    8 <verbatim> 
     8%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    99   * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookNoLeftBar/hideleftbar.css 
    1010</verbatim> 
  • trunk/PatternSkin/data/System/PatternSkinCssCookbookNoTopBar.txt

    r4806 r8378  
    88<div class="foswikiHelp"> 
    99This line loads the extra style definition: 
    10 <verbatim> 
     10%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    1111   * Set USERSTYLEURL=%ATTACHURLPATH%/notopbar.css 
    1212</verbatim> 
     
    1515 
    1616Add the dynamic link to the logo image to the topic text: 
    17 <verbatim> 
     17<verbatim class="tml"> 
    1818<style type="text/css" media="all"> 
    19 #patternSideBar { background-image:url("%PUBURLPATH%/%WEB%/%WEBPREFSTOPIC%/logo.gif"); } 
     19    #patternSideBar { background-image:url("%PUBURLPATH%/%WEB%/%WEBPREFSTOPIC%/logo.gif"); } 
    2020</style> 
    2121</verbatim> 
    2222<div class="foswikiHelp"> 
    2323%ICON{info}% If you don't write this overloading style in a template and use an external =.css= file, you need to set the image to the absolute url: 
    24 <pre> 
    25 &lt;style type="text/css" media="all"> 
    26 #patternSideBar { background-image:url("<nop>%PUBURLPATH%/<nop>%WEB%/<nop>%WEBPREFSTOPIC%/logo.gif"); } 
    27 &lt;/style> 
    28 </pre> 
     24<verbatim class="tml"> 
     25%ADDTOZONE{ 
     26    "head" 
     27    id="%SYSTEMWEB%/PatternSkinCssCookbookNoTopBar::CSS" 
     28    text=" 
     29        <style type='text/css' media='all'> 
     30            #patternSideBar { 
     31                background-image:url('%PUBURLPATH%/%WEB%/%WEBPREFSTOPIC%/logo.gif'); 
     32            } 
     33        </style>" 
     34}% 
     35</verbatim> 
    2936You can always write a =&lt;style>= in a topic - all current browsers support this - but the page won't validate as valid XHTML. 
    3037</div> 
    3138 
    32 <style type="text/css" media="all"> 
    33 #patternSideBar { background-image:url("%PUBURLPATH%/%WEB%/%WEBPREFSTOPIC%/logo.gif"); } 
    34 </style> 
    35  
     39%ADDTOZONE{ 
     40    "head" 
     41    id="%SYSTEMWEB%/PatternSkinCssCookbookNoTopBar::CSS" 
     42    text=" 
     43        <style type='text/css' media='all'> 
     44            #patternSideBar { 
     45                background-image:url('%PUBURLPATH%/%WEB%/%WEBPREFSTOPIC%/logo.gif'); 
     46            } 
     47        </style>" 
     48}% 
    3649 
    3750%META:FILEATTACHMENT{name="notopbar.css" attachment="notopbar.css" attr="" comment="" date="1130024123" path="notopbar.css" size="395" stream="notopbar.css" user="ProjectContributor" version="1"}% 
  • trunk/PatternSkin/data/System/PatternSkinCustomization.txt

    r7689 r8378  
    3232   1 Create a new (empty) view template file in =/templates= called =view.myskin.tmpl=. 
    3333   1 In =view.myskin.tmpl= you write: 
    34    <blockquote><verbatim> 
     34   <blockquote>%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    3535   %TMPL:INCLUDE{"view"}% 
    3636   %TMPL:DEF{"top:topicactionbuttons"}%%TMPL:P{"more_link"}%%TMPL:END%</verbatim></blockquote> 
    3737   1 For testing, view any topic and append to the topic name: =?cover=myskin=. You should see an effect now. 
    3838   1 To make the changes visible on all pages, go to [[%USERSWEB%.SitePreferences]] (to keep %WIKIPREFSTOPIC% intact) and write: 
    39 <blockquote><pre> 
     39<blockquote><pre class="tml"> 
    4040   * <nop>Set COVER = myskin 
    4141</pre> 
    4242or write 
    43 <pre> 
     43<pre class="tml"> 
    4444   * <nop>Set SKIN = myskin,pattern 
    4545</pre></blockquote> 
     
    5555Call this template by setting =VIEW_TEMPLATE=: 
    5656<blockquote> 
    57 <verbatim> 
     57<verbatim class="tml"> 
    5858   * Set VIEW_TEMPLATE = BlogPostView 
    5959</verbatim> 
     
    6464We can use the same example as above. In the topic you want to use as view template, for instance =<nop>OnlyMoreView=, write: 
    6565<blockquote> 
    66 <verbatim> 
     66<verbatim class="tml"> 
    6767%TMPL:INCLUDE{"view"}% 
    6868%TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"more_link"}%%TMPL:END% 
     
    7575 
    7676The =view= script invokes the =view= template:  (Note that to simplify customization of the top and side bar layouts, the templates include an "Example" topic if the corresponding topic does not exist.  Copy the example topic rather than changing the example directly.) 
    77 <verbatim> 
     77<verbatim class="tml"> 
    7878view 
    7979    foswiki 
     
    9898 
    9999Redefine your custom [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%LOCALSITEPREFS%]] (to keep %WIKIPREFSTOPIC% intact): 
    100 <blockquote><pre> 
     100<blockquote><pre class="tml"> 
    101101   * Set <nop>WEBLOGONAME = logo.gif 
    102102   * Set <nop>WEBLOGOIMG = %<nop>PUBURLPATH%/%<nop>BASEWEB%/%<nop>WEBPREFSTOPIC%/%<nop>WEBLOGONAME% 
     
    116116<blockquote> 
    117117   * Attach whatever image and attach it to the web's WebPreferences topic. Then add to the WebPreferences (under _Custom web preferences_): 
    118 <pre> 
     118<pre class="tml"> 
    119119      * Set <nop>WEBLOGONAME = your-logo-name.gif-or-png 
    120120</pre> 
     
    126126There are a bunch of site-wide logo [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%LOCALSITEPREFS%]]: =WIKILOGOIMG=, =WIKILOGOURL= and =WIKILOGOALT=. 
    127127To change only the web logo image to site-wide, in [[%LOCALSITEPREFS%]] set: 
    128 <blockquote><pre> 
     128<blockquote><pre class="tml"> 
    129129   * Set <nop>WEBLOGOIMG = %<nop>WIKILOGOIMG% 
    130130</pre></blockquote> 
     
    143143 
    144144In %SYSTEMWEB%.WebTopBar you can find the line: 
    145 <verbatim> 
     145<verbatim class="tml"> 
    146146<input type="hidden" name="web" value="%BASEWEB%" /> 
    147147</verbatim> 
     
    149149To search all webs, write: 
    150150<blockquote> 
    151 <verbatim> 
     151<verbatim class="tml"> 
    152152<input type="hidden" name="web" value="all" /> 
    153153</verbatim> 
     
    156156To search a couple of webs, for instance the webs Main and System, write: 
    157157<blockquote> 
    158 <verbatim> 
     158<verbatim class="tml"> 
    159159<input type="hidden" name="web" value="Main,System" /> 
    160160</verbatim> 
     
    173173 
    174174Redefine your custom [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%LOCALSITEPREFS%]] (to keep %WIKIPREFSTOPIC% intact): 
    175 <blockquote><pre> 
     175<blockquote><pre class="tml"> 
    176176   * <nop>Set WEBHEADERART = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkin/Foswiki_header.gif 
    177177   * <nop>Set WEBHEADERBGCOLOR = somehexcolor (no quotes, for example: #ffffff) 
     
    183183 
    184184Redefine =WEBHEADERBGCOLOR= in [[%LOCALSITEPREFS%]] (to keep %WIKIPREFSTOPIC% intact): 
    185 <blockquote><pre> 
     185<blockquote><pre class="tml"> 
    186186   * <nop>Set WEBHEADERBGCOLOR = %<nop>WEBBGCOLOR% 
    187187</pre></blockquote> 
     
    199199The view template is populated with page elements using template inclusions: 
    200200 
    201 <pre> 
     201<pre class="tml"> 
    202202%<nop>TMPL:INCLUDE{"view"}% 
    203203%<nop>TMPL:INCLUDE{"viewtopicactionbuttons"}% 
     
    211211Another approach is to clear the contents of module =topbar= with an empty definition. Using either a template or a topic template, write in your custom template: 
    212212 
    213 <blockquote><verbatim> 
     213<blockquote><verbatim class="tml"> 
    214214%TMPL:INCLUDE{"view"}% 
    215215%TMPL:DEF{"topbar"}%%TMPL:END% 
     
    218218and add: 
    219219 
    220 <verbatim> 
     220<verbatim class="tml"> 
    221221%TMPL:DEF{"topbardimensions"}%#patternTopBar, 
    222222#patternClearHeaderCenter, 
     
    238238*Using templates:* %BR% 
    239239Omit =%<nop>TMPL:INCLUDE{"viewsidebar"}%= to hide the side bar, or in a custom template clear it using 
    240 <blockquote><verbatim> 
     240<blockquote><verbatim class="tml"> 
    241241%TMPL:DEF{"sidebar"}%%TMPL:END% 
    242242</verbatim></blockquote> 
     
    253253 
    254254Using either a template or a topic template, 'empty' =top:toolbarbuttons= and =topicaction= by writing: 
    255 <blockquote><pre> 
     255<blockquote><pre class="tml"> 
    256256%<nop>TMPL:INCLUDE{"view"}% 
    257257%<nop>TMPL:DEF{"top:toolbarbuttons"}%%TMPL:END% 
     
    260260 
    261261In the user page of %USERSWEB%.WikiGuest, set the cover to 
    262 <blockquote><pre> 
     262<blockquote><pre class="tml"> 
    263263   * <nop>Set COVER = customer 
    264264</pre></blockquote> 
     
    269269 
    270270All action links and buttons are defined in =viewtopicactionbuttons.tmpl=. The bottom history link is defined in DEF =action_revisions= 
    271 <blockquote><verbatim> 
     271<blockquote><verbatim class="tml"> 
    272272%TMPL:DEF{"topicactionbuttons"}% 
    273273%TMPL:P{"action_activatable_edit_or_create"}% 
     
    283283 
    284284To hide that link, In a custom skin view template =view.myskin.tmpl= empty =action_revisions= by replacing it with an empty string: 
    285 <blockquote><verbatim> 
     285<blockquote><verbatim class="tml"> 
    286286%TMPL:INCLUDE{"view"}% 
    287287%TMPL:DEF{"action_revisions"}%%TMPL:END% 
     
    292292 
    293293The default definition in =view.pattern.tmpl= is: 
    294 <verbatim> 
     294<verbatim class="tml"> 
    295295%TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"activatable_edit_or_create"}%%TMPL:P{"activatable_attach"}%%TMPL:END% 
    296296</verbatim> 
     
    298298Create a new skin by creating a file =view.myskin.tmpl= in the =templates= directory. Write in it: 
    299299 
    300 <blockquote><verbatim> 
     300<blockquote><verbatim class="tml"> 
    301301%TMPL:INCLUDE{"view"}% 
    302302%TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"history_history_link"}%%TMPL:END% 
     
    308308 
    309309You will probably not just want to have the History button there. Other button include names are: 
    310 <blockquote><verbatim> 
     310<blockquote><verbatim class="tml"> 
    311311create_topic_link 
    312312raw_edit_link 
     
    337337To put contents *before* the main text, use the custom skin approach as described above.%BR% 
    338338So our custom template contains: 
    339 <blockquote><verbatim> 
     339<blockquote><verbatim class="tml"> 
    340340%TMPL:INCLUDE{"view"}% 
    341341%TMPL:DEF{"contentheader"}%This is the text before%TMPL:END% 
     
    343343 
    344344Use the same procedure for contents to be put *after* the topic text: 
    345 <blockquote><verbatim> 
     345<blockquote><verbatim class="tml"> 
    346346%TMPL:INCLUDE{"view"}% 
    347347%TMPL:DEF{"contentfooter"}%This is the text after%TMPL:END% 
     
    353353 
    354354<blockquote> 
    355 <verbatim> 
     355<verbatim class="tml"> 
    356356%TMPL:DEF{"formtop"}%%TMPL:END% 
    357357%TMPL:DEF{"formbottom"}%%TMPL:P{"form"}%%TMPL:END% 
     
    362362 
    363363<blockquote> 
    364 <verbatim> 
     364<verbatim class="tml"> 
    365365%TMPL:INCLUDE{"view"}% 
    366366%TMPL:DEF{"formtop"}%%TMPL:P{"form"}%%TMPL:END% 
  • trunk/PatternSkin/data/System/PatternSkinHorizontalNavigationExample.txt

    r7693 r8378  
    33 
    44Include main navigation with: 
    5 <verbatim> 
     5%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    66%INCLUDE{"HorizontalNavigationExample" section="main"}% 
    77</verbatim> 
    88 
    99Include meta navigation with: 
    10 <verbatim> 
     10<verbatim class="tml"> 
    1111%INCLUDE{"HorizontalNavigationExample" section="meta"}% 
    1212</verbatim> 
     
    1414 
    1515---++ Include sections 
    16 <verbatim> 
     16<verbatim class="tml"> 
    1717%STARTSECTION{"main"}%<div id="patternTopBarButtons"><ul> 
    18 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="%USERSWEB%" DESTTOPIC="WebHome" LABEL="%USERSWEB%"}% 
    19 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="%SYSTEMWEB%" DESTTOPIC="WebHome" LABEL="%SYSTEMWEB%"}% 
    20 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="Sandbox" DESTTOPIC="WebHome" LABEL="Sandbox"}% 
     18%INCLUDE{ 
     19    "%TOPIC%" 
     20    section="topbarbutton" 
     21    ID="" 
     22    DESTWEB="%USERSWEB%" 
     23    DESTTOPIC="WebHome" 
     24    LABEL="%USERSWEB%" 
     25}% 
     26%INCLUDE{ 
     27    "%TOPIC%" 
     28    section="topbarbutton" 
     29    ID="" 
     30    DESTWEB="%SYSTEMWEB%" 
     31    DESTTOPIC="WebHome" 
     32    LABEL="%SYSTEMWEB%" 
     33}% 
     34%INCLUDE{ 
     35    "%TOPIC%" 
     36    section="topbarbutton" 
     37    ID="" 
     38    DESTWEB="Sandbox" 
     39    DESTTOPIC="WebHome" 
     40    LABEL="Sandbox" 
     41}% 
    2142</ul><br class="foswikiClear" /></div>%ENDSECTION{"main"}% 
    2243 
    2344 
    24 %STARTSECTION{"topbarbutton"}%<li%IF{"'$ID' and '%ID%'!=''" then=" id=\"%ID%\""}%><a href="%SCRIPTURL{"view"}%/%DESTWEB%/%DESTTOPIC%" class="%IF{"'%DESTWEB%'='%WEB%'" then="active" else="inactive"}%">%LABEL%</a></li>%ENDSECTION{"topbarbutton"}% 
     45%STARTSECTION{"topbarbutton"}%<li%IF{ 
     46    "'$ID' and '%ID%'!=''" 
     47    then=" id=\"%ID%\""}%> 
     48<a href="%SCRIPTURL{"view"}%/%DESTWEB%/%DESTTOPIC%" class="%IF{ 
     49    "'%DESTWEB%'='%WEB%'" 
     50    then="active" 
     51    else="inactive" 
     52}%">%LABEL%</a></li>%ENDSECTION{"topbarbutton"}% 
    2553 
    2654 
    27 %STARTSECTION{"meta"}%<div id="foswikisiteUserBar"><ul>%IF{"context authenticated" then='<li>%MAKETEXT{"Hello [_1]" args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]"}%</li>'}%%IF{"$ LOGOUT != ''" then='<li>%LOGOUT%</li>'}%%IF{"$ LOGIN != '' and not context authenticated" then='<li>You are visiting this site as: [[%WIKIUSERNAME%][%WIKINAME%]]</li><li>%LOGIN% %IF{"context registration_supported AND context registration_enabled" then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]"}%</li>'}%<li>[[%USERSWEB%.WikiUsers][Users]]</li></ul></div>%ENDSECTION{"meta"}% 
     55%STARTSECTION{"meta"}%<div id="foswikisiteUserBar"><ul>%IF{ 
     56    "context authenticated" 
     57    then='<li>%MAKETEXT{ 
     58        "Hello [_1]" 
     59        args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]" 
     60    }%</li>' 
     61}%%IF{ 
     62    "$ LOGOUT != ''" 
     63    then='<li>%LOGOUT%</li>' 
     64}%%IF{ 
     65    "$ LOGIN != '' and not context authenticated" 
     66    then='<li>You are visiting this site as: [[%WIKIUSERNAME%][%WIKINAME%]]</li> 
     67        <li>%LOGIN% %IF{ 
     68            "context registration_supported AND context registration_enabled" 
     69            then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]" 
     70        }%</li>' 
     71}%<li>[[%USERSWEB%.WikiUsers][Users]]</li></ul></div>%ENDSECTION{"meta"}% 
    2872</verbatim> 
  • trunk/PatternSkin/data/System/PatternSkinThemeFatWillyNavigation.txt

    r7693 r8378  
    44 
    55Include main navigation with: 
    6 <verbatim> 
     6%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    77%INCLUDE{"PatternSkinThemeFatWillyNavigation" section="main"}% 
    88</verbatim> 
    99 
    1010Include meta navigation with: 
    11 <verbatim> 
     11<verbatim class="tml"> 
    1212%INCLUDE{"PatternSkinThemeFatWillyNavigation" section="meta"}% 
    1313</verbatim> 
     
    1515 
    1616---++ Include sections 
    17 <verbatim> 
     17<verbatim class="tml"> 
    1818%STARTSECTION{"main"}%<div id="patternTopBarButtons"><ul> 
    19 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="Home" DESTTOPIC="WebHome" LABEL="Home"}% 
    20 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="About" DESTTOPIC="WebHome" LABEL="About"}% 
    21 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="System" DESTTOPIC="WebHome" LABEL="Documentation"}% 
    22 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="Extensions" DESTTOPIC="WebHome" LABEL="Extensions"}% 
    23 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="Support" DESTTOPIC="WebHome" LABEL="Support"}% 
    24 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="Community" DESTTOPIC="WebHome" LABEL="Community"}% 
    25 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="Development" DESTTOPIC="WebHome" LABEL="Development"}% 
    26 %INCLUDE{"%TOPIC%" section="topbarbutton" ID="" DESTWEB="Download" DESTTOPIC="WebHome" LABEL="Download"}% 
     19%INCLUDE{ 
     20    "%TOPIC%" section="topbarbutton" 
     21    ID="" DESTWEB="Home" DESTTOPIC="WebHome" LABEL="Home" 
     22}% 
     23%INCLUDE{ 
     24    "%TOPIC%" section="topbarbutton" 
     25    ID="" DESTWEB="About" DESTTOPIC="WebHome" LABEL="About" 
     26}% 
     27%INCLUDE{ 
     28    "%TOPIC%" section="topbarbutton" 
     29    ID="" DESTWEB="System" DESTTOPIC="WebHome" LABEL="Documentation" 
     30}% 
     31%INCLUDE{ 
     32    "%TOPIC%" section="topbarbutton" 
     33    ID="" DESTWEB="Extensions" DESTTOPIC="WebHome" LABEL="Extensions" 
     34}% 
     35%INCLUDE{ 
     36    "%TOPIC%" section="topbarbutton" 
     37    ID="" DESTWEB="Support" DESTTOPIC="WebHome" LABEL="Support" 
     38}% 
     39%INCLUDE{ 
     40    "%TOPIC%" section="topbarbutton" 
     41    ID="" DESTWEB="Community" DESTTOPIC="WebHome" LABEL="Community" 
     42}% 
     43%INCLUDE{ 
     44    "%TOPIC%" section="topbarbutton" 
     45    ID="" DESTWEB="Development" DESTTOPIC="WebHome" LABEL="Development" 
     46}% 
     47%INCLUDE{ 
     48    "%TOPIC%" section="topbarbutton" 
     49    ID="" DESTWEB="Download" DESTTOPIC="WebHome" LABEL="Download" 
     50}% 
    2751</ul><br class="foswikiClear" /></div>%ENDSECTION{"main"}% 
    2852 
    2953 
    30 %STARTSECTION{"topbarbutton"}%<li%IF{"'$ID' and '%ID%'!=''" then=" id=\"%ID%\""}%><a href="%SCRIPTURL{"view"}%/%DESTWEB%/%DESTTOPIC%" class="%IF{"'%DESTWEB%'='%WEB%'" then="active" else="inactive"}%">%LABEL%</a></li>%ENDSECTION{"topbarbutton"}% 
     54%STARTSECTION{"topbarbutton"}%<li%IF{ 
     55    "'$ID' and '%ID%'!=''" 
     56    then=" id=\"%ID%\"" 
     57}%><a href="%SCRIPTURL{"view"}%/%DESTWEB%/%DESTTOPIC%" class="%IF{ 
     58    "'%DESTWEB%'='%WEB%'" 
     59    then="active" 
     60    else="inactive" 
     61}%">%LABEL%</a></li>%ENDSECTION{"topbarbutton"}% 
    3162 
    3263 
    33 %STARTSECTION{"meta"}%<div id="foswikisiteUserBar"><ul>%IF{"context authenticated" then='<li>%MAKETEXT{"Hello [_1]" args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]"}%</li>'}%%IF{"$ LOGOUT != ''" then='<li>%LOGOUT%</li>'}%%IF{"$ LOGIN != '' and not context authenticated" then='<li>You are visiting this site as: [[%WIKIUSERNAME%][%WIKINAME%]]</li><li>%LOGIN% %IF{"context registration_supported AND context registration_enabled" then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]"}%</li>'}%<li>[[%USERSWEB%.WikiUsers][Users]]</li></ul></div>%ENDSECTION{"meta"}% 
     64%STARTSECTION{"meta"}%<div id="foswikisiteUserBar"><ul>%IF{ 
     65    "context authenticated" 
     66    then='<li>%MAKETEXT{ 
     67        "Hello [_1]" 
     68        args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]" 
     69    }%</li>' 
     70}%%IF{ 
     71    "$ LOGOUT != ''" 
     72    then='<li>%LOGOUT%</li>' 
     73}%%IF{ 
     74    "$ LOGIN != '' and not context authenticated" 
     75    then='<li>You are visiting this site as: [[%WIKIUSERNAME%][%WIKINAME%]]</li> 
     76        <li>%LOGIN% %IF{ 
     77            "context registration_supported AND context registration_enabled" 
     78            then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]" 
     79        }%</li>' 
     80}%<li>[[%USERSWEB%.WikiUsers][Users]]</li></ul></div>%ENDSECTION{"meta"}% 
    3481</verbatim> 
  • trunk/PatternSkin/lib/Foswiki/Contrib/PatternSkin.pm

    r7682 r8378  
    55 
    66our $VERSION = '$Rev$'; 
    7 our $RELEASE = '5.3'; 
     7our $RELEASE = '5.3.1'; 
    88our $SHORTDESCRIPTION = 
    99'Pattern skin provides a CSS based default look and feel - flexible and [[http://www.w3.org/][W3C]] compliant. Its layout and color scheme are designed to provide a nice, clean and productive editing environment'; 
  • trunk/TWikiCompatibilityPlugin/data/System/OriginalDocumentGraphics.txt

    r7989 r8378  
    1010 
    1111Default notation: 
    12 <blockquote> 
    13 <code>%<nop>ICON{help}%</code> results in: %ICON{help}% 
     12%JQREQUIRE{"chili"}%<code class="tml">%<nop>ICON{"help"}%</code> results in: %ICON{"help"}% 
    1413 
    1514Note that =ICON{}= assumes a GIF image of 16 x 16 pixels. Use a HTML =img= tag with  =%<nop>ICONURL{}%= for image with other sizes. See the tables below for copy-paste examples. 
    16 </blockquote> 
    1715 
    1816Other usage: [[%TOPIC%#Usage_extended][see below]]. 
     
    392390In [[%USERSWEB%.SitePreferences!]] set a macro for an ICON, for example: 
    393391 
    394 =<nop>   * Set H = %<nop>ICON{help}%= 
     392<verbatim class="tml">   * Set H = %ICON{help}%</verbatim> 
    395393 
    396394Now you can use the icon by writing =%<nop>H%= 
  • trunk/TWikiCompatibilityPlugin/data/System/TWikiCompatibilityPlugin.txt

    r8247 r8378  
    4242|  Release: | %$RELEASE% | 
    4343|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
     44|  1.1.1 | Foswikitask:Item9415 - Documentation updates | 
    4445|  1.1 | Foswikitask:Item8669 - MAINWEB mapping removed. It has instead been added to !DefaultPreferences in Foswiki 1.1 and forward so that upgraders do not have to enable this plugin just to map MAINWEB to USERSWEB. Many upgraders will not need any other function and would rather not have the code overhead of this plugin | 
    4546|  1.0 | Version shipped with Foswiki 1.0.X | 
  • trunk/TWikiCompatibilityPlugin/lib/Foswiki/Plugins/TWikiCompatibilityPlugin.pm

    r8183 r8378  
    1919  qw( $VERSION $RELEASE $SHORTDESCRIPTION $debug $pluginName $NO_PREFS_IN_TOPIC ); 
    2020$VERSION           = '$Rev$'; 
    21 $RELEASE           = '1.1.0'; 
     21$RELEASE           = '1.1.1'; 
    2222$TWiki::RELEASE    = 'TWiki 4.2.3'; 
    2323$SHORTDESCRIPTION  = 'Add TWiki personality to Foswiki'; 
  • trunk/core/data/System/ObjectMethod.txt

    r4884 r8378  
    99must be called something like this 
    1010 
    11 <verbatim> 
     11<verbatim class="tml"> 
    1212my $mobile = new Telecoms(); 
    1313$mobile->phone( "home" ); 
    1414</verbatim> 
    1515or you can pass the object in as a parameter if you need to: 
    16 <verbatim> 
     16<verbatim class="tml"> 
    1717Telecoms::phone( $mobile, "home" ); 
    1818</verbatim> 
  • trunk/core/data/System/PageCaching.txt

    r7652 r8378  
    1515---+++ Dirty Areas 
    1616Sometimes caching complete pages is too coarse-grained. There may be parts of a page that change frequently, while the rest of the same page never change. In this case the author of the topic can tell the cache not to save certain parts of it, called _dirty areas_. Dirty areas are marked in the topic using the =&lt;dirtyarea&gt;...&lt;/dirtyarea&gt;= tags. Foswiki markup within a dirty area is stored unrendered in the cache, and only rendered when the topic is served from the cache. For example, 
    17 <verbatim> 
     17%JQREQUIRE{"chili"}%<verbatim class="tml"> 
    1818<dirtyarea> %GMTIME{"$iso"}% </dirtyarea> 
    1919</verbatim> 
     
    9393   * Cache::MemoryCache,>=0,Optional 
    9494   * DB_File,>=0,cpan,Optional 
    95    * BerkeleyDB,>=0,perl,Optional, used by the BDB CacheManager and MetaCacheManager 
     95   * !BerkeleyDB,>=0,perl,Optional, used by the BDB !CacheManager and !MetaCacheManager 
  • trunk/core/data/System/PerlDoc.txt

    r4884 r8378  
    11%META:TOPICINFO{author="ProjectContributor" date="1252721427" format="1.1" version="$Rev$"}% 
    22%META:TOPICPARENT{name="DeveloperDocumentationCategory"}% 
     3%IF{ 
     4    "'%URLPARAM{"module"}%'=''" 
     5    then="No module was specified. Check [[DevelopingPlugins][Developing plugins]] and [[Foswiki:Development.DevelopersBible][Developer's Bible]] for more information." 
     6}% 
    37---+!! %URLPARAM{module}% 
    48%INCLUDE{"doc:%URLPARAM{module}%" level="1"}% 
  • trunk/core/data/System/Plugins.txt

    r6752 r8378  
    4545 
    4646Define =DISABLEDPLUGINS= to be a comma-separated list of names of plugins to disable. Define it in %USERSWEB%.<nop>SitePreferences to disable those plugins everywhere, in the !WebPreferences topic to disable them in an individual web, or in a topic to disable them in that topic. For example, 
    47 <pre> 
     47%JQREQUIRE{"chili"}%<pre class="tml"> 
    4848   * <nop>Set DISABLEDPLUGINS = SpreadSheetPlugin, EditTablePlugin 
    4949</pre> 
  • trunk/core/data/System/ProjectContributor.txt

    r4884 r8378  
    88---+ Project Contributor 
    99 
    10 %INCLUDE{"%ATTACHURL%/AUTHORS"}% 
     10%$FOSWIKIAUTHORS% 
    1111 
    1212*Note:* Please contact us at http://foswiki.org if you contributed to Foswiki and your name is not on this list! 
  • trunk/core/data/System/ProjectLogos.txt

    r8046 r8378  
    2020If you use the official artwork on your own site you must link back to Foswiki.org. Use this HTML (with any logo file on this page): 
    2121 
    22 =&lt;a href="http://foswiki.org/"&gt;&lt;img src="%<nop>PUBURL%/%<nop>SYSTEMWEB%/ProjectLogos/foswiki-poweredby.gif" alt="This site is powered by Foswiki" title="This site is powered by Foswiki" border="0" /&gt;&lt;/a&gt;= 
     22%JQREQUIRE{"chili"}%<verbatim class="tml"> 
     23<a href="http://foswiki.org/"> 
     24<img src="%PUBURL%/%SYSTEMWEB%/ProjectLogos/foswiki-poweredby.gif"\ 
     25    alt="This site is powered by Foswiki"\ 
     26    title="This site is powered by Foswiki"\ 
     27    border="0" /> 
     28</a></verbatim> 
    2329 
    2430If you create your own skin you are encouraged to add this small logo at the bottom of your skin. 
Note: See TracChangeset for help on using the changeset viewer.