X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fplatal.php;h=4ce3c3cacef206f29ee8956a241ec59b313033af;hb=73be44347c469de3cf128923e0221b4244915fa6;hp=d72c1104ef96f36da21c065ecce8a4f2bc92defe;hpb=46f272feb613c57febf40a0f7bf6a721e439b73b;p=platal.git diff --git a/modules/platal.php b/modules/platal.php index d72c110..4ce3c3c 100644 --- a/modules/platal.php +++ b/modules/platal.php @@ -449,14 +449,14 @@ Adresse de secours : " . Post::v('email') : "")); function handler_review(&$page, $action = null, $mode = null) { - require_once dirname(__FILE__) . '/platal/review.inc.php'; + $this->load('review.inc.php'); $dom = 'Review'; if (@$GLOBALS['IS_XNET_SITE']) { $dom .= 'Xnet'; } $wp = new PlWikiPage($dom . '.Admin'); $conf = explode('%0a', $wp->getField('text')); - $wiz = new PlWizard('Tour d\'horizon', 'core/plwizard.tpl', true); + $wiz = new PlWizard('Tour d\'horizon', PlPage::getCoreTpl('plwizard.tpl'), true); foreach ($conf as $line) { $list = preg_split('/\s*[*|]\s*/', $line, -1, PREG_SPLIT_NO_EMPTY); $wiz->addPage('ReviewPage', $list[0], $list[1]);