X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=application%2Fviews%2Fscripts%2Fidx%2Findex.phtml;h=b69bf38d99e14f30fb9c3516e13c276315737e13;hb=591799b685ba18b84ad5230a5d84a11daa380136;hp=f19dd4255ca0503c00b0718b8fb60fdcff11e5de;hpb=7522e50d58fcb9e1f8930c0090f43c9686661b2d;p=syj.git
diff --git a/application/views/scripts/idx/index.phtml b/application/views/scripts/idx/index.phtml
index f19dd42..b69bf38 100644
--- a/application/views/scripts/idx/index.phtml
+++ b/application/views/scripts/idx/index.phtml
@@ -9,33 +9,50 @@
-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";
+}
+?>
+
+
+
+
+