bump debian packaging
[diogenes.git] / htdocs / toplevel / index.php
1 <?php
2 require_once 'diogenes.common.inc.php';
3 require_once 'diogenes.toplevel.inc.php';
4 require_once 'Barrel/Editor.php';
5
6 $page = new $globals->toplevel(true);
7
8 $editor = new Diogenes_Barrel_Editor();
9 $editor->run($page, 'sites_content');
10
11 if (!$globals->checkRootUrl())
12 {
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.'));
14 }
15
16 $page->assign('greeting',__("List of sites"));
17 $page->display('toplevel-sites.tpl');
18 ?>