diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/bookmark.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/bookmark.xml new file mode 100644 index 0000000000000000000000000000000000000000..58924211891674cbd9a5f5c72f1f4316c6a0c98c --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Drawing/bookmark.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bookmark</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>110.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark this document</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_addBookmark</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/File/bookmark.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/File/bookmark.xml new file mode 100644 index 0000000000000000000000000000000000000000..58924211891674cbd9a5f5c72f1f4316c6a0c98c --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/File/bookmark.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bookmark</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>110.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark this document</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_addBookmark</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Image/bookmark.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Image/bookmark.xml new file mode 100644 index 0000000000000000000000000000000000000000..58924211891674cbd9a5f5c72f1f4316c6a0c98c --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Image/bookmark.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bookmark</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>110.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark this document</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_addBookmark</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/PDF/bookmark.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/PDF/bookmark.xml new file mode 100644 index 0000000000000000000000000000000000000000..58924211891674cbd9a5f5c72f1f4316c6a0c98c --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/PDF/bookmark.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bookmark</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>110.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark this document</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_addBookmark</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/bookmark.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/bookmark.xml new file mode 100644 index 0000000000000000000000000000000000000000..58924211891674cbd9a5f5c72f1f4316c6a0c98c --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Presentation/bookmark.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bookmark</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>110.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark this document</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_addBookmark</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/bookmark.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/bookmark.xml new file mode 100644 index 0000000000000000000000000000000000000000..58924211891674cbd9a5f5c72f1f4316c6a0c98c --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Spreadsheet/bookmark.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bookmark</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>110.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark this document</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_addBookmark</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/bookmark.xml b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/bookmark.xml new file mode 100644 index 0000000000000000000000000000000000000000..58924211891674cbd9a5f5c72f1f4316c6a0c98c --- /dev/null +++ b/bt5/erp5_dms/ActionTemplateItem/portal_types/Text/bookmark.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_action</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>bookmark</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>110.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark this document</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Document_addBookmark</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_dms/bt/change_log b/bt5/erp5_dms/bt/change_log index 5b0d394fcc3efab326b1191a0b81127cc302f7cf..85a6d55d7dfc72f9dc370f5091f34ceee0f705a8 100644 --- a/bt5/erp5_dms/bt/change_log +++ b/bt5/erp5_dms/bt/change_log @@ -1,4 +1,7 @@ 2007-11-26 Yusei +* Add bookmark action for document type portal types. + +2007-11-23 Yusei * Add bookmark feature for km. 2007-11-21 Yusei diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index c5321a6e72328aa5f59125f67df79b7d075efa93..fc67739109ccf85204d8e150c63439ea87bea5c7 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -709 \ No newline at end of file +719 \ No newline at end of file diff --git a/bt5/erp5_dms/bt/template_action_path_list b/bt5/erp5_dms/bt/template_action_path_list index da343889832bb3a52f701cfada859552ae4cfda9..029b1e13b75172bfa6cb62b884f24d54aaf9d31c 100644 --- a/bt5/erp5_dms/bt/template_action_path_list +++ b/bt5/erp5_dms/bt/template_action_path_list @@ -10,6 +10,7 @@ Document Module | search Document Module | sort_on Document Module | view Document Module | webdav +Drawing | bookmark Drawing | convert Drawing | create_snapshot Drawing | download @@ -31,6 +32,7 @@ Drawing | related_document Drawing | view Drawing | web_view External Source Module | view +File | bookmark File | file_upload File | jump_to_all_related File | jump_to_predecessor @@ -43,6 +45,7 @@ File | related_document Image Module | list_ui Image Module | sort_on Image Module | view +Image | bookmark Image | export Image | file_upload Image | jump_to_all_related @@ -53,6 +56,7 @@ Image | jump_to_successor Image | jump_to_wiki_predecessor Image | local_permission Image | related_document +PDF | bookmark PDF | download PDF | file_upload PDF | html_view @@ -68,6 +72,7 @@ PDF | related_document PDF | view PDF | web_view Preference | dms_preferences +Presentation | bookmark Presentation | convert Presentation | create_snapshot Presentation | download @@ -91,6 +96,7 @@ Presentation | web_view RSS Feed | crawl RSS Feed | crawled_content RSS Feed | view +Spreadsheet | bookmark Spreadsheet | convert Spreadsheet | create_snapshot Spreadsheet | download @@ -111,6 +117,7 @@ Spreadsheet | print Spreadsheet | related_document Spreadsheet | view Spreadsheet | web_view +Text | bookmark Text | create_snapshot Text | download Text | download_ooo