mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Fix for 'first' layout activation. TinyMce issue with Mod-security commented.
This commit is contained in:
@@ -921,7 +921,7 @@ class news_front
|
||||
$c = 1;
|
||||
foreach($newsList as $row)
|
||||
{
|
||||
$tpl = ($c === 1 && !empty($template['first'])) ? $template['first'] : $template['item'];
|
||||
$tpl = ($c === 1 && !empty($template['first']) && $this->from === 0) ? $template['first'] : $template['item'];
|
||||
|
||||
$text .= $this->ix->render_newsitem($row, 'return', '', $tpl, $param);
|
||||
$c++;
|
||||
|
@@ -219,6 +219,8 @@
|
||||
_e107_bbcode2html : function(s, url) {
|
||||
s = tinymce.trim(s);
|
||||
|
||||
// FIXME mod-security might block the ajax call below with Rules: 942230, 949110, 980130 - reason yet unknown.
|
||||
|
||||
// return s;
|
||||
|
||||
var p = $.ajax({
|
||||
|
Reference in New Issue
Block a user