<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>_bind_names</string> </key>
            <value>
              <object>
                <klass>
                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>_asgns</string> </key>
                        <value>
                          <dictionary>
                            <item>
                                <key> <string>name_subpath</string> </key>
                                <value> <string>traverse_subpath</string> </value>
                            </item>
                          </dictionary>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>_text</string> </key>
            <value> <unicode encoding="cdata"><![CDATA[

<tal:block tal:define="web_site                here/getWebSiteValue;            \n
                       paypal_method           python: \'_express-checkout\';                  \n
                       action                  python: web_site.WebSite_getPaypalUrl();">\n
\n
  <tal:block tal:condition="python: paypal_method == \'_express-checkout\'">\n
    <tal:block tal:define="token python: here.WebSection_getNewPaypalToken()">\n
      <a tal:condition="python: token is not None and token != \'\'"\n
         tal:attributes="href python: \'%s?cmd=%s&token=%s\' % (action,paypal_method,token)">\n
        <img src="https://www.paypal.com/fr_FR/i/btn/btn_xpressCheckout.gif" alt="PayPal - The safer, easier way to pay online!" style="border:none;">\n
      </a>\n
      <span tal:condition="python: token is None or token == \'\'" tal:content="python: here.Base_translateString(\'Paypal is not available actually.\')"></span>\n
    </tal:block>\n
  </tal:block>\n
\n
</tal:block>

]]></unicode> </value>
        </item>
        <item>
            <key> <string>content_type</string> </key>
            <value> <string>text/html</string> </value>
        </item>
        <item>
            <key> <string>expand</string> </key>
            <value> <int>0</int> </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>Paypal_viewBuyWidget</string> </value>
        </item>
        <item>
            <key> <string>output_encoding</string> </key>
            <value> <string>utf-8</string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <unicode>Paypal button for external payment</unicode> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
