Commit 80b50fea authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Edit users/staff/admins buttons added to institutions page for access by site admins

parent b4f2a6e4
......@@ -305,6 +305,9 @@ $string['institutionadministration'] = 'Institution Administration';
$string['institutionmembers'] = 'Institution Members';
$string['notadminforinstitution'] = 'You are not an administrator for that institution';
$string['institutionmemberspagedescription'] = 'On this page you can see users who have requested membership of your institution and add them as members. You can also remove users from your institution, and invite users to join.';
$string['editmembers'] = 'Edit Members';
$string['editstaff'] = 'Edit Staff';
$string['editadmins'] = 'Edit Admins';
$string['userstodisplay'] = 'Users to display:';
$string['institutionusersrequesters'] = 'People who have requested institution membership';
......@@ -845,6 +845,19 @@ p {
display: block !important;
input#admininstitution_add {
float: left;
.institutioneditbuttons {
height: 25px;
.institutionedituserbuttons {
float: right;
.institutionedituserbuttons form {
display: inline;
acronym {
color: #474220;
border-bottom: 1px dotted #d4d1c0;
......@@ -54,11 +54,26 @@
<div class="institutioneditbuttons">
{if $siteadmin}
<form action="" method="post">
<input type="submit" class="submit" name="add" value="{str tag="addinstitution" section="admin"}" id="admininstitution_add">
{if count($institutions) > 1}
<div class="institutionedituserbuttons">
<form action="{$WWWROOT}admin/users/institutionusers.php" method="post">
<input type="submit" class="submit" name="editmembers" value="{str tag="editmembers" section="admin"}">
<form action="{$WWWROOT}admin/users/institutionstaff.php" method="post">
<input type="submit" class="submit" name="editstaff" value="{str tag="editstaff" section="admin"}">
<form action="{$WWWROOT}admin/users/institutionadmins.php" method="post">
<input type="submit" class="submit" name="editadmins" value="{str tag="editadmins" section="admin"}">
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