Rev | Line | |
---|
[6] | 1 | <?php if($env->out["emplacement_types"]) : ?> |
---|
| 2 | <?php if($env->out["VIEW_MAP"]) : ?> |
---|
| 3 | <div class="bloc"> |
---|
| 4 | <h2>Afficher</h2> |
---|
| 5 | <div class="bloc_content"> |
---|
| 6 | <div class="map_commands"> |
---|
| 7 | <ul id="legende"> |
---|
| 8 | <?php foreach($env->out["emplacement_types"] as $id_et => $values) : ?> |
---|
| 9 | <li> |
---|
| 10 | <img src="<?php echo isset($values["icone"]) && $values["icone"] ? $values["icone"] : "http://www.google.com/intl/fr_ALL/mapfiles/ms/micons/red-dot.png" ?>" alt="" /> |
---|
| 11 | <input type="checkbox" |
---|
| 12 | id="et_check_<?php echo $id_et; ?>" |
---|
| 13 | onclick="update_map()" checked> |
---|
| 14 | <label><?php echo $values["intitule"]; ?></label> |
---|
| 15 | </li> |
---|
| 16 | <?php endforeach; ?> |
---|
| 17 | </ul> |
---|
| 18 | </div> |
---|
| 19 | <?php if($env->out["EDIT_MAP"]) : ?> |
---|
| 20 | <br> |
---|
| 21 | </div> |
---|
| 22 | </div> |
---|
| 23 | <div class="bloc"> |
---|
| 24 | <h2>Editer</h2> |
---|
| 25 | <div class="bloc_content"> |
---|
| 26 | <div class="map_commands"> |
---|
| 27 | <?php if($env->out["EDIT_ON"]) : ?> |
---|
| 28 | <a href="javascript:add_map_emplacement()"><img src="<?= $env->out_file("icons/add.gif") ?>" alt="ajouter un emplacement"> ajouter un emplacement</a> |
---|
| 29 | <br /> |
---|
| 30 | <br /> |
---|
| 31 | <input disabled class="button" id="save_map_button" type="submit" onclick="javascript:save_map()" value="enregistrer"> |
---|
| 32 | <input class="button" type="submit" onclick="javascript:location.href='<?= $env->url(array("e" => "carte")) ?>'" value="terminer"> |
---|
| 33 | <?php else : ?> |
---|
| 34 | <input class="button" type="submit" onclick="javascript:location.href='<?= $env->url(array("e" => "carte", "edit" => "on")) ?>'" value="modifier"> |
---|
| 35 | <font> </font> |
---|
| 36 | <?php endif; ?> |
---|
| 37 | </div> |
---|
| 38 | </div> |
---|
| 39 | </div> |
---|
| 40 | <?php endif; ?> |
---|
| 41 | <?php endif; ?> |
---|
| 42 | <?php endif; ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.