X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=ac7e9dd16c830b143536d32ee313993f95a09ba1;hb=e534c17db2f3986751f4a96900e4aaae56d34873;hp=a6d276044be7b75c12975ce92558d1a77d33b3d4;hpb=c4dddade28f5f6c016ad73e98578d35ee19081ae;p=syj.git
diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml
index a6d2760..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 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 "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.');
+}
+?>
+
+
+