Release diogenes-0.9.22
[diogenes.git] / htdocs / index.php
1 <?php
2 // include common definitions
3 require_once 'diogenes.common.inc.php';
4 require_once 'diogenes.toplevel.inc.php';
5 require_once 'Barrel/Editor.php';
6
7 $page = new $globals->toplevel;
8
9 $editor = new Diogenes_Barrel_Editor();
10 $editor->readonly = 1;
11 $editor->run($page, 'viewer_content');
12
13 $page->assign('greeting', __("Welcome to Diogenes")."!");
14 $page->assign('about',
15 $globals->urlise(__("Welcome to the Diogenes content management system.")." ".
16 __("Diogenes was developed by the webmasters of the Polytechnique.org web site.")));
17 $page->assign('available',__("The following barrels are currently available"));
18
19 $page->display("index.tpl");
20 ?>