Commit 5f683284 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2009-08-25 Kazuhiko

* add File_viewEditor for text/* documents.
* add 22x22 webdav icon too.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28624 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cbebbb23
<?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>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</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>view_editor</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
</value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.1</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Edit</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}/File_viewEditor</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object is not None and not object.isWebMode() and object.getContentType().startswith(\'text/\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left (Page Properties)</string>
<string>right (Publication)</string>
<string>center</string>
<string>bottom</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list>
<string>my_data</string>
</list>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left (Page Properties)</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>right (Publication)</string> </key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>File_viewEditor</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>WebPage_view</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_view</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Web Page</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>css_class</string>
<string>description</string>
<string>editable</string>
<string>height</string>
<string>text_editor</string>
<string>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_data</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>text_editor</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Data of the File</string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_text_content</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewWebFieldLibrary</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>40</int> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>text_editor</string> </key>
<value> <string>text_area</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>File data</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</item> </item>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts50879283.95</string> </value> <value> <string>ts51228352.38</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -27,26 +27,35 @@ ...@@ -27,26 +27,35 @@
</item> </item>
<item> <item>
<key> <string>data</string> </key> <key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAAzVJREFU <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAAK/INwWK6QAAAAZiS0dE
eJxtkktMXHUUxn/3MXOZO1NgmJEZWoqFIjINUUlkaNJQQ00bV01oXNjHokkT48a469a4MTFxocY0 AP8A/wD/oL2nkwAAAAlwSFlzAAAASAAAAEgARslrPgAABQRJREFUOMuNlMtvVFUcx7/nPmbunblz
aYyKMYpNumBBUtTIM2rNQFueI1OmQAvzogzMe4Y7c/8uFILVb3PO4vy+fCfnSDwrd1+D75Wuyz3+ Z6bT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XQzLGNyQU1KkyYqqMmCIhEg4iEg5CVSSoigRC
OOj6klOdOXvCr2Z/AmA9fVcAnrk03UfgConk+rZ0ql5alVSRrAsjEQshHpWhKhKkYAA+BbRivrww
+ucJq5T5AUDx2UsIAEAtY2nqclUbvysFAvFkIhVXI5GgHJRIQBBBPY8uzOeWsre6eyYGf+s0tLs/
r4T+bxCOTyhq6s3tO9/u/OXEaeuLLztzjeu3fxNSEu+AkFUAyLP+CisTHMcLHMeLjDEAuCcFuEI0
TKd372jyjfKEIYv2CGHuIM8JGgAJIKDUsxmj9DFRK8G7d7/x4eHDn3zGcYRSSkGIsLG9fXO6vr5O
tG2bzczknStXerPJZGJRkiSYpoVjx44eyWaHT/2n4mAwuEZVQ6/dBzMYhs1r2iKvaYsgBMQwzKAs
BzaraohKkgRR5CGKwsknbFyZUBS1NRqN7mHs/ltLS+vOtWsb29iyN75PWSbT36Pr2gjHcQRg0LRS
j2WZA49y/gX4lX40sCCk7QAAAABJRU5ErkJggg==</string> </value>
</item> </item>
<item> <item>
<key> <string>height</string> </key> <key> <string>height</string> </key>
<value> <int>16</int> </value> <value> <int>22</int> </value>
</item> </item>
<item> <item>
<key> <string>precondition</string> </key> <key> <string>precondition</string> </key>
...@@ -54,7 +63,7 @@ Ly8/vKdpVlKp1FYwuHADyAP8Bc3jdj5nqB6BAAAAAElFTkSuQmCC</string> </value> ...@@ -54,7 +63,7 @@ Ly8/vKdpVlKp1FYwuHADyAP8Bc3jdj5nqB6BAAAAAElFTkSuQmCC</string> </value>
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>894</int> </value> <value> <int>1396</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
...@@ -62,7 +71,7 @@ Ly8/vKdpVlKp1FYwuHADyAP8Bc3jdj5nqB6BAAAAAElFTkSuQmCC</string> </value> ...@@ -62,7 +71,7 @@ Ly8/vKdpVlKp1FYwuHADyAP8Bc3jdj5nqB6BAAAAAElFTkSuQmCC</string> </value>
</item> </item>
<item> <item>
<key> <string>width</string> </key> <key> <string>width</string> </key>
<value> <int>16</int> </value> <value> <int>22</int> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Image" module="OFS.Image"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts50879283.95</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>webdav_icon.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAAzVJREFU
eJxtkktMXHUUxn/3MXOZO1NgmJEZWoqFIjINUUlkaNJQQ00bV01oXNjHokkT48a469a4MTFxocY0
aYyKMYpNumBBUtTIM2rNQFueI1OmQAvzogzMe4Y7c/8uFILVb3PO4vy+fCfnSDwrd1+D75Wuyz3+
tjcbG2rbhTDLGxuR+dHh2wMPZ4ZuATv/YfZ06PDp8x9/Mbke38yJYrEsKmVTCCFEuSxEdLMkProx
tOxwt772v7C93n/x5nfT5WgsLe7NhsXYb4siMLMmovGsiCVyIhrLip20KT79cjKJ1vT6Hqf8XXTv
+Uvv/9Djb3YGZoKsRtJspw08rmrMSoWtZJpCyaBQNGhs8NpW4lWvhhd+/B4oKgDOo6cuO+pfvhKN
rpEzrGTzgrOn2mlpciGrCoqsIIREPm+QyRQpGvpzgfuBhXIhMSsDeBs7elobnRRKCqFwgvlQjGA4
Tml3F80io9s0JEkml99lejZMNm/g8b7QDSAD1Lk8bv9LrfSdO8mJY9UsBh/xwWc/88bVm/w6Faaq
ygJILISi3Br6ndnQE/KG5Nw3yKUij0uGiSIrFIq7xLayxJ5mmP8zQWB2AxmJ1fVtPvnqDhISNpvO
TnIzuW+wFro7kskWGBweZ+DOIorFgarI2HSNicAqfzx4wuffjrMe36HtmIcTzS4q2ZW7ANI/13D0
9n04kSxonWuRLXTdjm6zYFEVTNNEQiK6mcLtdGDR7GxHpmbi8/29wPaeAZr9SG+L/53bta6GOodN
QrMoqIpExRQUS2XKFcFOziS8NB1LL31zEUpjB/4AKkZm9en69Kirztvpa/cdbms5grvGTkO9E1dd
Dfl8jpXg2HRiYeAalCb2uP0EB6S76o+fPf5i17kLFy69vfIoHBmf+GlwLXx/spCNDQPZg8PqgV45
c+YtdyZTLCcSK+N2dVs/3e25Khuh+Fjx8aCu1Ux1+E5qkNECgV+SgPhXgqqq2uf7+7+ea2o6eiiT
yQqbzSp5vS4A5uaWhGkK0dzcLI+MjC5dv/5eN5B6doXqzs6ud61W1S7LiurzdXRZrapVVWU5Ht9M
Ly8/vKdpVlKp1FYwuHADyAP8Bc3jdj5nqB6BAAAAAElFTkSuQmCC</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>894</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
2009-08-25 Kazuhiko
* add File_viewEditor for text/* documents.
2009-08-21 ivan 2009-08-21 ivan
* Use full text search to find related documents (i.e. referencing documents) * Use full text search to find related documents (i.e. referencing documents)
......
1011 1012
\ No newline at end of file \ No newline at end of file
...@@ -37,6 +37,7 @@ File | jump_to_successor ...@@ -37,6 +37,7 @@ File | jump_to_successor
File | jump_to_wiki_predecessor File | jump_to_wiki_predecessor
File | local_permission File | local_permission
File | related_document File | related_document
File | view_editor
Image Module | list_ui Image Module | list_ui
Image Module | sort_on Image Module | sort_on
Image Module | view Image Module | view
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment