~includeonce('../config.tmpl') ~includeonce('../config/spell.tmpl') ~includeonce('../lib/ressources.tmpl') ~includeonce('../lib/admin.tmpl') ~map_filenamevar('res_table','param_state','param_section','param_order','param_direction') ~if(~integer(~get('res_table'))>0, { ~get_res_info(~get('res_table'),'res'), ~redirect('~get_site_url()admin/manage_sections,~get('res[table]').html') }) ~set('res_type',~res_table_to_res_type(~get('res_table'))) ~get_res_info(~get('res_type'),'res') ~set('res_name',~get('res[name]')) ~include('../site/admin.header.tmpl','Gestion sections ~get('res_name')')
Gestion des sections ~get('res_name') :
~list(~get('database'), "SELECT id,longname FROM ~get('res_table')_sections" ,'LF','