Revision e19e4cfb
Added by Carlos Eduardo Ramos almost 15 years ago
usr/local/www/status_captiveportal.php | ||
---|---|---|
51 | 51 |
exit; |
52 | 52 |
} |
53 | 53 |
|
54 |
$pgtitle = array("Status: Captive portal");
|
|
54 |
$pgtitle = array(gettext("Status: Captive portal"));
|
|
55 | 55 |
|
56 | 56 |
include("head.inc"); |
57 | 57 |
|
... | ... | |
107 | 107 |
<tr><td class="tabnavtbl"> |
108 | 108 |
<?php |
109 | 109 |
$tab_array = array(); |
110 |
$tab_array[] = array("Active Users", true, "status_captiveportal.php");
|
|
111 |
$tab_array[] = array("Active Vouchers", false, "status_captiveportal_vouchers.php");
|
|
112 |
$tab_array[] = array("Voucher Rolls", false, "status_captiveportal_voucher_rolls.php");
|
|
113 |
$tab_array[] = array("Test Vouchers", false, "status_captiveportal_test.php");
|
|
110 |
$tab_array[] = array(gettext("Active Users"), true, "status_captiveportal.php");
|
|
111 |
$tab_array[] = array(gettext("Active Vouchers"), false, "status_captiveportal_vouchers.php");
|
|
112 |
$tab_array[] = array(gettext("Voucher Rolls"), false, "status_captiveportal_voucher_rolls.php");
|
|
113 |
$tab_array[] = array(gettext("Test Vouchers"), false, "status_captiveportal_test.php");
|
|
114 | 114 |
display_top_tabs($tab_array); |
115 | 115 |
?> |
116 | 116 |
</td></tr> |
... | ... | |
141 | 141 |
<td class="listr"><?php if ($cpent[5]) echo htmlspecialchars(date("m/d/Y H:i:s", $cpent[5]));?></td> |
142 | 142 |
<?php endif; ?> |
143 | 143 |
<td valign="middle" class="list" nowrap> |
144 |
<a href="?order=<?=$_GET['order'];?>&showact=<?=$_GET['showact'];?>&act=del&id=<?=$cpent[1];?>" onclick="return confirm('Do you really want to disconnect this client?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
|
|
144 |
<a href="?order=<?=$_GET['order'];?>&showact=<?=$_GET['showact'];?>&act=del&id=<?=$cpent[1];?>" onclick="return confirm(gettext('Do you really want to disconnect this client?'))"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
|
|
145 | 145 |
</tr> |
146 | 146 |
<?php endforeach; ?> |
147 | 147 |
</table> |
Also available in: Unified diff
Implement gettext() calls on status_captiveportal.php