Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5440a825
authored
2011-04-04 15:44:21 +0000
by
Chris Boden
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Ability for cbv_admin to login from admin panel
1 parent
6d755f9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
com/UserManager/views/edit_user.php
com/UserManager/views/edit_user.php
View file @
5440a82
...
...
@@ -65,7 +65,7 @@ use Exception, StdClass;
<div
id=
"icon-users"
class=
"icon32"
><br
/></div>
<h2>
Editing:
<?php
echo
$name
;
?>
<?php
if
(
$role
==
"member"
&&
!
empty
(
$member_id
))
{
echo
'<span class="admin-member-id"> ('
.
$member_id
.
')</span>'
;
}
?>
<?php
if
(
$suser
->
getRole
()
==
'administrator'
)
:
?>
<?php
if
(
in_array
(
$suser
->
getRole
(),
Array
(
'administrator'
,
'cbv_admin'
))
)
:
?>
(
<a
href=
"
<?php
echo
get_author_posts_url
(
$user
->
ID
);
?>
?sulogin=1"
>
Login
</a>
)
<?php
endif
;
?>
</h2>
...
...
Please
register
or
sign in
to post a comment