К примеру, параметр
$ignore_forum_acl = false
Код: Выделить всё
function make_forum_select($select_id = false, $ignore_id = false, $ignore_acl = false, $ignore_nonpost = false, $ignore_emptycat = true, $only_acl_post = false, $return_array = false, $ignore_forum_acl = false)
Код: Выделить всё
if (!$ignore_acl && $auth->acl_gets(array('f_list', 'a_forum', 'a_forumadd', 'a_forumdel'), $row['forum_id']))
{
if (!$ignore_forum_acl && ($only_acl_post && !$auth->acl_get('f_post', $row['forum_id']) || (!$auth->acl_get('m_approve', $row['forum_id']) && !$auth->acl_get('f_noapprove', $row['forum_id']))))
{
$disabled = true;
}
}
else if (!$ignore_acl)
{
continue;
}
includes\acp\acp_forums.php
Код: Выделить всё
$this->page_title = 'CREATE_FORUM';
$forum_id = $this->parent_id;
$parents_list = make_forum_select($this->parent_id, false, false, false, false, false, false, true);