From 149469230f96f95fe3369de0b35543a0c9e8cfde Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 9 Jun 2011 20:44:36 +0200 Subject: [PATCH 1/2] Added note to author notes that PHP5 is required --- install.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.xml b/install.xml index c518d780..82b9163e 100644 --- a/install.xml +++ b/install.xml @@ -27,9 +27,9 @@ Enthaltenen Sprachdateien: Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.board3.de/viewforum.php?f=13 - I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de + This MOD requires PHP5. I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de - Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten. + Dieser MOD benötigt PHP5. Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten. From ca25262e38a135b2e82553cf7991ec9c75541b45 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 9 Jul 2011 16:18:41 +0200 Subject: [PATCH 2/2] Fixed incorrect handling of utf8 characters in custom blocks --- root/portal/modules/portal_custom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/portal/modules/portal_custom.php b/root/portal/modules/portal_custom.php index 7df0054c..e561aecc 100644 --- a/root/portal/modules/portal_custom.php +++ b/root/portal/modules/portal_custom.php @@ -199,7 +199,7 @@ class portal_custom_module $custom_code = utf8_normalize_nfc(request_var('custom_code', '', true)); $custom_bbcode = request_var('custom_use_bbcode', 1); // default to BBCode $custom_permission = request_var('permission-setting', array(0 => '')); - $custom_title = utf8_normalize_nfc(request_var('module_name', '')); + $custom_title = utf8_normalize_nfc(request_var('module_name', '', true)); $custom_image_src = utf8_normalize_nfc(request_var('module_image', '')); $groups_ary = array(); $uid = $bitfield = $flags = '';