Version 1.5.0 provides more refined management of the display of mail server/agenda errors.
Graphics migration
This graphic migration is only necessary if you use the templates XSL "messaging-connector-card" and "script-js-messaging-connector" in your graphic charter.
Error message management and display
Deux élements <span> ont été ajoutés pour gérer les cas d'erreurs.
messaging-user-infos-error-server: displays the server error message
messaging-user-infos-error-change-password: link to change user password
If you have overloaded the XSL template "email" and/or "agenda", make sure you have the following 3 spans:
For "agenda" :
Oops!
Copy to clipboard failed. Open the code and copy it manually.
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$agenda-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="agenda-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$agenda-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="agenda-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$agenda-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="agenda-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
For "email"
Oops!
Copy to clipboard failed. Open the code and copy it manually.
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$email-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="email-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$email-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="email-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error" style="display:none;"><xsl:copy-of select='$email-error'/></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-server" style="display:none;"><!-- This must be empty and will contain the server message --></span>
<span class="user-infos-error {$css-class-prefix}-user-infos-error-change-password" id="email-user-infos-error-change-password" style="display:none;"><!-- This must be empty and will contain the link to change pasword --></span>
Please note that plugin zimbra does not currently allow users to authenticate themselves with their own password. The 3rd span for changing passwords is therefore optional, as it is not used.