Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
05aafb1e
Commit
05aafb1e
authored
Sep 26, 2007
by
Richard Mansfield
Committed by
Nigel McNie
Oct 17, 2007
Browse files
Use institution displayname
parent
13fcc136
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/lib/searchlib.php
View file @
05aafb1e
...
...
@@ -181,6 +181,7 @@ function build_admin_user_search_results($search) {
range
(
max
(
$range
,
$lastpage
-
$range
),
$lastpage
)));
$smarty
->
assign_by_ref
(
'results'
,
$results
);
$smarty
->
assign_by_ref
(
'pagenumbers'
,
$pagenumbers
);
$smarty
->
assign_by_ref
(
'institutions'
,
get_records_assoc
(
'institution'
,
''
,
''
,
''
,
'name,displayname'
));
return
$smarty
->
fetch
(
'admin/users/resulttable.tpl'
);
}
...
...
htdocs/theme/default/templates/admin/users/resulttable.tpl
View file @
05aafb1e
...
...
@@ -18,7 +18,7 @@
<td><a
href=
"
{
$WWWROOT
}
user/view.php?id=
{
$r.id
}
"
>
{
$r.username
}
</a></td>
<td>
{
$r.firstname
}
{
$r.lastname
}
</td>
<td>
{
$r.email
}
</td>
<td>
{
$
r.
institution
}
</td>
<td>
{
$institution
s
[
$r.institution
]->
displayname
}
</td>
<td><a
class=
"suspend-user-link"
href=
"
{
$WWWROOT
}
admin/users/suspend.php?id=
{
$r.id
}
"
>
{
str
tag
=
suspenduser
section
=
admin
}
</a></td>
</tr>
{/
foreach
}
...
...
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