From 5743b12ad64f7faabcbc04e20bfbda53c9303081 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 10 Apr 2008 15:32:41 +0000 Subject: [PATCH] Report#88: welcome message and phpBB 3.0.1 in ACP (wrong error message, limited to 255 characters), also corrected language files (we don't have a limit of 600 characters in the welcome box) --- languages/de/mods/lang_portal_acp.php | 2 +- root/includes/acp/acp_portal.php | 6 +++--- root/language/en/mods/lang_portal_acp.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/languages/de/mods/lang_portal_acp.php b/languages/de/mods/lang_portal_acp.php index cfcae019..19a44dca 100644 --- a/languages/de/mods/lang_portal_acp.php +++ b/languages/de/mods/lang_portal_acp.php @@ -224,7 +224,7 @@ $lang = array_merge($lang, array( 'ACP_PORTAL_WELCOME_SETTINGS_EXPLAIN' => 'Hier kannst du die Einstellungen für die Willkommens Nachricht ändern.', 'PORTAL_WELCOME_INTRO' => 'Willkommens Nachricht', 'PORTAL_WELCOME_GUEST' => 'Willkommens Nachricht nur für Gäste?', - 'PORTAL_WELCOME_INTRO_EXPLAIN' => 'Ändere hier die Willkommens Nachricht (BBCode ist erlaubt). Max. 600 Zeichen!', + 'PORTAL_WELCOME_INTRO_EXPLAIN' => 'Ändere hier die Willkommens Nachricht (BBCode ist erlaubt).', // custom 'ACP_PORTAL_CUSTOM_INFO' => 'Aktiver Block', diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index b63d1758..4e25df62 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -192,7 +192,7 @@ class acp_portal 'legend1' => 'ACP_PORTAL_WELCOME_SETTINGS', 'portal_welcome' => array('lang' => 'PORTAL_WELCOME' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'portal_welcome_guest' => array('lang' => 'PORTAL_WELCOME_GUEST' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'portal_welcome_intro' => array('lang' => 'PORTAL_WELCOME_INTRO' , 'validate' => 'string', 'type' => 'textarea:6:6', 'explain' => true), + 'portal_welcome_intro' => array('lang' => 'PORTAL_WELCOME_INTRO' , 'type' => 'textarea:6:6', 'explain' => true), ) ); break; @@ -205,12 +205,12 @@ class acp_portal 'portal_custom_small' => array('lang' => 'PORTAL_CUSTOM_SMALL' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'portal_custom_small_headline' => array('lang' => 'PORTAL_CUSTOM_SMALL_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true), 'portal_custom_small_bbcode' => array('lang' => 'PORTAL_CUSTOM_SMALL_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'portal_custom_code_small' => array('lang' => 'PORTAL_CUSTOM_CODE_SMALL' , 'validate' => 'string', 'type' => 'textarea:6:6', 'explain' => true), + 'portal_custom_code_small' => array('lang' => 'PORTAL_CUSTOM_CODE_SMALL' , 'type' => 'textarea:6:6', 'explain' => true), 'legend2' => 'ACP_PORTAL_CUSTOM_CENTER_SETTINGS', 'portal_custom_center' => array('lang' => 'PORTAL_CUSTOM_CENTER' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'portal_custom_center_headline' => array('lang' => 'PORTAL_CUSTOM_CENTER_HEADLINE' , 'validate' => 'string', 'type' => 'text:40:200', 'explain' => true), 'portal_custom_center_bbcode' => array('lang' => 'PORTAL_CUSTOM_CENTER_BBCODE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'portal_custom_code_center' => array('lang' => 'PORTAL_CUSTOM_CODE_CENTER' , 'validate' => 'string', 'type' => 'textarea:6:6', 'explain' => true), + 'portal_custom_code_center' => array('lang' => 'PORTAL_CUSTOM_CODE_CENTER' , 'type' => 'textarea:6:6', 'explain' => true), ) ); break; diff --git a/root/language/en/mods/lang_portal_acp.php b/root/language/en/mods/lang_portal_acp.php index f6eff011..1f5514ab 100644 --- a/root/language/en/mods/lang_portal_acp.php +++ b/root/language/en/mods/lang_portal_acp.php @@ -229,7 +229,7 @@ $lang = array_merge($lang, array( 'ACP_PORTAL_WELCOME_SETTINGS_EXPLAIN' => 'Here you can change welcome messages and certain specific options.', 'PORTAL_WELCOME_INTRO' => 'Welcome message', 'PORTAL_WELCOME_GUEST' => 'Welcome message only for guests?', - 'PORTAL_WELCOME_INTRO_EXPLAIN' => 'Change the welcome message (BBCode is allowed). Max. 600 characters!', + 'PORTAL_WELCOME_INTRO_EXPLAIN' => 'Change the welcome message (BBCode is allowed).', // custom 'ACP_PORTAL_CUSTOM_INFO' => 'Custom block',