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

4
{include file="columnleftstart.tpl"}
Penny Leach's avatar
Penny Leach committed
5
			<div id="userview">
6
			<h3>{$NAME|escape}</h3>
7
            <div>
Penny Leach's avatar
Penny Leach committed
8
			<table id="userview_profile"><tbody>
9
10
11
		{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}">
12
                    <img src="{$WWWROOT}thumb.php?type=profileicon&maxsize=100&id={$USERID}" alt="">
13
14
15
                </td>{/if}
                <th>{str section=artefact.internal tag=$key}</th><td>{$item}</td>
            </tr>
Penny Leach's avatar
Penny Leach committed
16
17
		{/foreach}
			</tbody></table>
18
            </div>
Penny Leach's avatar
Penny Leach committed
19
		{if $VIEWS}
Penny Leach's avatar
Penny Leach committed
20
21
22
23
			<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
24
		{foreach from=$VIEWS key=key item=item name=view}
25
			<li><a href="{$WWWROOT}view/view.php?id={$key}">{$item|escape}</a></li>
Penny Leach's avatar
Penny Leach committed
26
		{/foreach}
Penny Leach's avatar
Penny Leach committed
27
			</ul></td></tr></tbody></table>
Penny Leach's avatar
Penny Leach committed
28
		{/if}
29
30
31
		{if $USERGROUPS}
			<table id="userview_groups"><thead><tr><th colspan=2>
			{str section=mahara tag=groups}
32
33
			</td></tr></thead>
			<tbody>
34
		{foreach from=$USERGROUPS item=item}
35
                        <tr><td><a href="{$WWWROOT}group/view.php?id={$item->id}">{$item->name|escape}</a></td><td>{$item->type|escape}</td></tr>
36
37
38
39
		{/foreach}
			</tbody></table>
		{/if}

40
41
42
43
                <br>
		{$INVITEFORM}
		{$ADDFORM}
		{$FRIENDFORM}
Penny Leach's avatar
Penny Leach committed
44
        {$MESSAGEFORM}
Penny Leach's avatar
Penny Leach committed
45
		</div>
46
{include file="columnleftend.tpl"}
Penny Leach's avatar
Penny Leach committed
47

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