-1) exit(); var settings = load('modopts.js', 'web') || { web_directory: web_root_dir + '/..' }; load(settings.web_directory + '/lib/init.js'); load(settings.web_lib + 'auth.js'); load(settings.web_lib + 'pages.js'); load(settings.web_lib + 'sidebar.js'); if (page.search(/\.link$/i) > -1) { var loc = getExternalLink(page); if (loc !== null) { http_reply.status = '301 Moved Permanently'; http_reply.header['Location'] = loc; exit(); } page = '000-home.xjs'; // no usable link target: fall back as any other bad page does } var pagePath = getPagePath(page); if (pagePath == null) { page = '000-home.xjs'; pagePath = getPagePath('000-home.xjs'); } var page_ctrl = getCtrlLine(pagePath); ?> function _sidebar() { ?> if (settings.layout_sidebar_off || page_ctrl.options.no_sidebar) return; ?>
} ?>