<a href="http://foswiki.org/Sandbox/VeredLevySandbox" target="_blank"> Open <nop>VereLevySandbox in a seperate window</a>
<a href="http://foswiki.org/Sandbox/VeredLevySandbox?raw=on" target="_blank"> Open view <nop>VereLevySandbox in a seperate window</a>
<a href="http://foswiki.org/bin/edit/Sandbox/VeredLevySandbox?nowysiwyg=1" target="_blank"> Open edit <nop>VereLevySandbox in a seperate window (press [F5] to refresh)</a>
Set ADMINLOGIN = "%IF{"{LoginManager} = 'Foswiki::LoginManager::ApacheLogin' AND NOT context authenticated" then="Foswiki is configured using <nop>ApacheLogin, please [[%LOGINURL%][login]] as a normal user first. Then the Admin Login will replace this text" else="[[%SCRIPTURL{login}%/%BASEWEB%/%BASETOPIC%?sudo=sudo][internal admin login]] (use the username suggested in and the password set for [[%SCRIPTURLPATH{"configure"}%][configure]])."}%"
ADMINLOGIN was defined in System.DefaultPreferences
Set ALLOWROOTCHANGE = "%USERSWEB%.AdminGroup"
ALLOWROOTCHANGE was finalised in System.DefaultPreferences
Set ALLOWTOPICCHANGE = "%USERSWEB%.AdminGroup"
ALLOWTOPICCHANGE was defined in Sandbox.WebPreferences
Set ALLOWTOPICRENAME = "%USERSWEB%.AdminGroup"
ALLOWTOPICRENAME was defined in Sandbox.WebPreferences
Set ALLOWWEBCHANGE = ""
ALLOWWEBCHANGE was finalised in Sandbox.WebPreferences
Set ALLOWWEBRENAME = ""
ALLOWWEBRENAME was finalised in Sandbox.WebPreferences
Set ALLOWWEBVIEW = ""
ALLOWWEBVIEW was finalised in Sandbox.WebPreferences
Set AQUA = "<span class='foswikiAquaFG'>"
AQUA was defined in System.DefaultPreferences
Set ATTACHEDFILELINKFORMAT = "\n * [[%ATTACHURL%/$fileurl][$filename]]: $comment"
ATTACHEDFILELINKFORMAT was defined in System.DefaultPreferences
FINALPREFERENCES was defined in Sandbox.WebPreferences
Set FORCENEWREVISIONCHECKBOX = ""
FORCENEWREVISIONCHECKBOX was defined in System.DefaultPreferences
Set FOSWIKISTRIKEONE = "5435a9ebc74dd90e15dcd37879538e1c"
Set FOSWIKI_COLORS_URL = "%PUBURLPATH%/%SYSTEMWEB%/PatternSkinThemeFatWilly/colors.css"
FOSWIKI_COLORS_URL was defined in Main.SitePreferences
Set FOSWIKI_LAYOUT_URL = "%PUBURLPATH%/%SYSTEMWEB%/PatternSkinThemeFatWilly/layout.css"
FOSWIKI_LAYOUT_URL was defined in Main.SitePreferences
Set FOSWIKI_STYLE_URL = "%PUBURLPATH%/%SYSTEMWEB%/PatternSkinThemeFatWilly/style.css"
FOSWIKI_STYLE_URL was defined in Main.SitePreferences
Set FWCOMPRESSED = ".compressed"
FWCOMPRESSED was defined in System.DefaultPreferences
Set FWSRC = ""
FWSRC was defined in System.DefaultPreferences
Set FWUNCOMPRESSED = ""
FWUNCOMPRESSED was defined in System.DefaultPreferences
Set GRAY = "<span class='foswikiGrayFG'>"
GRAY was defined in System.DefaultPreferences
Set GREEN = "<span class='foswikiGreenFG'>"
GREEN was defined in System.DefaultPreferences
Set H = "<img src="%ICONURLPATH{help}%" alt="HELP" title="HELP" width="16" height="16" />"
H was defined in System.DefaultPreferences
Set HIDE_NON_WIKI_WORD_WARNINGS = ""
HIDE_NON_WIKI_WORD_WARNINGS was defined in System.DefaultPreferences
Set HTTP_EQUIV_ON_EDIT = ""
HTTP_EQUIV_ON_EDIT was defined in System.DefaultPreferences
Set HTTP_EQUIV_ON_PREVIEW = ""
HTTP_EQUIV_ON_PREVIEW was defined in System.DefaultPreferences
Set HTTP_EQUIV_ON_VIEW = "<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="%SCRIPTURLPATH{"view"}%/%WEB%/WebRss" />"
HTTP_EQUIV_ON_VIEW was defined in System.DefaultPreferences
Set I = "<img src="%ICONURLPATH{tip}%" alt="IDEA!" title="IDEA!" width="16" height="16" />"
I was defined in System.DefaultPreferences
Set ICONTOPIC = "%SYSTEMWEB%.DocumentGraphics"
ICONTOPIC was defined in System.DefaultPreferences
Set INCLUDEWARNING = "on"
INCLUDEWARNING was defined in System.DefaultPreferences
Set INCLUDINGTOPIC = "VeredLevySandbox"
Set INCLUDINGWEB = "Sandbox"
Set INSTALLEDPLUGINS = "The INSTALLEDPLUGINS macro is no longer supported. You can set the Plugins execution order using the [[%SCRIPTURLPATH{"configure"}%][configure]] interface."
INSTALLEDPLUGINS was defined in System.DefaultPreferences
Set INTERWIKIPLUGIN_RULESTOPIC = "Main.InterWikis"
INTERWIKIPLUGIN_RULESTOPIC was defined in Main.SitePreferences
Set KINOSEARCHANALYSERLANGUAGE = "en"
KINOSEARCHANALYSERLANGUAGE was defined in Main.SitePreferences
Set KINOSEARCHDEBUG = ""
KINOSEARCHDEBUG was defined in Main.SitePreferences
Set KINOSEARCHINDEXEXTENSIONS = ""
KINOSEARCHINDEXEXTENSIONS was defined in Main.SitePreferences
Set KINOSEARCHINDEXSKIPATTACHMENTS = "Web.SomeTopic.AnAttachment.txt, OtherAttachment? .pdf"
KINOSEARCHINDEXSKIPATTACHMENTS was defined in Main.SitePreferences
Set KINOSEARCHINDEXSKIPWEBS = "Trash, Sandbox, Legacy, LegacyBugs? , LegacyPlugins? "
KINOSEARCHINDEXSKIPWEBS was defined in Main.SitePreferences
Set KINOSEARCHMAXLIMIT = "2000"
KINOSEARCHMAXLIMIT was defined in Main.SitePreferences
Set KINOSEARCHSEARCHATTACHMENTSONLY = ""
KINOSEARCHSEARCHATTACHMENTSONLY was defined in Main.SitePreferences
Set KINOSEARCHSEARCHATTACHMENTSONLYLABEL = "Display only attachments"
KINOSEARCHSEARCHATTACHMENTSONLYLABEL was defined in Main.SitePreferences
Set KINOSEARCHSUMMARYLENGTH = "300"
KINOSEARCHSUMMARYLENGTH was defined in Main.SitePreferences
Set LIME = "<span class='foswikiLimeFG'>"
LIME was defined in System.DefaultPreferences
Set LINKTOOLTIPINFO = "off"
LINKTOOLTIPINFO was defined in System.DefaultPreferences
Set LOOKELSEWHEREWEBS = "Main"
LOOKELSEWHEREWEBS was defined in Main.SitePreferences
Set M = "<img src="%ICONURLPATH{arrowright}%" alt="MOVED TO..." title="MOVED TO..." width="16" height="16" />"
M was defined in System.DefaultPreferences
Set MAILTHISTOPIC = "<a href="mailto:?subject=%BASETOPIC%&body=%TOPICURL%">%MAILTHISTOPICTEXT%</a>"
MAILTHISTOPIC was defined in System.DefaultPreferences
Set MAILTHISTOPICTEXT = "Send a link to this page"
MAILTHISTOPICTEXT was defined in System.DefaultPreferences
Set MAINWEB = "%USERSWEB%"
MAINWEB was defined in System.DefaultPreferences
Set MARKEDFORDELETION = "<div class="foswikiNotification foswikiAlert">This page is marked for deletion. Possible reason: this page does not contribute to the development of Foswiki software. Please note that this site is not an open collaboration platform to work on other projects - use a public wiki instead or [[Download.WebHome][download Foswiki]] for private use.<br />If you just want to test Foswiki, visit the [[Sandbox.WebHome][Sandbox]] web.</div>"
MARKEDFORDELETION was defined in Main.SitePreferences
Set MAROON = "<span class='foswikiMaroonFG'>"
MAROON was defined in System.DefaultPreferences
Set MAXREV = "34"
Set MYLOGO = "%ATTACHURL%/test.jpg"
MYLOGO was defined in Sandbox.VeredLevySandbox
Set N = "<img src="%ICONURLPATH{new}%" alt="NEW" title="NEW" width="30" height="16" />"
N was defined in System.DefaultPreferences
Set NAMEFILTER = "%QUERY{"{NameFilter}"}%"
NAMEFILTER was defined in System.DefaultPreferences
Set NATSEARCHENGINE = "kinosearch"
NATSEARCHENGINE was defined in Main.SitePreferences
Set NAVY = "<span class='foswikiNavyFG'>"
NAVY was defined in System.DefaultPreferences
Set NEWLINKFORMAT = "<span class="foswikiNewLink">$text<a href="%SCRIPTURLPATH{"edit"}%/$web/$topic?topicparent=%WEB%.%TOPIC%" rel="nofollow" title="%MAKETEXT{"Create this topic"}%">?</a></span> "
NEWLINKFORMAT was defined in Main.SitePreferences
Set NEWTOPICLINKSYMBOL = "?"
NEWTOPICLINKSYMBOL was defined in Main.SitePreferences
Set NOAUTOLINK = ""
NOAUTOLINK was defined in System.DefaultPreferences
Set NOSEARCHALL = ""
NOSEARCHALL was finalised in System.DefaultPreferences
Set NOWYSIWYG = "1 "
NOWYSIWYG was defined in Sandbox.VeredLevySandbox
Set OLIVE = "<span class='foswikiOliveFG'>"
OLIVE was defined in System.DefaultPreferences
Set ORANGE = "<span class='foswikiOrangeFG'>"
ORANGE was defined in System.DefaultPreferences
Set P = "<img src="%ICONURLPATH{pencil}%" alt="REFACTOR" title="REFACTOR" width="16" height="16" />"
P was defined in System.DefaultPreferences
Set PATTERNSKIN_COLUMNS = ""
PATTERNSKIN_COLUMNS was defined in Main.SitePreferences
Set PATTERNSKIN_NAVIGATION_TOPIC = "%SYSTEMWEB%/PatternSkinThemeFatWillyNavigation"
PATTERNSKIN_NAVIGATION_TOPIC was defined in Main.SitePreferences
Set PATTERNSKIN_THEME = "%PATTERNSKIN_THEME_VARIANT%"
PATTERNSKIN_THEME was defined in System.DefaultPreferences
Set PATTERNSKIN_THEME_VARIANT = ""
PATTERNSKIN_THEME_VARIANT was defined in Main.SitePreferences
Set PERSONALINFOADDON_FILECACHE = ""
PERSONALINFOADDON_FILECACHE was defined in Main.SitePreferences
Set PINK = "<span class='foswikiPinkFG'>"
PINK was defined in System.DefaultPreferences
Set PREVIEWBGIMAGE = "%PUBURLPATH%/%SYSTEMWEB%/PreviewBackground/preview2bg.gif"
PREVIEWBGIMAGE was finalised in System.DefaultPreferences
Set PURPLE = "<span class='foswikiPurpleFG'>"
PURPLE was defined in System.DefaultPreferences
Set Q = "<img src="%ICONURLPATH{question}%" alt="QUESTION?" title="QUESTION?" width="16" height="16" />"
Q was defined in System.DefaultPreferences
Set RED = "<span class='foswikiRedFG'>"
RED was defined in System.DefaultPreferences
Set REGISTRATIONGROUPTYPE = "none"
REGISTRATIONGROUPTYPE was defined in System.DefaultPreferences
Set REMEMBER = ""
Set S = "<img src="%ICONURLPATH{starred}%" alt="PICK" title="PICK" width="16" height="16" />"
S was defined in System.DefaultPreferences
Set SEARCHDEFAULTTTYPE = "keyword"
SEARCHDEFAULTTTYPE was defined in System.DefaultPreferences
Set SEARCHSTOPWORDS = "a, all, am, an, and, any, as, at, b, be, by, c, d, e, for, from, g, h, how, i, i'm, i.e., in, is, isn't, it, it's, its, j, k, l, m, n, o, of, on, or, p, q, r, s, t, that, that's, the, this, to, u, v, w, was, wasn't, what, what's, when, where, who, who's, will, with, x, y, z"
SEARCHSTOPWORDS was defined in System.DefaultPreferences
Set SEARCHVARDEFAULTTYPE = "literal"
SEARCHVARDEFAULTTYPE was defined in System.DefaultPreferences
Set SESSIONID = "e452bfc1a84888e9466975a02dc61f37"
Set SESSIONVAR = "FOSWIKISID"
Set SHARETHIS = ""
SHARETHIS was defined in Main.SitePreferences
Set SIGNATUREFORMAT = "-- <nop>%WIKIUSERNAME% - %DATE%"
SIGNATUREFORMAT was defined in System.DefaultPreferences
Set SILVER = "<span class='foswikiSilverFG'>"
SILVER was defined in System.DefaultPreferences
Set SITEMAPLIST = "on"
SITEMAPLIST was defined in Sandbox.WebPreferences
Set SITEMAPUSETO = "...experiment in an unrestricted hands-on web. "
SITEMAPUSETO was defined in Sandbox.WebPreferences
Set SITEMAPWHAT = "Sandbox test area with all features enabled. "
SITEMAPWHAT was defined in Sandbox.WebPreferences
Set SKIN = "print"
Set T = "<img src="%ICONURLPATH{tip}%" alt="TIP" title="TIP" width="16" height="16" />"
TABLEPLUGIN_TABLEATTRIBUTES was defined in Main.SitePreferences
Set TEAL = "<span class='foswikiTealFG'>"
TEAL was defined in System.DefaultPreferences
Set TOC_HIDE_IF_INCLUDED = ""
TOC_HIDE_IF_INCLUDED was defined in System.DefaultPreferences
Set TOC_MAX_DEPTH = ""
TOC_MAX_DEPTH was defined in System.DefaultPreferences
Set TOC_MIN_DEPTH = ""
TOC_MIN_DEPTH was defined in System.DefaultPreferences
Set TOC_TITLE = ""
TOC_TITLE was defined in System.DefaultPreferences
Set TOPICURL = "%SCRIPTURL{"view"}%/%BASEWEB%/%BASETOPIC%"
TOPICURL was defined in System.DefaultPreferences
Set TWIKIWEB = "TWiki"
TWIKIWEB was defined in System.DefaultPreferences
Set TWISTYHIDELINK = "Weniger..."
TWISTYHIDELINK was defined in Sandbox.VeredLevySandbox
Set TWISTYPLUGIN_TWISTYANIMATIONSPEED = "fast"
TWISTYPLUGIN_TWISTYANIMATIONSPEED was defined in System.DefaultPreferences
Set TWISTYSHOWLINK = "Mehr..."
TWISTYSHOWLINK was defined in Sandbox.VeredLevySandbox
Set U = "<img src="%ICONURLPATH{updated}%" alt="UPDATED" title="UPDATED" width="55" height="16" />"
U was defined in System.DefaultPreferences
Set USERCOLORSURL = ""
USERCOLORSURL was defined in System.DefaultPreferences
Set USERLAYOUTURL = ""
USERLAYOUTURL was defined in System.DefaultPreferences
Set USERSTYLEURL = ""
USERSTYLEURL was defined in System.DefaultPreferences
Set UXMASCOT = "<img src="%PUBURLPATH%/Community/UserExperienceTaskTeam/designer_avatar.png" style="float:left;"/>"
UXMASCOT was defined in Main.SitePreferences
Set V = "$percntCALC{$quot$EVAL($ROW(-1)*$COLUMN(-1))$quot}$percnt "
V was defined in Sandbox.VeredLevySandbox
Set VALID_ACTIONS = "HASH(0x3cf7898)"
Set VARCACHEPLUGIN_CACHEMSG = "This topic was cached $age ago ([<nop>[$link][refresh]])"
VARCACHEPLUGIN_CACHEMSG was defined in System.VarCachePlugin
Set VARCACHEPLUGIN_DEBUG = ""
VARCACHEPLUGIN_DEBUG was defined in System.VarCachePlugin
Set VARCACHEPLUGIN_REFRESH = "24"
VARCACHEPLUGIN_REFRESH was defined in System.VarCachePlugin
Set VARCACHEPLUGIN_SHORTDESCRIPTION = "Cache Foswiki macros in selected topics for faster page rendering"
VARCACHEPLUGIN_SHORTDESCRIPTION was defined in System.VarCachePlugin
Set VARCACHEPLUGIN_UDATEMSG = "This topic is now cached ([<nop>[$link][refresh]])"
VARCACHEPLUGIN_UDATEMSG was defined in System.VarCachePlugin
Set VBAR = "|"
VBAR was defined in System.DefaultPreferences
Set VIEW_TEMPLATE = "Sandbox.TestView"
Set VOTEPLUGIN_RESETTERS = "Main.AdminGroup"
VOTEPLUGIN_RESETTERS was finalised in Main.SitePreferences
Set VTEST1 = "%URLPARAM{"vtest1" default=""}%"
VTEST1 was defined in Sandbox.VeredLevySandbox
Set VTEST2 = "%URLPARAM{"vtest2" default="default"}%"
VTEST2 was defined in Sandbox.VeredLevySandbox
Set WEBBGCOLOR = "#B9DAFF"
WEBBGCOLOR was defined in Sandbox.WebPreferences
Set WEBCOPYRIGHT = "<span class="foswikiRight">The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://foswiki.org/pub/System/SiteGraphics/cc-by-sa-3.0-88x31.png" /></a></span><!-- left --><a href="http://sourceforge.net/projects/foswiki"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=245751&type=13" width="120" height="30" border="0" alt="Get Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads" /></a>"
WEBCOPYRIGHT was finalised in Main.SitePreferences
Set WEBFORMS = "TestForm"
WEBFORMS was defined in Sandbox.WebPreferences
Set WEBHEADERART = ""
WEBHEADERART was defined in Main.SitePreferences
Set WEBHEADERBGCOLOR = ""
WEBHEADERBGCOLOR was defined in Main.SitePreferences
Set WEBLOGOALT = "%WIKILOGOALT%"
WEBLOGOALT was defined in System.DefaultPreferences
Set WEBLOGOIMG = "%WIKILOGOIMG%"
WEBLOGOIMG was defined in System.DefaultPreferences
Set WEBLOGOURL = "%WIKILOGOURL%"
WEBLOGOURL was defined in System.DefaultPreferences
Set WEBRSSCOPYRIGHT = "Copyright %GMTIME{"$year"}% by contributing authors"
WEBRSSCOPYRIGHT was defined in System.DefaultPreferences
Set WEBSUMMARY = "%IF{"defined SITEMAPWHAT" then="$percentSITEMAPWHAT$percent"}% %IF{"defined SITEMAPUSETO" then="$percentSITEMAPUSETO$percent"}%"
WEBSUMMARY was defined in System.DefaultPreferences
Set WHITE = "<span class='foswikiWhiteFG'>"
WHITE was defined in System.DefaultPreferences
Set WIKIHOMEURL = "%SCRIPTURLPATH{"view"}%"
WIKIHOMEURL was finalised in System.DefaultPreferences
Set WIKILOGOALT = "Powered by Foswiki, The Free and Open Source Wiki"
WIKILOGOALT was defined in System.DefaultPreferences
Set WIKILOGOIMG = "%PUBURL%/%SYSTEMWEB%/ProjectLogos/foswiki-logo.gif"
WIKILOGOIMG was defined in System.DefaultPreferences
Set WIKILOGOURL = "%SCRIPTURL{"view"}%/"
WIKILOGOURL was defined in Main.SitePreferences
Set WIKITOOLNAME = "Foswiki"
WIKITOOLNAME was finalised in Main.SitePreferences
Set WIKIWEBLIST = "[[%USERSWEB%.%HOMETOPIC%][%USERSWEB%]] %SEP% [[%SYSTEMWEB%.%HOMETOPIC%][%SYSTEMWEB%]] %SEP% [[%SANDBOXWEB%.%HOMETOPIC%][%SANDBOXWEB%]]"
WIKIWEBLIST was defined in System.DefaultPreferences
Set X = "<img src="%ICONURLPATH{warning}%" alt="ALERT!" title="ALERT!" width="16" height="16" />"
X was defined in System.DefaultPreferences
Set Y = "<img src="%ICONURLPATH{choice-yes}%" alt="DONE" title="DONE" width="16" height="16" />"
%ACTION{who="VeredLevy" due=""}% Will update this info later.
Vls :-) - Created by VeredLevy, 31 Jan 2012 - 12:11%ENDACTION%
%ACTION{who="VeredLevy" due="tomorrow"}% Test number 2 - Created by VeredLevy, 31 Jan 2012 - 12:12%ENDACTION%
( http://foswiki.org/System/CommentPlugin )
( http://foswiki.org/Extensions/ActionTrackerPlugin )
Result when tested on site:
%ACTION{ closer="" created="2012-01-30" creator="Main.VeredLevy" due="2012-02-02" notify="" state="open" uid="000001" who="Main.VeredLevy" }% Please don't forget to ... and for sure bring with you ... Byebye for now - Created by VeredLevy, 30 Jan 2012 - 17:27 %ENDACTION%
%ACTION{ created="2012-01-30" creator="Main.VeredLevy" due="2012-01-31" state="open" uid="000002" who="Main.VeredLevy" }% Well ok Forget about the previous action Just do something Whatever - Created by VeredLevy, 30 Jan 2012 - 17:29 %ENDACTION%
%IF{"'VeredLevy' ingroup 'AdminGroup'" then="VeredLevy$percntGREEN$percnt is in group$percntENDCOLOR$percnt AdminGroup" else="VeredLevy$percntRED$percnt is not in group$percntENDCOLOR$percnt AdminGroup"}%
%IF{"%USERNAME% ingroup 'AdminGroup'" then="%USERNAME%$percntGREEN$percnt is in group$percntENDCOLOR$percnt AdminGroup" else="%USERNAME%$percntRED$percnt is not in group$percntENDCOLOR$percnt AdminGroup"}%
%IF{"istopic 'VeredLevyTest'" then="'VeredLevyTest' $percntGREEN$percnt exists$percntENDCOLOR$percnt in %WEB%" else="'VeredLevyTest' $percntRED$percnt does not exist$percntENDCOLOR$percnt in %WEB%"}%
%IF{"istopic %TOPIC%" then="%TOPIC%$percntGREEN$percnt exists$percntENDCOLOR$percnt in %WEB%" else="%TOPIC%$percntRED$percnt does not exist$percntENDCOLOR$percnt in %WEB%"}%
%IF{"isweb 'Main'" then="Main web$percntGREEN$percnt exists$percntENDCOLOR$percnt" else="Main web$percntRED$percnt does not exist$percntENDCOLOR$percnt"}%
Main web exists
%IF{"isweb 'Vered'" then="Vered web$percntGREEN$percnt exists$percntENDCOLOR$percnt" else="Vered web$percntRED$percnt does not exist$percntENDCOLOR$percnt"}%
Vered web does not exist
%IF{"defined MYLOGO" then="$percntGREEN$percntMYLOGO is defined: $percntENDCOLOR$percnt and is $percntMYLOGO$percnt" else="$percntRED$percnt MYLOGO is not defined $percntENDCOLOR$percnt"}%
MYLOGO is defined: and is
%IF{"defined YOURLOGO" then="$percntGREEN$percntYOURLOGO is defined: $percntENDCOLOR$percnt and is $percntYOURLOGO$percnt" else="$percntRED$percnt YOURLOGO is not defined $percntENDCOLOR$percnt"}%
From the Reference Manual: "Macros - Special text strings expand on the fly to display user data or system info"
( http://foswiki.org/System/Macros )
From the Reference Manual: "If a macro is not defined, then it will be left in the text unless it is called with a default parameter,
in which case the value of the default parameter will replace the macro call in the output."
See "Example: Create a custom logo macro" in the Reference Manual: http://foswiki.org/System/Macros
I have set MYLOGO to %ATTACHURL%/test.jpg in [More topic actions]-->[Edit topic preference settings]
"Show control settings
You can list the access controls affecting a topic using the %SHOWPREFERENCE{}% macro in the topic, thus: "
%SHOWPREFERENCE{"DENYWEBVIEW,ALLOWWEBVIEW,DENYWEBCHANGE,ALLOWWEBCHANGE,DENYWEBRENAME,ALLOWWEBRENAME"}%
This plug-in tested with Oracle DB (Foswiki 1.1.4)
%SQL{"SELECT * FROM ... WHERE ... AND ... ORDER BY ..." database="..."}%
%SQL{database="..." "INSERT INTO ...(...) VALUES(...)"}%
%SQL{database="..." query="INSERT INTO ...(...) VALUES(...)"}%
%SQL{database="..." "BEGIN INSERT INTO ...(...) VALUES(...); INSERT INTO ...(...) VALUES(...); END;"}%
%SQL{database="..." query="BEGIN INSERT INTO ...(...) VALUES(...); INSERT INTO ...(...) VALUES(...); END;"}%
etc. to be continued...
See http://foswiki.org/TWiki/IfStatements For the following quote:
"Note that because of the way Foswiki evaluates,
whatever is in the THEN and ELSE parameters will already have been expanded by the time the condition is actually evaluated.
The standard FormatTokens can be used in the THEN and ELSE parameters when you need to delay evaluation of (for example) a macro."
%SQL{database="..." query="BEGIN ...; ...; END;"}%
I have replaced the double quoets and the percent as follows:
$percntSQL{database=$quot...$quot query=$quotBEGIN ...; ...; END;$quot}$percnt
And then integrated it into the IF macro...
%IF{"$SOME_VARIABE='Some value'" then="$percntSQL{database=$quot...$quot query=$quotBEGIN ...; ...; END;$quot}$percnt" else="Do something else..."}%
*%ORANGE%Creating a new topic (will be a child topic of the current topic): %ENDCOLOR%*
%TWISTY{
showlink="Create topic..."
hidelink="Hide steps..."
linkclass="foswikiButton"
remember="on"
}%
* <b>Step 1</b>: Click inside the text box --> The following text will appear: <b>VeredLevy-</b>
* <b>Step 2:</b> Go to the end of that text --> And add the new topic name: !VeredLevy-<b>NEW-TEXT</b>
* <b>Step 3:</b> Click on the <b>[create]</b> button in order to create the new topic (will be copied from the VeredLevyTemplate) <br>
--> And <b>save</b> the new topic (later you can edit that topic).
<form action="%SCRIPTURLPATH{edit}%/%WEB%/"> New topic (!VeredLevy-NEW-TEXT) <br /><input type="text" name="topic" size="64" onBlur="if(this.value=='VeredLevy-') { this.value='' }" onFocus="if(this.value=='') { this.value='VeredLevy-' }" /> <input type="hidden" name="onlywikiname" value="off" /> <input type="hidden" name="onlynewtopic" value="on" /> <input type="hidden" name="templatetopic" value="VeredLevyTemplate" /> <input type="hidden" name="topicparent" value="%TOPIC%" /> <input type="submit" class="foswikiSubmit" value="create" /> </form>
%ENDTWISTY%
Creating a new topic (will be a child topic of the current topic):
Step 1: Click inside the text box --> The following text will appear: VeredLevy-
Step 2: Go to the end of that text --> And add the new topic name: VeredLevy-NEW-TEXT
Step 3: Click on the [create] button in order to create the new topic (will be copied from the VeredLevyTemplate) --> And save the new topic (later you can edit that topic).
*%GREEN%<u>Automatic search for the child topics of the current topic</u> ([[%TOPIC%]]): %ENDCOLOR%*
%SEARCH{ "parent.name='%TOPIC%'" type="query" nonoise="on" format="<b>$index. </b> [[$topic]]" separator="<br><br>" footer="<br><br>Number of child topics found: <b>$ntopics</b><br>"}%
<ul>
<li> A
<ul>
<li> A1 </li>
<li> A2 </li>
</ul>
</li>
<li> B C D </li>
<li> E <br /> F <br /> G <br /> H </li>
<li> I </li>
</ul>
A
A1
A2
B C D
E F G H
I
From the Reference Manual: "Recommendations when pasting HTML from other sources (using the plain-text editor): ... Remove all empty lines. Remove leading spaces ..." etc.
<ul>
<li> A
<ul>
<li> A1 </li>
<li> A2 </li>
</ul>
</li>
<li> B C D </li>
<li> E <br /> F <br /> G <br /> H </li>
<li> I </li>
</ul>
A
A1
A2
B C D
E F G H
I
sticky / NOWYSIWYG (with regards to EDIT in WYSIWYG mode)
%TWISTY{
link="$percntY$percnt $percntP$percnt"
linkclass="foswikiButton"
showimgleft="%ICONURLPATH{toggleopen-small}%"
hideimgleft="%ICONURLPATH{toggleclose-small}%"
}%
This is the content...
%ENDTWISTY%
This is the content...
%TWISTY{
prefix="Please press the following button: "
linkclass="foswikiButton"
showlink="[ ]"
hidelink="[ ]"
suffix="Now !!!"
}%
Thanks for pressing the button...
%ENDTWISTY%