summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-09-17 23:43:37 +0200
committerMichael Hamann <michael@content-space.de>2012-09-17 23:43:37 +0200
commit9aa38483ceebb96c92d630550c000fc324738d0e (patch)
treead4a26fe7e3af743b915c707e879615801f38905
parentff5a286c36a02bf81e4f8117cedda6803eaf7dfc (diff)
downloadrpg-9aa38483ceebb96c92d630550c000fc324738d0e.tar.gz
rpg-9aa38483ceebb96c92d630550c000fc324738d0e.tar.bz2
Fix link names of start pages in sitemap/index FS#2605
-rw-r--r--inc/html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index f4010b447..f4e6af663 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -863,7 +863,8 @@ function html_list_index($item){
$ret .= $base;
$ret .= '</strong></a>';
}else{
- $ret .= html_wikilink(':'.$item['id']);
+ // default is noNSorNS($id), but we want noNS($id) when useheading is off FS#2605
+ $ret .= html_wikilink(':'.$item['id'], useHeading('navigation') ? null : noNS($item['id']));
}
return $ret;
}