mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-13 10:49:05 +00:00
trying to get basic layout done + removed the sidebar + added a scrollbar + the home button needs correct text.
This commit is contained in:
parent
bda7fdcc9c
commit
6f0d52aabf
8 changed files with 243 additions and 97 deletions
|
@ -907,6 +907,22 @@
|
||||||
group_params_r="menu=ui:interface:base_menu_with_color"
|
group_params_r="menu=ui:interface:base_menu_with_color"
|
||||||
on_active="lua"
|
on_active="lua"
|
||||||
on_active_params="help:openCSBrowserHeader('cs_browser')">
|
on_active_params="help:openCSBrowserHeader('cs_browser')">
|
||||||
|
|
||||||
|
|
||||||
|
<!--Quitta start-->
|
||||||
|
<ctrl style="text_button_header"
|
||||||
|
button_type="push_button"
|
||||||
|
id="browse_redo"
|
||||||
|
posref="MR MR"
|
||||||
|
x="-16"
|
||||||
|
y="0"
|
||||||
|
hardtext="uiBrowseRedoButton"
|
||||||
|
tooltip="uittBrowseRedo"
|
||||||
|
onclick_l="browse_redo"
|
||||||
|
params_l="name=ui:interface:cs_browser:content:html"
|
||||||
|
frozen="false" />
|
||||||
|
<!--Quitta end-->
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
<group id="content"
|
<group id="content"
|
||||||
x="0"
|
x="0"
|
||||||
|
@ -921,9 +937,9 @@
|
||||||
url="home"
|
url="home"
|
||||||
title_prefix="uiHelpTitle"
|
title_prefix="uiHelpTitle"
|
||||||
sizeref="wh"
|
sizeref="wh"
|
||||||
x="184"
|
x="2"
|
||||||
y="0"
|
y="0"
|
||||||
w="-190"
|
w="-4"
|
||||||
h="0"
|
h="0"
|
||||||
background_color="0 0 0 255"
|
background_color="0 0 0 255"
|
||||||
error_color="255 240 48 255"
|
error_color="255 240 48 255"
|
||||||
|
@ -944,7 +960,7 @@
|
||||||
h6_font_size="12"
|
h6_font_size="12"
|
||||||
paragraph_begin_space="12"
|
paragraph_begin_space="12"
|
||||||
multi_line_space_factor="0.25"
|
multi_line_space_factor="0.25"
|
||||||
td_begin_space="0"
|
td_begin_space="10"
|
||||||
li_begin_space="4"
|
li_begin_space="4"
|
||||||
ul_begin_space="12"
|
ul_begin_space="12"
|
||||||
li_indent="-10"
|
li_indent="-10"
|
||||||
|
@ -991,43 +1007,6 @@
|
||||||
<ctrl style="skin_scroll"
|
<ctrl style="skin_scroll"
|
||||||
id="scroll_bar" />
|
id="scroll_bar" />
|
||||||
</group>
|
</group>
|
||||||
<group id="sbtree"
|
|
||||||
posref="TL TL"
|
|
||||||
x="0"
|
|
||||||
y="-12"
|
|
||||||
sizeref="h"
|
|
||||||
w="180"
|
|
||||||
h="-12">
|
|
||||||
<group id="black"
|
|
||||||
posref="BR BR"
|
|
||||||
sizeref="hw"
|
|
||||||
w="-12"
|
|
||||||
h="0"
|
|
||||||
inherit_gc_alpha="true" />
|
|
||||||
<instance template="inner_thin_border"
|
|
||||||
posparent="black"
|
|
||||||
inherit_gc_alpha="true" />
|
|
||||||
<group id="tree_list"
|
|
||||||
type="tree"
|
|
||||||
posref="TL TL"
|
|
||||||
x="16"
|
|
||||||
y="-4"
|
|
||||||
col_over="255 255 255 48"
|
|
||||||
col_select="255 255 255 80"
|
|
||||||
fontsize="10"
|
|
||||||
max_sizeparent="parent"
|
|
||||||
max_sizeref="wh"
|
|
||||||
max_w="-20"
|
|
||||||
max_h="-10">
|
|
||||||
<node name="uiCSBase"
|
|
||||||
handler="launch_help"
|
|
||||||
params="help_container=ui:interface:cs_browser|url=%cs_url" />
|
|
||||||
</group>
|
|
||||||
<ctrl style="skin_scroll"
|
|
||||||
id="scroll_bar"
|
|
||||||
align="T"
|
|
||||||
target="tree_list" />
|
|
||||||
</group>
|
|
||||||
</group>
|
</group>
|
||||||
</group>
|
</group>
|
||||||
<!--******************-->
|
<!--******************-->
|
||||||
|
|
|
@ -34,21 +34,18 @@ class Helpers{
|
||||||
foreach ( $variables[$template] as $key => $value ){
|
foreach ( $variables[$template] as $key => $value ){
|
||||||
$smarty -> assign( $key, $value );
|
$smarty -> assign( $key, $value );
|
||||||
}
|
}
|
||||||
if (! helpers :: check_if_game_client ()){
|
|
||||||
if( isset($vars['permission']) && $vars['permission'] == 3 ){
|
if( isset($vars['permission']) && $vars['permission'] == 3 ){
|
||||||
$inherited = "extends:layout_admin.tpl|";
|
$inherited = "extends:layout_admin.tpl|";
|
||||||
}else if( isset($vars['permission']) && $vars['permission'] == 2){
|
}else if( isset($vars['permission']) && $vars['permission'] == 2){
|
||||||
$inherited = "extends:layout_mod.tpl|";
|
$inherited = "extends:layout_mod.tpl|";
|
||||||
}else if( isset($vars['permission']) && $vars['permission'] == 1){
|
}else if( isset($vars['permission']) && $vars['permission'] == 1){
|
||||||
$inherited = "extends:layout_user.tpl|";
|
$inherited = "extends:layout_user.tpl|";
|
||||||
}else{
|
|
||||||
$inherited ="";
|
|
||||||
}
|
|
||||||
// extends:' . $inherited .'|register.tpl
|
|
||||||
$smarty -> display( $inherited . $template . '.tpl' );
|
|
||||||
}else{
|
}else{
|
||||||
$smarty -> display($template . '.tpl' );
|
$inherited ="";
|
||||||
}
|
}
|
||||||
|
// extends:' . $inherited .'|register.tpl
|
||||||
|
$smarty -> display( $inherited . $template . '.tpl' );
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function create_folders(){
|
static public function create_folders(){
|
||||||
|
|
|
@ -1,53 +1,12 @@
|
||||||
{block name=content}
|
{block name=content}
|
||||||
|
|
||||||
|
|
||||||
<div class="sortable row-fluid ui-sortable">
|
|
||||||
<a data-original-title="6 new members." data-rel="tooltip" class="well span3 top-block" href="#">
|
|
||||||
<span class="icon32 icon-red icon-user"></span>
|
|
||||||
<div>Total Members</div>
|
|
||||||
<div>507</div>
|
|
||||||
<span class="notification">6</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a data-original-title="4 new pro members." data-rel="tooltip" class="well span3 top-block" href="#">
|
|
||||||
<span class="icon32 icon-color icon-star-on"></span>
|
|
||||||
<div>Pro Members</div>
|
|
||||||
<div>228</div>
|
|
||||||
<span class="notification green">4</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a data-original-title="$34 new sales." data-rel="tooltip" class="well span3 top-block" href="#">
|
|
||||||
<span class="icon32 icon-color icon-cart"></span>
|
|
||||||
<div>Sales</div>
|
|
||||||
<div>$13320</div>
|
|
||||||
<span class="notification yellow">$34</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a data-original-title="12 new messages." data-rel="tooltip" class="well span3 top-block" href="#">
|
|
||||||
<span class="icon32 icon-color icon-envelope-closed"></span>
|
|
||||||
<div>Messages</div>
|
|
||||||
<div>25</div>
|
|
||||||
<span class="notification red">12</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
<div class="box span12">
|
|
||||||
<div class="box-header well">
|
|
||||||
<h2><i class="icon-info-sign"></i> {$home_title}</h2>
|
<h2><i class="icon-info-sign"></i> {$home_title}</h2>
|
||||||
<div class="box-icon">
|
|
||||||
<a href="#" class="btn btn-round" onclick="javascript:show_help('intro');return false;"><i class="icon-info-sign"></i></a>
|
|
||||||
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
|
|
||||||
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
|
|
||||||
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="box-content">
|
|
||||||
<p><strong>{$home_info}</strong></p>
|
<p><strong>{$home_info}</strong></p>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,74 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Ryzom Account Management System</title>
|
||||||
|
<meta name="description" content="ryzom,ams">
|
||||||
|
<meta name="author" content="Daan Janssens & Matthew Lagoe">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body bgcolor="#00000000">
|
||||||
|
|
||||||
|
<table width="100%" cellspacing="1"><tr><td bgcolor="#000000">
|
||||||
|
<table width="100%">
|
||||||
|
<tr><td height="3"></td></tr>
|
||||||
|
<tr valign="middle">
|
||||||
|
<td width="3"></td>
|
||||||
|
{block name=menu}{/block}
|
||||||
|
<td width="50%"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="3"></td></tr>
|
||||||
|
</table></td></tr><tr><td>
|
||||||
|
<table width="100%" cellspacing="2">
|
||||||
|
<tr><td height="20"></td><td></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td width="2%"><img src="http://app.ryzom.com/app_forum//images/public_forum.png"></td>
|
||||||
|
<td width="100%" height="20" valign="middle"><h1>Forums</h1></td>
|
||||||
|
<td nowrap align="right">
|
||||||
|
<table width="100%">
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<form method="post" action="http://app.ryzom.com/app_forum/index.php?page=forum&shardid=302&name=Quitta&lang=en&datasetid=90501&ig=1">
|
||||||
|
<select name="forum_group"><option value="3">Communaut.. de langue fran..aise</option><option value="2">Deutschsprachige Community
|
||||||
|
</option><option value="1" selected="selected">English, Espa..ol, ..............</option></select>
|
||||||
|
<input type="submit" value="Go">
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td></tr><tr><td><table width="100%">
|
||||||
|
<tr>
|
||||||
|
<td height="5"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="1" bgcolor="#000000"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="5"></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td></tr><tr><td><table width="100%" cellspa
|
||||||
|
cing="0" cellpadding="0" border="0">
|
||||||
|
<tr bgcolor="#000000" valign="middle"><td></td><td><table cellspacing="0" cellpadding="4"><tr><td><h5>Public</h5></td></tr></table></td><td nowrap align="right"></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Topics</h5></td></tr></table></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Posts</h5></td></tr></table></td><td><table cellspacing="0" cellpadding="4"><tr><td><h5>Last post</h5></td></tr></table></td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/1839">Official News (arispotle) (<font color="#ff0000">1076</font>)</a></td><td nowrap align="right"></td><td width="5%" align="center">34</td><td width="5%" align="center">1244</td><td width="40%"><font color="#dd9922">Casy</font><br>4 days ago</td></tr><tr valign="middle" bgcolor="#3f3f3f"><td heig
|
||||||
|
ht="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/4">General (arispotle) (<font color="#ff0000">2564</font>)</a><br>Come in, pull up a chair, let's discuss all things Ryzom-related. Guests can post.</td><td nowrap align="right"></td><td width="5%" align="center">490</td><td width="5%" al
|
||||||
|
ign="center">5115</td><td width="40%"><font color="#dd9922">Fyrosfreddy</font><br>21.3 hours ago</td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/1841">Support (arispotle) (<font color="#ff0000">1240</font>)</a><br>Have a problem getting things to work? Drop us a line here and you'll find all the help you need. Guests can post.</td><td nowrap align="right"></td><td width="5%" align="center">315</td><td width="5%" align="center">2037</td><td width="40%"><font color="#dd9922">Fyrosfreddy</font><br>2 days ago</td></tr><tr valign="middle" bgcolor="#3f3f3f"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/1840">Ideas For Ryzom (arispotle) (<font color="#ff0000">2478</font>)</a><br>Do you have an idea for Ryzom?
|
||||||
|
It's time to add it and see if other people think it's a good idea!</td><td nowrap align="right"></td><td width="5%" align="center">451</td><td width="5%" align="center">4403</td><td width="40%"><font color="#dd9922">Toak</font><br>22.7 hours ago</td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50
|
||||||
|
%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/52">Web Apps Bugs, Comments, Notes, Etc (<font color="#ff0000">355</font>)</a><br>Only for Web Apps related things. In English please :-)</td><td nowrap align="right"></td><td width="5%" align="center">207</td><td width="5%" align="center">1230</td><td width="40%"><font color="#dd9922">Arfur</font><br>2 days ago</td></tr><tr valign="middle" bgcolor="#3f3f3f"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/1847">.......................... .................... (arispotle) (<font color="#ff0000">101</font>)</a></td><td nowrap align="right"></td><td width="5%" align="center">18</td><td width="5%" align="center">110</td><td width="40%"><font color="#dd9922">Amedala</font><br>3 weeks ago</td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt="
|
||||||
|
"></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/1848">Espa..ol De La Comunidad (arispotle) (<font color="#ff0000">100</font>)</a></td><td nowrap align="right"></td><td width="5%" align="center">57</td><td width="5%" align="center">122</td><td width="40%"><font color="#ff0000">Kemen</font><br>4 days ago</td></tr><tr bgcolor="#000000" valign="middle"><td></td><td><table
|
||||||
|
cellspacing="0" cellpadding="4"><tr><td><h5>Role Play</h5></td></tr></table></td><td nowrap align="right"></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Topics</h5></td></tr></table></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Posts</h5></td></tr></table></td><td><table cellspacing="0" cellpadding="4"><tr><td><h5>Last post</h5></td></tr></table></td></tr><tr valign="middle" bgcolor="#3f3f3f"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/1842">Events (arispotle) (<font color="#ff0000">363</font>)</a><br>Dates and Venues of Future Events</td><td nowrap align="right"></td><td width="5%" align="center">58</td><td width="5%" align="center">523</td><td width="40%"><font color="#dd9922">Rollocks</font><br>3.7 hours ago</td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/p
|
||||||
|
ublic_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/2147">Events (OOC) (arispotle) (<font color="#ff0000">271</font>)</a><br>Discussion of events and roleplay (OOC only)</td><td nowrap align="right"></td><td width="5%" align="center">53</td><td width="5%" align="center">569</td><td width="40%"><font color="#dd9922">Feylin</font><br>1 week ago</td></tr
|
||||||
|
><tr valign="middle" bgcolor="#3f3f3f"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/539">Roleplay (arispotle) (<font color="#ff0000">768</font>)</a><br>Roleplay forum for every civilisations and factions</td><td nowrap align="right"></td><td width="5%" align="center">186</td><td width="5%" align="center">1564</td><td width="40%"><font color="#dd9922">Zhoi</font><br>8.7 hours ago</td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/215">Bazaar (arispotle) (<font color="#ff0000">124</font>)</a><br>Something to buy or to sell?</td><td nowrap align="right"></td><td width="5%" align="center">102</td><td width="5%" align="center">366</td><td width="40%"><font color="#dd9922">Chanchey</font><br>1 month ago</td></tr><tr
|
||||||
|
valign="middle" bgcolor="#3f3f3f"><td height="34"><img src="http://app.ryzom.com/app_forum//images/public_forum.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/214">Guild Registry (arispotle) (<font color="#ff0000">798</font>)</a><br>Public guild registry and presentation</td><td nowrap align="right"></td><td width="5%" align="center">112</td><td width="5%"
|
||||||
|
align="center">1048</td><td width="40%"><font color="#dd9922">Astarth</font><br>2 days ago</td></tr><tr bgcolor="#000000" valign="middle"><td></td><td><table cellspacing="0" cellpadding="4"><tr><td><h5>Faction</h5></td></tr></table></td><td nowrap align="right"></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Topics</h5></td></tr></table></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Posts</h5></td></tr></table></td><td><table cellspacing="0" cellpadding="4"><tr><td><h5>Last post</h5></td></tr></table></td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/atys-32x32.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/66">Faction-neutrals (arispotle) (<font color="#ff0000">9</font>)</a></td><td nowrap align="right"></td><td width="5%" align="center">6</td><td width="5%" align="center">36</td><td width="40%"><font color="#dd9922">Quittaftwin</font><br>11
|
||||||
|
hours ago</td></tr><tr bgcolor="#000000" valign="middle"><td></td><td><table cellspacing="0" cellpadding="4"><tr><td><h5>Civilization</h5></td></tr></table></td><td nowrap align="right"></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Topics</h5></td></tr></table></td><td align="center"><table cellspacing="0" cellpadding="4"><tr><td><h5>Posts</h5></td></tr></table></td><td><table cel
|
||||||
|
lspacing="0" cellpadding="4"><tr><td><h5>Last post</h5></td></tr></table></td></tr><tr valign="middle" bgcolor="#303030"><td height="34"><img src="http://app.ryzom.com/app_forum//images/atys-32x32.png" alt=""></td><td width="50%"><a href="http://app.ryzom.com/app_forum/index.php?page=forum/view/56">Civilization-neutrals (arispotle) (<font color="#ff0000">44</font>)</a></td><td nowrap align="right"></td><td width="5%" align="center">9</td><td width="5%" align="center">175</td><td width="40%"><font color="#dd9922">Irfidel</font><br>1 week ago</td></tr></table>
|
||||||
|
</td></tr><tr><td><table cellpadding="3" border="0" valign="middle" bgcolor="#000000" width="100%"><tr><td height="15" valign="middle">Last visit <i>date#70/01/01</i> 00:00</td>
|
||||||
|
</tr></table></td></tr></table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,14 @@
|
||||||
|
{extends file="layout.tpl"}
|
||||||
|
{block name=menu}
|
||||||
|
<td height="25" valign="middle" nowrap><a class="ajax-link" href="index.php"><i class="icon-home"></i><span class="hidden-tablet"> Dashboard</span></a></td>
|
||||||
|
<td height="25" valign="middle" nowrap><a class="ajax-link" href="index.php?page=show_user"><i class="icon-user"></i><span class="hidden-tablet"> Profile</span></a></td>
|
||||||
|
<td height="25" valign="middle" nowrap><a class="ajax-link" href="index.php?page=settings"><i class="icon-cog"></i><span class="hidden-tablet"> Settings</span></a></td>
|
||||||
|
<td width="10" align="center">|</td>
|
||||||
|
<td height="25" valign="middle" nowrap><a class="ajax-link" href="index.php?page=userlist"><i class="icon-th-list"></i><span class="hidden-tablet"> Users</span></a></td>
|
||||||
|
<td height="25" valign="middle" nowrap><a class="ajax-link" href="index.php?page=show_queue&get=todo"><i class="icon-th-list"></i><span class="hidden-tablet"> Queues</span></a></td>
|
||||||
|
<td height="25" valign="middle" nowrap><a class="ajax-link" href="index.php?page=sgroup_list"><i class="icon-briefcase"></i><span class="hidden-tablet"> Support Groups</span></a></td>
|
||||||
|
<td width="10" align="center">|</td>
|
||||||
|
<td height="25" valign="middle" nowrap><a class="ajax-link" href="index.php?page=libuserlist"><i class="icon-th-list"></i><span class="hidden-tablet"> Syncing</span></a></td>
|
||||||
|
<td height="25" valign="middle" nowrap><a href="?page=logout"><i class="icon-off"></i><span class="hidden-tablet"> Logout </span></a></td>
|
||||||
|
{/block}
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{extends file="layout.tpl"}
|
||||||
|
{block name=menu}
|
||||||
|
<li class="nav-header hidden-tablet">Main</li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php"><i class="icon-home"></i><span class="hidden-tablet"> Dashboard</span></a></li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=show_user"><i class="icon-user"></i><span class="hidden-tablet"> Profile</span></a></li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=settings"><i class="icon-cog"></i><span class="hidden-tablet"> Settings</span></a></li>
|
||||||
|
<li class="nav-header hidden-tablet">Admin</li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=userlist"><i class="icon-th-list"></i><span class="hidden-tablet"> Users</span></a></li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=show_queue&get=todo"><i class="icon-th-list"></i><span class="hidden-tablet"> Queues</span></a></li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=sgroup_list"><i class="icon-briefcase"></i><span class="hidden-tablet"> Support Groups</span></a></li>
|
||||||
|
<li class="nav-header hidden-tablet">Actions</li>
|
||||||
|
<li style="margin-left: -2px;"><a href="?page=logout"><i class="icon-off"></i><span class="hidden-tablet"> Logout </span></a></li>
|
||||||
|
{/block}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{extends file="layout.tpl"}
|
||||||
|
{block name=menu}
|
||||||
|
<li class="nav-header hidden-tablet">Main</li>
|
||||||
|
<li style="margin-left: -2px;" class="active"><a class="ajax-link" href="index.php"><i class="icon-home"></i><span class="hidden-tablet"> Dashboard</span></a></li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=show_user"><i class="icon-user"></i><span class="hidden-tablet"> Profile</span></a></li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=settings"><i class="icon-cog"></i><span class="hidden-tablet"> Settings</span></a></li>
|
||||||
|
<li class="nav-header hidden-tablet">Actions</li>
|
||||||
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=createticket"><i class="icon-pencil"></i><span class="hidden-tablet">Create New Ticket</span></a></li>
|
||||||
|
<li style="margin-left: -2px;"><a href="?page=logout"><i class="icon-off"></i><span class="hidden-tablet"> Logout </span></a></li>
|
||||||
|
{/block}
|
||||||
|
|
|
@ -0,0 +1,98 @@
|
||||||
|
{block name=content}
|
||||||
|
<table width="100%"><tr><td>
|
||||||
|
<h2><i class="icon-user"></i> Profile of {$target_name}</h2>
|
||||||
|
<table cellpadding="7">
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><strong>Email:</strong></td>
|
||||||
|
<td>{$mail}</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><strong>Role:</strong></td>
|
||||||
|
<td>
|
||||||
|
{if $userPermission eq 1}<span class="label label-success">User</span>{/if}
|
||||||
|
{if $userPermission eq 2}<span class="label label-warning">Moderator</span>{/if}
|
||||||
|
{if $userPermission eq 3}<span class="label label-important">Admin</span>{/if}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{if $firstName neq ""}
|
||||||
|
<tr>
|
||||||
|
<td><strong>Firstname:</strong></td>
|
||||||
|
<td>{$firstName}</td>
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
|
{if $lastName neq ""}
|
||||||
|
<tr>
|
||||||
|
<td><strong>LastName:</strong></td>
|
||||||
|
<td>{$lastName}</td>
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
|
{if $country neq ""}
|
||||||
|
<tr>
|
||||||
|
<td><strong>Country:</strong></td>
|
||||||
|
<td>{$country}</td>
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
|
{if $gender neq 0}
|
||||||
|
<tr>
|
||||||
|
<td><strong>Gender:</strong></td>
|
||||||
|
{if $gender eq 1}
|
||||||
|
<td><strong>♂</strong></td>
|
||||||
|
{else if $gender eq 2}
|
||||||
|
<td><strong>♀</strong></td>
|
||||||
|
{/if}
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
</table>
|
||||||
|
</td><td>
|
||||||
|
<h2><i class="icon-th"></i>Actions</h2><ul>
|
||||||
|
<li><a href="index.php?page=settings&id={$target_id}">Edit User</a></li>
|
||||||
|
<li><a href="index.php?page=createticket&user_id={$target_id}">Send Ticket</a></li>
|
||||||
|
{if isset($isAdmin) and $isAdmin eq 'TRUE' and $target_id neq 1}
|
||||||
|
{if $userPermission eq 1}
|
||||||
|
<li><a href="index.php?page=change_permission&user_id={$target_id}&value=2">Make Moderator</a></li>
|
||||||
|
<li><a href="index.php?page=change_permission&user_id={$target_id}&value=3">Make Admin</a></li>
|
||||||
|
{else if $userPermission eq 2 }
|
||||||
|
<li><a href="index.php?page=change_permission&user_id={$target_id}&value=1">Demote to User</a></li>
|
||||||
|
<li><a href="index.php?page=change_permission&user_id={$target_id}&value=3">Make Admin</a></li>
|
||||||
|
{else if $userPermission eq 3 }
|
||||||
|
<li><a href="index.php?page=change_permission&user_id={$target_id}&value=1">Demote to User</a></li>
|
||||||
|
<li><a href="index.php?page=change_permission&user_id={$target_id}&value=2">Demote to Moderator</a></li>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
</td></tr>
|
||||||
|
<tr><td height="40"></td></tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<table><tr><td>
|
||||||
|
<legend>Tickets</legend>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>ID</th>
|
||||||
|
<th>Title</th>
|
||||||
|
<th>Timestamp</th>
|
||||||
|
<th>Category</th>
|
||||||
|
<th>Status</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{foreach from=$ticketlist item=ticket}
|
||||||
|
<tr>
|
||||||
|
<td>{$ticket.tId}</td>
|
||||||
|
<td><a href ="index.php?page=show_ticket&id={$ticket.tId}">{$ticket.title}</a></td>
|
||||||
|
<td class="center"><i>{$ticket.timestamp}</i></td>
|
||||||
|
<td class="center">{$ticket.category}</td>
|
||||||
|
|
||||||
|
<td class="center"><span class="label {if $ticket.status eq 0}label-success{else if $ticket.status eq 1}label-warning{else if $ticket.status eq 2}label-important{/if}">{if $ticket.status eq 0} <i class="icon-exclamation-sign icon-white"></i>{/if} {$ticket.statusText}</span></td>
|
||||||
|
</tr>
|
||||||
|
{/foreach}
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td></tr></table>
|
||||||
|
{/block}
|
||||||
|
|
Loading…
Reference in a new issue