source: trunk/web/app/mods/e_carte.php @ 7

Last change on this file since 7 was 6, checked in by dj3c1t, 13 years ago

mise a jour du trunk

File size: 467 bytes
Line 
1<?php
2
3  function e_carte($env)
4  { if($env->pun_user["is_guest"]) _login($env);
5    else
6    { $env->out["VIEW_MAP"] = $env->data->view_map_ok($env);
7      $env->out["EDIT_MAP"] = $env->data->edit_map_ok($env);
8      $env->out["EDIT_ON"] = isset($_GET[$env->param("edit")]);
9      if(($env->out["emplacement_types"] = $env->data->map_emplacement_types()) === false)
10      { $env->erreur = "Impossible de lire la liste des types d'emplacement"; 
11      }
12    }
13  }
14
15?>
Note: See TracBrowser for help on using the repository browser.