Changeset 8378
- Timestamp:
- 07/31/10 15:07:20 (22 months ago)
- Location:
- trunk
- Files:
-
- 22 edited
-
PatternSkin/data/System/PatternSkin.txt (modified) (2 diffs)
-
PatternSkin/data/System/PatternSkinColorSettings.txt (modified) (2 diffs)
-
PatternSkin/data/System/PatternSkinCssCookbook.txt (modified) (4 diffs)
-
PatternSkin/data/System/PatternSkinCssCookbookCenterPage.txt (modified) (1 diff)
-
PatternSkin/data/System/PatternSkinCssCookbookCenterPageBorder.txt (modified) (3 diffs)
-
PatternSkin/data/System/PatternSkinCssCookbookEditTableStyle.txt (modified) (1 diff)
-
PatternSkin/data/System/PatternSkinCssCookbookFonts.txt (modified) (1 diff)
-
PatternSkin/data/System/PatternSkinCssCookbookNoLeftBar.txt (modified) (1 diff)
-
PatternSkin/data/System/PatternSkinCssCookbookNoTopBar.txt (modified) (2 diffs)
-
PatternSkin/data/System/PatternSkinCustomization.txt (modified) (27 diffs)
-
PatternSkin/data/System/PatternSkinHorizontalNavigationExample.txt (modified) (2 diffs)
-
PatternSkin/data/System/PatternSkinThemeFatWillyNavigation.txt (modified) (2 diffs)
-
PatternSkin/lib/Foswiki/Contrib/PatternSkin.pm (modified) (1 diff)
-
TWikiCompatibilityPlugin/data/System/OriginalDocumentGraphics.txt (modified) (2 diffs)
-
TWikiCompatibilityPlugin/data/System/TWikiCompatibilityPlugin.txt (modified) (1 diff)
-
TWikiCompatibilityPlugin/lib/Foswiki/Plugins/TWikiCompatibilityPlugin.pm (modified) (1 diff)
-
core/data/System/ObjectMethod.txt (modified) (1 diff)
-
core/data/System/PageCaching.txt (modified) (2 diffs)
-
core/data/System/PerlDoc.txt (modified) (1 diff)
-
core/data/System/Plugins.txt (modified) (1 diff)
-
core/data/System/ProjectContributor.txt (modified) (1 diff)
-
core/data/System/ProjectLogos.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PatternSkin/data/System/PatternSkin.txt
r7584 r8378 105 105 106 106 If =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"> 108 108 * %SYSTEMWEB%.PatternSkin settings: 109 * <nop>Set FOSWIKI_LAYOUT_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkinTheme/layout.css110 * <nop>Set FOSWIKI_STYLE_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkinTheme/style.css111 * <nop>Set FOSWIKI_COLORS_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkinTheme/colors.css112 </ 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> 113 113 114 114 *NOTE:* customization of these values should be done in [[%USERSWEB%.SitePreferences]] … … 155 155 | Release: | %$RELEASE% | 156 156 | History: | <!-- specify latest version first --> | 157 | 31 Jul 2010: | v.5.3.1 - Documentation updates | 157 158 | 27 May 2010: | v.5.3 - Added "flexible width" column styles. | 158 159 | 05 Apr 2010: | v.5.2 - Visual update. | -
trunk/PatternSkin/data/System/PatternSkinColorSettings.txt
r7427 r8378 12 12 <div class="foswikiFormStep"> 13 13 ---+++!! Step 1 14 Let %SYSTEMWEB%.PatternSkin point to the custom-made colors style sheet. In [[%USERSWEB%.SitePreferences]] copy this line: <verbatim>14 Let %SYSTEMWEB%.PatternSkin point to the custom-made colors style sheet. In [[%USERSWEB%.SitePreferences]] copy this line: %JQREQUIRE{"chili"}%<verbatim class="tml"> 15 15 * Set USERCOLORSURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkin/my_colors.css 16 16 </verbatim> … … 205 205 Do not change the text below this line unless you know what you are doing! 206 206 --- 207 <verbatim >207 <verbatim class="tml"> 208 208 %STARTATTACH{"my_colors.css" web="%SYSTEMWEB%" topic="PatternSkinTheme"}% 209 209 /* PatternSkin colors */ -
trunk/PatternSkin/data/System/PatternSkinCssCookbook.txt
r4806 r8378 24 24 * Attach 3 new style sheets to the topic 25 25 * Point the CSS [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%SYSTEMWEB%.DefaultPreferences]] or [[%USERSWEB%.SitePreferences]] to your new files: 26 <pre >26 <pre class="tml"> 27 27 * <nop>Set FOSWIKI_LAYOUT_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/layout.css 28 28 * <nop>Set FOSWIKI_STYLE_URL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/style.css … … 36 36 * 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) 37 37 * 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"> 39 39 * <nop>Set USERLAYOUTURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/layout.css 40 40 * <nop>Set USERSTYLEURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/style.css … … 42 42 </pre> 43 43 * If you use only little CSS and you've only attached one file, write: 44 <pre >44 <pre class="tml"> 45 45 * Set USERSTYLEURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/style.css 46 46 </pre> … … 73 73 <blockquote> 74 74 This is the complete style definition to set the height of the top bar: 75 <verbatim>75 %JQREQUIRE{"chili"}%<verbatim class="html"> 76 76 #patternTopBar, 77 77 #patternClearHeaderCenter, -
trunk/PatternSkin/data/System/PatternSkinCssCookbookCenterPage.txt
r4806 r8378 8 8 <div class="foswikiHelp"> 9 9 This line loads the extra style definition: 10 <verbatim>10 %JQREQUIRE{"chili"}%<verbatim class="tml"> 11 11 * Set USERSTYLEURL = %ATTACHURLPATH%/centerpage.css 12 12 </verbatim> -
trunk/PatternSkin/data/System/PatternSkinCssCookbookCenterPageBorder.txt
r4806 r8378 8 8 <div class="foswikiHelp"> 9 9 This line loads the extra style definition: 10 <verbatim>10 %JQREQUIRE{"chili"}%<verbatim class="tml"> 11 11 * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookCenterPageBorder/centerpageborder.css 12 12 </verbatim> … … 15 15 16 16 Add the dynamic link to the logo image to the topic text: 17 <verbatim >17 <verbatim class="tml"> 18 18 <style type="text/css" media="all"> 19 19 #patternScreen { … … 28 28 <div class="foswikiHelp"> 29 29 %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 <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 </ 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> 38 38 You can always write a =<style>= in a topic - all current browsers support this - but the page won't validate as valid XHTML. 39 39 </div> -
trunk/PatternSkin/data/System/PatternSkinCssCookbookEditTableStyle.txt
r4806 r8378 18 18 <div class="foswikiHelp"> 19 19 This line loads the extra style definition: 20 <verbatim>20 %JQREQUIRE{"chili"}%<verbatim class="tml"> 21 21 * Set USERSTYLEURL = %ATTACHURLPATH%/edittable.css 22 22 </verbatim> -
trunk/PatternSkin/data/System/PatternSkinCssCookbookFonts.txt
r4806 r8378 8 8 <div class="foswikiHelp"> 9 9 This line loads the extra style definition: 10 <verbatim>10 %JQREQUIRE{"chili"}%<verbatim class="tml"> 11 11 * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookFonts/fonts.css 12 12 </verbatim> -
trunk/PatternSkin/data/System/PatternSkinCssCookbookNoLeftBar.txt
r4806 r8378 6 6 <div class="foswikiHelp"> 7 7 This line loads the extra style definition: 8 <verbatim>8 %JQREQUIRE{"chili"}%<verbatim class="tml"> 9 9 * Set USERSTYLEURL = %PUBURLPATH%/%SYSTEMWEB%/PatternSkinCssCookbookNoLeftBar/hideleftbar.css 10 10 </verbatim> -
trunk/PatternSkin/data/System/PatternSkinCssCookbookNoTopBar.txt
r4806 r8378 8 8 <div class="foswikiHelp"> 9 9 This line loads the extra style definition: 10 <verbatim>10 %JQREQUIRE{"chili"}%<verbatim class="tml"> 11 11 * Set USERSTYLEURL=%ATTACHURLPATH%/notopbar.css 12 12 </verbatim> … … 15 15 16 16 Add the dynamic link to the logo image to the topic text: 17 <verbatim >17 <verbatim class="tml"> 18 18 <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"); } 20 20 </style> 21 21 </verbatim> 22 22 <div class="foswikiHelp"> 23 23 %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 <style type="text/css" media="all"> 26 #patternSideBar { background-image:url("<nop>%PUBURLPATH%/<nop>%WEB%/<nop>%WEBPREFSTOPIC%/logo.gif"); } 27 </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> 29 36 You can always write a =<style>= in a topic - all current browsers support this - but the page won't validate as valid XHTML. 30 37 </div> 31 38 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 }% 36 49 37 50 %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 32 32 1 Create a new (empty) view template file in =/templates= called =view.myskin.tmpl=. 33 33 1 In =view.myskin.tmpl= you write: 34 <blockquote> <verbatim>34 <blockquote>%JQREQUIRE{"chili"}%<verbatim class="tml"> 35 35 %TMPL:INCLUDE{"view"}% 36 36 %TMPL:DEF{"top:topicactionbuttons"}%%TMPL:P{"more_link"}%%TMPL:END%</verbatim></blockquote> 37 37 1 For testing, view any topic and append to the topic name: =?cover=myskin=. You should see an effect now. 38 38 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"> 40 40 * <nop>Set COVER = myskin 41 41 </pre> 42 42 or write 43 <pre >43 <pre class="tml"> 44 44 * <nop>Set SKIN = myskin,pattern 45 45 </pre></blockquote> … … 55 55 Call this template by setting =VIEW_TEMPLATE=: 56 56 <blockquote> 57 <verbatim >57 <verbatim class="tml"> 58 58 * Set VIEW_TEMPLATE = BlogPostView 59 59 </verbatim> … … 64 64 We can use the same example as above. In the topic you want to use as view template, for instance =<nop>OnlyMoreView=, write: 65 65 <blockquote> 66 <verbatim >66 <verbatim class="tml"> 67 67 %TMPL:INCLUDE{"view"}% 68 68 %TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"more_link"}%%TMPL:END% … … 75 75 76 76 The =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"> 78 78 view 79 79 foswiki … … 98 98 99 99 Redefine your custom [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%LOCALSITEPREFS%]] (to keep %WIKIPREFSTOPIC% intact): 100 <blockquote><pre >100 <blockquote><pre class="tml"> 101 101 * Set <nop>WEBLOGONAME = logo.gif 102 102 * Set <nop>WEBLOGOIMG = %<nop>PUBURLPATH%/%<nop>BASEWEB%/%<nop>WEBPREFSTOPIC%/%<nop>WEBLOGONAME% … … 116 116 <blockquote> 117 117 * 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"> 119 119 * Set <nop>WEBLOGONAME = your-logo-name.gif-or-png 120 120 </pre> … … 126 126 There are a bunch of site-wide logo [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%LOCALSITEPREFS%]]: =WIKILOGOIMG=, =WIKILOGOURL= and =WIKILOGOALT=. 127 127 To change only the web logo image to site-wide, in [[%LOCALSITEPREFS%]] set: 128 <blockquote><pre >128 <blockquote><pre class="tml"> 129 129 * Set <nop>WEBLOGOIMG = %<nop>WIKILOGOIMG% 130 130 </pre></blockquote> … … 143 143 144 144 In %SYSTEMWEB%.WebTopBar you can find the line: 145 <verbatim >145 <verbatim class="tml"> 146 146 <input type="hidden" name="web" value="%BASEWEB%" /> 147 147 </verbatim> … … 149 149 To search all webs, write: 150 150 <blockquote> 151 <verbatim >151 <verbatim class="tml"> 152 152 <input type="hidden" name="web" value="all" /> 153 153 </verbatim> … … 156 156 To search a couple of webs, for instance the webs Main and System, write: 157 157 <blockquote> 158 <verbatim >158 <verbatim class="tml"> 159 159 <input type="hidden" name="web" value="Main,System" /> 160 160 </verbatim> … … 173 173 174 174 Redefine your custom [[%SYSTEMWEB%.PreferenceSettings][preference settings]] in [[%LOCALSITEPREFS%]] (to keep %WIKIPREFSTOPIC% intact): 175 <blockquote><pre >175 <blockquote><pre class="tml"> 176 176 * <nop>Set WEBHEADERART = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/PatternSkin/Foswiki_header.gif 177 177 * <nop>Set WEBHEADERBGCOLOR = somehexcolor (no quotes, for example: #ffffff) … … 183 183 184 184 Redefine =WEBHEADERBGCOLOR= in [[%LOCALSITEPREFS%]] (to keep %WIKIPREFSTOPIC% intact): 185 <blockquote><pre >185 <blockquote><pre class="tml"> 186 186 * <nop>Set WEBHEADERBGCOLOR = %<nop>WEBBGCOLOR% 187 187 </pre></blockquote> … … 199 199 The view template is populated with page elements using template inclusions: 200 200 201 <pre >201 <pre class="tml"> 202 202 %<nop>TMPL:INCLUDE{"view"}% 203 203 %<nop>TMPL:INCLUDE{"viewtopicactionbuttons"}% … … 211 211 Another 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: 212 212 213 <blockquote><verbatim >213 <blockquote><verbatim class="tml"> 214 214 %TMPL:INCLUDE{"view"}% 215 215 %TMPL:DEF{"topbar"}%%TMPL:END% … … 218 218 and add: 219 219 220 <verbatim >220 <verbatim class="tml"> 221 221 %TMPL:DEF{"topbardimensions"}%#patternTopBar, 222 222 #patternClearHeaderCenter, … … 238 238 *Using templates:* %BR% 239 239 Omit =%<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"> 241 241 %TMPL:DEF{"sidebar"}%%TMPL:END% 242 242 </verbatim></blockquote> … … 253 253 254 254 Using either a template or a topic template, 'empty' =top:toolbarbuttons= and =topicaction= by writing: 255 <blockquote><pre >255 <blockquote><pre class="tml"> 256 256 %<nop>TMPL:INCLUDE{"view"}% 257 257 %<nop>TMPL:DEF{"top:toolbarbuttons"}%%TMPL:END% … … 260 260 261 261 In the user page of %USERSWEB%.WikiGuest, set the cover to 262 <blockquote><pre >262 <blockquote><pre class="tml"> 263 263 * <nop>Set COVER = customer 264 264 </pre></blockquote> … … 269 269 270 270 All 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"> 272 272 %TMPL:DEF{"topicactionbuttons"}% 273 273 %TMPL:P{"action_activatable_edit_or_create"}% … … 283 283 284 284 To 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"> 286 286 %TMPL:INCLUDE{"view"}% 287 287 %TMPL:DEF{"action_revisions"}%%TMPL:END% … … 292 292 293 293 The default definition in =view.pattern.tmpl= is: 294 <verbatim >294 <verbatim class="tml"> 295 295 %TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"activatable_edit_or_create"}%%TMPL:P{"activatable_attach"}%%TMPL:END% 296 296 </verbatim> … … 298 298 Create a new skin by creating a file =view.myskin.tmpl= in the =templates= directory. Write in it: 299 299 300 <blockquote><verbatim >300 <blockquote><verbatim class="tml"> 301 301 %TMPL:INCLUDE{"view"}% 302 302 %TMPL:DEF{"top:toolbarbuttons"}%%TMPL:P{"history_history_link"}%%TMPL:END% … … 308 308 309 309 You will probably not just want to have the History button there. Other button include names are: 310 <blockquote><verbatim >310 <blockquote><verbatim class="tml"> 311 311 create_topic_link 312 312 raw_edit_link … … 337 337 To put contents *before* the main text, use the custom skin approach as described above.%BR% 338 338 So our custom template contains: 339 <blockquote><verbatim >339 <blockquote><verbatim class="tml"> 340 340 %TMPL:INCLUDE{"view"}% 341 341 %TMPL:DEF{"contentheader"}%This is the text before%TMPL:END% … … 343 343 344 344 Use the same procedure for contents to be put *after* the topic text: 345 <blockquote><verbatim >345 <blockquote><verbatim class="tml"> 346 346 %TMPL:INCLUDE{"view"}% 347 347 %TMPL:DEF{"contentfooter"}%This is the text after%TMPL:END% … … 353 353 354 354 <blockquote> 355 <verbatim >355 <verbatim class="tml"> 356 356 %TMPL:DEF{"formtop"}%%TMPL:END% 357 357 %TMPL:DEF{"formbottom"}%%TMPL:P{"form"}%%TMPL:END% … … 362 362 363 363 <blockquote> 364 <verbatim >364 <verbatim class="tml"> 365 365 %TMPL:INCLUDE{"view"}% 366 366 %TMPL:DEF{"formtop"}%%TMPL:P{"form"}%%TMPL:END% -
trunk/PatternSkin/data/System/PatternSkinHorizontalNavigationExample.txt
r7693 r8378 3 3 4 4 Include main navigation with: 5 <verbatim>5 %JQREQUIRE{"chili"}%<verbatim class="tml"> 6 6 %INCLUDE{"HorizontalNavigationExample" section="main"}% 7 7 </verbatim> 8 8 9 9 Include meta navigation with: 10 <verbatim >10 <verbatim class="tml"> 11 11 %INCLUDE{"HorizontalNavigationExample" section="meta"}% 12 12 </verbatim> … … 14 14 15 15 ---++ Include sections 16 <verbatim >16 <verbatim class="tml"> 17 17 %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 }% 21 42 </ul><br class="foswikiClear" /></div>%ENDSECTION{"main"}% 22 43 23 44 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"}% 25 53 26 54 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"}% 28 72 </verbatim> -
trunk/PatternSkin/data/System/PatternSkinThemeFatWillyNavigation.txt
r7693 r8378 4 4 5 5 Include main navigation with: 6 <verbatim>6 %JQREQUIRE{"chili"}%<verbatim class="tml"> 7 7 %INCLUDE{"PatternSkinThemeFatWillyNavigation" section="main"}% 8 8 </verbatim> 9 9 10 10 Include meta navigation with: 11 <verbatim >11 <verbatim class="tml"> 12 12 %INCLUDE{"PatternSkinThemeFatWillyNavigation" section="meta"}% 13 13 </verbatim> … … 15 15 16 16 ---++ Include sections 17 <verbatim >17 <verbatim class="tml"> 18 18 %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 }% 27 51 </ul><br class="foswikiClear" /></div>%ENDSECTION{"main"}% 28 52 29 53 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"}% 31 62 32 63 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"}% 34 81 </verbatim> -
trunk/PatternSkin/lib/Foswiki/Contrib/PatternSkin.pm
r7682 r8378 5 5 6 6 our $VERSION = '$Rev$'; 7 our $RELEASE = '5.3 ';7 our $RELEASE = '5.3.1'; 8 8 our $SHORTDESCRIPTION = 9 9 '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 10 10 11 11 Default 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"}% 14 13 15 14 Note 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>17 15 18 16 Other usage: [[%TOPIC%#Usage_extended][see below]]. … … 392 390 In [[%USERSWEB%.SitePreferences!]] set a macro for an ICON, for example: 393 391 394 =<nop> * Set H = %<nop>ICON{help}%= 392 <verbatim class="tml"> * Set H = %ICON{help}%</verbatim> 395 393 396 394 Now you can use the icon by writing =%<nop>H%= -
trunk/TWikiCompatibilityPlugin/data/System/TWikiCompatibilityPlugin.txt
r8247 r8378 42 42 | Release: | %$RELEASE% | 43 43 | Change History: | <!-- versions below in reverse order --> | 44 | 1.1.1 | Foswikitask:Item9415 - Documentation updates | 44 45 | 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 | 45 46 | 1.0 | Version shipped with Foswiki 1.0.X | -
trunk/TWikiCompatibilityPlugin/lib/Foswiki/Plugins/TWikiCompatibilityPlugin.pm
r8183 r8378 19 19 qw( $VERSION $RELEASE $SHORTDESCRIPTION $debug $pluginName $NO_PREFS_IN_TOPIC ); 20 20 $VERSION = '$Rev$'; 21 $RELEASE = '1.1. 0';21 $RELEASE = '1.1.1'; 22 22 $TWiki::RELEASE = 'TWiki 4.2.3'; 23 23 $SHORTDESCRIPTION = 'Add TWiki personality to Foswiki'; -
trunk/core/data/System/ObjectMethod.txt
r4884 r8378 9 9 must be called something like this 10 10 11 <verbatim >11 <verbatim class="tml"> 12 12 my $mobile = new Telecoms(); 13 13 $mobile->phone( "home" ); 14 14 </verbatim> 15 15 or you can pass the object in as a parameter if you need to: 16 <verbatim >16 <verbatim class="tml"> 17 17 Telecoms::phone( $mobile, "home" ); 18 18 </verbatim> -
trunk/core/data/System/PageCaching.txt
r7652 r8378 15 15 ---+++ Dirty Areas 16 16 Sometimes 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 =<dirtyarea>...</dirtyarea>= 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"> 18 18 <dirtyarea> %GMTIME{"$iso"}% </dirtyarea> 19 19 </verbatim> … … 93 93 * Cache::MemoryCache,>=0,Optional 94 94 * DB_File,>=0,cpan,Optional 95 * BerkeleyDB,>=0,perl,Optional, used by the BDB CacheManager andMetaCacheManager95 * !BerkeleyDB,>=0,perl,Optional, used by the BDB !CacheManager and !MetaCacheManager -
trunk/core/data/System/PerlDoc.txt
r4884 r8378 1 1 %META:TOPICINFO{author="ProjectContributor" date="1252721427" format="1.1" version="$Rev$"}% 2 2 %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 }% 3 7 ---+!! %URLPARAM{module}% 4 8 %INCLUDE{"doc:%URLPARAM{module}%" level="1"}% -
trunk/core/data/System/Plugins.txt
r6752 r8378 45 45 46 46 Define =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"> 48 48 * <nop>Set DISABLEDPLUGINS = SpreadSheetPlugin, EditTablePlugin 49 49 </pre> -
trunk/core/data/System/ProjectContributor.txt
r4884 r8378 8 8 ---+ Project Contributor 9 9 10 % INCLUDE{"%ATTACHURL%/AUTHORS"}%10 %$FOSWIKIAUTHORS% 11 11 12 12 *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 20 20 If 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): 21 21 22 =<a href="http://foswiki.org/"><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" /></a>= 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> 23 29 24 30 If 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.
