Dell Powerconnect W-ClearPass Hardware Appliances Deployment Manual page 195

W-clearpass guest 6.0 deployment guide
Hide thumbs Also See for Powerconnect W-ClearPass Hardware Appliances:
Table of Contents

Advertisement

This section is followed by three other sections: the body, the header and the footer. Each section must be written
in HTML. There is provision in each section for the insertion of multiple content items such as logos.
You are able to add Smarty template functions and blocks to your code. These act as placeholders to be substituted
when the template is actually used.
See
"Smarty Template Syntax" on page 264
You are able to use an {if} statement to define a single print template that caters for multiple situations. For
example if you want to customize the print template to display different content depending on the action that has
been taken, the following code could be used:
{if $action == "create"}
<p>
Your guest account has been created and is now ready to use!
</p>
<ul>
{if $site_ssid}
<li>Connect to the wireless network named: <b>{$site_ssid}</b></li>
{/if}
<li>Make sure your network adapter is set to 'DHCP - Obtain an IP address Automatically'.
</li>
<li>Open your Web browser.</li>
<li>Enter your username and password in the spaces provided.</li>
</ul>
{elseif $action == "edit"}
<p>
Your guest account has been updated.
</p>
{elseif $action == "delete"}
{/if}
<table {$table_class_content} width="500">
<tbody>
{if $u.guest_name}
<tr>
<th class="nwaLeft">guest name</th>
<td class="nwaBody">{$u.guest_name}</td>
</tr>
{/if}
If this code is placed in the User Account HTML section it will cater for the create, edit and delete options.
Dell Networking W-ClearPass Guest 6.0 | Deployment Guide
for further information on Smarty template syntax.
Creating New Print Templates | 195

Advertisement

Table of Contents
loading

This manual is also suitable for:

Networking w-clearpass guest 6.0

Table of Contents