first shot at reworking plugin system
[diogenes.git] / htdocs / index.php
... / ...
CommitLineData
1<?php
2// include common definitions
3require_once 'diogenes.common.inc.php';
4require_once 'diogenes.toplevel.inc.php';
5require_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?>