1 <h2>Options du template</h2>
3 <?php if($this->out["out_config"]) : ?>
5 <form name="out_config_form" action="<?php echo $this->url("config/templates/options"); ?>" method="post">
6 <input type="hidden" name="do_post" value="1" />
9 <?php foreach($this->out["out_config"] as $key => $config) : if($config["type"] == "checkbox") : ?>
11 <label for="<?php echo "out_".$key; ?>"> </label>
12 <div class="form_input">
13 <input type="checkbox" name="<?php echo "out_".$key; ?>" id="<?php echo "out_".$key; ?>"<?php echo (isset($this->out["config"]["out_".$key]) ? $this->out["config"]["out_".$key] : $config["default"]) ? " checked=\"checked\"" : ""; ?> />
14 <?php echo $config["text"]; ?>
17 <?php endif; endforeach; ?>
19 <div class="form_buttons">
20 <input type="submit" value="Enregistrer" />
30 <p>Aucune option pour ce template</p>