X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Ftoplevel%2Findex.php;fp=htdocs%2Ftoplevel%2Findex.php;h=d9eac03c28a48d53a48ca1502d842e2e2481842b;hb=6855525e48fad5de270500a5445c4f4ff85d8bda;hp=0000000000000000000000000000000000000000;hpb=e69709aa8ee6108a1197e46b45367ba8dab55a52;p=diogenes.git diff --git a/htdocs/toplevel/index.php b/htdocs/toplevel/index.php new file mode 100644 index 0000000..d9eac03 --- /dev/null +++ b/htdocs/toplevel/index.php @@ -0,0 +1,18 @@ +toplevel(true); + +$editor = new Diogenes_Barrel_Editor(); +$editor->run($page, 'sites_content'); + +if (!$globals->checkRootUrl()) +{ + $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.')); +} + +$page->assign('greeting',__("List of sites")); +$page->display('toplevel-sites.tpl'); +?>