[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/themes/drupal5/oxygen
From: Niels van Mourik <niels () shodan ! nl>
Date: 2007-02-20 18:49:12
Message-ID: 1171997352.554408.6419.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 635718 by nielsvm:
Always put "Home" as the root item in the breadcrumb
M +11 -2 page.tpl.php
--- trunk/www/themes/drupal5/oxygen/page.tpl.php #635717:635718
@@ -139,9 +139,18 @@
$ptitle = $title;
- }
+ }
- echo "$breadcrumb / $ptitle</li>\n";
+ //In case the breadcrumb is empty we provide a link to home
+ if (!empty($breadcrumb)) {
+
+ echo "$breadcrumb / $ptitle</li>\n";
+
+ } else {
+
+ echo "<a href=\"/\">Home</a></li>\n";
+
+ }
?>
</ul>
</div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic