X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=fd2763091b8cb5993ff16dfcaecdfaef39941976;hp=38de1516b78db1ba2a8d60ff807e25c509bcf485;hb=62a960b274a180ec4ce886d176427913373f540d;hpb=6cc4b3cd4538430770c935bd3192f1f72d75d96b diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index 38de151..fd27630 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -9,25 +9,42 @@
+
-
-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"; +} +?> + +
+
+ +