sourceml devient un plugin mtweb
[mw_sourceml] / app / out / default / views / users / groupes / edit.php
1 <?php require $this->out_file("views/tinymce.init.js.php"); ?>
2
3 <h2>Modifier un groupe</h2>
4
5 <ul class="buttons">
6   <li><a href="<?php echo $this->url("users/groupes") ?>">Retour &agrave; la liste des groupes</a></li>
7 </ul>
8
9 <form name="groupe_form" action="<?php echo $this->url("users/groupes/edit", array("id" => $_GET[$this->param("id")])) ?>" method="post" enctype="multipart/form-data">
10   <fieldset>
11     <ul>
12       <li>
13         <label for="nom">nom</label>
14         <div class="form_input">
15           <input type="text" name="nom" id="nom" value="<?php echo $this->out["groupe"]["nom"] ?>" />
16         </div>
17       </li>
18       <li>
19         <label for="image">logo</label>
20         <div class="form_input">
21           <?php if($this->out["groupe"]["image"]) : ?>
22           <img class="logo" src="<?php echo $this->out["groupe"]["image_uri"] ?>" /><br /><br />
23           <input type="checkbox" name="del_image" /> effacer le logo<br /><br />
24           <?php endif; ?>
25           <input type="file" name="image" />
26         </div>
27       </li>
28       <li>
29         <label for="contact_form">formulaire de contact</label>
30         <div class="form_input">
31           <input type="checkbox" name="contact_form" id="contact_form"<?php echo $this->out["groupe"]["contact_form"] ? " checked=\"checked\"" : "" ?> />
32         </div>
33       </li>
34       <li id="email_li"<?php echo $this->out["groupe"]["contact_form"] ? "" : " style=\"display:none;\"" ?>>
35         <label for="email">email</label>
36         <div class="form_input">
37           <input type="text" name="email" id="email" value="<?php echo $this->out["groupe"]["email"] ?>" /><br />
38           <br /><input type="checkbox" name="captcha" id="captcha"<?php echo $this->out["groupe"]["captcha"] ? " checked=\"checked\"" : "" ?> /> anti-spam
39         </div>
40       </li>
41       <li>
42         <label for="description">pr&eacute;sentation</label>
43       </li>
44       <li>
45         <textarea class="tinymce" cols="70" rows="10" name="description" id="description"><?php echo $this->out["groupe"]["description"] ?></textarea>
46       </li>
47       <li>
48         <div class="form_buttons">
49           <input type="submit" value="Enregistrer" />
50         </div>
51       </li>
52     </ul>
53   </fieldset>
54 </form>