source: trunk/web/app/out/dist/content/set_map/e_map_config.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 12 years ago

import initial

File size: 1.9 KB
Line 
1<h2>Configuration de la carte</h2>
2<div class="bloc_content">
3<form name="news_form" action="<?= $env->url(array("e" => "set_map")) ?>" method="post">
4<table class="admin">
5  <tr>
6    <th>Google key</th>
7    <td>
8      <input type="text" name="google_key"
9               style="width: 500px" value="<?= $env->out["config"]["google_key"] ?>" /></td>
10  </tr>
11
12</table>
13<table class="admin">
14  <tr>
15    <td align="center"><input type="submit" value="Enregistrer" /></td>
16  </tr>
17</table>
18</form>
19
20<h3>Les types d'emplacement</h3>
21
22<ul>
23  <li><a href="<?= $env->url(array("e" => "set_map", "action" => "add_emplacement_type")) ?>">Nouveau type d'emplacement</a></li>
24</ul>
25
26<?php if($env->out["emplacement_types"]) : ?>
27
28<table class="admin">
29  <tr>
30    <th>icone</th>
31    <th>intitule</th>
32    <th>descriptif</th>
33    <th colspan="2">actions</th>
34  </tr>
35<?php foreach($env->out["emplacement_types"] as $id_emplacement_type => $emplacement_type) : ?>
36  <tr class="hl">
37    <td><img src="<?= $emplacement_type["icone"] ?>" /></td>
38    <td><?= $emplacement_type["intitule"] ?></td>
39    <td><?= $emplacement_type["descriptif"] ?></td>
40    <td align="center">
41    <a href="<?= $env->url(array("e" => "set_map", "action" => "set_emplacement_type", "id" => $id_emplacement_type)) ?>"
42       class="admin_link"
43       title="modifier ce type d'emplacement"><img src="<?= $env->out_file("icons/edit.gif") ?>" /></a>
44    </td>
45    <td align="center">
46    <a href="<?= $env->url(array("e" => "set_map", "action" => "del_emplacement_type", "id" => $id_emplacement_type)) ?>"
47       class="admin_link"
48       title="supprimer ce type d'emplacement"
49       onclick="return confirm('supprimer ce type d\'emplacement ?\n tous les emplacements de ce type seront aussi supprim&eacute;s')"><img src="<?= $env->out_file("icons/del.gif") ?>" /></a>
50    </td>
51  </tr>
52<?php endforeach; ?>
53</table>
54
55<?php else : ?>
56<p>Aucun type d'emplacement pour le moment</p>
57<?php endif; ?>
58</div>
Note: See TracBrowser for help on using the repository browser.