aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-01-31 01:17:59 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-01-31 01:17:59 +0000
commitccd3959bdedd1f05c985074ab898136011db05a5 (patch)
treedc4bdfa6d4ba17b4fa036a3a2cd2495eedb37747
parent871bddb6857e2899fb3b7dcd44cee2f96d7961cb (diff)
downloadforums-ccd3959bdedd1f05c985074ab898136011db05a5.tar
forums-ccd3959bdedd1f05c985074ab898136011db05a5.tar.gz
forums-ccd3959bdedd1f05c985074ab898136011db05a5.tar.bz2
forums-ccd3959bdedd1f05c985074ab898136011db05a5.tar.xz
forums-ccd3959bdedd1f05c985074ab898136011db05a5.zip
Removed array defns no longer available in core code, updated localised image naming conventions lang_{LANG}/ form
git-svn-id: file:///svn/phpbb/trunk@2020 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/templates/subSilver/subSilver.cfg47
1 files changed, 27 insertions, 20 deletions
diff --git a/phpBB/templates/subSilver/subSilver.cfg b/phpBB/templates/subSilver/subSilver.cfg
index 60535e8119..821697ae94 100644
--- a/phpBB/templates/subSilver/subSilver.cfg
+++ b/phpBB/templates/subSilver/subSilver.cfg
@@ -20,24 +20,31 @@ define(TEMPLATE_CONFIG, TRUE);
// points to the location of individiual images used
// by the template
//
+// Please note that to enable support of different languages
+// the {LANG} place holder is available. This will be replaced
+// with the users selected language, eg. english, german, polish. The
+// suggested method is to keep all button related images (eg. post,
+// reply, quote, etc.) in subfolders; lang_english, lang_german, etc.
+// which requires lang_{LANG} to be part of the path name as below
+//
$current_template_images = $current_template_path . "/images";
$smilies_url = "images/smiles";
-$images['icon_quote'] = "$current_template_images/icon_quote_lang.gif";
-$images['icon_edit'] = "$current_template_images/icon_edit_lang.gif";
-$images['icon_search'] = "$current_template_images/icon_search_lang.gif";
-$images['icon_profile'] = "$current_template_images/icon_profile_lang.gif";
-$images['icon_pm'] = "$current_template_images/icon_pm_lang.gif";
-$images['icon_email'] = "$current_template_images/icon_email_lang.gif";
+$images['icon_quote'] = "$current_template_images/lang_{LANG}/icon_quote.gif";
+$images['icon_edit'] = "$current_template_images/lang_{LANG}/icon_edit.gif";
+$images['icon_search'] = "$current_template_images/lang_{LANG}/icon_search.gif";
+$images['icon_profile'] = "$current_template_images/lang_{LANG}/icon_profile.gif";
+$images['icon_pm'] = "$current_template_images/lang_{LANG}/icon_pm.gif";
+$images['icon_email'] = "$current_template_images/lang_{LANG}/icon_email.gif";
$images['icon_delpost'] = "$current_template_images/icon_delete.gif";
-$images['icon_ip'] = "$current_template_images/icon_ip_lang.gif";
-$images['icon_www'] = "$current_template_images/icon_www_lang.gif";
-$images['icon_icq'] = "$current_template_images/icon_icq_add_lang.gif";
-$images['icon_aim'] = "$current_template_images/icon_aim_lang.gif";
-$images['icon_yim'] = "$current_template_images/icon_yim_lang.gif";
-$images['icon_msnm'] = "$current_template_images/icon_msnm_lang.gif";
+$images['icon_ip'] = "$current_template_images/lang_{LANG}/icon_ip.gif";
+$images['icon_www'] = "$current_template_images/lang_{LANG}/icon_www.gif";
+$images['icon_icq'] = "$current_template_images/lang_{LANG}/icon_icq_add.gif";
+$images['icon_aim'] = "$current_template_images/lang_{LANG}/icon_aim.gif";
+$images['icon_yim'] = "$current_template_images/lang_{LANG}/icon_yim.gif";
+$images['icon_msnm'] = "$current_template_images/lang_{LANG}/icon_msnm.gif";
$images['icon_minipost'] = "$current_template_images/icon_minipost.gif";
$images['icon_gotopost'] = "$current_template_images/icon_minipost.gif";
$images['icon_minipost_new'] = "$current_template_images/icon_minipost_new.gif";
@@ -59,10 +66,10 @@ $images['folder_sticky_new'] = "$current_template_images/folder_sticky_new.gif";
$images['folder_announce'] = "$current_template_images/folder_announce.gif";
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif";
-$images['post_new'] = "$current_template_images/post_lang.gif";
-$images['post_locked'] = "$current_template_images/reply-locked_lang.gif";
-$images['reply_new'] = "$current_template_images/reply_lang.gif";
-$images['reply_locked'] = "$current_template_images/reply-locked_lang.gif";
+$images['post_new'] = "$current_template_images/lang_{LANG}/post.gif";
+$images['post_locked'] = "$current_template_images/lang_{LANG}/reply-locked.gif";
+$images['reply_new'] = "$current_template_images/lang_{LANG}/reply.gif";
+$images['reply_locked'] = "$current_template_images/lang_{LANG}/reply-locked.gif";
$images['pm_inbox'] = "$current_template_images/msg_inbox.gif";
$images['pm_outbox'] = "$current_template_images/msg_outbox.gif";
@@ -70,10 +77,10 @@ $images['pm_savebox'] = "$current_template_images/msg_savebox.gif";
$images['pm_sentbox'] = "$current_template_images/msg_sentbox.gif";
$images['pm_readmsg'] = "$current_template_images/folder.gif";
$images['pm_unreadmsg'] = "$current_template_images/folder_new.gif";
-$images['pm_replymsg'] = "$current_template_images/reply_lang.gif";
-$images['pm_postmsg'] = "$current_template_images/msg_newpost_lang.gif";
-$images['pm_quotemsg'] = "$current_template_images/icon_quote_lang.gif";
-$images['pm_editmsg'] = "$current_template_images/icon_edit_lang.gif";
+$images['pm_replymsg'] = "$current_template_images/lang_{LANG}/reply.gif";
+$images['pm_postmsg'] = "$current_template_images/lang_{LANG}/msg_newpost.gif";
+$images['pm_quotemsg'] = "$current_template_images/lang_{LANG}/icon_quote.gif";
+$images['pm_editmsg'] = "$current_template_images/lang_{LANG}/icon_edit.gif";
$images['pm_new_msg'] = "";
$images['pm_no_new_msg'] = "";