|
From: Paul S. O. <ps...@us...> - 2002-01-31 01:18:03
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv12073/templates/subSilver
Modified Files:
subSilver.cfg
Log Message:
Removed array defns no longer available in core code, updated localised image naming conventions lang_{LANG}/ form
Index: subSilver.cfg
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/subSilver.cfg,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** subSilver.cfg 2002/01/04 00:34:36 1.9
--- subSilver.cfg 2002/01/31 01:17:59 1.10
***************
*** 21,24 ****
--- 21,31 ----
// 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";
***************
*** 26,42 ****
$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_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_minipost'] = "$current_template_images/icon_minipost.gif";
$images['icon_gotopost'] = "$current_template_images/icon_minipost.gif";
--- 33,49 ----
$smilies_url = "images/smiles";
! $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/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";
***************
*** 60,67 ****
$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['pm_inbox'] = "$current_template_images/msg_inbox.gif";
--- 67,74 ----
$images['folder_announce_new'] = "$current_template_images/folder_announce_new.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";
***************
*** 71,78 ****
$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_new_msg'] = "";
$images['pm_no_new_msg'] = "";
--- 78,85 ----
$images['pm_readmsg'] = "$current_template_images/folder.gif";
$images['pm_unreadmsg'] = "$current_template_images/folder_new.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'] = "";
|