data/TWiki/VarWEBLIST.txt,v
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/VarWEBLIST.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,110 @@
     1.4 +head	1.4;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.4
    1.12 +date	2008.01.22.03.21.26;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	1.3;
    1.15 +
    1.16 +1.3
    1.17 +date	2007.03.03.14.51.51;	author TWikiContributor;	state Exp;
    1.18 +branches;
    1.19 +next	1.2;
    1.20 +
    1.21 +1.2
    1.22 +date	2007.01.16.04.12.02;	author TWikiContributor;	state Exp;
    1.23 +branches;
    1.24 +next	1.1;
    1.25 +
    1.26 +1.1
    1.27 +date	2006.06.25.16.26.30;	author TWikiContributor;	state Exp;
    1.28 +branches;
    1.29 +next	;
    1.30 +
    1.31 +
    1.32 +desc
    1.33 +@buildrelease
    1.34 +@
    1.35 +
    1.36 +
    1.37 +1.4
    1.38 +log
    1.39 +@buildrelease
    1.40 +@
    1.41 +text
    1.42 +@%META:TOPICINFO{author="TWikiContributor" date="1172787018" format="1.1" version="4"}%
    1.43 +%META:TOPICPARENT{name="TWikiVariables"}%
    1.44 +#VarWEBLIST
    1.45 +---+++ WEBLIST{"format"} -- index of all webs
    1.46 +   * List of all webs. Obfusticated webs are excluded, e.g. webs with a =NOSEARCHALL = on= preference variable. The ="format"= defines the format of one web item. The =$name= variable gets expanded to the name of the web, =$qname= gets expanded to double quoted name, =$marker= to =marker= where web matches =selection=.
    1.47 +   * Syntax: =%<nop>WEBLIST{"format" ...}%=
    1.48 +   * Supported parameters:
    1.49 +     | *Parameter:* | *Description:* | *Default:* |
    1.50 +     | ="format"= | Format of one line, may include =$name= (the name of the web), $qname (the name of the web in double quotes), =$indentedname= (the name of the web with parent web names replaced by indents, for use in indented lists), and =$marker= (which expands to =marker= for the item matching =selection= only) | ="$name"= |
    1.51 +     | =format="format"= | (Alternative to above) | ="$name"= |
    1.52 +     | =separator=", "= | Line separator | ="$n"= (new line) |
    1.53 +     | =web=""= | if you specify =$web= in format, it will be replaced with this  | =""= |
    1.54 +     | =webs="public"=   | Comma separated list of webs, =public= expands to all non-hidden.%BR% __NOTE:__ Administrators will see all webs, not just the public ones | ="public"= |
    1.55 +     | =marker="selected"= | Text for =$marker= if the item matches =selection= | ="selected"= |
    1.56 +     | =selection="%<nop>WEB%"= | Current value to be selected in list | =selection="%<nop>WEB%"= |
    1.57 +     | =subwebs="Sandbox"=   | show webs that are a sub-web of this one (recursivly) | =""= |
    1.58 +   * Example: =%<nop>WEBLIST{"   * [<nop>[$name.%HOMETOPIC%]]"}%= - creates a bullet list of all webs.
    1.59 +   * Example: =&lt;form&gt;&lt;select name="web"&gt; %<nop>WEBLIST{"&lt;option $marker value=$qname&gt;$name&lt;/option&gt;" webs="Trash, public" selection="%<nop>WEB%" separator=" "}% &lt;/select&gt;&lt;/form&gt;= - creates a dropdown of all public webs + Trash web, with the current web highlighted.
    1.60 +   * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarTOPICLIST][TOPICLIST]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSEARCH][SEARCH]]
    1.61 +@
    1.62 +
    1.63 +
    1.64 +1.3
    1.65 +log
    1.66 +@buildrelease
    1.67 +@
    1.68 +text
    1.69 +@d1 1
    1.70 +a1 1
    1.71 +%META:TOPICINFO{author="TWikiContributor" date="1172787018" format="1.1" version="3"}%
    1.72 +d12 1
    1.73 +d15 2
    1.74 +a16 1
    1.75 +     | =selection="%<nop>WEB%"= | Current value to be selected in list | =section="%<nop>WEB%"= |
    1.76 +d19 1
    1.77 +a19 1
    1.78 +   * Related: [[#VarTOPICLIST][TOPICLIST]], [[#VarSEARCH][SEARCH]]
    1.79 +@
    1.80 +
    1.81 +
    1.82 +1.2
    1.83 +log
    1.84 +@buildrelease
    1.85 +@
    1.86 +text
    1.87 +@d1 1
    1.88 +a1 1
    1.89 +%META:TOPICINFO{author="TWikiContributor" date="1153506034" format="1.1" version="2"}%
    1.90 +a3 1
    1.91 +
    1.92 +d15 2
    1.93 +a16 2
    1.94 +   * Example: =%<nop>WEBLIST{"   * [<nop>[$name.%HOMETOPIC%]]"}%= creates a bullet list of all webs.
    1.95 +   * Example: =%<nop>WEBLIST{"&lt;option $marker value=$qname&gt;$name&lt;/option&gt;" webs="Trash, public" selection="%WEB%" separator=" "}%= creates a dropdown of all public webs + Trash web, with the current web highlighted.
    1.96 +@
    1.97 +
    1.98 +
    1.99 +1.1
   1.100 +log
   1.101 +@buildrelease
   1.102 +@
   1.103 +text
   1.104 +@d1 1
   1.105 +a1 1
   1.106 +%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
   1.107 +d12 2
   1.108 +a13 2
   1.109 +     | =separator=", "= | line separator | ="$n"= (new line) |
   1.110 +     | =webs="public"=   | comma separated list of webs, =public= expands to all non-hidden | ="public"= |
   1.111 +a18 1
   1.112 +
   1.113 +@