Index: /WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt	(revision 530)
+++ /WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt	(revision 531)
@@ -15,5 +15,5 @@
 <tal:haserror condition="error_type">
   <tal:NotFound condition="python:error_type == 'NotFound'">
-    <metal:block use-macro="here/error_lib_not_found/macros/not_found" />
+    <metal:block use-macro="here/not_found/macros/not_found" />
   </tal:NotFound>
 
@@ -22,5 +22,5 @@
   </tal:default>
 
-  <tal:debugging condition="python:1 or checkPerm('Manage portal', here)">
+  <tal:debugging condition="python:0 and checkPerm('Manage portal', here)">
     <table width="100%" cellpadding="2" cellspacing="2">
       <tr>
Index: /WAeUP_SRP/trunk/skins/waeup_default/error_not_found.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_default/error_not_found.pt	(revision 531)
+++ /WAeUP_SRP/trunk/skins/waeup_default/error_not_found.pt	(revision 531)
@@ -0,0 +1,11 @@
+<!-- a error_lib macro -->
+<!-- $Id: error_lib_not_found.pt 6905 2004-12-21 11:35:35Z bdelbosc $ -->
+
+<!-- macro library for rendering specific error messages per error type -->
+<metal:block define-macro="not_found">
+  <h1>Not Found</h1>
+
+  <p>The resource you asked was not found.
+  </p>
+
+</metal:block>
Index: /WAeUP_SRP/trunk/skins/waeup_default/error_other.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_default/error_other.pt	(revision 531)
+++ /WAeUP_SRP/trunk/skins/waeup_default/error_other.pt	(revision 531)
@@ -0,0 +1,25 @@
+<!-- a error_lib macro -->
+<!-- $Id: error_lib_other.pt 6926 2004-12-27 17:14:30Z atchertchian $ -->
+
+<metal:block define-macro="other">
+  <h1>WAeUP encountered an error</h1>
+
+  <p>We apologize for the incovenience.</p>
+
+  <dl>
+    <dt>
+      <img tal:replace="structure python:here.getImgTag('UpFolder_icon.png',width=16,height=16)" />
+      <a href="javascript:history.back()"
+         i18n:translate="link_go_back">Go back</a>.
+    </dt>
+    <dd></dd>
+    <dt>
+      <img tal:replace="structure python:here.getImgTag('email.png',width=16,height=16)" />
+       <a href="mailto:admin@here.com"
+         tal:attributes="href string:mailto:${p_props/email_from_address}?Subject=[CPS Error];
+                         title p_props/email_from_address"
+         i18n:translate="link_contact_admin">Contact the administrator</a>.
+    </dt>
+    <dd></dd>
+  </dl>
+</metal:block>
