sourceml devient un plugin mtweb
[mw_sourceml] / app / out / default / views / admin / cache.php
1 <h2>Gestion du cache</h2>
2
3 <p class="info">
4   Pour les fichiers XML externes (r&eacute;f&eacute;rences et d&eacute;rivations).
5 </p>
6
7 <form name="config_form" action="<?php echo $this->url("admin/cache") ?>" method="post">
8   <fieldset>
9     <ul>
10       <li>
11         <label for="cache_actif">utiliser le cache</label>
12         <div class="form_input">
13                 <input type="radio" name="cache_actif" id="cache_actif_oui" value="1"<?php echo $this->out["config"]["cache_actif"] ? " checked=\"checked\"" : "" ?> /> oui
14           <br /><input type="radio" name="cache_actif" id="cache_actif_non" value="0"<?php echo $this->out["config"]["cache_actif"] ? "" : " checked=\"checked\"" ?> /> non
15         </div>
16       </li>
17       <li id="li_cache_maj_auto" <?php echo $this->out["config"]["cache_actif"] ? "" : " style=\"display: none\"" ?>>
18         <label for="cache_maj_auto">mise &agrave; jour du cache</label>
19         <div class="form_input">
20                 <input type="radio" name="cache_maj_auto" id="cache_maj_auto_oui" value="1"<?php echo $this->out["config"]["cache_maj_auto"] ? " checked=\"checked\"" : "" ?> /> automatique
21           <br /><input type="radio" name="cache_maj_auto" id="cache_maj_auto_non" value="0"<?php echo $this->out["config"]["cache_maj_auto"] ? "" : " checked=\"checked\"" ?> /> manuelle
22         </div>
23       </li>
24       <li id="li_cache_time" <?php echo $this->out["config"]["cache_actif"] && $this->out["config"]["cache_maj_auto"] ? "" : " style=\"display: none\"" ?>>
25         <label for="cache_time">dur&eacute;e de validit&eacute; du cache</label>
26         <div class="form_input">
27           <input type="text" size="5" name="cache_time" id="cache_time" value="<?php echo $this->out["config"]["cache_time"] ?>" /> heures
28         </div>
29       </li>
30       <li>
31         <div class="form_single_button">
32           <input type="submit" value="Enregistrer" />
33         </div>
34       </li>
35     </ul>
36   </fieldset>
37 </form>