Release diogenes-0.9.22
[diogenes.git] / htdocs / toplevel / index.php
CommitLineData
6855525e
JL
1<?php
2require_once 'diogenes.common.inc.php';
3require_once 'diogenes.toplevel.inc.php';
4require_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
11if (!$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?>