setAdminPageIcons("N", ""); \PHPFusion\Admins::getInstance()->setAdminPageIcons("NC", ""); \PHPFusion\Admins::getInstance()->setAdminPageIcons("S8", ""); \PHPFusion\Admins::getInstance()->setCommentType('N', fusion_get_locale('N', LOCALE.LOCALESET."admin/main.php")); \PHPFusion\Admins::getInstance()->setLinkType('N', fusion_get_settings("siteurl")."infusions/news/news.php?readmore=%s"); $inf_settings = get_settings('news'); if (!empty($inf_settings['news_allow_submission']) && $inf_settings['news_allow_submission']) { \PHPFusion\Admins::getInstance()->setSubmitData('n', [ 'infusion_name' => 'news', 'link' => INFUSIONS."news/news_submit.php", 'submit_link' => "submit.php?stype=n", 'submit_locale' => fusion_get_locale('N', LOCALE.LOCALESET."admin/main.php"), 'title' => fusion_get_locale('news_submit', LOCALE.LOCALESET."submissions.php"), 'admin_link' => INFUSIONS."news/news_admin.php".fusion_get_aidlink()."&section=submissions&submit_id=%s" ]); } \PHPFusion\Admins::getInstance()->setFolderPermissions('news', [ 'infusions/news/images/' => TRUE, 'infusions/news/images/thumbs/' => TRUE ]);