Dell PowerConnect W Clearpass 100 Software 3.9 Deployment Guide - Page 443
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 443 highlights
Table 39 Formatting Classes (Continued) nwaTop Table Header Table heading at top nwaLeft Table Header Left column of table nwaRight Table Header Right column of table nwaBottom Table Header Table heading at bottom nwaBody Table Cell Style to apply to table cell containing data nwaHighlight Table Cell Highlighted text (used for mouseover) nwaSelected Table Cell Selected text (table row after mouse click) nwaSelectedHighlight Table Cell Selected text with mouseover highlight nwaInfo All Informational text message nwaError All Error text message nwaImportant All Text that should be prominently displayed Table subheadings nwaUsername All Text used to display a username nwaPassword All Text used to display a password Smarty Template Syntax ClearPass Guest'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. ClearPass Guest 3.9 | Deployment Guide Reference | 443