<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <tuple>
        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
        <tuple/>
      </tuple>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>Script_magic</string> </key>
            <value> <int>3</int> </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_container</string> </key>
                                <value> <string>container</string> </value>
                            </item>
                            <item>
                                <key> <string>name_context</string> </key>
                                <value> <string>context</string> </value>
                            </item>
                            <item>
                                <key> <string>name_m_self</string> </key>
                                <value> <string>script</string> </value>
                            </item>
                            <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>_body</string> </key>
            <value> <string>def getTabList(**kw):\n
  tab_list = []\n
\n
  status_dict = context.ERP5Site_getConfiguredStatusDict()\n
  basic_mode = status_dict[\'basic_mode\']\n
  dms_mode = status_dict[\'dms_mode\']\n
  express_mode = status_dict[\'express_mode\']\n
\n
  info_dict = context.ERP5Site_getCategorizedModuleActionInformationDict()\n
\n
  if dms_mode:\n
    tab_list.append({\'id\': \'quick_search_tab\',\n
\t             \'icon\': \'tab_icon/access_search.png\',\n
                     \'renderer\': \'ERP5Site_renderQuickSearchDialog\',\n
                     \'title\': \'Quick Search\'})\n
\n
    tab_list.append({\'id\': \'contribution_tab\',\n
\t             \'icon\': \'tab_icon/share.png\',\n
                     \'renderer\': \'ERP5Site_renderContributionDialog\',\n
                     \'title\': \'Contribute\'})\n
\n
  if basic_mode:\n
    if info_dict.get(\'view\'):\n
      tab_list.append({\'id\': \'browse_tab\',\n
\t               \'icon\': \'tab_icon/list.png\',\n
                       \'renderer\': \'ERP5Site_renderViewActionList\',\n
                       \'title\': \'Browse\'})\n
    if info_dict.get(\'add\'):\n
      tab_list.append({\'id\': \'document_creation_tab\',\n
\t               \'icon\': \'tab_icon/filenew.png\',\n
                       \'renderer\': \'ERP5Site_renderDocumentCreationActionList\',\n
                       \'title\': \'New\'})\n
\n
    if info_dict.get(\'search\'):\n
      tab_list.append({\'id\': \'document_search_tab\',\n
\t                \'icon\': \'tab_icon/filefind.png\',\n
                       \'renderer\': \'ERP5Site_renderDocumentSearchActionList\',\n
                       \'title\': \'Dig\'})\n
\n
    if info_dict.get(\'report\'):\n
      tab_list.append({\'id\': \'report_tab\',\n
\t               \'icon\': \'tab_icon/webexport.png\',\n
                       \'renderer\': \'ERP5Site_renderReportActionList\',\n
                       \'title\': \'Reports\'})\n
\n
    if info_dict.get(\'print\'):\n
      tab_list.append({\'id\': \'printout_tab\',\n
\t               \'icon\': \'tab_icon/ps.png\',\n
                       \'renderer\': \'ERP5Site_renderPrintActionList\',\n
                       \'title\': \'Printouts\'})\n
\n
    if info_dict.get(\'exchange\'):\n
      tab_list.append({\'id\': \'exchange_tab\',\n
\t               \'icon\': \'tab_icon/imp-exp.png\',\n
                       \'renderer\': \'ERP5Site_renderExchangeActionList\',\n
                       \'title\': \'Exchange\'})\n
\n
  if express_mode in (\'support_enabled\', \'advertisement_enabled\'):\n
    tab_list.append({\'id\': \'express_support_tab\',\n
\t              \'icon\': \'tab_icon/support.png\',\n
                     \'renderer\': \'ERP5Site_renderExpressSupport\',\n
                     \'title\': \'Express Support\'})\n
\n
  return tab_list\n
\n
return getTabList()\n
</string> </value>
        </item>
        <item>
            <key> <string>_code</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>_params</string> </key>
            <value> <string></string> </value>
        </item>
        <item>
            <key> <string>errors</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
        <item>
            <key> <string>func_code</string> </key>
            <value>
              <object>
                <klass>
                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>co_argcount</string> </key>
                        <value> <int>0</int> </value>
                    </item>
                    <item>
                        <key> <string>co_varnames</string> </key>
                        <value>
                          <tuple>
                            <string>getTabList</string>
                          </tuple>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>func_defaults</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>ERP5Site_getTabList</string> </value>
        </item>
        <item>
            <key> <string>warnings</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
