From 2fbe2c4ee417649435c546369ec735fb20a211a1 Mon Sep 17 00:00:00 2001 From: Franky-Boy Date: Mon, 26 Oct 2015 02:09:18 +0100 Subject: [PATCH 1/2] Update content.inc.php If the 'tv' variable's value has one or more equal sign, the string is cut at the first equal sign. After this change, you can use equal sign in the value of 'tv' variable. It is very useful, when you add a special character or icon ( for example: ) for the value. It works after this modification. --- cms/includes/content.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/includes/content.inc.php b/cms/includes/content.inc.php index 6076514..bda2c94 100644 --- a/cms/includes/content.inc.php +++ b/cms/includes/content.inc.php @@ -94,7 +94,7 @@ foreach($tv_array as $tv_item) { if($tv_item) { - $tv_item_parts = explode('=', $tv_item); + $tv_item_parts = explode('=', $tv_item, 2); $tv[trim($tv_item_parts[0])] = isset($tv_item_parts[1]) ? trim($tv_item_parts[1]) : true; } } From 8b8199cc77c2377745fab9a69cc0436fd01b7001 Mon Sep 17 00:00:00 2001 From: Franky-Boy Date: Mon, 26 Oct 2015 02:27:46 +0100 Subject: [PATCH 2/2] Update edit.inc.tpl I think, the "Include news" list missed on the "Properties" tab in the "Edit page". I complemented it. (Based on the previous version.) --- cms/templates/admin/subtemplates/edit.inc.tpl | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/cms/templates/admin/subtemplates/edit.inc.tpl b/cms/templates/admin/subtemplates/edit.inc.tpl index 9686e83..76eb8ac 100644 --- a/cms/templates/admin/subtemplates/edit.inc.tpl +++ b/cms/templates/admin/subtemplates/edit.inc.tpl @@ -324,7 +324,22 @@ - + + +
+ + +
+ +
+
+ +