2 <style type="text/css">
3 #map, #message, #data_controls, #login_controls, #user_area, #login_area, #newpwd_area {
8 <p><?php echo $this->translate('SYJ needs javascript. Please activate scripts in your browser.');?></p>
13 <div id="message" class="message info">
14 <?php if (!$this->path and !$this->loggedUser) {?>
15 <?php echo $this->translate('Welcome on Syj.')?>
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.')?>
19 <?php echo $this->translate('When you have finished a path, press "save", button.')?>
26 <?php echo $this->localeSwitcher(); ?>
28 <div id="login_controls">
30 <div class="login-anchor">
32 echo $this->anchor('login', $this->translate('login'), array('id' => 'login_control_anchor'));
33 $anchortext = sprintf("%s<img id=\"account-info-bullet\" src=\"icons/bullet_arrow_right.png\"><span id=\"account-info\"><br>%s</span>",
34 $this->translate('create an account'),
35 $this->translate('Whith an account, you can manage and modify your routes'));
38 <div class="login-anchor">
40 echo $this->anchor('', $anchortext, array('id' => 'user_control_anchor'), false);
45 <?php echo $this->logoutLink(); ?>
49 <div id="data_controls">
50 <div id="data_controls_btns">
51 <?php if (isset($this->path)) { ?>
52 <input id="clone-btn" name="clone-btn" type="button" value="<?php echo $this->translate('duplicate');?>">
54 <input id="edit-btn" name="edit-btn" type="button" value="<?php echo $this->translate('edit');?>">
56 <input id="create-btn" name="create-btn" type="button" value="<?php echo $this->translate('start a route');?>">
61 print $this->geomform;
67 <div id="newpwd_area" class="modal">
68 <div id="newpwd_message" class="message"></div>
70 print $this->newpwdform;
74 <div id="user_area" class="modal">
75 <div id="user_message" class="message"></div>
77 print $this->userform;
81 <div id="login_area" class="modal">
82 <div id="login_message" class="message"></div>
85 print $this->loginform;
88 <p id="login_area_create"><a id="login_area_create_anchor" href=""><?php echo $this->translate('create an account')?></a></p>
92 <div id="termsofusearea" class="modal">
93 <iframe id="termsofuseiframe" width="100%" height="100%" frameborder="0"></iframe>