]> dev.renevier.net Git - syj.git/blob - application/views/scripts/idx/index.phtml
version 0.1
[syj.git] / application / views / scripts / idx / index.phtml
1     <noscript>
2         <style type="text/css">
3             #map, #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area {
4                 display: none;
5             }
6         </style>
7
8         <p><?php echo $this->translate('SYJ needs javascript. Please activate scripts in your browser.');?></p>
9     </noscript>
10
11     <div id="map"></div>
12
13     <div id="message" class="message info">
14     <?php if (!$this->path and !$this->loggedUser()) {?>
15     <?php echo $this->translate('Welcome on Syj.')?>
16     <br/>
17     <?php echo $this->translate('To create a journey, just click on the map to add points to your route. You can zoom and move map with controls upper left.')?>
18     <br/>
19     <?php echo $this->translate('When you have finished a path, press "save", button.')?>
20     <?php }?>
21     </div>
22
23     <div id="data_controls">
24     <input id="edit-btn" name="edit-btn" type="button" value="<?php echo $this->translate('edit')?>">
25
26     <?php
27         print $this->geomform;
28     ?>
29
30     </div>
31
32     <div id="login_controls">
33         <div>
34             <?php
35                 echo $this->anchor('login', $this->translate('login'), array('id' => 'login_control_anchor', 'class' => 'login-anchor'));
36                 echo $this->anchor('', $this->translate('create an account'), array('id' => 'user_control_anchor', 'class' => 'login-anchor'));
37             ?>
38         </div>
39         <div>
40             <?php echo $this->logoutLink(); ?>
41         </div>
42     </div>
43
44     <div id="newpwd_area" class="modal">
45         <div id="newpwd_message" class="message"></div>
46         <?php
47             print $this->newpwdform;
48         ?>
49     </div>
50
51     <div id="user_area" class="modal">
52         <div id="user_message" class="message"></div>
53         <?php
54             print $this->userform;
55         ?>
56     </div>
57
58       <div id="login_area" class="modal">
59          <div id="login_message" class="message"></div>
60
61       <?php
62         print $this->loginform;
63       ?>
64
65       <p id="login_area_create"><a id="login_area_create_anchor" href=""><?php echo $this->translate('create an account')?></a></p>
66
67       </div>
68
69       <div id="termsofusearea" class="modal">
70         <iframe id="termsofuseiframe" width="100%" height="100%" frameborder="0"></iframe>
71       </div>
72
73 <?php echo $this->localeSwitcher(); ?>