Commit 3824a1f9 authored by Nigel McNie's avatar Nigel McNie
Browse files

Part two of the patch to fix bug #1756. Removes the old template files and...

Part two of the patch to fix bug #1756. Removes the old template files and variable declaration for template directory in searchlib.
parent b1a4173f
......@@ -163,8 +163,6 @@ function build_admin_user_search_results($search, $offset, $limit, $sortby, $sor
$searchurl = get_config('wwwroot') . 'admin/users/search.php?' . join('&', $params)
. '&limit=' . $limit;
$templatedir = get_config('docroot') . 'theme/' . get_config('theme') . '/templates/admin/users/';
$cols = array(
'icon' => array('name' => '',
'template' => '<img src="' . get_config('wwwroot') . 'thumb.php?type=profileicon&size=40x40&id={$r.id}" alt="' . get_string('profileimage') . '" />'),
......
<img src="{$WWWROOT}thumb.php?type=profileicon&size=40x40&id={$r.id}" alt="{str tag=profileimage}" />
\ No newline at end of file
{$institutions[$r.institution]->displayname}
\ No newline at end of file
{if !$r.suspended || $r.suspended == 'f'}
<a class="suspend-user-link" href="{$WWWROOT}admin/users/suspend.php?id={$r.id}">{str tag=suspenduser section=admin}</a>
{/if}
\ No newline at end of file
<a href="{$WWWROOT}user/view.php?id={$r.id}">{$r.username}</a>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment