Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
1909da2a
Commit
1909da2a
authored
Jun 17, 2014
by
Dmitry Chernikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re `ownTemplate` => `template`
parent
7f0427d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Breadcrumbs.php
framework/widgets/Breadcrumbs.php
+2
-2
No files found.
framework/widgets/Breadcrumbs.php
View file @
1909da2a
...
@@ -142,9 +142,9 @@ class Breadcrumbs extends Widget
...
@@ -142,9 +142,9 @@ class Breadcrumbs extends Widget
throw
new
InvalidConfigException
(
'The "label" element is required for each link.'
);
throw
new
InvalidConfigException
(
'The "label" element is required for each link.'
);
}
}
if
(
isset
(
$link
[
'url'
]))
{
if
(
isset
(
$link
[
'url'
]))
{
return
strtr
(
isset
(
$link
[
'template'
])
?
$link
[
'
ownT
emplate'
]
:
$template
,
[
'{link}'
=>
Html
::
a
(
$label
,
$link
[
'url'
])]);
return
strtr
(
isset
(
$link
[
'template'
])
?
$link
[
'
t
emplate'
]
:
$template
,
[
'{link}'
=>
Html
::
a
(
$label
,
$link
[
'url'
])]);
}
else
{
}
else
{
return
strtr
(
isset
(
$link
[
'template'
])
?
$link
[
'
ownT
emplate'
]
:
$template
,
[
'{link}'
=>
$label
]);
return
strtr
(
isset
(
$link
[
'template'
])
?
$link
[
'
t
emplate'
]
:
$template
,
[
'{link}'
=>
$label
]);
}
}
}
}
}
}
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