[geeklog-hg] geeklog: minor tweak to the breadcrumb menu for consistency (hom...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Sep 28 09:42:05 EDT 2015


changeset 9624:1d3483c2be10
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/1d3483c2be10
user: Dirk Haun <dirk at haun-online.de>
date: Mon Sep 28 15:41:58 2015 +0200
description:
minor tweak to the breadcrumb menu for consistency (homepage link without the /index.php)

diffstat:

 system/lib-topic.php |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r a5198b021772 -r 1d3483c2be10 system/lib-topic.php
--- a/system/lib-topic.php	Thu Sep 24 15:13:28 2015 -0400
+++ b/system/lib-topic.php	Mon Sep 28 15:41:58 2015 +0200
@@ -1393,9 +1393,9 @@
                     $url = '';
                     $use_block = 'breadcrumb_item_nolink';
                 } else {
-                    $url = $_CONF['site_url'] . '/index.php';
+                    $url = $_CONF['site_url'] . '/';
                     if ($value['tid'] != TOPIC_ROOT) {
-                        $url .= '?topic=' . $value['tid'];
+                        $url .= 'index.php?topic=' . $value['tid'];
                     }
                     $use_block = 'breadcrumb_item';
                 }



More information about the geeklog-cvs mailing list