mise a jour pour mtweb.0.9.0
[mw_pages] / app / out / default / views / pages / admin / edit.php
index accb84f..bd57be0 100644 (file)
@@ -1,3 +1,8 @@
+<?php
+
+  $pages_helper = $this->helper("mw_helper_pages");
+
+?>
 <?php require $this->out_file("views/tinymce.init.js.php"); ?>
 
 <h2>Modifier une page</h2>
@@ -19,7 +24,7 @@
         <label>Page parente</label>
         <div class="form_input">
           <select name="id_parent">
-            <?php echo pages_arbo_edit_select_options($this->out["arbo"], $this->out["page"]["id"], $this->out["page"]["id_parent"], "&nbsp;&nbsp;"); ?>
+            <?php echo $pages_helper->pages_arbo_edit_select_options($this->out["arbo"], $this->out["page"]["id"], $this->out["page"]["id_parent"], "&nbsp;&nbsp;"); ?>
           </select>
         </div>
       </li>