AddSection("in-link:editlink_general", "la_tab_General",NULL,"in-link/admin/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addlink.php',0);", $admin."/icons/icon46_struct.gif", $admin."/icons/icon24_navigate.gif", NULL, "in-portal:browse", NULL, "in-link:editlink_category",-1); $objSections->AddSection("in-link:editlink_category","la_tab_Categories", NULL, "in-link/admin/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addlink_category.php',0);", $admin."/icons/icon46_struct.gif", $admin."/icons/icon24_navigate.gif", NULL,"in-portal:browse",'in-link:editlink_general', "in-link:editlink_relations",-1); $objSections->AddSection("in-link:editlink_relations","la_tab_Relations", NULL, "in-link/admin/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addlink_relations.php',0);", $admin."/icons/icon46_struct.gif", $admin."/icons/icon24_navigate.gif", NULL,"in-portal:browse",'in-link:editlink_category', "in-link:editlink_images",-1); $objSections->AddSection("in-link:editlink_images", "la_tab_Images", NULL,"in-link/admin/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addlink_images.php',0);", $admin."/icons/icon46_struct.gif", $admin."/icons/icon24_navigate.gif", NULL,"in-portal:browse",'in-link:editlink_relations', "in-link:editlink_reviews",-1); $objSections->AddSection("in-link:editlink_reviews", "la_tab_Reviews", NULL,"in-link/admin/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addlink_reviews.php',0);", $admin."/icons/icon46_struct.gif", $admin."/icons/icon24_navigate.gif", NULL,"in-portal:browse",'in-link:editlink_images', 'in-link:editlink_custom',-1); $objSections->AddSection("in-link:editlink_custom", "la_tab_Custom",NULL, "in-link/admin/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addlink_custom.php',0);", $admin."/icons/icon46_struct.gif", $admin."/icons/icon24_navigate.gif", NULL,"in-portal:browse",'in-link:editlink_reviews',NULL,-1); /* link edit subitems */ $objSections->AddSection("in-link:editlink_image","la_tab_Images","la_title_edit_link",$admin."/category/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addimage.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, NULL, NULL,NULL,-1); $objSections->AddSection("in-link:editlink_relation","la_tab_Relations","la_title_edit_link",$admin."/category/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addrelation.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, NULL, NULL,NULL,-1); $objSections->AddSection("in-link:editlink_review","la_tab_Reviews","la_title_edit_link",$admin."/category/", "javascript:edit_submit('link','LinkEditStatus','in-link/admin/addreview.php',0);", $admin."/icons/icon46_catalog.gif", $admin."/icons/icon24_navigate.gif", NULL, NULL, NULL,NULL,-1); /*inlink tree items */ // Load In-Link module to get it's version $mod = $objModules->GetModule("In-Link"); $ModVersion = $mod ? $mod->Get('Version') : ''; $objSections->AddSection("in-link","la_title_In-Link","la_title_In-Link", $admin."/","subitems.php", "in-link/admin/images/icon46_settings_in-link.gif","in-link/admin/images/icon24_settings_in-link.gif", NULL,"in-portal:modules",NULL,NULL,0,"",1, NULL,NULL,NULL,"in-link/admin/images/icon46_list_settings_in-link.gif","la_Text_Version"," $ModVersion"); $objSections->AddSection("in-link:inlink_general", "la_tab_GeneralSettings","la_tab_General", "in-link/admin/","config_general.php", $admin."/icons/icon46_settings_general.gif",$admin."/icons/icon24_settings_general.gif", NULL,"in-link", NULL,"in-link:configuration_output",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_general.gif", "la_updating_config"); $objSections->AddSection("in-link:configuration_output", "la_tab_ConfigOutput","la_tab_ConfigOutput", $admin.'/index4.php?section=in-link:configuration_output&module=In-Link', 'kernel4:config/config_universal', $admin."/icons/icon46_settings_output.gif",$admin."/icons/icon24_settings_output.gif", NULL,"in-link", "in-link:inlink_general","in-link:configuration_search",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_output.gif","la_updating_config"); $objSections->AddSection("in-link:configuration_search","la_tab_ConfigSearch", "la_tab_ConfigSearch", $admin.'/index4.php?module=In-Link§ion=in-link:configuration_search&module_key=links', 'kernel4:config/config_search', $admin."/icons/icon46_settings_search.gif",$admin."/icons/icon24_settings_search.gif", NULL,"in-link", "in-link:configuration_output", "in-link:configuration_email",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_search.gif","la_updating_config"); $objSections->AddSection("in-link:configuration_email", "la_tab_ConfigE-mail", "la_tab_ConfigE-mail", $admin."/config/", "module_email.php?&module=In-Link§ion=in-link:configuration_email&lpn=1", $admin."/icons/icon46_settings_email.gif",$admin."/icons/icon24_settings_email.gif", NULL,"in-link", "in-link:configuration_search", "in-link:configuration_custom",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_email.gif","la_updating_config"); $objSections->AddSection("in-link:configuration_custom","la_tab_ConfigCustom","la_tab_ConfigCustom",$admin.'/index4.php', "kernel4:custom_fields/custom_fields_list:cf----4-", $admin."/icons/icon46_settings_custom.gif",$admin."/icons/icon24_settings_custom.gif", NULL, "in-link", "in-link:configuration_email", "in-link:validation_list", 0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_settings_custom.gif","la_updating_config"); /*$objSections->AddSection("in-link:validation_list","la_tab_LinkValidation","la_tab_LinkValidation","in-link/admin/", "validation.php?§ion=in-link:validation_list", $admin."/icons/icon46_validate.gif", $admin."/icons/icon24_validate.gif", NULL, "in-link", "in-link:configuration_custom", null,0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_validate.gif");*/ $objSections->AddSection("in-link:validation_list","la_tab_LinkValidation","la_tab_LinkValidation","in-link/admin/", "validation.php?§ion=in-link:validation_list", $admin."/icons/icon46_validate.gif", $admin."/icons/icon24_validate.gif", NULL, "in-link", "in-link:configuration_custom", "in-link:inlink_paid_listings",0,"",1, NULL,NULL,NULL,$admin."/icons/icon46_list_validate.gif"); $objSections->AddSection("in-link:inlink_paid_listings", "la_tab_PaidListings","la_tab_PaidListings", $admin.'/index4.php','kernel4:in-link/paid_listings/paid_listing_types_list', $module_images.'/icons/icon46_paid_listings.gif',$module_images.'/icons/icon24_paid_listings.gif', NULL,"in-link", "in-link:validation_list",NULL,0,"",1, NULL,NULL,NULL,$module_images.'/icons/icon46_paid_listings.gif', "la_updating_config"); $objSections->SimpleSection('in-link','in-link:in-link','la_tab_InlinkImport','la_title_Help','in-link/admin/import/', 'inlink_import.php',null,null,null,null); $name = admin_language("lu_btn_NewLink"); $NewButtons[] = array( "ImagePath" => $rootURL."in-link/admin/images/", "Action" => "new_link", "Alt" => $name, "Tab" => defined('K4_LINKS') && K4_LINKS ? 'k4links' : 'links'); ?>