aboutsummaryrefslogtreecommitdiffstats
path: root/config/openbgpd/openbgpd_status.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-07-23 22:25:15 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-07-23 22:25:15 -0300
commit882482f4194ddf95b845ce8ac2f788046a533150 (patch)
treec794ac2809f84cd6d6dda5695bd9439108cae2f3 /config/openbgpd/openbgpd_status.php
parent43ef01f466bec747facbf250037c3b467dd8547e (diff)
downloadpfsense-packages-882482f4194ddf95b845ce8ac2f788046a533150.tar.gz
pfsense-packages-882482f4194ddf95b845ce8ac2f788046a533150.tar.bz2
pfsense-packages-882482f4194ddf95b845ce8ac2f788046a533150.zip
Revert partially c3bf54d658, anchor names didn't need to be changed
Diffstat (limited to 'config/openbgpd/openbgpd_status.php')
-rw-r--r--config/openbgpd/openbgpd_status.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php
index 245ed1c9..994d357d 100644
--- a/config/openbgpd/openbgpd_status.php
+++ b/config/openbgpd/openbgpd_status.php
@@ -80,7 +80,7 @@ function doCmdT($command, $limit = 0, $filter = "") {
function showCmdT($idx, $title, $command) {
echo "<p>\n";
- echo "<a name=\"" . $idx . "\">&nbsp;</a>\n";
+ echo "<a name=\"" . $title . "\">&nbsp;</a>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo "<tr><td class=\"listtopic\">" . $title . "</td></tr>\n";
echo "<tr><td class=\"listlr\"><pre>"; /* no newline after pre */
@@ -102,7 +102,7 @@ function listCmds() {
echo "<p>This status page includes the following information:\n";
echo "<ul width=\"700\">\n";
foreach ($commands as $idx => $command)
- echo "<li><strong><a href=\"#" . $idx . "\">" . $command[0] . "</a></strong></li>\n";
+ echo "<li><strong><a href=\"#" . $command[0] . "\">" . $command[0] . "</a></strong></li>\n";
echo "</ul>\n";
}