Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CSU
tweeki
Commits
f4f6c158
Commit
f4f6c158
authored
Dec 17, 2019
by
Tobias Haider
Browse files
allow return as divider in navigational messages, fixes #2
parent
a85e1da3
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/TweekiTemplate.php
View file @
f4f6c158
...
...
@@ -855,7 +855,7 @@ class TweekiTemplate extends BaseTemplate {
public
function
buildItems
(
$items
,
$options
,
$context
)
{
$buttons
=
[];
$customItems
=
[];
$navbarItems
=
explode
(
',
'
,
$items
);
$navbarItems
=
preg_split
(
'/[\n,]/
'
,
$items
);
foreach
(
$navbarItems
as
$navbarItem
)
{
$navbarItem
=
trim
(
$navbarItem
);
$navbarItem
=
$this
->
renderNavigation
(
$navbarItem
);
...
...
Write
Preview
Supports
Markdown
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