[Erp5-report] r41147 gabriel - in /erp5/trunk/bt5/erp5_web_ung_theme: PathTemplateItem/port...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 6 09:46:00 CET 2010
Author: gabriel
Date: Mon Dec 6 09:45:59 2010
New Revision: 41147
URL: http://svn.erp5.org?rev=41147&view=rev
Log:
2010-12-06 gabriel
* Added one domain and categories to filter the documents in listbox.
Added:
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/hidden.xml
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/opened.xml
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/owner.xml
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/shared.xml
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/starred.xml
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/trash.xml
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/
erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain.xml
erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml
erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_getDocumentListFiltered.xml
Modified:
erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_layout/listbox.xml
erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml
erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml
erp5/trunk/bt5/erp5_web_ung_theme/bt/change_log
erp5/trunk/bt5/erp5_web_ung_theme/bt/revision
erp5/trunk/bt5/erp5_web_ung_theme/bt/template_path_list
Added: erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/hidden.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/hidden.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/hidden.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/hidden.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Category" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_Add_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Add_portal_folders_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Copy_or_Move_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Delete_objects_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Modify_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Manager</string>
+ <string>Owner</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>categories</string> </key>
+ <value>
+ <tuple>
+ <string>publication_section/hidden</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>hidden</string> </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value> <int>5</int> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Category</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Hidden</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/opened.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/opened.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/opened.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/opened.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Category" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_Add_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Add_portal_folders_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Copy_or_Move_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Delete_objects_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Modify_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Manager</string>
+ <string>Owner</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>opened</string> </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value> <int>2</int> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Category</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Opened by me</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/owner.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/owner.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/owner.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/owner.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Category" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_Add_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Add_portal_folders_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Copy_or_Move_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Delete_objects_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Modify_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Manager</string>
+ <string>Owner</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>categories</string> </key>
+ <value>
+ <tuple>
+ <string>publication_section/owner</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>owner</string> </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Category</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Owned by me</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/shared.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/shared.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/shared.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/shared.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Category" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_Add_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Add_portal_folders_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Copy_or_Move_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Delete_objects_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Modify_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Manager</string>
+ <string>Owner</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>categories</string> </key>
+ <value>
+ <tuple>
+ <string>publication_section/shared</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>shared</string> </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value> <int>3</int> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Category</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Shared by me</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/starred.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/starred.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/starred.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/starred.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Category" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_Add_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Add_portal_folders_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Copy_or_Move_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Delete_objects_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Modify_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Manager</string>
+ <string>Owner</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>categories</string> </key>
+ <value>
+ <tuple>
+ <string>publication_section/starred</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>starred</string> </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value> <int>4</int> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Category</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Starred</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/trash.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/trash.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/trash.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_categories/publication_section/trash.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Category" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_Add_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Add_portal_folders_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Copy_or_Move_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Delete_objects_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignor</string>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>_Modify_portal_content_Permission</string> </key>
+ <value>
+ <tuple>
+ <string>Assignee</string>
+ <string>Assignor</string>
+ <string>Manager</string>
+ <string>Owner</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>categories</string> </key>
+ <value>
+ <tuple>
+ <string>publication_section/Trash</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>trash</string> </value>
+ </item>
+ <item>
+ <key> <string>int_index</string> </key>
+ <value> <int>6</int> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Category</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Trash</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/PathTemplateItem/portal_domains/ung_domain.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,120 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Base Domain" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_count</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>_identity_criterion</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>_mt_index</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>_range_criterion</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>_tree</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>domain_generator_method_id</string> </key>
+ <value> <string>WebPageModule_generateDomain</string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>ung_domain</string> </value>
+ </item>
+ <item>
+ <key> <string>last_id</string> </key>
+ <value> <string>13</string> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Base Domain</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>UNG Document</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <global name="Length" module="BTrees.Length"/>
+ </pickle>
+ <pickle> <int>0</int> </pickle>
+ </record>
+ <record id="3" aka="AAAAAAAAAAM=">
+ <pickle>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>data</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="4" aka="AAAAAAAAAAQ=">
+ <pickle>
+ <global name="OOBTree" module="BTrees.OOBTree"/>
+ </pickle>
+ <pickle>
+ <none/>
+ </pickle>
+ </record>
+ <record id="5" aka="AAAAAAAAAAU=">
+ <pickle>
+ <global name="PersistentMapping" module="Persistence.mapping"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>data</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="6" aka="AAAAAAAAAAY=">
+ <pickle>
+ <global name="OOBTree" module="BTrees.OOBTree"/>
+ </pickle>
+ <pickle>
+ <none/>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_generateDomain.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,155 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ </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>domain_list = []\n
+\n
+if depth == 0:\n
+ url = \'publication_section\'\n
+ context.log(script.id, \'parent = %r, context = %r, url = %r, depth = %r\' % (parent, context, url, depth))\n
+ domain = parent.generateTempDomain(id=\'all_document_list\')\n
+ domain.edit(title=\'All Documents\',\n
+ list_method=\'WebPageModule_getDocumentListFiltered\',)\n
+ domain_list.append(domain)\n
+\n
+ category_list = context.portal_categories.getCategoryValue(url).contentValues()\n
+ for category in category_list:\n
+ domain = parent.generateTempDomain(id = category.getId())\n
+ domain.edit(title = category.getTitle(),\n
+ membership_criterion_base_category = (\'publication_section\',), \n
+ membership_criterion_category = (category.getRelativeUrl(),),\n
+ domain_generator_method_id = script.id,\n
+ uid = category.getUid())\n
+\n
+ domain_list.append(domain)\n
+ \n
+ domain = parent.generateTempDomain(id=\'webpage_module_list\')\n
+ domain.edit(title=\'Document by Type\',\n
+ list_method=\'WebPageModule_getDocumentListFiltered\',)\n
+ domain_list.append(domain)\n
+\n
+return domain_list\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string>depth, parent, **kw</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>2</int> </value>
+ </item>
+ <item>
+ <key> <string>co_varnames</string> </key>
+ <value>
+ <tuple>
+ <string>depth</string>
+ <string>parent</string>
+ <string>kw</string>
+ <string>domain_list</string>
+ <string>url</string>
+ <string>_getattr_</string>
+ <string>context</string>
+ <string>script</string>
+ <string>domain</string>
+ <string>category_list</string>
+ <string>_getiter_</string>
+ <string>category</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>WebPageModule_generateDomain</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_getDocumentListFiltered.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_getDocumentListFiltered.xml?rev=41147&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_getDocumentListFiltered.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebPageModule_getDocumentListFiltered.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -0,0 +1,121 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ </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>return context.portal_catalog(portal_type=["Web Page", "Web Illustration", "Web Table"], \n
+ validation_state=["draft"])\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string>**kw</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>kw</string>
+ <string>_getattr_</string>
+ <string>context</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>WebPageModule_getDocumentListFiltered</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_layout/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_layout/listbox.xml?rev=41147&r1=41146&r2=41147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_layout/listbox.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/erp5_web_ung_layout/listbox.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -14,6 +14,8 @@
<string>columns</string>
<string>count_method</string>
<string>default_params</string>
+ <string>domain_root_list</string>
+ <string>domain_tree</string>
<string>editable_columns</string>
<string>lines</string>
<string>list_method</string>
@@ -135,6 +137,21 @@
</value>
</item>
<item>
+ <key> <string>domain_root_list</string> </key>
+ <value>
+ <list>
+ <tuple>
+ <string>ung_domain</string>
+ <string>UNG Documents</string>
+ </tuple>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>domain_tree</string> </key>
+ <value> <int>1</int> </value>
+ </item>
+ <item>
<key> <string>editable_columns</string> </key>
<value>
<list/>
Modified: erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml?rev=41147&r1=41146&r2=41147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_js/ung.js.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -45,19 +45,29 @@ function setObjectPropertyValue(method_n
});\n
return true;\n
}\n
+\n
$(document).ready(function(){\n
$("a[name=\'document_title\']").html(getObjectPropertyValue("getTitle"));\n
if ($("div.gadget-column").length == 1) {\n
- $("body").css("overflow", "hidden");\n
- navigation_html = $("div.listbox-footer div.listbox-page-navigation").html();\n
- $("div.listbox-footer div.listbox-page-navigation").remove();\n
- navigation_div = "<div class=\'listbox-navigation\'>" + navigation_html + "</div>";\n
- $("div.toolbar").append(navigation_div);\n
- var tr_length = $("div.main-right tbody tr").length;\n
- if (tr_length < 16){\n
- var height = tr_length * 1.5;\n
- $("div.main-right tbody").css("height", height + "em");\n
- }\n
+ blank_space_str = "  ";\n
+ $("a.tree-open, a.tree-closed").each(function(){\n
+ if ($(this).text() != "Document by Type")\n
+ $(this).html($(this).text() + blank_space_str);\n
+ });\n
+ $("body").css("overflow", "hidden");\n
+ navigation_html = $("div.listbox-footer div.listbox-page-navigation").html();\n
+ $("div.listbox-footer div.listbox-page-navigation").remove();\n
+ navigation_div = "<div class=\'listbox-navigation\'>" + navigation_html + "</div>";\n
+ $("div.toolbar").append(navigation_div);\n
+ listbox_tree_html = $("div.listbox-tree").html();\n
+ listbox_tree_div = "<div class=\'listbox-tree\'>" + listbox_tree_html + "</div>";\n
+ $("div.listbox-tree").remove();\n
+ $("div.file-quick-search").append(listbox_tree_div);\n
+ var tr_length = $("div.main-right tbody tr").length;\n
+ if (tr_length < 16){\n
+ var height = tr_length * 1.5;\n
+ $("div.main-right tbody").css("height", height + "em");\n
+ }\n
}\n
$("#edit_document").dialog({\n
autoOpen: false,\n
Modified: erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml?rev=41147&r1=41146&r2=41147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml [utf8] Mon Dec 6 09:45:59 2010
@@ -33,14 +33,14 @@
/* No margins, take all screen */\n
\n
body {\n
- background: #fff !important;\n
- width:100%;\n
- height:100%;\n
- margin: 0;\n
- padding: 0;\n
- font-family: arial,sans-serif;\n
- display:inline-block;\n
- font-weight:normal;\n
+ background: #fff !important;\n
+ width:100%;\n
+ height:100%;\n
+ margin: 0;\n
+ padding: 0;\n
+ font-family: arial,sans-serif;\n
+ display:inline-block;\n
+ font-weight:normal;\n
}\n
\n
/* Hidden input */\n
@@ -141,28 +141,25 @@ div.gadget-column div.file-selection {\n
margin:15px -4px -4px;\n
}\n
\n
-div.gadget-column div.file-selection div.file-quick-search {\n
- border-bottom: 1px solid #DDD;\n
- padding-bottom: 5px;\n
- padding-top: 5px;\n
- width:15.6em;\n
-}\n
-\n
-div.gadget-column div.file-selection div.file-quick-browser {\n
+div.gadget-column div.file-selection div.file-quick-browser,\n
+ div.gadget-column div.file-selection div.file-quick-search {\n
padding-top: 5px;\n
padding-bottom: 5px;\n
border-bottom: 1px solid #DDD;\n
width:15.7em;\n
}\n
\n
-div.quick-search-item {\n
+div.quick-search-item, td.listbox-table-domain-tree-cell a {\n
padding-left: 20px;\n
font-size: 13px;\n
line-height: 19px;\n
cursor: pointer;\n
+ text-decoration: none;\n
+ color: #000000;\n
}\n
\n
-div.quick-search-item:hover {\n
+div.quick-search-item:hover,\n
+ td.listbox-table-domain-tree-cell a:hover {\n
background-color: #DAE6F6;\n
}\n
\n
@@ -416,7 +413,7 @@ div.main-right div.content {\n
}\n
\n
\n
-div.main-right tbody {\n
+div.listbox-body div.main-right tbody {\n
height:25.35em;\n
overflow-x:hidden;\n
overflow-y:auto;\n
@@ -815,8 +812,34 @@ p#more_properties:hover, p#hide_properti
color:#525f94;\n
}\n
a#left_message, a#right_message {\n
- display: none;\n
- color: #FD0A0A;\n
+ display: none;\n
+ color: #FD0A0A;\n
+}\n
+\n
+div.listbox-domain-tree-container select {\n
+ display:none;\n
+}\n
+\n
+div.listbox-tree {\n
+ font-size: 13px;\n
+ width: 103%;\n
+}\n
+\n
+div.listbox-tree-mode-selection {\n
+ display:none;\n
+}\n
+\n
+table.listbox-table-domain-tree {\n
+ width: 100%;\n
+}\n
+\n
+td.listbox-table-domain-tree-cell a {\n
+ padding-bottom: 3px;\n
+ padding-right: 125.5px;\n
+ padding-top: 3px;\n
+}\n
+a.tree-open {\n
+ background-color: #BBCCFF;\n
}
]]></string> </value>
Modified: erp5/trunk/bt5/erp5_web_ung_theme/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/bt/change_log?rev=41147&r1=41146&r2=41147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_theme/bt/change_log [utf8] Mon Dec 6 09:45:59 2010
@@ -1,3 +1,6 @@
+2010-12-06 gabriel
+* Added one domain and categories to filter the documents in listbox.
+
2010-12-04 gabriel
* Refactor script to not delete object completely but only change the state in the first time. The goals is only remove the object completely on the trash section.
Modified: erp5/trunk/bt5/erp5_web_ung_theme/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/bt/revision?rev=41147&r1=41146&r2=41147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_theme/bt/revision [utf8] Mon Dec 6 09:45:59 2010
@@ -1 +1 @@
-97
\ No newline at end of file
+98
\ No newline at end of file
Modified: erp5/trunk/bt5/erp5_web_ung_theme/bt/template_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_theme/bt/template_path_list?rev=41147&r1=41146&r2=41147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_theme/bt/template_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_theme/bt/template_path_list [utf8] Mon Dec 6 09:45:59 2010
@@ -1,3 +1,17 @@
+portal_categories/publication_section/hidden
+portal_categories/publication_section/hidden/**
+portal_categories/publication_section/opened
+portal_categories/publication_section/opened/**
+portal_categories/publication_section/owner
+portal_categories/publication_section/owner/**
+portal_categories/publication_section/shared
+portal_categories/publication_section/shared/**
+portal_categories/publication_section/starred
+portal_categories/publication_section/starred/**
+portal_categories/publication_section/trash
+portal_categories/publication_section/trash/**
+portal_domains/ung_domain
+portal_domains/ung_domain/**
web_page_module/**
web_site_module/ung
web_site_module/ung/**
\ No newline at end of file
More information about the Erp5-report
mailing list