mise a jour pour mtweb.0.6.0
[mw_pages] / out / default / views / pages / admin / edit.php
similarity index 64%
rename from out/dist/views/pages/admin/edit.php
rename to out/default/views/pages/admin/edit.php
index 3b3abc7..a5f5e2f 100644 (file)
@@ -3,15 +3,15 @@
 <h2>Modifier une page</h2>
 
 <ul class="admin">
-  <li><a href="<?= $this->url("pages/admin") ?>">Retour &agrave; la liste des pages</a></li>
+  <li><a href="<?php echo $this->url("pages/admin"); ?>">Retour &agrave; la liste des pages</a></li>
 </ul>
 
-<form name="page_form" action="<?= $this->url("pages/admin/edit", array("id" => $this->out["page"]["id"])) ?>" method="post">
+<form name="page_form" action="<?php echo $this->url("pages/admin/edit", array("id" => $this->out["page"]["id"])); ?>" method="post">
   <ul class="form">
     <li>
       <p>
         Titre :
-        <input type="text" size="50" name="title" id="title" value="<?= $this->out["page"]["title"] ?>" />
+        <input type="text" size="50" name="title" id="title" value="<?php echo $this->out["page"]["title"]; ?>" />
       </p>
     </li>
     <li>
@@ -23,7 +23,7 @@
       </p>
     </li>
     <li>
-      <textarea class="tinymce" cols="60" rows="10" name="content" id="content"><?= htmlspecialchars($this->out["page"]["content"]) ?></textarea>
+      <textarea class="tinymce" cols="60" rows="10" name="content" id="content"><?php echo htmlspecialchars($this->out["page"]["content"]); ?></textarea>
     </li>
     <li class="buttons">
       <input type="submit" value="Enregistrer" />