X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=ac7e9dd16c830b143536d32ee313993f95a09ba1;hp=b0260d2f6279e27f6b094117c8200c05d8a46fdd;hb=c1aeb7538786d8c9f3b3337c0b71e21ef89d9c77;hpb=69cbaf628f5576754d4553c021315188e22d24af diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml index b0260d2..ac7e9dd 100644 --- a/application/views/scripts/idx/index.phtml +++ b/application/views/scripts/idx/index.phtml @@ -9,15 +9,25 @@
+
-
-path and !$this->loggedUser) {?> -translate('Welcome on Syj.')?> -
-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')?> -
-translate('When you have finished a path, press "create", 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.'); +} +?> + +
+