loading templates faster
This commit is contained in:
parent
fb6fab4226
commit
4b17c88300
11 changed files with 198 additions and 44 deletions
|
|
@ -169,6 +169,10 @@ The email address for your company specified in the settings by your Administrat
|
|||
Returns the path to the WebGUI "extras" folder, which contains things like WebGUI icons.
|
||||
<p>
|
||||
|
||||
<b>^JavaScript();</b><br>
|
||||
This macro allows you to set a javascript in the head section of the page. Just pass in the URL to the javascript file.
|
||||
<p>
|
||||
|
||||
<b>^LastModified; or ^LastModified();</b><br>
|
||||
Displays the date that the current page was last modified based upon the wobjects on the page. The date is defaultly displayed based upon the user's date preferences. Optionally, it can take two parameters. The first is text to display before the date. The second is a date format string (see the D (date) macro for details.
|
||||
<p>
|
||||
|
|
@ -215,20 +219,27 @@ The translated label for the printable link, or the text that you supply to the
|
|||
Returns the title of the root of the current page. For instance, the main root in WebGUI is the "Home" page. Many advanced sites have many roots and thus need a way to display to the user which root they are in.
|
||||
<p>
|
||||
|
||||
<b>^u; - Company URL</b><br>
|
||||
The URL for your company specified in the settings by your Administrator.
|
||||
<b>^StyleSheet();</b><br>
|
||||
This macro allows you to set a cascading style sheet in the head section of the page. Just pass in the URL to the CSS file.
|
||||
<p>
|
||||
|
||||
|
||||
|
||||
<b>^Spacer();</b><br>
|
||||
Create a spacer in your layout. Great for creating blocks of color with divs and tables. It takes two parameters, width and height.
|
||||
<p>
|
||||
<i>Example:</i> ^Spacer("100","50");
|
||||
<p>
|
||||
|
||||
<b>^RawHeadTags();</b><br>
|
||||
This macro allows you to set some arbitrary tags in the head section of the page. Just pass in the text.
|
||||
<p>
|
||||
|
||||
<b>^u; - Company URL</b><br>
|
||||
The URL for your company specified in the settings by your Administrator.
|
||||
<p>
|
||||
|
||||
|
||||
|,
|
||||
lastUpdated => 1078243435
|
||||
lastUpdated => 1094053549
|
||||
},
|
||||
|
||||
'634' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue