Révision b3733e10
Ajouté par Colin Fleming il y a presque 10 ans
usr/local/www/help.php | ||
---|---|---|
12 | 12 |
$helppages = array( |
13 | 13 |
/* These pages are confirmed to work and have usable content */ |
14 | 14 |
'index.php' => 'https://doc.pfsense.org/index.php/Dashboard', |
15 |
'license.php' => 'https://www.pfsense.org/index.php@option=com_content&task=view&id=42&Itemid=62.html',
|
|
15 |
'license.php' => 'https://www.pfsense.org/index.php@option=com_content&task=view&id=42&Itemid=62.html',
|
|
16 | 16 |
'miniupnpd.xml' => 'https://doc.pfsense.org/index.php/What_is_UPNP%3F', |
17 | 17 |
'status_upnp.php' => 'https://doc.pfsense.org/index.php/What_is_UPNP%3F', |
18 | 18 |
'firewall_virtual_ip.php' => 'https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F', |
usr/local/www/pkg_edit.php | ||
---|---|---|
237 | 237 |
if($pkg['aftersaveredirect'] <> "") { |
238 | 238 |
pfSenseHeader($pkg['aftersaveredirect']); |
239 | 239 |
} elseif(!$pkg['adddeleteeditpagefields']) { |
240 |
pfSenseHeader("pkg_edit.php?xml={$xml}&id=0"); |
|
240 |
pfSenseHeader("pkg_edit.php?xml={$xml}&id=0");
|
|
241 | 241 |
} elseif(!$pkg['preoutput']) { |
242 | 242 |
pfSenseHeader("pkg.php?xml=" . $xml); |
243 | 243 |
} |
usr/local/www/services_dnsmasq.php | ||
---|---|---|
391 | 391 |
<table border="0" cellspacing="0" cellpadding="1" summary="icons"> |
392 | 392 |
<tr> |
393 | 393 |
<td valign="middle"><a href="services_dnsmasq_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" alt="edit" /></a></td> |
394 |
<td><a href="services_dnsmasq.php?type=host&act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this host?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" /></a></td> |
|
394 |
<td><a href="services_dnsmasq.php?type=host&act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this host?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" /></a></td>
|
|
395 | 395 |
</tr> |
396 | 396 |
</table> |
397 | 397 |
</tr> |
... | ... | |
472 | 472 |
<?=htmlspecialchars($doment['descr']);?> |
473 | 473 |
</td> |
474 | 474 |
<td valign="middle" class="list nowrap"> <a href="services_dnsmasq_domainoverride_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" alt="edit" /></a> |
475 |
<a href="services_dnsmasq.php?act=del&type=doverride&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this domain override?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" /></a></td> |
|
475 |
<a href="services_dnsmasq.php?act=del&type=doverride&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this domain override?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" /></a></td>
|
|
476 | 476 |
</tr> |
477 | 477 |
<?php $i++; endforeach; ?> |
478 | 478 |
<tr style="display:none"><td></td></tr> |
usr/local/www/shortcuts.inc | ||
---|---|---|
78 | 78 |
switch ($shortcut_section) { |
79 | 79 |
case "openvpn": |
80 | 80 |
if (!empty($service['mode']) && is_numeric($service['id'])) |
81 |
$link = "vpn_openvpn_{$service['mode']}.php?act=edit&id={$service['id']}"; |
|
81 |
$link = "vpn_openvpn_{$service['mode']}.php?act=edit&id={$service['id']}";
|
|
82 | 82 |
else |
83 | 83 |
$link = $shortcuts[$shortcut_section]['main']; |
84 | 84 |
break; |
usr/local/www/shortcuts/pkg_upnp.inc | ||
---|---|---|
3 | 3 |
global $shortcuts; |
4 | 4 |
|
5 | 5 |
$shortcuts['upnp'] = array(); |
6 |
$shortcuts['upnp']['main'] = "pkg_edit.php?xml=miniupnpd.xml&id=0"; |
|
6 |
$shortcuts['upnp']['main'] = "pkg_edit.php?xml=miniupnpd.xml&id=0";
|
|
7 | 7 |
$shortcuts['upnp']['log'] = "diag_logs_routing.php"; |
8 | 8 |
$shortcuts['upnp']['status'] = "status_upnp.php"; |
9 | 9 |
$shortcuts['upnp']['service'] = "miniupnpd"; |
usr/local/www/system_certmanager.php | ||
---|---|---|
403 | 403 |
write_config(); |
404 | 404 |
|
405 | 405 |
if ($userid) |
406 |
pfSenseHeader("system_usermanager.php?act=edit&id={$userid}"); |
|
406 |
pfSenseHeader("system_usermanager.php?act=edit&id={$userid}");
|
|
407 | 407 |
} |
408 | 408 |
} |
409 | 409 |
|
usr/local/www/system_crlmanager.php | ||
---|---|---|
598 | 598 |
<img src="/themes/<?= $g['theme'];?>/images/icons/icon_e.gif" title="<?=gettext("Edit CRL") . " " . htmlspecialchars($tmpcrl['descr']);?>" alt="<?=gettext("Edit CRL") . " " . htmlspecialchars($tmpcrl['descr']);?>" width="17" height="17" border="0" /> |
599 | 599 |
</a> |
600 | 600 |
<?php else: ?> |
601 |
<a href="system_crlmanager.php?act=editimported&id=<?=$tmpcrl['refid'];?>"> |
|
601 |
<a href="system_crlmanager.php?act=editimported&id=<?=$tmpcrl['refid'];?>">
|
|
602 | 602 |
<img src="/themes/<?= $g['theme'];?>/images/icons/icon_e.gif" title="<?=gettext("Edit CRL") . " " . htmlspecialchars($tmpcrl['descr']);?>" alt="<?=gettext("Edit CRL") . " " . htmlspecialchars($tmpcrl['descr']);?>" width="17" height="17" border="0" /> |
603 | 603 |
</a> |
604 | 604 |
<?php endif; ?> |
usr/local/www/system_groupmanager_addprivs.php | ||
---|---|---|
110 | 110 |
$retval = write_config(); |
111 | 111 |
$savemsg = get_std_save_message($retval); |
112 | 112 |
|
113 |
pfSenseHeader("system_groupmanager.php?act=edit&id={$groupid}"); |
|
113 |
pfSenseHeader("system_groupmanager.php?act=edit&id={$groupid}");
|
|
114 | 114 |
exit; |
115 | 115 |
} |
116 | 116 |
} |
usr/local/www/system_usermanager_addprivs.php | ||
---|---|---|
99 | 99 |
$savemsg = get_std_save_message($retval); |
100 | 100 |
conf_mount_ro(); |
101 | 101 |
|
102 |
pfSenseHeader("system_usermanager.php?act=edit&id={$userid}"); |
|
102 |
pfSenseHeader("system_usermanager.php?act=edit&id={$userid}");
|
|
103 | 103 |
|
104 | 104 |
exit; |
105 | 105 |
} |
Formats disponibles : Unified diff
Tidy up Ampersand XHTML
Deprecate Ampersand in Anchor tags