Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
valencia
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
9
Issues
9
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
valencia
Commits
52872a55
Commit
52872a55
authored
Nov 07, 2014
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in valencia_breadcrumb_menu (ul tag opened at the wrong moment)
parent
0e4be613
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
template.php
template.php
+1
-1
No files found.
template.php
View file @
52872a55
...
...
@@ -310,7 +310,6 @@ function valencia_breadcrumb_menu($vars) {
// If is the first level link and it has children,
// we start to create the breadcrumb
if
(
!
empty
(
$link
[
'#below'
])
&&
$link
[
'#original_link'
][
'depth'
]
===
'1'
)
{
$html
.=
'<ul class="breadcrumb">'
;
// Now we need to attach second level menu
$sub_menu
=
theme
(
'links__system_main_menu'
,
array
(
'links'
=>
$link
[
'#below'
],
...
...
@@ -321,6 +320,7 @@ function valencia_breadcrumb_menu($vars) {
// Second level link: could be the active one, or only a
// breadcrumb for third level (or both)
else
if
(
$link
[
'#original_link'
][
'depth'
]
===
'2'
)
{
$html
.=
'<ul class="breadcrumb">'
;
// If it hasn't child, is the active link
if
(
empty
(
$link
[
'#below'
]))
{
$link_title
=
$link
[
'#title'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment