2 require_once 'diogenes.common.inc.php';
3 require_once 'diogenes.toplevel.inc.php';
4 require_once 'Barrel/Editor.php';
6 $page = new $globals->toplevel(true
);
8 $editor = new Diogenes_Barrel_Editor();
9 $editor->run($page, 'sites_content');
11 if (!$globals->checkRootUrl())
13 $page->assign('msg_information', __('Warning : in order to make use of virtual hosts or WebDAV, you need to set $globals->rooturl to a full URL starting with http:// or https:// in your Diogenes configuration file.'));
16 $page->assign('greeting',__("List of sites"));
17 $page->display('toplevel-sites.tpl');