Commit 4a1d9f45 authored by Nigel McNie's avatar Nigel McNie
Browse files
parents 4d9e98b7 61961e7f
......@@ -418,6 +418,7 @@ if ($suspended) {
}
$smarty->assign('suspendform', $suspendform);
$smarty->assign('siteform', $siteform);
$smarty->assign('institutions', count($allinstitutions) > 1);
$smarty->assign('institutionform', $institutionform);
if ($id != $USER->get('id') && is_null($USER->get('parentuser'))) {
......
......@@ -1453,24 +1453,6 @@ function admin_nav() {
'title' => get_string('institutions', 'admin'),
'weight' => 50,
),
array(
'path' => 'configusers/institutionusers',
'url' => 'admin/users/institutionusers.php',
'title' => get_string('institutionmembers', 'admin'),
'weight' => 60,
),
array(
'path' => 'configusers/institutionstaff',
'url' => 'admin/users/institutionstaff.php',
'title' => get_string('institutionstaff', 'admin'),
'weight' => 70,
),
array(
'path' => 'configusers/institutionadmins',
'url' => 'admin/users/institutionadmins.php',
'title' => get_string('institutionadmins', 'admin'),
'weight' => 80,
),
array(
'path' => 'configusers/adduser',
'url' => 'admin/users/add.php',
......
......@@ -16,8 +16,10 @@
{$suspendform}
<h3>{str tag="siteaccountsettings" section="admin"}</h3>
{$siteform}
{if ($institutions)}
<h3>{str tag="institutionsettings" section="admin"}</h3>
{$institutionform}
{/if}
</div>
{include file="columnfullend.tpl"}
{include file="footer.tpl"}
......
Markdown is supported
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