]> dev.renevier.net Git - syj.git/blobdiff - application/views/scripts/idx/index.phtml
allow anonymous routes creation
[syj.git] / application / views / scripts / idx / index.phtml
index 38f1e3b7fad448bfe692892767db0082ac6fe932..7d0fe87fddc5c1064194ce970b664b819432c947 100644 (file)
@@ -11,7 +11,7 @@
     <div id="map"></div>
 
     <div id="message" class="message info">
-    <?php if (!$this->path and !$this->loggedUser()) {?>
+    <?php if (!$this->path and !$this->loggedUser) {?>
     <?php echo $this->translate('Welcome on Syj.')?>
     <br/>
     <?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.')?>
         <div>
             <?php
                 echo $this->anchor('login', $this->translate('login'), array('id' => 'login_control_anchor', 'class' => 'login-anchor'));
-                echo $this->anchor('', $this->translate('create an account'), array('id' => 'user_control_anchor', 'class' => 'login-anchor'));
+                $anchortext = sprintf("%s<img id=\"account-info-bullet\" src=\"icons/bullet_arrow_right.png\"><span id=\"account-info\"><br>%s</span>",
+                                      $this->translate('create an account'),
+                                      $this->translate('Whith an account, you can manage and modify your routes'));
+                echo $this->anchor('', $anchortext, array('id' => 'user_control_anchor', 'class' => 'login-anchor'), false);
             ?>
         </div>
         <div>