X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=455f90b6f1f3010b2bfd056317a3c7edbeaff97e;hb=6633e95b89c1d1eba9b7b0e612becaf11b085d69;hp=ff1890e8915081c6051c196d9f5fc65fe72e7991;hpb=f0cec87e660f4c34740d6a8c6256f534c67bb8b1;p=syj.git diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index ff1890e..455f90b 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -9,20 +9,31 @@
+
-
-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('Welcome on Syj.'); + $message .= "
"; + $message .= $this->translate('To create a journey, just press "start a route" button, then click on the map to add points to your route. 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"; +} +?> + +
+
@@ -57,7 +68,38 @@ -
+
@@ -81,11 +123,6 @@
-
-
translate('more results')?>
- -
- @@ -95,8 +132,17 @@ geomform; ?> + +path)) {?> +
+
translate('more results')?>
+ +
+ + +