more XHTML compliance, mainly paragraphs
This commit is contained in:
parent
18e303421a
commit
6ab78c051c
6 changed files with 25 additions and 18 deletions
|
|
@ -14,18 +14,20 @@ our $I18N = {
|
|||
|
||||
'login toggle body' => {
|
||||
message => q|
|
||||
<b>^LoginToggle; or ^LoginToggle();</b><br />
|
||||
<po><b>^LoginToggle; or ^LoginToggle();</b><br />
|
||||
Displays a "Login" or "Logout" message depending upon whether the user is logged in or not. You can optionally specify other labels like this: ^LoginToggle("Click here to log in.","Click here to log out.");. You can also use the special case ^LoginToggle(linkonly); to return only the URL with no label.
|
||||
<p>
|
||||
<b>toggle.url</b><br />
|
||||
</p>
|
||||
|
||||
<p><b>toggle.url</b><br />
|
||||
The URL to login or logout.
|
||||
<p/>
|
||||
<b>toggle.text</b><br />
|
||||
</p>
|
||||
|
||||
<p><b>toggle.text</b><br />
|
||||
The Internationalized label for logging in or logging out (depending on the state of the macro), or the text that you supply to the macro.
|
||||
<p>
|
||||
</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1112466919,
|
||||
lastUpdated => 1146759379,
|
||||
},
|
||||
|
||||
'716' => {
|
||||
|
|
|
|||
|
|
@ -16,8 +16,9 @@ our $I18N = {
|
|||
message => q|
|
||||
<p><b>^PageUrl;</b><br />
|
||||
The URL to the current page (example: </i>/index.pl/pagename</i>).
|
||||
</p>
|
||||
|,
|
||||
lastUpdated => 1112466919,
|
||||
lastUpdated => 1146759407,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ our $I18N = {
|
|||
<b>^RandomAssetProxy</b>(<i>Asset URL</i>);<br />
|
||||
This macro works similarly to the ^<b>AssetProxy</b>(); macro except instead of displaying the
|
||||
Asset, it picks a random Asset from the descendents of the Asset whose URL is supplied as the
|
||||
argument.
|
||||
argument.</p>
|
||||
|,
|
||||
lastUpdated => 1135101114,
|
||||
lastUpdated => 1146760545,
|
||||
},
|
||||
|
||||
'childless' => {
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'random thread body' => {
|
||||
message => q|<b>^RandomThread( [ startURL, relatives, templateURL ] );</b><br />
|
||||
<p>The Collaboration System can be used for much more than just a forum. A few examples of its
|
||||
message => q|<p><b>^RandomThread( [ startURL, relatives, templateURL ] );</b><br />
|
||||
The Collaboration System can be used for much more than just a forum. A few examples of its
|
||||
possible usages are a FAQ, photo gallery, job listings, quotes database or weblog. For these
|
||||
applications (and others that you might think of) it can be nice to display a random entry
|
||||
from such a CS somewhere on your site. That is exactly the functionality that this macro provides.</p>
|
||||
|
|
@ -27,6 +27,7 @@ the template variables that are normally available in a CS Post template are ava
|
|||
<p>Although all the parameters can be omitted, it usually makes sense specify them all. If you
|
||||
want to display a random thread from a single CS, we suggest you use the URL of the CS as the <i>startURL</i>
|
||||
and "self" as <i>relatives</i>.</p>
|
||||
<div>
|
||||
<dl>
|
||||
<dt><i>startURL</i></dt>
|
||||
<dd>URL of the asset you want to use as the starting point for finding a random CS. If omitted
|
||||
|
|
@ -43,8 +44,10 @@ are used. Allowed values for this parameter are 'siblings', 'children', 'ancesto
|
|||
available template variables. Since you almost certainly will not want this output in a
|
||||
production-environment, it makes sense to not omit this parameter.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<p><b>Examples</b></p>
|
||||
<p><b>Examples:</b></p>
|
||||
<div>
|
||||
<dl>
|
||||
<dt><tt>^RandomThread(home/photo_album, descendants, templates/randomPhoto);</tt></dt>
|
||||
<dd>If you have a page with many subpages with photo galleries, you can use the parameters above
|
||||
|
|
@ -58,8 +61,9 @@ of questions), then the example above can be used to display a random question f
|
|||
<dt><tt>^RandomThread;</tt></dt>
|
||||
<dd>Gets a random post from all Collaboration Systems in root 'home' with debug output.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|,
|
||||
lastUpdated => 1132970060,
|
||||
lastUpdated => 1146760592,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,9 @@ our $I18N = {
|
|||
message => q|
|
||||
<p><b>^/; - System URL</b><br />
|
||||
The URL to the gateway script (example: </i>/index.pl/</i>).
|
||||
</p>
|
||||
|,
|
||||
lastUpdated => 1112466919,
|
||||
lastUpdated => 1146760697,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ our $I18N = {
|
|||
|
||||
'printable body' => {
|
||||
message => q|
|
||||
|
||||
<p><b>^r(<i>link text</i>)</b><br />
|
||||
<b>^r("",<i>custom style name</i>)</b><br />
|
||||
<b>^r("",<i>custom style name</i>,<i>custom template name</i>)</b><br />
|
||||
|
|
@ -27,7 +26,7 @@ Creates a link to alter the style from a page to make it printable.
|
|||
<p>Normally, the default style to make the page printable is the "Make Page Printable" style. The second argument specifies that a different style than the default be used to make the page printable: <b>^r("Print!","WebGUI");</b>.
|
||||
</p>
|
||||
|
||||
<p>The third argument allows a different template be used to generate the HTML code for presenting the link and text, by specifying the name of the template. The following variables are available in the template:
|
||||
<p>The third argument allows a different template be used to generate the HTML code for presenting the link and text, by specifying the name of the template. The following variables are available in the template:</p>
|
||||
|
||||
<p><b>printable.url</b><br />
|
||||
The URL to make the page printable.
|
||||
|
|
@ -41,7 +40,7 @@ The translated label for the printable link, or the text that you supply to the
|
|||
</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1146608731,
|
||||
lastUpdated => 1146760682,
|
||||
},
|
||||
|
||||
'53' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue