Dell PowerConnect W Clearpass 100 Software 3.7 Deployment Guide - Page 365
Smarty Template Syntax, Text Substitution, Template File Inclusion - engineering
View all Dell PowerConnect W Clearpass 100 Software manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 365 highlights
Table 30 Formatting Classes (Continued) nwaTop Table Header nwaLeft Table Header nwaRight Table Header nwaBottom Table Header nwaBody Table Cell nwaHighlight Table Cell nwaSelected Table Cell nwaSelectedHighlight Table Cell nwaInfo All nwaError All nwaImportant All nwaUsername All nwaPassword All Table heading at top Left column of table Right column of table Table heading at bottom Style to apply to table cell containing data Highlighted text (used for mouseover) Selected text (table row after mouse click) Selected text with mouseover highlight Informational text message Error text message Text that should be prominently displayed Table subheadings Text used to display a username Text used to display a password Smarty Template Syntax The Amigopod Visitor Management Appliance's user interface is built using the Smarty template engine. This template system separates the program logic and visual elements, enabling powerful yet flexible applications to be built. When customizing template code that is used within the user interface, you have the option of using Smarty template syntax within the template. Using the programming features built into Smarty, you can add your own logic to the template. You can also use predefined template functions and block functions to ensure a consistent user interface. Basic Template Syntax Following is a brief introduction to the usage of the Smarty template engine. For more information, please refer to the Smarty documentation at http://www.smarty.net/docs.php, or the Smarty Crash Course at http:/ /www.smarty.net/crashcourse.php. Text Substitution Simple text substitution in the templates may be done with the syntax {$variable}, as shown below: The current page's title is: {$title} Template File Inclusion To include the contents of another file, this can be done with the following syntax: {include file="public/included_file.html"} Note that Smarty template syntax found in these files is also processed, as if the file existed in place of the {include} tag itself. Amigopod 3.7 | Deployment Guide Reference | 365