From 76b8384a71bac57925fe403696e1091e7661e56a Mon Sep 17 00:00:00 2001 From: Moc Date: Mon, 24 Jun 2013 19:17:22 +0200 Subject: [PATCH] Fixes to submitnews UI frontend (also tagwords notes) --- e107_plugins/tagwords/tagwords_class.php | 4 ++-- submitnews.php | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/e107_plugins/tagwords/tagwords_class.php b/e107_plugins/tagwords/tagwords_class.php index 812b0085c..0e53cd293 100644 --- a/e107_plugins/tagwords/tagwords_class.php +++ b/e107_plugins/tagwords/tagwords_class.php @@ -313,7 +313,7 @@ class tagwords $insert_diff = array_diff($new, $existing); $count = 0; // print_a($insert_diff); - return ("Tagword Insert: ".print_a($new,true)); + return ("Tagword Insert: ".print_a($new,true)); // FIXME foreach($insert_diff as $word) { @@ -328,7 +328,7 @@ class tagwords return "a Diff was made"; } - return "
".LAN_TAG_3.": ".$count." words."; + return "
".LAN_TAG_3.": ".$count." words."; // FIXME } /* diff --git a/submitnews.php b/submitnews.php index f65b95273..fe39d4259 100644 --- a/submitnews.php +++ b/submitnews.php @@ -183,8 +183,16 @@ $text .= " -"; + + + ".LAN_135." + + ".e107::getForm()->bbarea('submitnews_item', $tp->toForm(vartrue($_POST['submitnews_item'])))." + + +"; +/* if (e_WYSIWYG) { $insertjs = "rows='25'"; @@ -210,6 +218,7 @@ if (!e_WYSIWYG) $text .= " "; +*/ if ($pref['subnews_attach'] && $pref['upload_enabled'] && check_class($pref['upload_class']) && FILE_UPLOADS) {