tiki-mytiki_bar.tpl 3.47 KB
Newer Older
1
<div class="t_navbar btn-block margin-bottom-md">
awcolley's avatar
awcolley committed
2

3
	{if $prefs.feature_userPreferences eq 'y'}
4
		{button _icon_name="home" _type="link" _text="{tr}My Account{/tr}" href="tiki-my_tiki.php"}
5
	{/if}
awcolley's avatar
awcolley committed
6

7
	{if $prefs.feature_userPreferences eq 'y' or $prefs.change_password eq 'y'}
8
		{button _icon_name="cog" _type="link" _text="{tr}Preferences{/tr}" href="tiki-user_preferences.php"}
9
	{/if}
awcolley's avatar
awcolley committed
10

11
	{button _icon_name="information" _type="link" _text="{tr}My Info{/tr}" href="tiki-user_information.php"}
12

13
	{if $prefs.feature_user_watches eq 'y'}
14
		{button _icon_name="watch" _type="link" _text="{tr}My Watches{/tr}" href="tiki-user_watches.php"}
15
	{/if}
16

17
	<div class="btn-group">
18
		<button type="button" class="btn btn-link dropdown-toggle" data-toggle="dropdown">
19 20 21 22 23
				{tr}More{/tr} <span class="caret"></span>
		</button>
		<ul class="dropdown-menu" role="menu">
			{if $prefs.feature_messages eq 'y' and $tiki_p_messages eq 'y'}
				{if $unread}
24
					<li>{button _icon_name="admin_messages" _type="link" _text="{tr}Messages{/tr} ($unread)" href="messu-mailbox.php"}</li>
25
				{else}
26
					<li>{button _icon_name="admin_messages" _type="link" _text="{tr}Messages{/tr}" href="messu-mailbox.php"}</li>
27 28 29 30
				{/if}
			{/if}

			{if $prefs.feature_tasks eq 'y' and $tiki_p_tasks eq 'y'}
31
				<li>{button _icon_name="tasks" _type="link" _text="{tr}Tasks{/tr}" href="tiki-user_tasks.php"}</li>
32 33 34
			{/if}

			{if $prefs.feature_user_bookmarks eq 'y' and $tiki_p_create_bookmarks eq 'y'}
35
				<li>{button _icon_name="book" _type="link" _text="{tr}Bookmarks{/tr}" href="tiki-user_bookmarks.php"}</li>
36 37 38
			{/if}

			{if $prefs.user_assigned_modules eq 'y' and $tiki_p_configure_modules eq 'y'}
39
				<li>{button _icon_name="admin_module" _type="link" _text="{tr}Modules{/tr}" href="tiki-user_assigned_modules.php"}</li>
40 41 42
			{/if}

			{if $prefs.feature_webmail eq 'y' and $tiki_p_use_webmail eq 'y'}
43
				<li>{button _icon_name="admin_webmail" _type="link" _text="{tr}Webmail{/tr}" href="tiki-webmail.php"}</li>
44 45 46
			{/if}

			{if $prefs.feature_contacts eq 'y'}
47
				<li>{button _icon_name="user" _type="link" _text="{tr}Contacts Preferences{/tr}" href="tiki-user_contacts_prefs.php"}</li>
48 49 50
			{/if}

			{if $prefs.feature_notepad eq 'y' and $tiki_p_notepad eq 'y'}
51
				<li>{button _icon_name="notepad" _type="link" _text="{tr}Notepad{/tr}" href="tiki-notepad_list.php"}</li>
52 53 54
			{/if}

			{if $prefs.feature_userfiles eq 'y' and $tiki_p_userfiles eq 'y'}
55
				<li>{button _icon_name="files" _type="link" _text="{tr}MyFiles{/tr}" href="tiki-userfiles.php"}</li>
56 57 58
			{/if}

			{if $prefs.feature_minical eq 'y' and $tiki_p_minical eq 'y'}
59
				<li>{button _icon_name="calendar" _type="link" _text="{tr}Mini Calendar{/tr}" href="tiki-minical.php"}</li>
60 61 62 63
			{/if}


			{if $prefs.feature_actionlog == 'y' and !empty($user) and ($tiki_p_view_actionlog eq 'y' || $tiki_p_view_actionlog_owngroups eq 'y')}
64
				<li>{button _icon_name="calendar" _type="link" _text="{tr}Action Log{/tr}" href="tiki-admin_actionlog.php?selectedUsers[]=$user"}</li>
65 66 67
			{/if}

			{if $prefs.feature_socialnetworks == 'y' and !empty($user) and ($tiki_p_socialnetworks eq 'y' or $tiki_p_admin_socialnetworks eq 'y')}
68
				<li>{button _icon_name="admin_socialnetworks" _type="link" _text="{tr}Social networks{/tr}" href="tiki-socialnetworks.php"}</li>
69 70 71
			{/if}

			{if $prefs.feature_mailin eq 'y' and !empty($user) and ($tiki_p_send_mailin eq 'y' or $tiki_p_admin_mailin eq 'y')}
72
				<li>{button _icon_name="mail-forward" _type="link" _text="{tr}Mail-in{/tr}" href="tiki-user_mailin.php"}</li>
73 74 75
			{/if}
		</ul>
	</div>
76
</div>