institutionsresults.tpl 2.3 KB
Newer Older
1
2
{foreach from=$institutions item=institution}
        <tr class="{cycle values='r0,r1'}">
3
                <td><a href="{$WWWROOT}institution/index.php?institution={$institution->name}">{$institution->displayname}</a></td>
4
5
6
7
8
9
10
11
12
13
                <td class="center">
                  {if $institution->name != 'mahara'}
                        <a href="{$WWWROOT}admin/users/institutionusers.php?usertype=members&amp;institution={$institution->name}">{$institution->members}</a>
                  {else}
                        <a href="{$WWWROOT}admin/users/search.php?institution=mahara">{$institution->members}</a>
                  {/if}
                </td>
                <td class="center">{$institution->maxuseraccounts}</td>
                <td class="center"><a href="{$WWWROOT}admin/users/institutionstaff.php?institution={$institution->name}">{$institution->staff}</a></td>
                <td class="center"><a href="{$WWWROOT}admin/users/institutionadmins.php?institution={$institution->name}">{$institution->admins}</a></td>
14
15
                <td class="center">{if $institution->suspended}<span class="suspended">{str tag="suspendedinstitution" section=admin}</span>{/if}</td>
                <td class="controls">
16
17
                        <form action="" method="post">
                                <input type="hidden" name="i" value="{$institution->name}">
18
                                <input type="hidden" name="edit" value=1>
19
                                <input type="image" name="edit" title="{str tag="edit"}" src="{theme_url filename="images/btn_edit.png"}" alt="{str(tag=editspecific arg1=$institution->displayname)|escape:html|safe}">
20
                        </form>
21
22
23
24
                        {if $siteadmin && !$institution->members && $institution->name != 'mahara'}
                        <form action="" method="post">
                                <input type="hidden" name="i" value="{$institution->name}">
                                <input type="hidden" name="delete" value="1">
25
                                <input type="image" name="delete" title="{str tag="delete"}" src="{theme_url filename="images/btn_deleteremove.png"}" alt="{str(tag=deletespecific arg1=$institution->displayname)|escape:html|safe}">
26
27
                        </form>
                        {/if}
28
29
30
                </td>
        </tr>
{/foreach}