view.tpl 1.54 KB
Newer Older
Penny Leach's avatar
Penny Leach committed
1
{include file="header.tpl"}
Penny Leach's avatar
Penny Leach committed
2
3

<div id="column-right">
Penny Leach's avatar
Penny Leach committed
4
{include file="adminmenu.tpl"}
Penny Leach's avatar
Penny Leach committed
5
</div>
Penny Leach's avatar
Penny Leach committed
6

7
{include file="columnleftstart.tpl"}
Penny Leach's avatar
Penny Leach committed
8
			<div id="userview">
Penny Leach's avatar
Penny Leach committed
9
			<h3>{$NAME}</h3>
10
11
            <div></div>
            <div>
Penny Leach's avatar
Penny Leach committed
12
			<table id="userview_profile"><tbody>
13
14
15
16
17
18
19
		{foreach from=$USERFIELDS name=userfields key=key item=item}
			<tr>{if $smarty.foreach.userfields.first}
                <td style="width: 100px;" rowspan="{$smarty.foreach.userfields.total+1}">
                    <img src="{$WWWROOT}thumb.php?type=profileicon&size=100x100&id={$USERID}" alt="">
                </td>{/if}
                <th>{str section=artefact.internal tag=$key}</th><td>{$item}</td>
            </tr>
Penny Leach's avatar
Penny Leach committed
20
21
		{/foreach}
			</tbody></table>
22
            </div>
Penny Leach's avatar
Penny Leach committed
23
		{if $VIEWS}
Penny Leach's avatar
Penny Leach committed
24
25
26
27
			<table id="userview_views"><thead><tr><th>
			{str section=mahara tag=views}
			</td></tr></thead>
			<tbody><tr><td><ul>
Penny Leach's avatar
Penny Leach committed
28
		{foreach from=$VIEWS key=key item=item name=view}
29
			<li><a href="{$WWWROOT}view/view.php?view={$key}">{$item}</a></li>
Penny Leach's avatar
Penny Leach committed
30
		{/foreach}
Penny Leach's avatar
Penny Leach committed
31
			</ul></td></tr></tbody></table>
Penny Leach's avatar
Penny Leach committed
32
		{/if}
33
34
35
36
37
38
39
40
41
42
43
		{if $USERCOMMUNITIES}
			<table id="userview_communities"><thead><tr><th colspan=2>
			{str section=mahara tag=communities}
			</td></tr></thead>
			<tbody>
		{foreach from=$USERCOMMUNITIES item=item}
                        <tr><td><a href="{$WWWROOT}contacts/communities/view.php?id={$item->id}">{$item->name}</a></td><td>{$item->type}</td></tr>
		{/foreach}
			</tbody></table>
		{/if}

44
45
46
47
                <br>
		{$INVITEFORM}
		{$ADDFORM}
		{$FRIENDFORM}
Penny Leach's avatar
Penny Leach committed
48
		</div>
49
{include file="columnleftend.tpl"}
Penny Leach's avatar
Penny Leach committed
50

Penny Leach's avatar
Penny Leach committed
51
{include file="footer.tpl"}