Smarty Template Syntax; Basic Template Syntax; Text Substitution; Template File Inclusion - Aruba Networks PowerConnect W Clearpass 100 Software Deployment Manual

3.7 deployment guide
Hide thumbs Also See for PowerConnect W Clearpass 100 Software:
Table of Contents

Advertisement

Table 30 Formatting Classes (Continued)
nwaTop
nwaLeft
nwaRight
nwaBottom
nwaBody
nwaHighlight
nwaSelected
nwaSelectedHighlight
nwaInfo
nwaError
nwaImportant
nwaUsername
nwaPassword

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
/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
Table Header
Table heading at top
Table Header
Left column of table
Table Header
Right column of table
Table Header
Table heading at bottom
Table Cell
Style to apply to table cell containing data
Table Cell
Highlighted text (used for mouseover)
Table Cell
Selected text (table row after mouse click)
Table Cell
Selected text with mouseover highlight
All
Informational text message
All
Error text message
All
Text that should be prominently displayed
Table subheadings
All
Text used to display a username
All
Text used to display a password
http:/
Reference |
365

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PowerConnect W Clearpass 100 Software and is the answer not in the manual?

This manual is also suitable for:

Amigopod 3.7

Table of Contents