Commit c058138d authored by Jyhem's avatar Jyhem

[REF] Clean templates formatting so they are legible and maintainable again

parent f529c6f5
......@@ -3,7 +3,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="StyleSheet" href="styles/{$prefs.style}" type="text/css">
<link rel="StyleSheet" href="styles/{$prefs.style}" type="text/css">
<title>Live support:{$role} window</title>
{literal}
<script type="text/javascript" src="lib/live_support/live-support.js">
......
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="StyleSheet" href="styles/{$prefs.style}" type="text/css">
<title>{tr}Live support:Console{/tr}</title>
{literal}
<script type="text/javascript" src="lib/live_support/live-support.js">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="StyleSheet" href="styles/{$prefs.style}" type="text/css">
<title>{tr}Live support:Console{/tr}</title>
{literal}
<script type="text/javascript" src="lib/live_support/live-support.js">
</script>
</script>
{/literal}
{$trl}
</head>
{literal}
<body style="background-color: white">
{/literal}
{$trl}
</head>
{literal}
<body style="background-color: white">
{/literal}
{if $isOperator}
<div class="table-responsive">
<table class="table normal" >
<tr>
<th>{tr}Operator:{/tr} {$user}</th>
<th>{tr}Status:{/tr} <b>{tr}{$status}{/tr}</b></th>
<th style="text-align:right;">
{if $status eq 'offline'}
<a href="tiki-live_support_console.php?status=online">{tr}be online{/tr}</a>
{else}
<a href="tiki-live_support_console.php?status=offline">{tr}be offline{/tr}</a>
{/if}
</th>
</tr>
</table>
</div>
{if $isOperator}
<div class="table-responsive">
<table class="table normal" >
<tr>
<th>{tr}Operator:{/tr} {$user}</th>
<th>{tr}Status:{/tr} <b>{tr}{$status}{/tr}</b></th>
<th style="text-align:right;">
{if $status eq 'offline'}
<a href="tiki-live_support_console.php?status=online">{tr}be online{/tr}</a>
{else}
<a href="tiki-live_support_console.php?status=offline">{tr}be offline{/tr}</a>
{/if}
</th>
</tr>
</table>
</div>
{else}
{tr}You are not an operator.{/tr} <a href="tiki-live_support_admin.php">{tr}Live support system{/tr}</a>
{/if}
{if count($requests) > 0}
<h3>{tr}Support requests{/tr}</h3>
{if $new_requests eq 'y'}
<script type='text/javascript'>
sound();
</script>
{/if}
<table id='reqs' class="table normal">
<tr>
<th>{tr}User{/tr}</th>
<th>{tr}Reason{/tr}</th>
<th>{tr}Requested{/tr}</th>
<th>&nbsp;</th>
</tr>
{if count($requests) > 0}
<h3>{tr}Support requests{/tr}</h3>
{if $new_requests eq 'y'}
<script type='text/javascript'>
sound();
</script>
{/if}
<table id='reqs' class="table normal">
<tr>
<th>{tr}User{/tr}</th>
<th>{tr}Reason{/tr}</th>
<th>{tr}Requested{/tr}</th>
<th>&nbsp;</th>
</tr>
{section loop=$requests name=ix}
<tr>
<td>{$requests[ix].user}</td>
<td>{$requests[ix].reason}</td>
<td>{$requests[ix].timestamp|tiki_short_time}</td>
<td>
{if $status eq 'online'}
{assign var=thereqId value=$requests[ix].reqId}
<a class="link" {jspopup href="tiki-live_support_chat_window.php?reqId=$thereqId&amp;role=operator" width="300" height="450"}>{tr}Accept{/tr}</a>
<a class="link" {jspopup href="tiki-live_support_chat_window.php?reqId=$thereqId&amp;role=observer" width="300" height="450"}>{tr}Join{/tr}</a>
{else}
&nbsp;
{/if}
</td>
</tr>
{/section}
</table>
{section loop=$requests name=ix}
<tr>
<td>{$requests[ix].user}</td>
<td>{$requests[ix].reason}</td>
<td>{$requests[ix].timestamp|tiki_short_time}</td>
<td>
{if $status eq 'online'}
{assign var=thereqId value=$requests[ix].reqId}
<a class="link" {jspopup href="tiki-live_support_chat_window.php?reqId=$thereqId&amp;role=operator" width="300" height="450"}>{tr}Accept{/tr}</a>
<a class="link" {jspopup href="tiki-live_support_chat_window.php?reqId=$thereqId&amp;role=observer" width="300" height="450"}>{tr}Join{/tr}</a>
{else}
&nbsp;
{/if}
</td>
</tr>
{/section}
</table>
{else}
<h3>{tr}No support requests{/tr}</h3>
<h3>{tr}No support requests{/tr}</h3>
{/if}
<script type='text/javascript'>
var last_support_req={$last};
console_poll();
</script>
<script type='text/javascript'>
var last_support_req={$last};
console_poll();
</script>
</body>
</body>
</html>
......@@ -5,77 +5,78 @@
<h2>{tr}Support requests{/tr}</h2>
<form method="get" action="tiki-live_support_transcripts.php">
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}">
<table>
<tr>
<td>{tr}Find{/tr}</td>
<td>{tr}Username{/tr}</td>
<td>{tr}operator{/tr}</td>
<td>&nbsp;</td>
</tr>
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}">
<table>
<tr>
<td>{tr}Find{/tr}</td>
<td>{tr}Username{/tr}</td>
<td>{tr}operator{/tr}</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><input type="text" name="find" value="{$find|escape}"></td>
<td>
<select name="filter_user">
<option value="" {if $filter_user eq ''}selected="selected"{/if}>{tr}All{/tr}</option>
{section name=ix loop=$users}
<option value="{$users[ix]|escape}" {if $users[ix] eq $filter_user}selected="selected"{/if}>{$users[ix]|escape}</option>
{/section}
</select>
</td>
<td>
<select name="filter_operator">
<option value="" {if $filter_operator eq ''}selected="selected"{/if}>{tr}All{/tr}</option>
{section name=ix loop=$operators}
<option value="{$operators[ix]|escape}" {if $operators[ix] eq $filter_operator}selected="selected"{/if}>{$operators[ix]|escape}</option>
{/section}
</select>
</td>
<td><input type="submit" class="btn btn-default btn-sm" value="{tr}Find{/tr}" name="filter"></td>
</tr>
</table>
<tr>
<td><input type="text" name="find" value="{$find|escape}"></td>
<td>
<select name="filter_user">
<option value="" {if $filter_user eq ''}selected="selected"{/if}>{tr}All{/tr}</option>
{section name=ix loop=$users}
<option value="{$users[ix]|escape}" {if $users[ix] eq $filter_user}selected="selected"{/if}>{$users[ix]|escape}</option>
{/section}
</select>
</td>
<td>
<select name="filter_operator">
<option value="" {if $filter_operator eq ''}selected="selected"{/if}>{tr}All{/tr}</option>
{section name=ix loop=$operators}
<option value="{$operators[ix]|escape}" {if $operators[ix] eq $filter_operator}selected="selected"{/if}>{$operators[ix]|escape}</option>
{/section}
</select>
</td>
<td><input type="submit" class="btn btn-default btn-sm" value="{tr}Find{/tr}" name="filter"></td>
</tr>
</table>
</form>
<div class="table-responsive">
<table class="table normal">
<tr>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'chat_started_desc'}chat_started_asc{else}chat_started_desc{/if}">{tr}started{/tr}</a></th>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'tiki_user_desc'}tiki_user_asc{else}tiki_user_desc{/if}">{tr}Username{/tr}</a></th>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'reason_desc'}reason_asc{else}reason_desc{/if}">{tr}reason{/tr}</a></th>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'operator_desc'}operator_asc{else}operator_desc{/if}">{tr}operator{/tr}</a></th>
<th>{tr}msgs{/tr}</th>
</tr>
<table class="table normal">
<tr>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'chat_started_desc'}chat_started_asc{else}chat_started_desc{/if}">{tr}started{/tr}</a></th>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'tiki_user_desc'}tiki_user_asc{else}tiki_user_desc{/if}">{tr}Username{/tr}</a></th>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'reason_desc'}reason_asc{else}reason_desc{/if}">{tr}reason{/tr}</a></th>
<th><a href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'operator_desc'}operator_asc{else}operator_desc{/if}">{tr}operator{/tr}</a></th>
<th>{tr}msgs{/tr}</th>
</tr>
{section name=ix loop=$items}
<tr>
<td>{$items[ix].chat_started|tiki_short_datetime}</td><!--date_format:"%d %b [%H:%M]"-->
<td>{if $items[ix].tiki_user ne ""}{$items[ix].tiki_user}{else}{$items[ix].user|escape}{/if}</td>
<td>{$items[ix].reason}</td>
<td>{$items[ix].operator|escape}</td>
<td style="text-align:right;"><a class="link" href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;filter_user={$filter_user}&amp;filter_operator={$filter_operator}&amp;view={$items[ix].reqId}">{$items[ix].msgs}<a>&nbsp;</td>
</tr>
{sectionelse}
{norecords _colspan=5}
{/section}
</table>
{section name=ix loop=$items}
<tr>
<td>{$items[ix].chat_started|tiki_short_datetime}</td><!--date_format:"%d %b [%H:%M]"-->
<td>{if $items[ix].tiki_user ne ""}{$items[ix].tiki_user}{else}{$items[ix].user|escape}{/if}</td>
<td>{$items[ix].reason}</td>
<td>{$items[ix].operator|escape}</td>
<td style="text-align:right;"><a class="link" href="tiki-live_support_transcripts.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;find={$find}&amp;filter_user={$filter_user}&amp;filter_operator={$filter_operator}&amp;view={$items[ix].reqId}">{$items[ix].msgs}<a>&nbsp;</td>
</tr>
{sectionelse}
{norecords _colspan=5}
{/section}
</table>
</div>
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}
{if $smarty.request.view}
<h3>{tr}Transcript{/tr}</h3>
<div class="table-responsive">
<table class="table normal">
{section name=ix loop=$events}
<tr>
<td class="odd">
{$events[ix].timestamp|tiki_short_time}
</td>
<td class="odd">
{$events[ix].data}
</td>
</tr>
{/section}
</table>
</div>
<h3>{tr}Transcript{/tr}</h3>
<div class="table-responsive">
<table class="table normal">
{section name=ix loop=$events}
<tr>
<td class="odd">
{$events[ix].timestamp|tiki_short_time}
</td>
<td class="odd">
{$events[ix].data}
</td>
</tr>
{/section}
</table>
</div>
{/if}
......@@ -13,36 +13,36 @@
</div>
<div class="table-responsive">
<table class="table normal" >
<tr>
<td>
<b>{tr}Upcoming Events{/tr}</b>
<br>
<table class="table normal">
{section name=ix loop=$upcoming}
<tr>
<td class="even">
{$upcoming[ix].start|tiki_short_datetime}
{if $upcoming[ix].topicId}
{if $upcoming[ix].topic.isIcon eq 'y'}
<img title="{$upcoming[ix].topic.name}" src="{$upcoming[ix].topic.path}" alt="{tr}topic image{/tr}">
{else}
<img title="{$upcoming[ix].topic.name}" src="tiki-view_minical_topic.php?topicId={$upcoming[ix].topicId}" alt="{tr}topic image{/tr}">
<table class="table normal" >
<tr>
<td>
<b>{tr}Upcoming Events{/tr}</b>
<br>
<table class="table normal">
{section name=ix loop=$upcoming}
<tr>
<td class="even">
{$upcoming[ix].start|tiki_short_datetime}
{if $upcoming[ix].topicId}
{if $upcoming[ix].topic.isIcon eq 'y'}
<img title="{$upcoming[ix].topic.name}" src="{$upcoming[ix].topic.path}" alt="{tr}topic image{/tr}">
{else}
<img title="{$upcoming[ix].topic.name}" src="tiki-view_minical_topic.php?topicId={$upcoming[ix].topicId}" alt="{tr}topic image{/tr}">
{/if}
{/if}
<a title="{$upcoming[ix].start|tiki_short_time}-{$upcoming[ix].end|tiki_short_time}:{$upcoming[ix].description}" class="link" href="tiki-minical.php?view={$view}&amp;eventId={$upcoming[ix].eventId}#add">{$upcoming[ix].title}</a>
</td>
</tr>
{sectionelse}
{norecords}
{/section}
</table>
</td>
<td width="180">
{include file="modules/mod-calendar.tpl.nocache"}
</td>
</tr>
</table>
{/if}
<a title="{$upcoming[ix].start|tiki_short_time}-{$upcoming[ix].end|tiki_short_time}:{$upcoming[ix].description}" class="link" href="tiki-minical.php?view={$view}&amp;eventId={$upcoming[ix].eventId}#add">{$upcoming[ix].title}</a>
</td>
</tr>
{sectionelse}
{norecords}
{/section}
</table>
</td>
<td width="180">
{include file="modules/mod-calendar.tpl.nocache"}
</td>
</tr>
</table>
</div>
<br>
......@@ -130,49 +130,49 @@
<a class="link" href="tiki-minical.php?view={$view}&amp;removeold=1">{tr}Remove old events{/tr}</a>
<form action="tiki-minical.php" method="post">
<input type="hidden" name="view" value="{$view|escape}">
<div class="table-responsive">
<table class="table normal">
<tr>
<th><input type="submit" class="btn btn-default btn-sm" name="delete" value="x "></th>
<th>
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'title_desc'}title_asc{else}title_desc{/if}">{tr}Title{/tr}</a>
</th>
<th>
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'start_desc'}start{else}start_desc{/if}">{tr}Start{/tr}</a>
</th>
<th>
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'duration_desc'}duration_asc{else}duration_desc{/if}">{tr}duration{/tr}</a>
</th>
<th style="text-align:center;">
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'topicId_desc'}topicId_asc{else}topicId_desc{/if}">{tr}Topic{/tr}</a>
</th>
</tr>
{section name=user loop=$channels}
<div class="table-responsive">
<table class="table normal">
<tr>
<td style="text-align:center;">
<input type="checkbox" name="event[{$channels[user].eventId}]">
</td>
<td>
<a class="link" href="tiki-minical.php?view={$view}&amp;eventId={$channels[user].eventId}&amp;offset={$offset}&amp;sort_mode={$sort_mode}&amp;find={$find}#add">{$channels[user].title}</a>
</td>
<td>{$channels[user].start|tiki_short_datetime}</td>
<td>
{math equation="x / 3600" x=$channels[user].duration format="%d"} {tr}h{/tr} {math equation="(x % 3600) / 60" x=$channels[user].duration} {tr}mins{/tr}
</td>
<td style="text-align:center;">
{if $channels[user].topicId}
{if $channels[user].topic.isIcon eq 'y'}
<img title="{$channels[user].topic.name}" src="{$channels[user].topic.path}" alt="{tr}topic image{/tr}">
{else}
<img title="{$channels[user].topic.name}" src="tiki-view_minical_topic.php?topicId={$channels[user].topicId}" alt="{tr}topic image{/tr}">
{/if}
{/if}
</td>
<th><input type="submit" class="btn btn-default btn-sm" name="delete" value="x "></th>
<th>
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'title_desc'}title_asc{else}title_desc{/if}">{tr}Title{/tr}</a>
</th>
<th>
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'start_desc'}start{else}start_desc{/if}">{tr}Start{/tr}</a>
</th>
<th>
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'duration_desc'}duration_asc{else}duration_desc{/if}">{tr}duration{/tr}</a>
</th>
<th style="text-align:center;">
<a href="tiki-minical.php?view={$view}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'topicId_desc'}topicId_asc{else}topicId_desc{/if}">{tr}Topic{/tr}</a>
</th>
</tr>
{/section}
</table>
</div>
{section name=user loop=$channels}
<tr>
<td style="text-align:center;">
<input type="checkbox" name="event[{$channels[user].eventId}]">
</td>
<td>
<a class="link" href="tiki-minical.php?view={$view}&amp;eventId={$channels[user].eventId}&amp;offset={$offset}&amp;sort_mode={$sort_mode}&amp;find={$find}#add">{$channels[user].title}</a>
</td>
<td>{$channels[user].start|tiki_short_datetime}</td>
<td>
{math equation="x / 3600" x=$channels[user].duration format="%d"} {tr}h{/tr} {math equation="(x % 3600) / 60" x=$channels[user].duration} {tr}mins{/tr}
</td>
<td style="text-align:center;">
{if $channels[user].topicId}
{if $channels[user].topic.isIcon eq 'y'}
<img title="{$channels[user].topic.name}" src="{$channels[user].topic.path}" alt="{tr}topic image{/tr}">
{else}
<img title="{$channels[user].topic.name}" src="tiki-view_minical_topic.php?topicId={$channels[user].topicId}" alt="{tr}topic image{/tr}">
{/if}
{/if}
</td>
</tr>
{/section}
</table>
</div>
</form>
{pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}
......
......@@ -72,7 +72,7 @@
</form>
<a name="import"></a>
<h2>{tr}Import CSV file{/tr}</h2>
<form enctype="multipart/form-data" action="tiki-minical_prefs.php" method="post">
<form enctype="multipart/form-data" action="tiki-minical_prefs.php" method="post">
<table class="formcolor">
<tr>
<td>{tr}Upload file:{/tr}</td>
......@@ -84,7 +84,7 @@
</form>
<h2>{tr}Admin Topics{/tr}</h2>
<form enctype="multipart/form-data" action="tiki-minical_prefs.php" method="post">
<form enctype="multipart/form-data" action="tiki-minical_prefs.php" method="post">
<table class="formcolor">
<tr>
<td>{tr}Name:{/tr}</td><td><input type="text" name="name"></td>
......@@ -135,6 +135,7 @@
</tr>
{/if}
{/section}
</table>
</div></div>
</table>
</div>
</div>
{/if}
{title help="mods"}{tr}Package Config{/tr}{/title}
<div class="wikitext">
<h2>
Configure
<br>
{$type} <i>{$package}</i>
</h2>
<div class="wikitext">
{$help}
</div>
<form action="tiki-mods.php" method="post">
<input type="hidden" name="action" value="configuration">
<input type="hidden" name="package" value="{$type}-{$package}">
<input type="hidden" name="type" value="{$type}">
<table class="formcolor">
{foreach key=k item=i from=$info->configuration}
<tr>
<td>{$i[0]}</td>
<td><input type="text" name="conf[{$i[1]}]" value="{$i[2]}"></td>
</tr>
{/foreach}
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" class="btn btn-default btn-sm" name="go" value="configure">
</td>
</tr>
</table>
</form>
<h2>
Configure
<br>
{$type} <i>{$package}</i>
</h2>
<div class="wikitext">
{$help}
</div>
<form action="tiki-mods.php" method="post">
<input type="hidden" name="action" value="configuration">
<input type="hidden" name="package" value="{$type}-{$package}">
<input type="hidden" name="type" value="{$type}">
<table class="formcolor">
{foreach key=k item=i from=$info->configuration}
<tr>
<td>{$i[0]}</td>
<td><input type="text" name="conf[{$i[1]}]" value="{$i[2]}"></td>
</tr>
{/foreach}
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" class="btn btn-default btn-sm" name="go" value="configure">
</td>
</tr>
</table>
</form>
</div>
This diff is collapsed.
<div class="t_navbar btn-block form-group spacer-bottom-15px">
{if $prefs.feature_userPreferences eq 'y'}
{button _icon="img/icons/large/mytiki.gif" class="btn btn-default" _text="{tr}MyTiki{/tr}" href="tiki-my_tiki.php" _menu_text="y"}
{/if}
{if $prefs.feature_userPreferences eq 'y' or $prefs.change_password eq 'y'}
{button _icon="img/icons/large/prefs.gif" class="btn btn-default" _text="{tr}Preferences{/tr}" href="tiki-user_preferences.php" _menu_text="y"}
{/if}
{button _icon="img/icons/large/admin.gif" class="btn btn-default" _text="{tr}MyInfo{/tr}" href="tiki-user_information.php" _menu_text="y"}
{if $prefs.feature_user_watches eq 'y'}
{button _icon="img/icons/large/mywatches.gif" _text="{tr}My Watches{/tr}" href="tiki-user_watches.php" _menu_text="y"}
{/if}
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
{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}
<li>{button _icon="img/icons/large/messages.gif" class="btn btn-default" _text="{tr}Messages{/tr} ($unread)" href="messu-mailbox.php" _menu_text="y"}</li>
{else}
<li>{button _icon="img/icons/large/messages.gif" class="btn btn-default" _text="{tr}Messages{/tr}" href="messu-mailbox.php" _menu_text="y"}</li>
{if $prefs.feature_userPreferences eq 'y'}
{button _icon="img/icons/large/mytiki.gif" class="btn btn-default" _text="{tr}MyTiki{/tr}" href="tiki-my_tiki.php" _menu_text="y"}
{/if}
{/if}
{if $prefs.feature_tasks eq 'y' and $tiki_p_tasks eq 'y'}
<li>{button _icon="img/icons/large/tasks.gif" _text="{tr}Tasks{/tr}" href="tiki-user_tasks.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_user_bookmarks eq 'y' and $tiki_p_create_bookmarks eq 'y'}
<li>{button _icon="img/icons/large/bookmarks.gif" _text="{tr}Bookmarks{/tr}" href="tiki-user_bookmarks.php" _menu_text="y"}</li>
{/if}
{if $prefs.user_assigned_modules eq 'y' and $tiki_p_configure_modules eq 'y'}
<li>{button _icon="img/icons/large/modules.gif" _text="{tr}Modules{/tr}" href="tiki-user_assigned_modules.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_webmail eq 'y' and $tiki_p_use_webmail eq 'y'}
<li>{button _icon="img/icons/large/webmail.gif" _text="{tr}Webmail{/tr}" href="tiki-webmail.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_contacts eq 'y'}
<li>{button _icon="img/icons/large/stock_contact.png" _text="{tr}Contacts Preferences{/tr}" href="tiki-user_contacts_prefs.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_notepad eq 'y' and $tiki_p_notepad eq 'y'}
<li>{button _icon="img/icons/large/notes.gif" _text="{tr}Notepad{/tr}" href="tiki-notepad_list.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_userfiles eq 'y' and $tiki_p_userfiles eq 'y'}
<li>{button _icon="img/icons/large/myfiles.gif" _text="{tr}MyFiles{/tr}" href="tiki-userfiles.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_minical eq 'y' and $tiki_p_minical eq 'y'}
<li>{button _icon="img/icons/large/minical.gif" _text="{tr}Mini Calendar{/tr}" href="tiki-minical.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_userPreferences eq 'y' or $prefs.change_password eq 'y'}
{button _icon="img/icons/large/prefs.gif" class="btn btn-default" _text="{tr}Preferences{/tr}" href="tiki-user_preferences.php" _menu_text="y"}
{/if}
{if $prefs.feature_actionlog == 'y' and !empty($user) and ($tiki_p_view_actionlog eq 'y' || $tiki_p_view_actionlog_owngroups eq 'y')}
<li>{button _icon="img/icons/large/gnome-vumeter.png" _text="{tr}Action Log{/tr}" href="tiki-admin_actionlog.php?selectedUsers[]=$user" _menu_text="y"}</li>
{/if}
{button _icon="img/icons/large/admin.gif" class="btn btn-default" _text="{tr}MyInfo{/tr}" href="tiki-user_information.php" _menu_text="y"}
{if $prefs.feature_socialnetworks == 'y' and !empty($user) and ($tiki_p_socialnetworks eq 'y' or $tiki_p_admin_socialnetworks eq 'y')}
<li>{button _icon="img/icons/large/socialnetworks.png" _text="{tr}Social networks{/tr}" href="tiki-socialnetworks.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_user_watches eq 'y'}
{button _icon="img/icons/large/mywatches.gif" _text="{tr}My Watches{/tr}" href="tiki-user_watches.php" _menu_text="y"}
{/if}
{if $prefs.feature_mailin eq 'y' and !empty($user) and ($tiki_p_send_mailin eq 'y' or $tiki_p_admin_mailin eq 'y')}
<li>{button _icon="img/icons/large/green_question48x48.png" _text="{tr}Mail-in{/tr}" href="tiki-user_mailin.php" _menu_text="y"}</li>
{/if}
</ul>
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
{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}
<li>{button _icon="img/icons/large/messages.gif" class="btn btn-default" _text="{tr}Messages{/tr} ($unread)" href="messu-mailbox.php" _menu_text="y"}</li>
{else}
<li>{button _icon="img/icons/large/messages.gif" class="btn btn-default" _text="{tr}Messages{/tr}" href="messu-mailbox.php" _menu_text="y"}</li>
{/if}
{/if}
{if $prefs.feature_tasks eq 'y' and $tiki_p_tasks eq 'y'}
<li>{button _icon="img/icons/large/tasks.gif" _text="{tr}Tasks{/tr}" href="tiki-user_tasks.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_user_bookmarks eq 'y' and $tiki_p_create_bookmarks eq 'y'}
<li>{button _icon="img/icons/large/bookmarks.gif" _text="{tr}Bookmarks{/tr}" href="tiki-user_bookmarks.php" _menu_text="y"}</li>
{/if}
{if $prefs.user_assigned_modules eq 'y' and $tiki_p_configure_modules eq 'y'}
<li>{button _icon="img/icons/large/modules.gif" _text="{tr}Modules{/tr}" href="tiki-user_assigned_modules.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_webmail eq 'y' and $tiki_p_use_webmail eq 'y'}
<li>{button _icon="img/icons/large/webmail.gif" _text="{tr}Webmail{/tr}" href="tiki-webmail.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_contacts eq 'y'}
<li>{button _icon="img/icons/large/stock_contact.png" _text="{tr}Contacts Preferences{/tr}" href="tiki-user_contacts_prefs.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_notepad eq 'y' and $tiki_p_notepad eq 'y'}
<li>{button _icon="img/icons/large/notes.gif" _text="{tr}Notepad{/tr}" href="tiki-notepad_list.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_userfiles eq 'y' and $tiki_p_userfiles eq 'y'}
<li>{button _icon="img/icons/large/myfiles.gif" _text="{tr}MyFiles{/tr}" href="tiki-userfiles.php" _menu_text="y"}</li>
{/if}
{if $prefs.feature_minical eq 'y' and $tiki_p_minical eq 'y'}