1 <h2>Liste des actions</h2>
4 <li><a class="add" href="<?php echo $this->url("admin/actions_logs/add_log_action"); ?>">Ajouter une action dans la liste</a></li>
5 <li><a href="<?php echo $this->url("admin/actions_logs/del_logs_actions"); ?>"
7 onclick="return confirm('Vider la liste ?')">Vider la liste <img src="<?php echo $this->out_url("icons/del.gif"); ?>"/></a></li>
11 <a href="<?php echo $this->url("admin/actions_logs/config"); ?>"><strong>Configuration actuelle</strong></a> :
13 <?php if($this->out["actions_logs_config"]["default_log"]) : ?>
14 enregistrer par défaut
16 ne pas enregistrer par défaut
19 (sauf si dans la liste)
22 <?php if($this->out["logs_actions"]["list"]) : ?>
24 <form name="logs_actions_form" action="<?php echo $this->url("admin/actions_logs/logs_actions"); ?>" method="post">
27 <table class="admin" id="logs_actions" <?php echo $this->out["logs_actions"] ? "" : "style=\"display: none\""; ?>>
30 <?php if(!$this->out["actions_logs_config"]["default_log"]) : ?>
31 <th width="65" align="center"><span class="<?php echo $default_log_class; ?>">GET</span></th>
32 <th width="65" align="center"><span class="<?php echo $default_log_class; ?>">POST</span></th>
36 <?php foreach($this->out["logs_actions"]["list"] as $id_log_action => $log_action) : ?>
37 <?php $default_log_class = "default_log_".($this->out["actions_logs_config"]["default_log"] ? "on" : "off"); ?>
38 <tr id="log_action_<?php echo $log_action["id"]; ?>" class="hl">
40 <?php echo $log_action["action"]; ?>
41 <input type="hidden" name="id_log_action_<?php echo $log_action["id"]; ?>" value="<?php echo $log_action["id"]; ?>" />
43 <?php if(!$this->out["actions_logs_config"]["default_log"]) : ?>
45 <span class="<?php echo $default_log_class; ?>">
46 <input type="checkbox" name="log_get_<?php echo $log_action["id"]; ?>" <?php echo $log_action["log_get"] ? "checked" : ""; ?> />
50 <span class="<?php echo $default_log_class; ?>">
51 <input type="checkbox" name="log_post_<?php echo $log_action["id"]; ?>" <?php echo $log_action["log_post"] ? "checked" : ""; ?> />
56 <a href="<?php echo $this->url("admin/actions_logs/del_log_action", array("id" => $log_action["id"])); ?>"
57 class="admin_link del_action"
58 id="del_action_<?php echo $log_action["id"]; ?>"
59 title="Enlever cette action de la liste"><img src="<?php echo $this->out_url("icons/del.gif"); ?>"/></a>
64 <?php if(!$this->out["actions_logs_config"]["default_log"]) : ?>
67 <div class="form_buttons">
68 <input type="submit" value="Enregistrer les modifications" />
78 <p>Aucune action listée pour le moment.</p>