<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <tuple>
        <tuple>
          <string>Products.PageTemplates.ZopePageTemplate</string>
          <string>ZopePageTemplate</string>
        </tuple>
        <none/>
      </tuple>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>__ac_local_roles__</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <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> <string encoding="cdata"><![CDATA[

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
 "DTD/xhtml1-strict.dtd">\n
\n
<tal:block tal:replace=\'nothing\'>\n
<!--\n
Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.\n
                   Thierry Faucher     <tf@nexedi.com>\n
\n
This program is Free Software; you can redistribute it and/or\n
modify it under the terms of the GNU General Public License\n
as published by the Free Software Foundation; either version 2\n
of the License, or (at your option) any later version.\n
\n
This program is distributed in the hope that it will be useful,\n
but WITHOUT ANY WARRANTY; without even the implied warranty of\n
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n
GNU General Public License for more details.\n
\n
You should have received a copy of the GNU General Public License\n
along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
-->\n
</tal:block>\n
<tal:block tal:define="layout_form_id here/getApplicableLayout | nothing;\n
                       ignore_layout request/ignore_layout | nothing;\n
                       editable_mode python:1;\n
                       dummy python:request.set(\'editable_mode\', editable_mode);\n
                       global layout_form python:(not layout_form_id or ignore_layout) or getattr(here, layout_form_id, None);\n
                       default_layout string:view_dialog_master;\n
                       layout_id layout_form/pt | default_layout;">\n
<tal:block metal:use-macro="python:getattr(here,layout_id).macros[\'master\']">\n
  <tal:block metal:fill-slot="main">\n
    <div class="Search">\n
      <span tal:define="groups python: form.get_groups(include_empty=1);\n
                        field_errors python: request.get(\'field_errors\',{});\n
                        dummy python: request.set(\'here\',here)">\n
        <table class="Border" width="100%" tal:condition="python:len(form.get_fields_in_group(groups[0])) > 0\n
                                                          or len(form.get_fields_in_group(groups[1])) > 0">\n
        <tr>\n
          <td>\n
            <table>\n
              <tr tal:condition="request/dialog_category | nothing">\n
                <td i18n:translate="" i18n:domain="ui">Search Type:</td>\n
                <td valign="middle" align="right" nowrap\n
                    tal:define="dialog_category request/dialog_category;\n
                                actions python:filtered_actions[dialog_category]">\n
                  <input type="hidden" name="dialog_category" value="dialog_category"\n
                  tal:attributes="value dialog_category" />\n
                  <select name="dialog_select" size="1"\n
                  tal:attributes="onChange string:submitAction(this.form, \'${here/absolute_url}/Base_doDialog\')">\n
                    <span tal:repeat="action actions">\n
                      <option value="1" tal:content="action/name"\n
                      tal:condition="python: action[\'url\'].find(form.id) < 0"\n
                      i18n:translate="" i18n:domain="ui"\n
                      tal:attributes="value action/url"></option>\n
                      <option value="1" tal:content="action/name"\n
                      tal:condition="python: action[\'url\'].find(form.id) >= 0"\n
                      i18n:translate="" i18n:domain="ui"\n
                      tal:attributes="value action/url"\n
                      selected></option>\n
                    </span>\n
                  </select>\n
                </td>\n
                <td valign="bottom" align="left" nowrap> &nbsp;\n
                  <input type="image" src="/images/erp5_html_style/images/exec16.png" title="Action"\n
                  i18n:attributes="title" i18n:domain="ui"\n
                  alt="Action" name="Base_doDialog:method" /> &nbsp;\n
                </td>\n
              </tr>\n
            </table>\n
          </td>\n
          <td valign="top" tal:condition="python: len(groups)>1"></td>\n
        </tr>\n
        <tr>\n
          <td valign="top">\n
            <table>\n
              <span tal:repeat="field python:form.get_fields_in_group(groups[0])">\n
                <tr>\n
                  <td tal:content="structure field/title"\n
                  tal:condition="python: field_errors.has_key(field.id)\n
                                  and not field.is_required()"\n
                  i18n:translate="" i18n:domain="ui"\n
                  class="error">\n
                  </td>\n
                  <td tal:content="structure field/title"\n
                  tal:condition="python: (not field_errors.has_key(field.id))\n
                                  and not field.is_required()"\n
                  i18n:translate="" i18n:domain="ui">\n
                  </td>\n
                  <td tal:content="structure field/title"\n
                      tal:condition="python: field_errors.has_key(field.id)\n
                              and field.is_required()"\n
                      i18n:translate="" i18n:domain="ui"\n
                      class="reqerror">\n
                  </td>\n
                  <td tal:content="structure field/title"\n
                      tal:condition="python: (not field_errors.has_key(field.id))\n
                              and field.is_required()"\n
                      i18n:translate="" i18n:domain="ui"\n
                      class="required">\n
                  </td>\n
                  <td tal:define="value python:request.get(field.id,None)">\n
                    <span tal:replace="structure python:field.render(value,request)" />\n
                  </td>\n
                </tr>\n
                <tr tal:condition="python: field_errors.has_key(field.id)">\n
                  <td>\n
                  </td>\n
                  <td tal:content="python: field_errors[field.id].error_text"\n
                      i18n:translate="" i18n:domain="ui"\n
                      class="error">\n
                  </td>\n
                </tr>\n
              </span>\n
            </table>\n
          </td>\n
          <td valign="top" tal:condition="python: len(groups)>1">\n
            <table>\n
              <span tal:repeat="field python:form.get_fields_in_group(groups[1])">\n
              <tr>\n
                <td tal:content="structure field/title"\n
                    tal:condition="python: field_errors.has_key(field.id)\n
                            and not field.is_required()"\n
                    i18n:translate="" i18n:domain="ui"\n
                    class="error">\n
                </td>\n
                <td tal:content="structure field/title"\n
                    tal:condition="python: (not field_errors.has_key(field.id))\n
                            and not field.is_required()"\n
                    i18n:translate="" i18n:domain="ui"\n
                    >\n
                </td>\n
                <td tal:content="structure field/title"\n
                    tal:condition="python: field_errors.has_key(field.id)\n
                            and field.is_required()"\n
                    i18n:translate="" i18n:domain="ui"\n
                    class="reqerror">\n
                </td>\n
                <td tal:content="structure field/title"\n
                    tal:condition="python: (not field_errors.has_key(field.id))\n
                            and field.is_required()"\n
                    i18n:translate="" i18n:domain="ui"\n
                    class="required">\n
                </td>\n
                <td tal:define="value python:request.get(field.id,None)">\n
                  <span tal:replace="structure python:field.render(value,request)" />\n
                </td>\n
              </tr>\n
              <tr tal:condition="python: field_errors.has_key(field.id)">\n
                <td>\n
                </td>\n
                <td tal:content="python: field_errors[field.id].error_text"\n
                    i18n:translate="" i18n:domain="ui"\n
                    class="error">\n
                </td>\n
              </tr>\n
              </span>\n
            </table>\n
          </td></tr>\n
        </table>\n
        <table class="Border" tal:condition="python: len(groups)>2 and\n
                                            len(form.get_fields_in_group(groups[2])) > 0">\n
          <td>\n
            <table width="100%">\n
                <span tal:repeat="field python:form.get_fields_in_group(groups[2])">\n
                  <tr>\n
                  <td tal:content="structure field/title"\n
                      tal:condition="python: field_errors.has_key(field.id)\n
                                      and not field.is_required()"\n
                      i18n:translate="" i18n:domain="ui"\n
                      class="error">\n
                  </td>\n
                  <td tal:content="structure field/title"\n
                      tal:condition="python: (not field_errors.has_key(field.id))\n
                                      and not field.is_required()"\n
                      i18n:translate="" i18n:domain="ui"\n
                      >\n
                  </td>\n
                  <td tal:content="structure field/title"\n
                      tal:condition="python: field_errors.has_key(field.id)\n
                                      and field.is_required()"\n
                      i18n:translate="" i18n:domain="ui"\n
                      class="reqerror">\n
                  </td>\n
                  <td tal:content="structure field/title"\n
                      tal:condition="python: (not field_errors.has_key(field.id))\n
                                    and field.is_required()"\n
                      i18n:translate="" i18n:domain="ui"\n
                      class="required">\n
                  </td>\n
                  </tr>\n
                  <tr>\n
                    <td tal:define="value python:request.get(field.id,None)">\n
                    <span tal:replace="structure python:field.render(value,request)"/>\n
                    </td>\n
                  </tr>\n
                  <tr tal:condition="python: field_errors.has_key(field.id)">\n
                    <td tal:content="python: field_errors[field.id].error_text"\n
                        i18n:translate="" i18n:domain="ui"\n
                        class="error">\n
                    </td>\n
                  </tr>\n
                </span>\n
            </table>\n
          </td>\n
        </table>\n
        <span tal:condition="python: len(groups)>3">\n
          <span tal:repeat="field python:form.get_fields_in_group(groups[3])">\n
            <span tal:define="value python:request.get(field.id,None)"\n
              tal:replace="structure python:field.render(value,request)" />\n
          </span>\n
        </span>\n
      </span>\n
    </div>\n
<!--    <pre tal:content="context/REQUEST/text"></pre>-->\n
  </tal:block>\n
</tal:block>\n
</tal:block>

]]></string> </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>form_view_dialog</string> </value>
        </item>
        <item>
            <key> <string>title</string> </key>
            <value> <string></string> </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
