mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
languages handling done
--HG-- branch : quitta-gsoc-2013
This commit is contained in:
parent
f5ef22914f
commit
bc62611305
10 changed files with 96 additions and 54 deletions
|
@ -1,10 +1,38 @@
|
|||
; This is the ingame layout config file
|
||||
; Here you can easily change colors of specific elements in the ingame templates.
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
|
||||
[basic]
|
||||
|
||||
;second menu bar bg color
|
||||
second_menu_bg_color = "#00000040"
|
||||
|
||||
;title bg color
|
||||
title_bg_color = "#303030"
|
||||
|
||||
;default info text color
|
||||
info_color = "#00CED1"
|
||||
|
||||
;admin/mod name color
|
||||
team_color = "red"
|
||||
team_color = "red"
|
||||
|
||||
;main table bg color
|
||||
main_tbl_color = "#00000030"
|
||||
|
||||
;normal table bg color
|
||||
normal_tbl_color = "#00000060"
|
||||
|
||||
;table bg color for team replies
|
||||
team_reply_tbl_color = "#F8C8C140"
|
||||
|
||||
;table bg color for hidden replies
|
||||
hidden_reply_tbl_color = "#CFFEFF40"
|
||||
|
||||
;table bg color for closed reply
|
||||
closed_tbl_color = "#FFE69960"
|
||||
|
||||
;table header tr bg color
|
||||
table_header_tr_color = "#00000090"
|
||||
|
||||
;-------------------------------------------------------------------------------
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#00000040" valign="middle">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -36,7 +36,7 @@
|
|||
</td></tr>
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
@ -118,7 +118,7 @@
|
|||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
@ -151,7 +151,7 @@
|
|||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<table width="100%" height="100%" cellpadding="10">
|
||||
{if isset($isAdmin) && $isAdmin eq 'TRUE'}
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
@ -76,13 +76,13 @@
|
|||
</td></tr>
|
||||
{/if}
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellspacing="10">
|
||||
<tr><td>
|
||||
<p><h3>All groups</h3></p>
|
||||
<table cellpadding="4">
|
||||
<tr bgcolor="#00000090">
|
||||
<tr bgcolor="{$table_header_tr_color}">
|
||||
<td>ID</td>
|
||||
<td>Name</td>
|
||||
<td>Tag</td>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#00000040" valign="middle">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -23,7 +23,7 @@
|
|||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
@ -60,11 +60,11 @@
|
|||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<font color="#00CED1"> {$reply_timestamp}</font>
|
||||
<font color="{$info_color}"> {$reply_timestamp}</font>
|
||||
{if $author_permission eq '1'}
|
||||
<span class="label label-success"><strong><i class="icon-user icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$author}"><font color="white"> {$authorName}</font>{else} {$authorName} {/if}</a></strong></span>
|
||||
{else if $reply.permission gt '1'}
|
||||
<span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$author}"><font color="red"> {$authorName}</font>{else} {$authorName} {/if}</a></strong></span>
|
||||
<span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$author}"><font color="{$team_color}"> {$authorName}</font>{else} {$authorName} {/if}</a></strong></span>
|
||||
{/if}</p>
|
||||
<p><pre>{$reply_content}</pre></p>
|
||||
</td>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
@ -77,13 +77,13 @@
|
|||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>All members</h3></p>
|
||||
<table cellpadding="4">
|
||||
<tr bgcolor="#00000090">
|
||||
<tr bgcolor="{$table_header_tr_color}">
|
||||
<td>ID</td>
|
||||
<td>Name</td>
|
||||
{if isset($isAdmin) && $isAdmin eq 'TRUE'}<td>Action</td>{/if}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#00000040" valign="middle">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -24,7 +24,7 @@
|
|||
</td></tr>
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -51,19 +51,19 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10" width="100%">
|
||||
<tr><td>
|
||||
<table cellpadding="5" width="100%">
|
||||
<tr><td>
|
||||
<table cellpadding="1" bgcolor="#00000060" border="2" width="100%">
|
||||
<table cellpadding="1" bgcolor="{$normal_tbl_color}" border="2" width="100%">
|
||||
<tr><td>
|
||||
<table cellpadding="3" width="100%">
|
||||
<tr>
|
||||
<td><font color="{$info_color}">Submitted: </font>{$ticket_timestamp}</td>
|
||||
<td><font color="{$info_color}">Last Updated: </font>{$ticket_lastupdate}</td>
|
||||
<td><font color="{$info_color}">Status: </font>{if $ticket_status neq 3}<span class="label label-success">Open</span>{/if} <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}"><strong>{$ticket_statustext}</strong></span></td>
|
||||
<td><font color="{$info_color}">Status: </font>{if $ticket_status neq 3}<font color="green">Open</font>{/if} {if $ticket_status eq 3} <font color="red">{$ticket_statustext}</font>{else}{$ticket_statustext} {/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="{$info_color}">Category: </font>{$ticket_category}</td>
|
||||
|
@ -88,36 +88,50 @@
|
|||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table cellpadding="1" bgcolor="#00000060" border="2" width="100%">
|
||||
<table cellpadding="1" bgcolor="{$normal_tbl_color}" border="2" width="100%">
|
||||
{foreach from=$ticket_replies item=reply}
|
||||
<tr>
|
||||
<td {if $reply.permission gt '1'} {if $reply.hidden eq 0} bgcolor="#F8C8C140"{else if $reply.hidden eq 1} bgcolor="#CFFEFF40"{/if}{/if}>
|
||||
<p>
|
||||
<font color="{$info_color}"> {$reply.timestamp}</font>
|
||||
{if $reply.permission eq '1'}
|
||||
<span class="label label-success"><strong><i class="icon-user icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$reply.authorExtern}"><font color="white"> {$reply.author}</font>{else} {$reply.author} {/if}</a></strong></span>
|
||||
{else if $reply.permission gt '1'}
|
||||
<span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$reply.authorExtern}"><font color="red"> {$reply.author}</font>{else} {$reply.author} {/if}</a></strong></span>
|
||||
{/if}
|
||||
</p>
|
||||
<p><pre>{$reply.replyContent}</pre></p>
|
||||
<td {if $reply.permission gt '1'} {if $reply.hidden eq 0} bgcolor="{$team_reply_tbl_color}"{else if $reply.hidden eq 1} bgcolor="{$hidden_reply_tbl_color}"{/if}{/if}>
|
||||
<table cellpadding="3">
|
||||
<tr><td>
|
||||
<p>
|
||||
<font color="{$info_color}"> {$reply.timestamp}</font>
|
||||
{if $reply.permission eq '1'}
|
||||
<span class="label label-success"><strong><i class="icon-user icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$reply.authorExtern}"><font color="white"> {$reply.author}</font>{else} {$reply.author} {/if}</a></strong></span>
|
||||
{else if $reply.permission gt '1'}
|
||||
<span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$reply.authorExtern}"><font color="{$team_color}"> {$reply.author}</font>{else} {$reply.author} {/if}</a></strong></span>
|
||||
{/if}
|
||||
</p>
|
||||
<p><pre>{$reply.replyContent}</pre></p>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
{if $ticket_status eq 3}
|
||||
<tr>
|
||||
<td bgcolor="#FFE69960">
|
||||
<p><pre>Ticket is closed.</pre></p>
|
||||
<td bgcolor="{$closed_tbl_color}">
|
||||
<table cellpadding="4">
|
||||
<tr><td>
|
||||
<p><pre><h4>[Ticket is closed]</h4></pre></p>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<form id="reply" class="form-vertical" method="post" action="index.php">
|
||||
<p><h4>{$t_reply}:</h4></p>
|
||||
<table>
|
||||
|
||||
<form id="reply" class="form-vertical" method="post" action="index.php">
|
||||
<table cellpadding="4">
|
||||
<tr><td height="5"></td></tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p><h4>{$t_reply}:</h4></p>
|
||||
</td>
|
||||
</tr>
|
||||
{if $ticket_status neq 3}
|
||||
<tr>
|
||||
<td><textarea cols="50" id="Content" name="Content"><br><br><br></textarea></td>
|
||||
|
@ -170,7 +184,7 @@
|
|||
|
||||
{if isset($isMod) and $isMod eq "TRUE"}
|
||||
<tr><td>
|
||||
<table cellpadding="1" bgcolor="#00000060" border="2" width="100%">
|
||||
<table cellpadding="1" bgcolor="{$normal_tbl_color}" border="2" width="100%">
|
||||
<tr><td>
|
||||
<table cellpadding="3" width="100%">
|
||||
<tr>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#00000040" valign="middle">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -22,7 +22,7 @@
|
|||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -49,14 +49,14 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Title: <a href="index.php?page=show_ticket&id={$ticket_id}">{$ticket_title}</a></h3></p>
|
||||
<p>
|
||||
<table cellspacing="5">
|
||||
<tr bgcolor="#00000090">
|
||||
<tr bgcolor="{$table_header_tr_color}">
|
||||
<td>ID</td>
|
||||
<td>Timestamp</td>
|
||||
<td>Query</td>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{block name=content}
|
||||
<tr><td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr bgcolor="#00000040" valign="middle">
|
||||
<tr bgcolor="{$second_menu_bg_color}" valign="middle">
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -36,7 +36,7 @@
|
|||
</td></tr>
|
||||
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#303030" cellspacing="2">
|
||||
<table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
|
||||
<tr><td height="7"></td><td></td></tr>
|
||||
<tr>
|
||||
<td width="3%"></td>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<td>
|
||||
<table width="100%" height="100%" cellpadding="10">
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
|
@ -120,14 +120,14 @@
|
|||
</table>
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
<table width="100%" bgcolor="#00000030" border="2">
|
||||
<table width="100%" bgcolor="{$main_tbl_color}" border="2">
|
||||
<tr><td>
|
||||
<table cellpadding="10">
|
||||
<tr><td>
|
||||
<p><h3>Tickets</h3></p>
|
||||
<table cellpadding="3">
|
||||
|
||||
<tr bgcolor="#00000090">
|
||||
<tr bgcolor="{$table_header_tr_color}">
|
||||
<td>ID</td>
|
||||
<td>Title</td>
|
||||
<td>Timestamp</td>
|
||||
|
|
Loading…
Reference in a new issue