From 98c176430ba269c6978ff8f4c6714c33243cbf25 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Fri, 5 Sep 2008 15:18:42 +0000
Subject: [PATCH] rename CaptchaAdvertisment into CheckCaptcha

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23453 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 bt5/erp5_egov/PathTemplateItem/web_page_module/9.xml      | 4 ++--
 .../portal_skins/erp5_egov/EGov_createNewProcedure.xml    | 2 +-
 .../WebSite_viewRegisterButton.xml                        | 8 +++++++-
 bt5/erp5_egov/bt/revision                                 | 2 +-
 4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_egov/PathTemplateItem/web_page_module/9.xml b/bt5/erp5_egov/PathTemplateItem/web_page_module/9.xml
index c34ff3f26b..9d1ff2fe54 100644
--- a/bt5/erp5_egov/PathTemplateItem/web_page_module/9.xml
+++ b/bt5/erp5_egov/PathTemplateItem/web_page_module/9.xml
@@ -104,7 +104,7 @@
         </item>
         <item>
             <key> <string>default_reference</string> </key>
-            <value> <string>CaptchaAdvertisment</string> </value>
+            <value> <string>CheckCaptcha</string> </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -140,7 +140,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string encoding="base64">QXZlcnRpc3NlbWVudCBkZSBzw6ljdXJpdMOp</string> </value>
+            <value> <string encoding="base64">VsOpcmlmaWNhdGlvbiBkZSBzw6ljdXJpdMOp</string> </value>
         </item>
         <item>
             <key> <string>uid</string> </key>
diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_createNewProcedure.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_createNewProcedure.xml
index d63bd92570..a4c4ff4fc3 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_createNewProcedure.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_createNewProcedure.xml
@@ -69,7 +69,7 @@
 \n
 if context.portal_membership.isAnonymousUser() and not captcha_ok:\n
   absolute_url = context.absolute_url()\n
-  new_url = \'captcha/CaptchaAdvertisment\'\n
+  new_url = \'captcha/CheckCaptcha\'\n
   redirect_url = "%s/%s" % (absolute_url, new_url)\n
 else:\n
   portal_type = new_application_procedure\n
diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewRegisterButton.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewRegisterButton.xml
index 03feab0c86..705edd2a4d 100644
--- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewRegisterButton.xml
+++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov_widget_library/WebSite_viewRegisterButton.xml
@@ -59,7 +59,7 @@ Description:\n
 \n
 <tal:block metal:define-macro="main">\n
   <div id="register_button">\n
-    <a href="captcha/CaptchaAdvertisment" i18n:domain="ui" i18n:translate="">Register >></a>\n
+    <a href="captcha/CheckCaptcha" i18n:domain="ui" i18n:translate="">Register >></a>\n
   </div>\n
   <div class="clear"></div>\n
 </tal:block>\n
@@ -83,6 +83,12 @@ Description:\n
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision
index 680cc9c31b..44dfb1d0bc 100644
--- a/bt5/erp5_egov/bt/revision
+++ b/bt5/erp5_egov/bt/revision
@@ -1 +1 @@
-263
\ No newline at end of file
+264
\ No newline at end of file
-- 
2.30.9