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";
}
?>
translate('route length')?>
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'));
?>