3 <?php if($this->out["templates"]) : ?>
5 <form name="config_form" action="<?php echo $this->url("config/templates"); ?>" method="post">
10 <label for="out">template</label>
13 $current_out_path = $this->config("out");
15 foreach($this->out["templates"] as $out_path => $template) { if($current_out_path == $out_path) { $FOUND = true; break; } }
16 if(!$FOUND) $current_out_path = $this->config("default_out");
19 <div class="form_input">
20 <select name="out" id="out">
23 foreach($this->out["templates"] as $out_path => $template) :
24 $template_name = $template->get_template_info("name");
25 if(!$template_name) $template_name = $out_path;
28 <option value="<?php echo $out_path; ?>"<?php echo $current_out_path == $out_path ? " selected=\"selected\"" : ""; ?>><?php echo $template_name; ?></option>
33 <?php if($this->out["out_config"]) : ?>
36 <div class="form_input">
37 Ce template a des <a href="<?php echo $this->url("config/templates/options"); ?>">options</a>
42 <div class="form_buttons">
43 <input type="submit" value="Enregistrer" />