4 <li><a class="add" href="<?php echo $this->url("pages/admin/add"); ?>">Nouvelle page</a></li>
7 <form name="accueil_form" action="<?php echo $this->url("pages/admin/set_accueil"); ?>" method="post">
9 <li>Page d'accueil du site</li>
12 <option value=""<?php echo $this->config("start_action") ? "" : " selected=\"selected\""; ?>>Page par défaut du site</option>
13 <?php echo pages_arbo_start_select_options($this, $this->out["arbo"], $this->config("start_action"), $this->config("start_action_params"), " "); ?>
17 <input type="submit" value="Enregistrer" />
25 <select onchange="document.location=this.options[this.selectedIndex].value;">
26 <option value="<?php echo $this->url("pages/admin"); ?>"<?php echo isset($_GET[$this->param("parent")]) ? "" : " selected=\"selected\""; ?>>Afficher toutes les pages</option>
27 <?php echo pages_arbo_list_select_options($this, "pages/admin", $this->out["arbo"], $_GET[$this->param("parent")], " "); ?>
32 <?php if($this->out["pages"]["total"]) : ?>
34 <?php $items = "pages"; $legend = "pages"; require $this->out_file("views/navig.php"); ?>
36 <form name="pages_form" action="<?php echo $this->url("pages/admin/edit_pages"); ?>" method="post">
40 <th>date création</th>
41 <th align="center">position</th>
42 <th align="center">active</th>
43 <th align="center" colspan="2">actions</th>
45 <?php foreach($this->out["pages"]["list"] as $id_page => $page) : ?>
47 <td><?php echo $page["title"]; ?></td>
48 <td><?php echo date("j M Y : G\hi", datetime2timestamp($page["date_creation"])); ?></td>
49 <td class="action"><input type="text" size="3" name="position_<?php echo $id_page; ?>" value="<?php echo $page["position"]; ?>" /></td>
50 <td class="action"><input type="checkbox" name="enabled_<?php echo $id_page; ?>" <?php echo $page["enabled"] ? "checked=\"checked\"" : ""; ?> /></td>
52 <a href="<?php echo $this->url("pages/admin/edit", array("id" => $id_page)); ?>"
54 title="modifier cette page"><img src="<?php echo $this->out_url("icons/edit.gif"); ?>" /></a>
57 <a href="<?php echo $this->url("pages/admin/del", array("id" => $id_page)); ?>"
59 title="supprimer cette page"><img src="<?php echo $this->out_url("icons/del.gif"); ?>"
60 onclick="return confirm('Supprimer cette page ?')"/></a>
65 <td colspan="2"> </td>
66 <td colspan="2" align="center"><input type="submit" value="Enregistrer" /></td>
67 <td colspan="2"> </td>
73 <p>Aucune page pour le moment.</p>