File: index.php

package info (click to toggle)
diogenes 0.9.20-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,976 kB
  • ctags: 3,271
  • sloc: php: 12,285; sh: 828; perl: 258; makefile: 137; sql: 85
file content (20 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
// include common definitions
require_once 'diogenes.common.inc.php';
require_once 'diogenes.toplevel.inc.php';
require_once 'Barrel/Editor.php';

$page = new $globals->toplevel;

$editor = new Diogenes_Barrel_Editor();
$editor->readonly = 1;
$editor->run($page, 'viewer_content');

$page->assign('greeting', __("Welcome to Diogenes")."!");
$page->assign('about',
  $globals->urlise(__("Welcome to the Diogenes content management system.")." ".
  __("Diogenes was developed by the webmasters of the Polytechnique.org web site.")));
$page->assign('available',__("The following barrels are currently available"));

$page->display("index.tpl");
?>