Commit 18e030db authored by Jean-Paul Smets's avatar Jean-Paul Smets

Collection of changes. Fixed naming of local role actions. Improved Image...

Collection of changes. Fixed naming of local role actions. Improved Image Module listbox to display thumbnails. Hardcoded a quickfix for advanced search. New revision.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13840 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 198e252c
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/Base_viewLocalPermission</string> </value> <value> <string>string:${object_url}/Base_viewLocalPermissionList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/Base_viewLocalPermission</string> </value> <value> <string>string:${object_url}/Base_viewLocalPermissionList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/Base_viewLocalPermission</string> </value> <value> <string>string:${object_url}/Base_viewLocalPermissionList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -131,7 +131,7 @@ if lng and lng != \'0\':\n ...@@ -131,7 +131,7 @@ if lng and lng != \'0\':\n
search_string += \' language:%s\' % lng\n search_string += \' language:%s\' % lng\n
\n \n
# category search\n # category search\n
for category in (context.portal_preferences.getPreferredDocumentBaseCategoryList() or ()):\n for category in (\'group\', \'site\', \'function\', \'publication_section\', \'classification\'):\n
category_value = req.get(\'subfield_field_your_category_list_\' + category)\n category_value = req.get(\'subfield_field_your_category_list_\' + category)\n
if category_value:\n if category_value:\n
search_string += \' %s:%s\' % (category, category_value)\n search_string += \' %s:%s\' % (category, category_value)\n
...@@ -153,8 +153,6 @@ if search_mode and search_mode_map.has_key(search_mode):\n ...@@ -153,8 +153,6 @@ if search_mode and search_mode_map.has_key(search_mode):\n
search_string += \' mode:%s\' % search_mode_map[search_mode]\n search_string += \' mode:%s\' % search_mode_map[search_mode]\n
\n \n
return search_string\n return search_string\n
\n
# vim: filetype=python syntax=python shiftwidth=2\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -86,6 +87,14 @@ ...@@ -86,6 +87,14 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_thumbnail</string>
</list>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
......
...@@ -333,22 +333,10 @@ ...@@ -333,22 +333,10 @@
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>getPortalType</string>
<string>Type</string>
</tuple>
<tuple> <tuple>
<string>reference</string> <string>reference</string>
<string>Reference</string> <string>Reference</string>
</tuple> </tuple>
<tuple>
<string>short_title</string>
<string>Short Title</string>
</tuple>
<tuple> <tuple>
<string>title</string> <string>title</string>
<string>Title</string> <string>Title</string>
...@@ -361,14 +349,14 @@ ...@@ -361,14 +349,14 @@
<string>version</string> <string>version</string>
<string>Version</string> <string>Version</string>
</tuple> </tuple>
<tuple>
<string>int_index</string>
<string>Index</string>
</tuple>
<tuple> <tuple>
<string>validation_state</string> <string>validation_state</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
<tuple>
<string>thumbnail</string>
<string>Thumbnail</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -430,7 +418,12 @@ ...@@ -430,7 +418,12 @@
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>thumbnail</string>
<string>Thumbnail</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
......
613 621
\ No newline at end of file \ No newline at end of file
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