aboutsummaryrefslogtreecommitdiffstats
path: root/themes/elegant/local_head.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-01-25 23:12:34 +0000
committerflop25 <flop25@piwigo.org>2014-01-25 23:12:34 +0000
commit948adde84006257791e5e7239c2c159eeac0d872 (patch)
tree3991e82b9d38e3a42b7d2390a76e836dbf805a1d /themes/elegant/local_head.tpl
parented9bdd861baf6f4e6c6b9df39e70591e26b7b3ad (diff)
bug:2700 implementation of jBreadCrumb
comments appreciated on the bugtracker git-svn-id: http://piwigo.org/svn/trunk@26971 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/elegant/local_head.tpl15
1 files changed, 14 insertions, 1 deletions
diff --git a/themes/elegant/local_head.tpl b/themes/elegant/local_head.tpl
index 8c2b4045c..a342df6b8 100644
--- a/themes/elegant/local_head.tpl
+++ b/themes/elegant/local_head.tpl
@@ -1,11 +1,24 @@
+{html_style}
+.browsePath ul li span a:before, .browsePath ul li.last:before
+{ldelim}
+ content: "{$LEVEL_SEPARATOR}";
+}
+{/html_style}
{footer_script}
var p_main_menu = "{$elegant.p_main_menu}", p_pict_descr = "{$elegant.p_pict_descr}", p_pict_comment = "{$elegant.p_pict_comment}";
+ jQuery(document).ready(function()
+ {
+ jQuery(".browsePath").jBreadCrumb();
+ })
{/footer_script}
{if $BODY_ID=='thePicturePage'}
{combine_script id='elegant.scripts_pp' load='footer' require='jquery' path='themes/elegant/scripts_pp.js'}
{else}
{combine_script id='elegant.scripts' load='footer' require='jquery' path='themes/elegant/scripts.js'}
{/if}
- <!--[if lt IE 8]>
+{combine_script id='jquery.jBreadCrumb' load='footer' require='jquery' path='themes/elegant/js/jquery.jBreadCrumb.js'}
+
+
+<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/elegant/fix-ie7.css">
<![endif]-->