Adds address edition in entreprise validation.
[platal.git] / include / banana / hooks.inc.php
index 5259177..d8cd9f1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2008 Polytechnique.org                              *
+ *  Copyright (C) 2003-2009 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -290,7 +290,7 @@ class PlatalBananaPage extends BananaPage
     {
         $tpl = parent::prepare();
         global $wiz;
-        $wiz = new PlWizard('Banana', 'core/plwizard.tpl', true, false);
+        $wiz = new PlWizard('Banana', PlPage::getCoreTpl('plwizard.tpl'), true, false);
         foreach ($this->pages as $name=>&$mpage) {
             $wiz->addPage($this->handler, $mpage['text'], $name);
         }