Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PHP-Chat
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SST
PHP-Chat
Commits
b5755132
Commit
b5755132
authored
Jul 18, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adminmenü nur für Admins...
parent
2c095033
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
newChat.php
newChat.php
+8
-1
No files found.
newChat.php
View file @
b5755132
...
...
@@ -43,9 +43,16 @@ if(isset($_GET['logoff'])){
<a
class=
"navbar-brand"
href=
"#"
>
PHP-Chat
</a>
</div>
<div
class=
"collapse navbar-collapse"
id=
"mainnavbar"
>
<?php
if
(
$users
[
'admin'
]
>=
2
)
{
?>
<ul
class=
"nav navbar-nav"
>
<li><a
href=
"
#
"
>
Admin-Menü
</a></li>
<li><a
href=
"
admin.php"
target=
"_blank"
onclick=
"fenster=window.open(this.href, 'mods', 'width=800,height=670');return false;
"
>
Admin-Menü
</a></li>
</ul>
<?php
}
?>
<ul
class=
"nav navbar-nav navbar-right"
>
<li
id=
"LoginBtn"
><a
href=
"newChat.php?logoff=true"
><span
class=
"glyphicon glyphicon-log-out"
></span>
Abmelden
</a></li>
</ul>
...
...
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