X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=f5b7b6771b37a5ee82079259065a6a9b49ceab44;hp=fedff0aa2a92380ef606277f5ac7d65681d9c81c;hb=00c2579ade64a20ba2d82e98d3eea5f864864cdb;hpb=925b83c0d6703c33469ec668171ac11f36db7980 diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index fedff0a..f5b7b67 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -1,32 +1,138 @@ - - -
- -
- path and !$this->loggedUser) {?> - translate('Welcome on Syj.')?> -
- 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.')?> -
- translate('When you have finished a path, press "save", button.')?> - + + +
+
+ +errorMsg) { + $message .= $this->errorMsg; + $msgclass = "error"; +} else if (!$this->path and !$this->loggedUser) { + $message .= $this->translate('To create a journey, press "start a route" button, then click on the map to add points. To delete a point, hold shift pressed while clicking on it.'); + $message .= "
"; + $message .= $this->translate('You can zoom and move the map with the controls in the top left corner.'); + $message .= "
"; + $message .= $this->translate('When you have finished a path, press "create", button.'); + $msgclass = "info optional"; +} +?> + +
+ +
+ + + + + -
-
- anchor('login', $this->translate('login'), array('id' => 'login_control_anchor', 'class' => 'login-anchor')); - $anchortext = sprintf("%s
%s
", - $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); - ?> -
-
- logoutLink(); ?> -
-
+path)) {?> +
+
translate('more results')?>
+ +
+ - - +
+ + - -localeSwitcher(); ?> +