setAdminPageIcons("BLOG", "");
\PHPFusion\Admins::getInstance()->setAdminPageIcons("BLC", "");
\PHPFusion\Admins::getInstance()->setAdminPageIcons("S13", "");
\PHPFusion\Admins::getInstance()->setCommentType('B', fusion_get_locale('BLOG', LOCALE.LOCALESET."admin/main.php"));
\PHPFusion\Admins::getInstance()->setLinkType('B', fusion_get_settings("siteurl")."infusions/blog/blog.php?readmore=%s");
$inf_settings = get_settings('blog');
if (!empty($inf_settings['blog_allow_submission']) && $inf_settings['blog_allow_submission']) {
\PHPFusion\Admins::getInstance()->setSubmitData('b', [
'infusion_name' => 'blog',
'link' => INFUSIONS."blog/blog_submit.php",
'submit_link' => "submit.php?stype=b",
'submit_locale' => fusion_get_locale('BLOG', LOCALE.LOCALESET."admin/main.php"),
'title' => fusion_get_locale('blog_submit', LOCALE.LOCALESET."submissions.php"),
'admin_link' => INFUSIONS."blog/blog_admin.php".fusion_get_aidlink()."§ion=submissions&submit_id=%s"
]);
}
\PHPFusion\Admins::getInstance()->setFolderPermissions('blog', [
'infusions/blog/images/' => TRUE,
'infusions/blog/images/thumbs/' => TRUE
]);