-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.')?>
-
-
-
-
-
-path)) { ?>
-
-
-
-
-
-
-
+
geomform;
+$message = "";
+$msgclass = "info";
+if ($this->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.');
+}
?>
+
+
-
-
- anchor('login', $this->translate('login'), array('id' => 'login_control_anchor', 'class' => 'login-anchor'));
- $anchortext = sprintf("%s %s",
- $this->translate('create an account'),
- $this->translate('Whith an account, you can manage and modify your routes'));
- echo $this->anchor('', $anchortext, array('id' => 'user_control_anchor', 'class' => 'login-anchor'), false);
- ?>
+
+
+
translate('route length')?>
+
-
- logoutLink(); ?>
+
+
+
+
+ localeSwitcher(); ?>
+
+
+
+
+ anchor('login', $this->translate('login'), array('id' => 'login_control_anchor'));
+ $anchortext = sprintf("%s %s",
+ $this->translate('create an account'),
+ $this->translate('Whith an account, you can manage and modify your routes'));
+ ?>
+