changerole.tpl 1.15 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{include file="header.tpl"}
{include file="sidebar.tpl"}

{include file="columnleftstart.tpl"}
                <h2>{$group->name|escape}</h2>

{include file="group/tabstart.tpl" current="members"}

                <div class="group-info-para"><h3>{$subtitle}</h3></div>
                <div class="group-info-para">{str tag=currentrole section=group}: {$roles[$userrole]->display}</div>
                <div class="group-info-para">
                <form method="post">
                  <input type="hidden" name="userid" value="{$userid|escape}" />
                  <input type="hidden" name="groupid" value="{$groupid|escape}" />
                  {str tag=changeroleto section=group}
                  <select name="role">
                  {foreach from=$roles item=role}
                    <option value="{$role->role}"{if ($role->role == $userrole)} selected{/if}>{$role->display}</option>
                  {/foreach}
                  </select>
                  <input type="submit" value="{str tag=submit}" />
                </form>
                </div><br />

{include file="group/tabend.tpl"}

{include file="columnleftend.tpl"}
{include file="footer.tpl"}