edit.tpl 1.97 KB
Newer Older
1
2
{include file="header.tpl"}

3
<div id="edituser">
4
5
    {if $suspended}
    <div class="message">
6
7
      <h4>{$suspendedby}</h4>
      {if $user->get('suspendedreason')}
8
9
      <div id="suspendreason">
        <h5>{str tag="suspendedreason" section="admin"}:</h5>
10
        {$user->suspendedreason}
11
      </div>
12
      {/if}
13
      {$suspendform2|safe}
14
    </div>
15
    {/if}
16

Evonne Cheung's avatar
Evonne Cheung committed
17
18
19
20
21
22
23
<table class="fullwidth" id="useraccountsettingsleft">
<tr><td class="center">
    <div id="profilepict">
        <a href="{$WWWROOT}user/view.php?id={$user->id}"><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxwidth=100&amp;maxheight=100&amp;id={$user->id}" alt=""></a>
        <div id="profilename"><a href="{$WWWROOT}user/view.php?id={$user->id}">{$user|display_name|escape}</a></div>
    </div>
    {if $loginas}
24
       <div id="loginas"><a class="btn" href="{$WWWROOT}admin/users/changeuser.php?id={$user->id}">{str tag=loginas section=admin}</a></div>
Evonne Cheung's avatar
Evonne Cheung committed
25
26
27
    {/if}
    </td>
    <td id="useraccountsettingsleft"><h2>{str tag="siteaccountsettings" section="admin"}</h2>
28
    <p>{str tag="usereditdescription" section="admin"}</p>
29
    {$siteform|safe}
Evonne Cheung's avatar
Evonne Cheung committed
30
31
32
33
34
35
36
37
38
39
    <hr />
    {if ($institutions)}
    <div id="institutions">
    	<h2>{str tag="institutionsettings" section="admin"}</h2>
    	<p>{str tag="institutionsettingsdescription" section="admin"}</p>
        {$institutionform|safe}
    </div>
    {/if}
    </td>
    <td id="useraccountsettingsright">
40
    {if $suspendable}
Evonne Cheung's avatar
Evonne Cheung committed
41
    <div id="suspenddelete">
Evonne Cheung's avatar
Evonne Cheung committed
42
    	<h2>{str tag="suspenddeleteuser" section=admin}</h2>
Evonne Cheung's avatar
Evonne Cheung committed
43
44
    	<p>{str tag="suspenddeleteuserdescription" section=admin}</p>
    	<div id="suspend">
Evonne Cheung's avatar
Evonne Cheung committed
45
        	<h3>{str tag="suspenduser" section=admin}</h3>
46
            {$suspendform|safe}
Evonne Cheung's avatar
Evonne Cheung committed
47
     	</div>
48
		{if $deletable}
Evonne Cheung's avatar
Evonne Cheung committed
49
        <div id="delete">
Evonne Cheung's avatar
Evonne Cheung committed
50
            <h3>{str tag=deleteuser section=admin}</h3>
51
            <p>{str tag=deleteusernote section=admin}</p>
52
            {$deleteform|safe}
53
        </div>
54
55
		{/if}
    </div>
56
    {/if}
57

Evonne Cheung's avatar
Evonne Cheung committed
58
59
    </td>
    </tr></table>
Richard Mansfield's avatar
Richard Mansfield committed
60
</div>
61

62
{include file="footer.tpl"}