*/ /* * Require files and ensure environment. */ require_once __DIR__ . "/inc/functions.php"; ensureEnvironment(); // Ensure existence of system files. $translations = loadLanguage($settings['defaultLang']); // Load translations. ensureBackendEnv(); // Ensure session is started etc. $pages = loadPages(); // Load overview of pages. /* * Load data. */ /* * Output */ echo printBackendHead($settings, $translations['pagesOverview'], $translations['pagesOverview'], $settings['logo']); echo printBackendHeader($translations['pagesOverview'], $translations['helpPagesOverview']); echo '
'; echo printBackendNav($translations); echo '
'; echo buildPageOrder( $pages, function() { return ""; }, function($inputs, $toAdd) { $output = " " . $inputs['title'] . " $toAdd "; return $output; } ); echo '
'; echo printBackendEnd(); ?>