summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_vouchers.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-12-26 19:08:10 -0500
committerChris Buechler <cmb@pfsense.org>2009-12-26 19:08:10 -0500
commitb4c3c53afbf5faa862e622ec24ea86d95cc713dd (patch)
tree0e37fb10bca117f2f97c814b84eb8a865e325ffd /usr/local/www/services_captiveportal_vouchers.php
parent86ac483ca401e82bd0c82e29b7429f729cf3f9cc (diff)
downloadpfsense-b4c3c53afbf5faa862e622ec24ea86d95cc713dd.zip
pfsense-b4c3c53afbf5faa862e622ec24ea86d95cc713dd.tar.gz
display + image, clean up white space
Diffstat (limited to 'usr/local/www/services_captiveportal_vouchers.php')
-rw-r--r--usr/local/www/services_captiveportal_vouchers.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php
index c59f3ae..b0e08d3 100644
--- a/usr/local/www/services_captiveportal_vouchers.php
+++ b/usr/local/www/services_captiveportal_vouchers.php
@@ -294,10 +294,12 @@ function enable_change(enable_change) {
<?php $i++; endforeach; ?>
<tr>
<td class="list" colspan="4"></td>
- <?php if ($pconfig['enable']): ?>
- <td class="list"> <a href="services_captiveportal_vouchers_edit.php"><img src="plus.gif" title="add voucher" width="17" height="17" border="0" alt="add voucher"></a></td>
- <?php endif;?>
- </tr>
+ <?php
+ if ($pconfig['enable']) {
+ echo "<td class=\"list\"> <a href=\"services_captiveportal_vouchers_edit.php\"><img src=\"/themes/{$g['theme']}/images/icons/icon_plus.gif\" title=\"add voucher\" width=\"17\" height=\"17\" border=\"0\" alt=\"add voucher\"></a></td>";
+ }
+ ?>
+ </tr>
</table>
<?php if ($pconfig['enable']): ?>
Create, generate and activate Rolls with Vouchers that allow access through the
@@ -358,20 +360,20 @@ Enable Voucher support first using the checkbox above and hit Save at the bottom
<br>
Magic number stored in every voucher. Verified during voucher check. Size depends on how many bits are left by Roll+Ticket+Checksum bits. If all bits are used, no magic number will be used and checked.</td>
</tr>
- <tr>
+ <tr>
<td width="22%" valign="top" class="vncellreq">Save Interval</td>
<td width="78%" class="vtable">
<input name="saveinterval" type="text" class="formfld" id="saveinterval" size="4" value="<?=htmlspecialchars($pconfig['saveinterval']);?>">
Minutes<br>
The list of active and used vouchers can be stored in the system's configuration file once every x minutes to survive power outages. No save is done if no new vouchers have been activated. Enter 0 to never write runtime state to XML config.</td>
</tr>
- <tr>
+ <tr>
<td width="22%" valign="top" class="vncellreq">Invalid Voucher Message</td>
<td width="78%" class="vtable">
<input name="msgnoaccess" type="text" class="formfld" id="msgnoaccess" size="80" value="<?=htmlspecialchars($pconfig['msgnoaccess']);?>">
<br>Error message displayed for invalid vouchers on captive portal error page ($PORTAL_MESSAGE$).</td>
</tr>
- <tr>
+ <tr>
<td width="22%" valign="top" class="vncellreq">Expired Voucher Message</td>
<td width="78%" class="vtable">
<input name="msgexpired" type="text" class="formfld" id="msgexpired" size="80" value="<?=htmlspecialchars($pconfig['msgexpired']);?>">
OpenPOWER on IntegriCloud