From 41fcbdd26fee08b350b09739629c5d8f8125e112 Mon Sep 17 00:00:00 2001 From: Quitta Date: Sat, 3 Aug 2013 18:59:21 +0200 Subject: [PATCH] languages handling done --- .../ams_lib/configs/ingame_layout.ini | 30 +++++++++- .../ams_lib/ingame_templates/createticket.tpl | 4 +- .../ams_lib/ingame_templates/home.tpl | 4 +- .../ams_lib/ingame_templates/settings.tpl | 10 ++-- .../ams_lib/ingame_templates/sgroup_list.tpl | 8 +-- .../ams_lib/ingame_templates/show_reply.tpl | 10 ++-- .../ams_lib/ingame_templates/show_sgroup.tpl | 8 +-- .../ams_lib/ingame_templates/show_ticket.tpl | 58 ++++++++++++------- .../ingame_templates/show_ticket_log.tpl | 8 +-- .../ams_lib/ingame_templates/show_user.tpl | 10 ++-- 10 files changed, 96 insertions(+), 54 deletions(-) diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/configs/ingame_layout.ini b/code/ryzom/tools/server/ryzom_ams/ams_lib/configs/ingame_layout.ini index c9e87c8cc..ea67f8093 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/configs/ingame_layout.ini +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/configs/ingame_layout.ini @@ -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" \ No newline at end of file +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" + +;------------------------------------------------------------------------------- \ No newline at end of file diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/createticket.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/createticket.tpl index f1e844dab..dd19fd291 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/createticket.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/createticket.tpl @@ -1,7 +1,7 @@ {block name=content} - +
@@ -28,7 +28,7 @@
- +
diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/home.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/home.tpl index f6f414145..81ba9d934 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/home.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/home.tpl @@ -1,7 +1,7 @@ {block name=content}
- +
@@ -28,7 +28,7 @@
- +
diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/settings.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/settings.tpl index d23cda5c6..c8f67140c 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/settings.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/settings.tpl @@ -1,7 +1,7 @@ {block name=content}
- +
@@ -36,7 +36,7 @@
- +
@@ -63,7 +63,7 @@
- +
@@ -118,7 +118,7 @@
- +
@@ -151,7 +151,7 @@
- +
diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/sgroup_list.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/sgroup_list.tpl index 63c2a42b3..6279d8fe4 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/sgroup_list.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/sgroup_list.tpl @@ -1,7 +1,7 @@ {block name=content}
- +
@@ -29,7 +29,7 @@
{if isset($isAdmin) && $isAdmin eq 'TRUE'}
- +
{/if}
@@ -76,13 +76,13 @@
- +

All groups

- + diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_reply.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_reply.tpl index 385cc6e5c..b6aa90cb2 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_reply.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_reply.tpl @@ -1,7 +1,7 @@ {block name=content}
ID Name Tag
- +
@@ -23,7 +23,7 @@
- +
@@ -50,7 +50,7 @@
- +
diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_sgroup.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_sgroup.tpl index f2fedfe40..388cf8e32 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_sgroup.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_sgroup.tpl @@ -1,7 +1,7 @@ {block name=content}
@@ -60,11 +60,11 @@

- {$reply_timestamp} + {$reply_timestamp} {if $author_permission eq '1'} {if isset($isMod) and $isMod eq "TRUE"} {$authorName}{else} {$authorName} {/if} {else if $reply.permission gt '1'} - {if isset($isMod) and $isMod eq "TRUE"} {$authorName}{else} {$authorName} {/if} + {if isset($isMod) and $isMod eq "TRUE"} {$authorName}{else} {$authorName} {/if} {/if}

{$reply_content}

- +
@@ -28,7 +28,7 @@
- +
@@ -77,13 +77,13 @@
- +

All members

- + {if isset($isAdmin) && $isAdmin eq 'TRUE'}{/if} diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket.tpl index c11c94164..e1bd7edef 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket.tpl @@ -1,7 +1,7 @@ {block name=content}
ID NameAction
- +
@@ -24,7 +24,7 @@
- +
@@ -51,19 +51,19 @@
- +
- +
- + @@ -88,36 +88,50 @@
Submitted: {$ticket_timestamp} Last Updated: {$ticket_lastupdate}Status: {if $ticket_status neq 3}Open{/if} {$ticket_statustext}Status: {if $ticket_status neq 3}Open{/if} {if $ticket_status eq 3} {$ticket_statustext}{else}{$ticket_statustext} {/if}
Category: {$ticket_category}
- +
{foreach from=$ticket_replies item=reply} - {/foreach} {if $ticket_status eq 3} - {/if}
-

- {$reply.timestamp} - {if $reply.permission eq '1'} - {if isset($isMod) and $isMod eq "TRUE"} {$reply.author}{else} {$reply.author} {/if} - {else if $reply.permission gt '1'} - {if isset($isMod) and $isMod eq "TRUE"} {$reply.author}{else} {$reply.author} {/if} - {/if} -

-

{$reply.replyContent}

+
+ + +
+

+ {$reply.timestamp} + {if $reply.permission eq '1'} + {if isset($isMod) and $isMod eq "TRUE"} {$reply.author}{else} {$reply.author} {/if} + {else if $reply.permission gt '1'} + {if isset($isMod) and $isMod eq "TRUE"} {$reply.author}{else} {$reply.author} {/if} + {/if} +

+

{$reply.replyContent}

+
-

Ticket is closed.

+
+ + +
+

[Ticket is closed]

+
-
-

{$t_reply}:

- + + +
+ + + + {if $ticket_status neq 3} @@ -170,7 +184,7 @@ {if isset($isMod) and $isMod eq "TRUE"}
+

{$t_reply}:

+
- +
diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket_log.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket_log.tpl index 3b724753f..57dff23b6 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket_log.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_ticket_log.tpl @@ -1,7 +1,7 @@ {block name=content}
- +
@@ -22,7 +22,7 @@
- +
@@ -49,14 +49,14 @@
- +

Title: {$ticket_title}

- + diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_user.tpl b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_user.tpl index 23282aef6..90be13283 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_user.tpl +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/ingame_templates/show_user.tpl @@ -1,7 +1,7 @@ {block name=content}
ID Timestamp Query
- +
@@ -36,7 +36,7 @@
- +
@@ -63,7 +63,7 @@
- +
@@ -120,14 +120,14 @@
- +

Tickets

- +
ID Title Timestamp