Loading adminzone/pages/comcode/EN/start.txt +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ {| 60%:37% wide floats | [block]main_staff_checklist[/block] | [block]main_staff_new_version[/block]{+START,IF,{$CNS}}[block="Reported posts forum,Staff" title="Staff forum" limit="3" failsafe="1"]main_forum_topics[/block]{+END}[block]main_staff_tips[/block]{+START,IF,{$ADDON_INSTALLED,syndication_blocks}}{$BLOCK,block=side_rss,param={$BRAND_BASE_URL}/backend.php?mode=news&type=rss&select=1-10&days=100,title=Composr news,cache=1,defer=1}{+END} | [block]main_staff_new_version[/block]{+START,IF,{$CNS}}[block="Reported posts forum,Staff" title="Staff forums" limit="3" failsafe="1"]main_forum_topics[/block]{+END}[block]main_staff_tips[/block]{+START,IF,{$ADDON_INSTALLED,syndication_blocks}}{$BLOCK,block=side_rss,param={$BRAND_BASE_URL}/backend.php?mode=news&type=rss&select=1-10&days=100,title=Composr news,cache=1,defer=1}{+END} |} [title="2"]Latest activity [size="0.8"]([page="adminzone:admin_actionlog"]more[/page])[/size][/title] Loading sources/blocks/main_forum_news.php +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ class Block_main_forum_news $submit_url = new Tempcode(); $forum_ids = array(); if ((get_forum_type() == 'cns') && ((strpos($forum_name, ',') !== false) || (preg_match('#\d[-\*\+]#', $forum_name) != 0) || (is_numeric($forum_name)))) { if ((get_forum_type() == 'cns') && (preg_match('#^[\d\-\*,]*$#', $forum_name) != 0)) { require_code('selectcode'); $forum_names = selectcode_to_idlist_using_db($forum_name, 'id', 'f_forums', 'f_forums', 'f_parent_forum', 'f_parent_forum', 'id', true, true, $GLOBALS['FORUM_DB']); } else { Loading sources/blocks/main_forum_topics.php +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ class Block_main_forum_topics // Work out exactly what forums we're reading $forum_ids = array(); if ((get_forum_type() == 'cns') && ((strpos($forum_name, ',') !== false) || (strpos($forum_name, '*') !== false) || (preg_match('#\d[-\*\+]#', $forum_name) != 0) || (is_numeric($forum_name)))) { if ((get_forum_type() == 'cns') && (preg_match('#^[\d\-\*,]*$#', $forum_name) != 0)) { require_code('selectcode'); $forum_names = selectcode_to_idlist_using_db($forum_name, 'id', 'f_forums', 'f_forums', 'f_parent_forum', 'f_parent_forum', 'id', true, true, $GLOBALS['FORUM_DB']); } else { Loading sources/blocks/side_forum_news.php +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ class Block_side_forum_news $submit_url = new Tempcode(); $forum_ids = array(); if ((get_forum_type() == 'cns') && ((strpos($forum_name, ',') !== false) || (preg_match('#\d[-\*\+]#', $forum_name) != 0) || (is_numeric($forum_name)))) { if ((get_forum_type() == 'cns') && (preg_match('#^[\d\-\*,]*$#', $forum_name) != 0)) { require_code('selectcode'); $forum_names = array_map('strval', selectcode_to_idlist_using_db($forum_name, 'id', 'f_forums', 'f_forums', 'f_parent_forum', 'f_parent_forum', 'id', true, true, $GLOBALS['FORUM_DB'])); } else { Loading Loading
adminzone/pages/comcode/EN/start.txt +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ {| 60%:37% wide floats | [block]main_staff_checklist[/block] | [block]main_staff_new_version[/block]{+START,IF,{$CNS}}[block="Reported posts forum,Staff" title="Staff forum" limit="3" failsafe="1"]main_forum_topics[/block]{+END}[block]main_staff_tips[/block]{+START,IF,{$ADDON_INSTALLED,syndication_blocks}}{$BLOCK,block=side_rss,param={$BRAND_BASE_URL}/backend.php?mode=news&type=rss&select=1-10&days=100,title=Composr news,cache=1,defer=1}{+END} | [block]main_staff_new_version[/block]{+START,IF,{$CNS}}[block="Reported posts forum,Staff" title="Staff forums" limit="3" failsafe="1"]main_forum_topics[/block]{+END}[block]main_staff_tips[/block]{+START,IF,{$ADDON_INSTALLED,syndication_blocks}}{$BLOCK,block=side_rss,param={$BRAND_BASE_URL}/backend.php?mode=news&type=rss&select=1-10&days=100,title=Composr news,cache=1,defer=1}{+END} |} [title="2"]Latest activity [size="0.8"]([page="adminzone:admin_actionlog"]more[/page])[/size][/title] Loading
sources/blocks/main_forum_news.php +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ class Block_main_forum_news $submit_url = new Tempcode(); $forum_ids = array(); if ((get_forum_type() == 'cns') && ((strpos($forum_name, ',') !== false) || (preg_match('#\d[-\*\+]#', $forum_name) != 0) || (is_numeric($forum_name)))) { if ((get_forum_type() == 'cns') && (preg_match('#^[\d\-\*,]*$#', $forum_name) != 0)) { require_code('selectcode'); $forum_names = selectcode_to_idlist_using_db($forum_name, 'id', 'f_forums', 'f_forums', 'f_parent_forum', 'f_parent_forum', 'id', true, true, $GLOBALS['FORUM_DB']); } else { Loading
sources/blocks/main_forum_topics.php +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ class Block_main_forum_topics // Work out exactly what forums we're reading $forum_ids = array(); if ((get_forum_type() == 'cns') && ((strpos($forum_name, ',') !== false) || (strpos($forum_name, '*') !== false) || (preg_match('#\d[-\*\+]#', $forum_name) != 0) || (is_numeric($forum_name)))) { if ((get_forum_type() == 'cns') && (preg_match('#^[\d\-\*,]*$#', $forum_name) != 0)) { require_code('selectcode'); $forum_names = selectcode_to_idlist_using_db($forum_name, 'id', 'f_forums', 'f_forums', 'f_parent_forum', 'f_parent_forum', 'id', true, true, $GLOBALS['FORUM_DB']); } else { Loading
sources/blocks/side_forum_news.php +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ class Block_side_forum_news $submit_url = new Tempcode(); $forum_ids = array(); if ((get_forum_type() == 'cns') && ((strpos($forum_name, ',') !== false) || (preg_match('#\d[-\*\+]#', $forum_name) != 0) || (is_numeric($forum_name)))) { if ((get_forum_type() == 'cns') && (preg_match('#^[\d\-\*,]*$#', $forum_name) != 0)) { require_code('selectcode'); $forum_names = array_map('strval', selectcode_to_idlist_using_db($forum_name, 'id', 'f_forums', 'f_forums', 'f_parent_forum', 'f_parent_forum', 'id', true, true, $GLOBALS['FORUM_DB'])); } else { Loading