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
75dc290a
Commit
75dc290a
authored
Nov 13, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #1193
parent
36c28bee
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
main.php
apps/advanced/backend/views/layouts/main.php
+1
-1
main.php
apps/advanced/frontend/views/layouts/main.php
+1
-1
main.php
apps/basic/views/layouts/main.php
+1
-1
main.php
extensions/gii/views/layouts/main.php
+1
-1
No files found.
apps/advanced/backend/views/layouts/main.php
View file @
75dc290a
...
@@ -38,7 +38,7 @@ AppAsset::register($this);
...
@@ -38,7 +38,7 @@ AppAsset::register($this);
$menuItems
[]
=
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
'url'
=>
[
'/site/logout'
]];
$menuItems
[]
=
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
'url'
=>
[
'/site/logout'
]];
}
}
echo
Nav
::
widget
([
echo
Nav
::
widget
([
'options'
=>
[
'class'
=>
'navbar-nav
pull
-right'
],
'options'
=>
[
'class'
=>
'navbar-nav
navbar
-right'
],
'items'
=>
$menuItems
,
'items'
=>
$menuItems
,
]);
]);
NavBar
::
end
();
NavBar
::
end
();
...
...
apps/advanced/frontend/views/layouts/main.php
View file @
75dc290a
...
@@ -42,7 +42,7 @@ AppAsset::register($this);
...
@@ -42,7 +42,7 @@ AppAsset::register($this);
$menuItems
[]
=
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
'url'
=>
[
'/site/logout'
]];
$menuItems
[]
=
[
'label'
=>
'Logout ('
.
Yii
::
$app
->
user
->
identity
->
username
.
')'
,
'url'
=>
[
'/site/logout'
]];
}
}
echo
Nav
::
widget
([
echo
Nav
::
widget
([
'options'
=>
[
'class'
=>
'navbar-nav
pull
-right'
],
'options'
=>
[
'class'
=>
'navbar-nav
navbar
-right'
],
'items'
=>
$menuItems
,
'items'
=>
$menuItems
,
]);
]);
NavBar
::
end
();
NavBar
::
end
();
...
...
apps/basic/views/layouts/main.php
View file @
75dc290a
...
@@ -30,7 +30,7 @@ AppAsset::register($this);
...
@@ -30,7 +30,7 @@ AppAsset::register($this);
],
],
]);
]);
echo
Nav
::
widget
([
echo
Nav
::
widget
([
'options'
=>
[
'class'
=>
'navbar-nav
pull
-right'
],
'options'
=>
[
'class'
=>
'navbar-nav
navbar
-right'
],
'items'
=>
[
'items'
=>
[
[
'label'
=>
'Home'
,
'url'
=>
[
'/site/index'
]],
[
'label'
=>
'Home'
,
'url'
=>
[
'/site/index'
]],
[
'label'
=>
'About'
,
'url'
=>
[
'/site/about'
]],
[
'label'
=>
'About'
,
'url'
=>
[
'/site/about'
]],
...
...
extensions/gii/views/layouts/main.php
View file @
75dc290a
...
@@ -26,7 +26,7 @@ NavBar::begin([
...
@@ -26,7 +26,7 @@ NavBar::begin([
'options'
=>
[
'class'
=>
'navbar-inverse navbar-fixed-top'
],
'options'
=>
[
'class'
=>
'navbar-inverse navbar-fixed-top'
],
]);
]);
echo
Nav
::
widget
([
echo
Nav
::
widget
([
'options'
=>
[
'class'
=>
'nav navbar-nav
pull
-right'
],
'options'
=>
[
'class'
=>
'nav navbar-nav
navbar
-right'
],
'items'
=>
[
'items'
=>
[
[
'label'
=>
'Home'
,
'url'
=>
[
'default/index'
]],
[
'label'
=>
'Home'
,
'url'
=>
[
'default/index'
]],
[
'label'
=>
'Help'
,
'url'
=>
'http://www.yiiframework.com/doc/guide/topics.gii'
],
[
'label'
=>
'Help'
,
'url'
=>
'http://www.yiiframework.com/doc/guide/topics.gii'
],
...
...
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