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

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

import initial

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.