<?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
<?xml-stylesheet href="erp5.css" rel="stylesheet" type="text/css"?>\n
\n
<span 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
</span>\n
\n
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"\n
      xml:lang="en"\n
      xmlns:tal="http://xml.zope.org/namespaces/tal"\n
      xmlns:metal="http://xml.zope.org/namespaces/metal"\n
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"\n
      metal:use-macro="here/list_dialog_master/macros/master">\n
\n
  <head tal:define="dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\')">\n
    <meta name="description" content="Generated by form_list_ui" />\n
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n
    <title tal:content="template/title_or_id"\n
           i18n:translate="" i18n:domain="ui">\n
      The title\n
    </title>\n
    <link href="erp5.css" rel="stylesheet" type="text/css" />\n
  </head>\n
\n
  <body>\n
    <div metal:fill-slot="main">\n
      <div class="Search">\n
        <span tal:define="field_errors python: request.get(\'field_errors\',{});\n
              form_id request/form_id;\n
              base_form python:getattr(here,form_id);\n
              groups base_form/get_groups;\n
              default_columns python:base_form.get_fields_in_group(groups[0])[0].get_value(\'columns\');\n
              columns python:here.portal_selections.getSelectionColumns(selection_name, REQUEST=request, columns=default_columns);\n
              selected_stats python:here.portal_selections.getSelectionStats(selection_name, REQUEST=request);\n
              dummy python: request.set(\'here\',here);\n
              global row_index python:0;\n
              global row_keys python:[\'None\'];\n
              global stats python: [\' \',\'count\',\'sum\',\'max\',\'min\',\'avg\'];\n
              all_columns python:base_form.get_fields_in_group(groups[0])[0].get_value(\'all_columns\')">\n
\n
          <table class="Border" width="100%">\n
            <tr>\n
              <td valign="top">\n
                <table>\n
                  <span tal:repeat="item columns">\n
                    <tr tal:define="global row_index python:row_index+1;\n
                        dummy python:row_keys.append(item[0])">\n
                      <td>\n
                        <tal:block i18n:translate="" i18n:domain="ui">Column</tal:block>\n
                        <span tal:replace="row_index" />\n
                      </td>\n
                      <td>\n
                        <select name="field_columns">\n
                          <span tal:repeat="option python: [(\'None\',\'None\')] + all_columns">\n
                            <option tal:condition="python:option[0]==item[0]"\n
                                    tal:content="python: option[1]"\n
                                    i18n:translate="" i18n:domain="ui"\n
                                    tal:attributes="value python:option[0]"\n
                                    value="None"\n
                                    selected />\n
                            <option tal:condition="python:option[0]!=item[0]"\n
                                    tal:content="python: option[1]"\n
                                    i18n:translate="" i18n:domain="ui"\n
                                    tal:attributes="value python:option[0]"\n
                                    value="None" />\n
                          </span>\n
                        </select>\n
                        &nbsp;\n
                        <select name="stat_columns">\n
                          <span tal:repeat="stat stats">\n
                            <span tal:condition="python: len(selected_stats) >= row_index and stat == selected_stats[row_index - 1]">\n
                              <option tal:content="stat"\n
                                      i18n:translate="" i18n:domain="ui"\n
                                      tal:attributes="value stat"\n
                                      value="None"\n
                                      selected />\n
                            </span>\n
                            <span tal:condition="python: len(selected_stats) < row_index or stat != selected_stats[row_index - 1]">\n
                              <option tal:content="stat"\n
                                      i18n:translate="" i18n:domain="ui"\n
                                      tal:attributes="value stat"\n
                                      value="None" />\n
                            </span>\n
                          </span>\n
                        </select>\n
                      </td>\n
                    </tr>\n
                  </span>\n
                  <span tal:repeat="item all_columns">\n
                    <tr tal:condition="python: item[0] not in row_keys">\n
                      <td tal:define="global row_index python:row_index+1">\n
                        <tal:block i18n:translate="" i18n:domain="ui">Column</tal:block>\n
                        <span tal:replace="row_index" />\n
                      </td>\n
                      <td>\n
                        <select name="field_columns">\n
                          <option selected\n
                                  value="None"\n
                                  i18n:translate="" i18n:domain="ui">\n
                            None\n
                          </option>\n
                          <option tal:repeat="option all_columns"\n
                                  tal:content="python:option[1]"\n
                                  i18n:translate="" i18n:domain="ui"\n
                                  tal:attributes="value python:option[0]"\n
                                  value="None" />\n
                        </select>\n
                        &nbsp;\n
                        <select name="stat_columns">\n
                          <span tal:repeat="stat stats">\n
                            <span tal:condition="python: len(selected_stats) >= row_index and stat == selected_stats[row_index - 1]"\n
                                  tal:on-error="string: row_index">\n
                              <option tal:content="stat"\n
                                      i18n:translate="" i18n:domain="ui"\n
                                      tal:attributes="value stat"\n
                                      value="None"\n
                                      selected />\n
                            </span>\n
                            <span tal:condition="python: len(selected_stats) < row_index or stat != selected_stats[row_index - 1]"\n
                                  tal:on-error="string: row_index">\n
                              <option tal:content="stat"\n
                                      i18n:translate="" i18n:domain="ui"\n
                                      tal:attributes="value stat"\n
                                      value="None" />\n
                            </span>\n
                          </span>\n
                        </select>\n
                      </td>\n
                    </tr>\n
                  </span>\n
                </table>\n
              </td>\n
            </tr>\n
          </table>\n
\n
        </span>\n
      </div>\n
    </div>\n
  </body>\n
\n
</html>\n


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