Revision fbe0c5ff
Added by Colin Fleming almost 11 years ago
usr/local/www/diag_dns.php | ||
---|---|---|
187 | 187 |
<tr><td valign="top"> |
188 | 188 |
<input name="host" type="text" class="formfld" id="host" size="20" value="<?=htmlspecialchars($host);?>" /> = |
189 | 189 |
</td> |
190 |
<td> |
|
191 | 190 |
<?php if ($resolved && $type) { ?> |
191 |
<td valign="top"> = </td><td> |
|
192 | 192 |
<font size="+1"> |
193 | 193 |
<?php |
194 | 194 |
$found = 0; |
usr/local/www/services_captiveportal.php | ||
---|---|---|
968 | 968 |
foreach($a_cert as $cert): |
969 | 969 |
$selected = ""; |
970 | 970 |
if ($pconfig['certref'] == $cert['refid']) |
971 |
$selected = "selected=\"selected\""; |
|
971 |
$selected = " selected=\"selected\"";
|
|
972 | 972 |
?> |
973 | 973 |
<option value="<?=$cert['refid'];?>"<?=$selected;?>><?=$cert['descr'];?></option> |
974 | 974 |
<?php endforeach; ?> |
... | ... | |
981 | 981 |
<tr> |
982 | 982 |
<td valign="top" class="vncell"><?=gettext("Disable HTTPS forwards"); ?></td> |
983 | 983 |
<td class="vtable"> |
984 |
<input name="nohttpsforwards" type="checkbox" class="formfld" id="nohttpsforwards" value="yes" <?php if ($pconfig['nohttpsforwards']) echo "checked"; ?>>
|
|
985 |
<strong><?=gettext("Disable HTTPS forwards"); ?></strong><br> |
|
984 |
<input name="nohttpsforwards" type="checkbox" class="formfld" id="nohttpsforwards" value="yes" <?php if ($pconfig['nohttpsforwards']) echo "checked=\"checked\""; ?> />
|
|
985 |
<strong><?=gettext("Disable HTTPS forwards"); ?></strong><br/>
|
|
986 | 986 |
<?=gettext("If this option is set, attempts to connect to SSL/HTTPS (Port 443) sites will not be forwarded to the captive portal. This prevents certificate errors from being presented to the user even if HTTPS logins are enabled. Users must attempt a connecton to an HTTP (Port 80) site to get forwarded to the captive portal. If HTTPS logins are enabled, the user will be redirected to the HTTPS login page."); ?></td> |
987 | 987 |
</tr> |
988 | 988 |
<tr> |
usr/local/www/services_captiveportal_hostname.php | ||
---|---|---|
137 | 137 |
echo "any <img src=\"/themes/{$g['theme']}/images/icons/icon_in.gif\" width=\"11\" height=\"11\" align=\"middle\" alt=\"in\" /> "; |
138 | 138 |
} |
139 | 139 |
if($ip['dir'] == "both") { |
140 |
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_pass.gif\" width=\"11\" height=\"11\" align=\"absmiddle\" alt=\"pass\" /> ";
|
|
140 |
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_pass.gif\" width=\"11\" height=\"11\" align=\"middle\" alt=\"pass\" /> "; |
|
141 | 141 |
} |
142 | 142 |
echo strtolower($ip['hostname']); |
143 | 143 |
if($ip['dir'] == "from") { |
144 |
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\" alt=\"in\" /> any";
|
|
144 |
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_in.gif\" width=\"11\" height=\"11\" align=\"middle\" alt=\"in\" /> any"; |
|
145 | 145 |
} |
146 | 146 |
|
147 | 147 |
?> |
usr/local/www/services_captiveportal_vouchers.php | ||
---|---|---|
513 | 513 |
"time, the voucher can be re-used from the same or a different computer. If the voucher " . |
514 | 514 |
"is used again from another computer, the previous session is stopped."); ?> |
515 | 515 |
<?php else: ?> |
516 |
<?=gettext("Enable Voucher support first using the checkbox above and hit Save at the bottom."); ?></td>
|
|
516 |
<?=gettext("Enable Voucher support first using the checkbox above and hit Save at the bottom."); ?> |
|
517 | 517 |
<?php endif;?> |
518 |
</td> |
|
518 | 519 |
</tr> |
519 | 520 |
<tr> |
520 | 521 |
<td valign="top" class="vncellreq"> |
usr/local/www/system_crlmanager.php | ||
---|---|---|
451 | 451 |
<?php echo gettext("No Certificates Found for this CRL."); ?> |
452 | 452 |
</td> |
453 | 453 |
<td class="list"> </td> |
454 |
</td>
|
|
454 |
</tr>
|
|
455 | 455 |
<?php else: |
456 | 456 |
foreach($crl['cert'] as $i => $cert): |
457 | 457 |
$name = htmlspecialchars($cert['descr']); |
... | ... | |
488 | 488 |
<?php echo gettext("No Certificates Found for this CA."); ?> |
489 | 489 |
</td> |
490 | 490 |
<td class="list"> </td> |
491 |
</td>
|
|
491 |
</tr>
|
|
492 | 492 |
<?php else: ?> |
493 | 493 |
<tr> |
494 | 494 |
<td class="listlr" colspan="3" align="center"> |
Also available in: Unified diff
Tidy up misc. XHTML
"diag_dns.php"
Tidy up "equals sign"
"services_captiveportal.php"
Add space to OPTION tag
Update HTML Boolean operator
Close INPUT and BR tags
"services_captiveportal_hostname.php"
Update ALIGN to MIDDLE
"services_captiveportal_vouchers.php"
Move closing TD tag outside the PHP IF statement
"system_crlmanager.php"
Close TR tags correctly