diff --git a/lib/WebGUI/i18n/English/Macro_LoginToggle.pm b/lib/WebGUI/i18n/English/Macro_LoginToggle.pm
index 27c9b11da..4fe8f297a 100644
--- a/lib/WebGUI/i18n/English/Macro_LoginToggle.pm
+++ b/lib/WebGUI/i18n/English/Macro_LoginToggle.pm
@@ -14,18 +14,20 @@ our $I18N = {
'login toggle body' => {
message => q|
-^LoginToggle; or ^LoginToggle();
-toggle.url toggle.url
+
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.
-
+
The URL to login or logout.
-
+
toggle.text
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.
-
+
|, - lastUpdated => 1112466919, + lastUpdated => 1146759379, }, '716' => { diff --git a/lib/WebGUI/i18n/English/Macro_PageUrl.pm b/lib/WebGUI/i18n/English/Macro_PageUrl.pm index d641b13ed..12d7641d8 100644 --- a/lib/WebGUI/i18n/English/Macro_PageUrl.pm +++ b/lib/WebGUI/i18n/English/Macro_PageUrl.pm @@ -16,8 +16,9 @@ our $I18N = { message => q|^PageUrl;
The URL to the current page (example: /index.pl/pagename).
+
The Collaboration System can be used for much more than just a forum. A few examples of its + message => q|
^RandomThread( [ startURL, relatives, templateURL ] );
+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.
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 startURL and "self" as relatives.
+Examples
+Examples:
+^/; - System URL
The URL to the gateway script (example: /index.pl/).
+
^r(link text)
^r("",custom style name)
^r("",custom style name,custom template name)
@@ -27,7 +26,7 @@ Creates a link to alter the style from a page to make it printable.
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: ^r("Print!","WebGUI");.
-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: +
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:
printable.url
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