Move the templates required by the core module in the core.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 17 Aug 2008 19:23:53 +0000 (21:23 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 17 Aug 2008 19:43:02 +0000 (21:43 +0200)
commit7cb40d85a05eb9d16218b9504ee484741e2e92e3
tree55a13901a2e27f37844d2e9028ee186465d23024
parentc158b99a51c5d9cb499ecb2e6a169f83ca6aef2b
Move the templates required by the core module in the core.

New methods:
 * PlPage::coreTpl(): same as changeTpl() bug take a tpl from the core
 * PlPage::getCoreTpl(): return the path to a tpl from the core
 * template tag {include core=mycoretpl.tpl ...}

The "bug" handler require cleanup to be really site independent.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 files changed:
classes/plpage.php
classes/plset.php
classes/pltableeditor.php
include/wiki.engine.inc.php
modules/core.php
templates/403.tpl [new file with mode: 0644]
templates/404.tpl [new file with mode: 0644]
templates/backtrace.tpl [new file with mode: 0644]
templates/bug.tpl [new file with mode: 0644]
templates/csv-importer.tpl [new file with mode: 0644]
templates/plset.tpl [new file with mode: 0644]
templates/plview.multipage.tpl [new file with mode: 0644]
templates/table-editor.tpl [new file with mode: 0644]
templates/wiki.help.tpl [new file with mode: 0644]
templates/wiki.tpl [new file with mode: 0644]