summaryrefslogtreecommitdiff
path: root/templates/my_bitweaver.tpl
blob: 2340dca716f7c4f65b2d97a2529833283f22ed2e (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{* $Header: /cvsroot/bitweaver/_bit_users/templates/my_bitweaver.tpl,v 1.1 2005/06/19 05:12:23 bitweaver Exp $ *}
{strip}

<div class="floaticon">{bithelp}</div>
<div class="display my">
	<div class="header">
		<h1>{tr}My {$siteTitle|default:'Site'}{/tr}</h1>
	</div>

	{*include file="bitpackage:users/my_bitweaver_bar.tpl"*}

	<div class="body">

{*
	this is where we should add the following tabs:
	file manager
	quota manager - currently on seperate page, but i believe this would be good in here.
	listing of submitted / edited stuff - similar to the old tiki personal tiki stuff.
*}

		{jstabs}
			{jstab title="My Navigation Pane"}
				<table width="100%" class="menutable">
					<tr>
						{assign var="i" value="1"}
						{foreach key=key item=menu from=$appMenu}
							{if $menu.title and $menu.template}
								<td style="width:33%;vertical-align:top;">
									{box class="`$key`menu menu box" ipackage=$key iname="pkg_`$key`" iexplain="$key" idiv="menuicon" title="`$gBitSystem->mPackages.$key.dir`"}
										{include file=$menu.template}
									{/box}
								</td>
								{if not ($i++ mod 3)}
									</tr><tr>
								{/if}
							{/if}
						{/foreach}
					</tr>
				</table>
			{/jstab}

			{jstab title="My Information"}
				{legend legend="User Information"}
					{include file="bitpackage:users/user_information_inc.tpl" userData=$gBitUser}

					{if $gBitUser->mInfo.avatar_url}
						<div class="row">
							{formlabel label="Avatar"}
							{forminput}
								<img src="{$gBitUser->mInfo.avatar_url}" alt="{tr}avatar{/tr}" />
							{/forminput}
						</div>
					{/if}

					{if $gBitUser->mInfo.portrait_url}
						<div class="row">
							{formlabel label="Portrait"}
							{forminput}
								<img src="{$gBitUser->mInfo.portrait_url}" alt="{tr}portrait{/tr}" />
							{/forminput}
						</div>
					{/if}

					{if $gBitUser->mInfo.logo_url}
						<div class="row">
							{formlabel label="Logo"}
							{forminput}
								<img src="{$gBitUser->mInfo.logo_url}" alt="{tr}logo{/tr}" />
							{/forminput}
						</div>
					{/if}

					{formhelp note="If you wish to change any of this information, please visit your personal preferences page" link="users/preferences.php/Personal Preferences"}
				{/legend}
			{/jstab}

			{jstab title="My Content"}
				{include file="bitpackage:liberty/list_content_inc.tpl"}
			{/jstab}
		{/jstabs}
	</div><!-- end .body -->
</div><!-- end .my -->

{/strip}