#
# $Id$
#

INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','Home','Home','[% gSkin.rootdir %]/',1,2);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','Stories','Stories','[% gSkin.rootdir %]/admin.pl',100,5);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','New','New','[% gSkin.rootdir %]/admin.pl?op=edit',100,6);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','[% Slash.db.getSubmissionCount() %] Submissions','Submissions','[% gSkin.rootdir %]/submit.pl?op=list',100,7);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','Poll','Poll','[% gSkin.rootdir %]/pollBooth.pl?op=edit',500,8);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','Config','Config','[% gSkin.rootdir %]/admin.pl?op=topics',500,11);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','Info','Info','[% gSkin.rootdir %]/admin.pl?op=recent',500,12);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','Keywords','Keywords','[% gSkin.rootdir %]/admin.pl?op=edit_keyword',10000,14);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('admin','Help','Help','[% gSkin.rootdir %]/getting_started.shtml',1,17);

INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Topics','Topics','[% gSkin.rootdir %]/admin.pl?op=topics',10000,1);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Blocks','Blocks','[% gSkin.rootdir %]/admin.pl?op=blocks',500,2);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Colors','Colors','[% gSkin.rootdir %]/admin.pl?op=colors',500,3);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Filters','Filters','[% gSkin.rootdir %]/admin.pl?op=listfilters',1000,4);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Sections','Sections','[% gSkin.rootdir %]/sections.pl?op=list',1000,5);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Users','Users','[% gSkin.rootdir %]/users.pl',10000,6);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Templates','Templates','[% gSkin.rootdir %]/admin.pl?op=templates',500,7);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Vars','Vars','[% gSkin.rootdir %]/admin.pl?op=vars',10000,8);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Normal','Normal','[% gSkin.rootdir %]/admin.pl',500,9);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('config','Info','Info','[% gSkin.rootdir %]/admin.pl?op=recent',500,10);

INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('info','Site','Site','[% gSkin.rootdir %]/admin.pl?op=siteinfo',100,9);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('info','Tree','Tree','[% gSkin.rootdir %]/admin.pl?op=topictree',100,9);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('info','Slashd','Slashd','[% gSkin.rootdir %]/admin.pl?op=slashd',500,9);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('info','Recent','Recent','[% gSkin.rootdir %]/admin.pl?op=recent',500,10);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('info','Normal','Normal','[% gSkin.rootdir %]/admin.pl',500,12);
INSERT INTO menus (menu, label, sel_label, value, seclev, menuorder) VALUES ('info','Config','Config','[% gSkin.rootdir %]/admin.pl?op=topics',500,13);

INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Stories','stories','[% gSkin.rootdir %]/admin.pl',100,0,1);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Mods','recent_mods','[% gSkin.rootdir %]/admin.pl?op=recent_mods',500,0,2);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Reqs','requests','[% gSkin.rootdir %]/admin.pl?op=recent_requests',500,0,3);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Posting','recent','[% gSkin.rootdir %]/admin.pl?op=recent',500,0,4);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Abusers','abusers','[% gSkin.rootdir %]/users.pl?op=topabusers',100,0,5);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Read&nbsp;Only','readonly','[% gSkin.rootdir %]/users.pl?op=listreadonly',100,0,6);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Banned','banned','[% gSkin.rootdir %]/users.pl?op=listbanned',100,0,7);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Info','stats','[% gSkin.rootdir %]/stats.pl',100,0,8);
INSERT INTO menus(id, menu, label, sel_label, value, seclev, showanon, menuorder) VALUES (NULL,'security','Config','config','[% gSkin.rootdir %]/admin.pl?op=topics',10000,0,9);

INSERT INTO vars (name, value, description) VALUES ('admin_maxdays_divider', '14', 'Max number of days on the admin.pl story list to bother showing the day-dividers');
INSERT INTO vars (name, value, description) VALUES ('ispell', 'ispell', 'Location of ispell binary or empty string to turn off');
INSERT INTO vars (name, value, description) VALUES ('ispell_is_really_aspell_with_lang', '', 'Some systems install aspell and a script that mimics the behavior of ispell; if yours does, set this to your preferred language name, e.g. "english"');
INSERT INTO vars (name, value, description) VALUES ('similarstorydays', '30', 'Number of days to look back for uncommon words when determining similar stories');
INSERT INTO vars (name, value, description) VALUES ('similarstorymaxwords', '30', 'Maximum number of top-weighted scores to search for in previous stories');
INSERT INTO vars (name, value, description) VALUES ('similarstoryminweight', '4', 'Minimum weight necessary for a story to be displayed as similar');
INSERT INTO vars (name, value, description) VALUES ('similarstorynumshow', '5', 'Maximum number of similar stories to show in admin preview');
INSERT INTO vars (name, value, description) VALUES ('topic_popup_defaultweight', '10', 'Default weight for new topics in the popup menu (should probably match default for topic_parents.min_weight)');
INSERT INTO vars (name, value, description) VALUES ('topic_popup_open', '1', 'Expand all topics by default, or not');
INSERT INTO vars (name, value, description) VALUES ('topic_popup_weights', '40=0|30=Mainpage|20=0|10=Sectional|0=0', 'The dividing lines etc. for the topic select box in the story editor');
INSERT INTO vars (name, value, description) VALUES ('topic_tree_draw', '0', 'Draw the images/topic_tree.png? (turned off by default to avoid making GraphViz a Slash requirement)');
INSERT INTO vars (name, value, description) VALUES ('topic_tree_draw_fontname', 'freefont/FreeMono', 'Name of font used for labels in the topic tree');
INSERT INTO vars (name, value, description) VALUES ('topic_tree_draw_fontsize', '10', 'Size of font used for labels in the topic tree');
INSERT INTO vars (name, value, description) VALUES ('topic_tree_lastchange', '1', 'Unix timestamp of last change to the topic tree');
INSERT INTO vars (name, value, description) VALUES ('topic_tree_lastdraw', '1', 'Unix timestamp of last time topic_tree_draw.pl redrew images/topic_tree.png');
INSERT INTO vars (name, value, description) VALUES ('topics_sectional_weight', '10', 'Minimum weight for sectional stories');
INSERT INTO vars (name, value, description) VALUES ('uncommon_weight_bodytext','0.5','Relative weight for uncommon words found in bodytext of stories');
INSERT INTO vars (name, value, description) VALUES ('uncommon_weight_introtext','1','Relative weight for uncommon words found in introtext of stories');
INSERT INTO vars (name, value, description) VALUES ('uncommon_weight_title','8','Relative weight for uncommon words found in titles of stories');
INSERT INTO vars (name, value, description) VALUES ('uncommonstorywords_maxlen', '65000', 'Maximum length of the uncommon words list');
INSERT INTO vars (name, value, description) VALUES ('uncommonstoryword_minlen', '3', 'Minimum length of the words in the uncommon words list');
INSERT INTO vars (name, value, description) VALUES ('uncommonstoryword_thresh', '2', 'Words occurring more often than once every this-many days are considered common');

