--- /dev/null
+<h2>Options du template</h2>
+
+<?php if($this->out["out_config"]) : ?>
+
+<form name="out_config_form" action="<?php echo $this->url("config/templates/options"); ?>" method="post">
+ <input type="hidden" name="do_post" value="1" />
+ <fieldset>
+ <ul>
+ <?php foreach($this->out["out_config"] as $key => $config) : if($config["type"] == "checkbox") : ?>
+ <li>
+ <label for="<?php echo "out_".$key; ?>"> </label>
+ <div class="form_input">
+ <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\"" : ""; ?> />
+ <?php echo $config["text"]; ?>
+ </div>
+ </li>
+ <?php endif; endforeach; ?>
+ <li>
+ <div class="form_buttons">
+ <input type="submit" value="Enregistrer" />
+ </div>
+ </li>
+ </ul>
+ </fieldset>
+
+</form>
+
+<?php else : ?>
+
+<p>Aucune option pour ce template</p>
+
+<?php endif; ?>