AddSection("in-news:editarticle_general","la_tab_General", NULL, "in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_catalog.gif", NULL, "in-portal:browse", NULL, "in-news:editarticle_category",-1,""); $objSections->AddSection("in-news:editarticle_category","la_tab_Categories", NULL, "in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_category.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, "in-portal:browse","in-news:editarticle_general", "in-news:editarticle_relations",-1,""); $objSections->AddSection("in-news:editarticle_relations", "la_tab_Relations", NULL, "in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_relations.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, "in-portal:browse", "in-news:editarticle_category","in-news:editarticle_images",-1,""); $objSections->AddSection("in-news:editarticle_images","la_tab_Images", NULL,"in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_images.php',0);", "aadmin/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, "in-portal:browse", "in-news:editarticle_relations", "in-news:editarticle_reviews",-1,""); $objSections->AddSection("in-news:editarticle_reviews","la_tab_Reviews", NULL,"in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_reviews.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, "in-portal:browse",'in-news:editarticle_images', "in-news:editarticle_custom", -1,""); $objSections->AddSection("in-news:editarticle_custom","la_tab_Custom", NULL, "in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addarticle_custom.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, "in-portal:browse", 'in-news:editarticle_reviews', NULL, -1); /* article edit subitems */ $objSections->AddSection("in-news:editarticle_image","la_tab_Images","la_title_edit_article","in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addimage.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, NULL, NULL,NULL,-1); $objSections->AddSection("in-news:editarticle_relation","la_tab_Relations","la_title_edit_article","in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addrelation.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, NULL, NULL,NULL,-1); $objSections->AddSection("in-news:editarticle_review","la_tab_Reviews", "la_title_edit_article", "in-news/admin/", "javascript:edit_submit('article','NewsEditStatus','in-news/admin/addreview.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, NULL, NULL,NULL,-1); /* tree items */ // Load In-News module to get it's version $mod = $objModules->GetModule("In-News"); $ModVersion = $mod ? $mod->Get('Version') : ''; $objSections->AddSection("in-news","la_title_In-News","la_title_In-News",$admin."/","subitems.php", "in-news/admin/images/icon46_settings_in-newz.gif","in-news/admin/images/icon24_settings_in-newz.gif", NULL,"in-portal:modules",NULL,NULL,0,"",1, NULL,NULL,NULL,"in-news/admin/images/icon46_list_settings_in-newz.gif","la_Text_Version"," $ModVersion"); $objSections->AddSection("in-news:innews_general", "la_tab_GeneralSettings","la_tab_General", "in-news/admin/","config_general.php", $admin."/icons/icon46_settings_general.gif",$admin."/icons/icon24_settings_general.gif", NULL,"in-news", NULL,"in-news:configuration_output",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_general.gif","la_updating_config"); $objSections->AddSection("in-news:configuration_output", "la_tab_ConfigOutput","la_tab_ConfigOutput", $admin.'/index4.php?section=in-news:configuration_output&module=In-News','kernel4:config/config_universal', $admin."/icons/icon46_settings_output.gif",$admin."/icons/icon24_settings_output.gif", NULL,"in-news", "in-news:innews_general", "in-news:configuration_search",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_output.gif","la_updating_config"); $objSections->AddSection("in-news:configuration_search", "la_tab_ConfigSearch","la_tab_ConfigSearch", $admin.'/index4.php?module=In-News§ion=in-news:configuration_search&module_key=articles', 'kernel4:config/config_search', $admin."/icons/icon46_settings_search.gif",$admin."/icons/icon24_settings_search.gif", NULL,"in-news", "in-news:configuration_output","in-news:configuration_email",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_search.gif","la_updating_config"); $objSections->AddSection("in-news:configuration_email", "la_tab_ConfigE-mail", "la_tab_ConfigE-mail", $admin."/config/", "module_email.php?&module=In-News§ion=in-news:configuration_email&lpn=1", $admin."/icons/icon46_settings_email.gif",$admin."/icons/icon24_settings_email.gif", NULL, "in-news", "in-news:configuration_search","in-news:configuration_custom",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_email.gif","la_updating_config"); $objSections->AddSection("in-news:configuration_custom","la_tab_ConfigCustom","la_tab_ConfigCustom", $admin.'/index4.php', "kernel4:custom_fields/custom_fields_list:cf----2-", $admin."/icons/icon46_settings_custom.gif",$admin."/icons/icon24_settings_custom.gif", NULL, "in-news", "in-news:configuration_email", NULL,0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_custom.gif","la_updating_config"); $objSections->AddSection("in-news:editarticle_userselect","la_tab_UserSelect","la_title_UserSelect", $admin."/users","user_select.php", $admin."/icons/icon46_community.gif",$admin."/icons/icon24_usergroups.gif", NULL,NULL,NULL,NULL,-1,"",1,0,1,1); $name = admin_language("lu_btn_NewArticle"); $NewButtons[] = array( "ImagePath" => $rootURL."in-news/admin/images/", "Action" => "new_news", "Alt" => $name, "Tab" => "news"); ?>