Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
erp5
Commits
0f1198a4
Commit
0f1198a4
authored
Dec 16, 2011
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest work of Xavier Hardy which include annotation system.
parent
85b031fb
Changes
78
Show whitespace changes
Inline
Side-by-side
Showing
78 changed files
with
4546 additions
and
199 deletions
+4546
-199
bt5/erp5_run_my_doc/ActionTemplateItem/portal_types/Review%20Module/view.xml
.../ActionTemplateItem/portal_types/Review%20Module/view.xml
+83
-0
bt5/erp5_run_my_doc/ActionTemplateItem/portal_types/Review/import_page.xml
...oc/ActionTemplateItem/portal_types/Review/import_page.xml
+100
-0
bt5/erp5_run_my_doc/ActionTemplateItem/portal_types/Review/view.xml
...un_my_doc/ActionTemplateItem/portal_types/Review/view.xml
+83
-0
bt5/erp5_run_my_doc/ActionTemplateItem/portal_types/Review/view_annotations.xml
...tionTemplateItem/portal_types/Review/view_annotations.xml
+85
-0
bt5/erp5_run_my_doc/ExtensionTemplateItem/ERP5RunMyDocs.py
bt5/erp5_run_my_doc/ExtensionTemplateItem/ERP5RunMyDocs.py
+7
-0
bt5/erp5_run_my_doc/ModuleTemplateItem/review_module.xml
bt5/erp5_run_my_doc/ModuleTemplateItem/review_module.xml
+96
-0
bt5/erp5_run_my_doc/PathTemplateItem/portal_categories/function/runmydocs_user/assignor.xml
...em/portal_categories/function/runmydocs_user/assignor.xml
+0
-7
bt5/erp5_run_my_doc/PathTemplateItem/portal_categories/function/runmydocs_user/auditor.xml
...tem/portal_categories/function/runmydocs_user/auditor.xml
+1
-7
bt5/erp5_run_my_doc/PathTemplateItem/portal_categories/function/runmydocs_user/author.xml
...Item/portal_categories/function/runmydocs_user/author.xml
+1
-7
bt5/erp5_run_my_doc/PathTemplateItem/portal_gadgets/test_wizard_gadget/default_image.xml
...eItem/portal_gadgets/test_wizard_gadget/default_image.xml
+0
-40
bt5/erp5_run_my_doc/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+3
-0
bt5/erp5_run_my_doc/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
...PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+3
-0
bt5/erp5_run_my_doc/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+3
-0
bt5/erp5_run_my_doc/PortalTypeTemplateItem/portal_types/Review%20Module.xml
...c/PortalTypeTemplateItem/portal_types/Review%20Module.xml
+93
-0
bt5/erp5_run_my_doc/PortalTypeTemplateItem/portal_types/Review.xml
...run_my_doc/PortalTypeTemplateItem/portal_types/Review.xml
+64
-0
bt5/erp5_run_my_doc/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/Review.xml
...opertySheetTemplateItem/portal_property_sheets/Review.xml
+64
-0
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/Review/annotation_property.xml
...tem/portal_property_sheets/Review/annotation_property.xml
+38
-0
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/Review/document_url_property.xml
...m/portal_property_sheets/Review/document_url_property.xml
+38
-0
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/TestPage.xml
...ertySheetTemplateItem/portal_property_sheets/TestPage.xml
+64
-0
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/TestPage/test_report_property.xml
.../portal_property_sheets/TestPage/test_report_property.xml
+38
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5RunMyDocs_importWebPage.xml
...tal_skins/erp5_run_my_doc/ERP5RunMyDocs_importWebPage.xml
+28
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ReviewModule_viewReviewList.xml
...tal_skins/erp5_run_my_doc/ReviewModule_viewReviewList.xml
+152
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ReviewModule_viewReviewList/listbox.xml
...s/erp5_run_my_doc/ReviewModule_viewReviewList/listbox.xml
+164
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_editAnnotationList.xml
...ortal_skins/erp5_run_my_doc/Review_editAnnotationList.xml
+87
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_importWebPage.xml
...tem/portal_skins/erp5_run_my_doc/Review_importWebPage.xml
+72
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_listAnnotations.xml
...m/portal_skins/erp5_run_my_doc/Review_listAnnotations.xml
+97
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view.xml
...TemplateItem/portal_skins/erp5_run_my_doc/Review_view.xml
+160
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_annotation.xml
...ortal_skins/erp5_run_my_doc/Review_view/my_annotation.xml
+106
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_description.xml
...rtal_skins/erp5_run_my_doc/Review_view/my_description.xml
+96
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_document_url.xml
...tal_skins/erp5_run_my_doc/Review_view/my_document_url.xml
+106
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_reference.xml
...portal_skins/erp5_run_my_doc/Review_view/my_reference.xml
+106
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_short_title.xml
...rtal_skins/erp5_run_my_doc/Review_view/my_short_title.xml
+96
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_title.xml
...tem/portal_skins/erp5_run_my_doc/Review_view/my_title.xml
+90
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/reviewer.xml
...tem/portal_skins/erp5_run_my_doc/Review_view/reviewer.xml
+184
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewAnnotationList.xml
...ortal_skins/erp5_run_my_doc/Review_viewAnnotationList.xml
+154
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewAnnotationList/listbox.xml
...ins/erp5_run_my_doc/Review_viewAnnotationList/listbox.xml
+177
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewAnnotationList/listbox_title.xml
...p5_run_my_doc/Review_viewAnnotationList/listbox_title.xml
+156
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewImportWebPageDialog.xml
..._skins/erp5_run_my_doc/Review_viewImportWebPageDialog.xml
+124
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewImportWebPageDialog/your_document_url.xml
..._doc/Review_viewImportWebPageDialog/your_document_url.xml
+146
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewReviewer.xml
...Item/portal_skins/erp5_run_my_doc/Review_viewReviewer.xml
+74
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_viewChapterCreationWizard/listbox.xml
..._doc/TestPageModule_viewChapterCreationWizard/listbox.xml
+0
-5
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getDetails.xml
...Item/portal_skins/erp5_run_my_doc/TestPage_getDetails.xml
+67
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getNextImageID.xml
.../portal_skins/erp5_run_my_doc/TestPage_getNextImageID.xml
+6
-6
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsBook.xml
...Item/portal_skins/erp5_run_my_doc/TestPage_viewAsBook.xml
+4
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsChapter.xml
...m/portal_skins/erp5_run_my_doc/TestPage_viewAsChapter.xml
+6
-3
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditSlideShow/my_text_content.xml
...run_my_doc/TestPage_viewEditSlideShow/my_text_content.xml
+0
-17
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditSlideShow/slide_editor.xml
...p5_run_my_doc/TestPage_viewEditSlideShow/slide_editor.xml
+0
-9
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditTest/my_text_content.xml
...erp5_run_my_doc/TestPage_viewEditTest/my_text_content.xml
+0
-17
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditTest/test_editor.xml
...ins/erp5_run_my_doc/TestPage_viewEditTest/test_editor.xml
+0
-13
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditor/my_text_content.xml
...s/erp5_run_my_doc/TestPage_viewEditor/my_text_content.xml
+4
-9
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog.xml
...l_skins/erp5_run_my_doc/TestPage_viewExportBookDialog.xml
+2
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog/book_content.xml
...run_my_doc/TestPage_viewExportBookDialog/book_content.xml
+2
-2
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog/book_text_content.xml
...y_doc/TestPage_viewExportBookDialog/book_text_content.xml
+138
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog/clean_button.xml
...run_my_doc/TestPage_viewExportBookDialog/clean_button.xml
+142
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog.xml
...kins/erp5_run_my_doc/TestPage_viewExportWebPageDialog.xml
+2
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog/book_content.xml
..._my_doc/TestPage_viewExportWebPageDialog/book_content.xml
+11
-2
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog/book_text_content.xml
...oc/TestPage_viewExportWebPageDialog/book_text_content.xml
+142
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog/clean_button.xml
..._my_doc/TestPage_viewExportWebPageDialog/clean_button.xml
+142
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewTestReport/text_content.xml
.../erp5_run_my_doc/TestPage_viewTestReport/text_content.xml
+0
-9
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/book_converter.js.xml
...teItem/portal_skins/erp5_run_my_doc/book_converter.js.xml
+41
-32
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/chapter_converter.js.xml
...tem/portal_skins/erp5_run_my_doc/chapter_converter.js.xml
+59
-4
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/reviewer.css.xml
...emplateItem/portal_skins/erp5_run_my_doc/reviewer.css.xml
+150
-0
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/reviewer.js.xml
...TemplateItem/portal_skins/erp5_run_my_doc/reviewer.js.xml
+364
-0
bt5/erp5_run_my_doc/bt/change_log
bt5/erp5_run_my_doc/bt/change_log
+3
-2
bt5/erp5_run_my_doc/bt/dependency_list
bt5/erp5_run_my_doc/bt/dependency_list
+1
-1
bt5/erp5_run_my_doc/bt/description
bt5/erp5_run_my_doc/bt/description
+1
-1
bt5/erp5_run_my_doc/bt/revision
bt5/erp5_run_my_doc/bt/revision
+1
-1
bt5/erp5_run_my_doc/bt/template_action_path_list
bt5/erp5_run_my_doc/bt/template_action_path_list
+4
-0
bt5/erp5_run_my_doc/bt/template_base_category_list
bt5/erp5_run_my_doc/bt/template_base_category_list
+1
-4
bt5/erp5_run_my_doc/bt/template_module_id_list
bt5/erp5_run_my_doc/bt/template_module_id_list
+1
-0
bt5/erp5_run_my_doc/bt/template_portal_type_allowed_content_type_list
..._my_doc/bt/template_portal_type_allowed_content_type_list
+1
-0
bt5/erp5_run_my_doc/bt/template_portal_type_base_category_list
...rp5_run_my_doc/bt/template_portal_type_base_category_list
+1
-0
bt5/erp5_run_my_doc/bt/template_portal_type_id_list
bt5/erp5_run_my_doc/bt/template_portal_type_id_list
+2
-0
bt5/erp5_run_my_doc/bt/template_portal_type_property_sheet_list
...p5_run_my_doc/bt/template_portal_type_property_sheet_list
+1
-0
bt5/erp5_run_my_doc/bt/template_portal_type_workflow_chain_list
...p5_run_my_doc/bt/template_portal_type_workflow_chain_list
+1
-0
bt5/erp5_run_my_doc/bt/template_property_sheet_id_list
bt5/erp5_run_my_doc/bt/template_property_sheet_id_list
+2
-0
bt5/erp5_run_my_doc/bt/version
bt5/erp5_run_my_doc/bt/version
+1
-1
No files found.
bt5/erp5_run_my_doc/
CategoryTemplateItem/portal_categories/function/runmydocs_user/auditor
.xml
→
bt5/erp5_run_my_doc/
ActionTemplateItem/portal_types/Review%20Module/view
.xml
View file @
0f1198a4
...
@@ -2,96 +2,80 @@
...
@@ -2,96 +2,80 @@
<ZopeData>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<pickle>
<global
name=
"
Category"
module=
"erp5.portal_type
"
/>
<global
name=
"
ActionInformation"
module=
"Products.CMFCore.ActionInformation
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_Add_portal_content_Permiss
ion
</string>
</key>
<key>
<string>
act
ion
</string>
</key>
<value>
<value>
<tuple>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
Assignor
</string>
<string>
action_type/object_list
</string>
<string>
Manager
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<value>
<string>
object_list
</string>
</value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<key>
<string>
condition
</string>
</key>
<value>
<value>
<string></string>
</value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
categories
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<value>
<string></string>
</value>
<tuple>
<string>
function/runmydocs_user/author
</string>
</tuple>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
codificati
on
</string>
</key>
<key>
<string>
ic
on
</string>
</key>
<value>
<string>
RMD-Aud
</string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
AUD
</string>
</value>
<value>
<string>
view
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
permissions
</string>
</key>
<value>
<value>
<none/>
<tuple>
<string>
View
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
auditor
</string>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
<value>
<string>
Action Information
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
short_title
</string>
</key>
<key>
<string>
priority
</string>
</key>
<value>
<value>
<float>
1.0
</float>
</value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Auditor
</string>
</value>
<value>
<string>
View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/ReviewModule_viewReviewList
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_run_my_doc/
CategoryTemplateItem/portal_categories/function/runmydocs_user/assignor
.xml
→
bt5/erp5_run_my_doc/
ActionTemplateItem/portal_types/Review/import_page
.xml
View file @
0f1198a4
...
@@ -2,97 +2,97 @@
...
@@ -2,97 +2,97 @@
<ZopeData>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<pickle>
<global
name=
"
Category"
module=
"erp5.portal_type
"
/>
<global
name=
"
ActionInformation"
module=
"Products.CMFCore.ActionInformation
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_Add_portal_content_Permiss
ion
</string>
</key>
<key>
<string>
act
ion
</string>
</key>
<value>
<value>
<tuple>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
Assignor
</string>
<string>
action_type/object_exchange
</string>
<string>
Manager
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<value>
<string>
object_exchange
</string>
</value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Delete_objects_Permiss
ion
</string>
</key>
<key>
<string>
condit
ion
</string>
</key>
<value>
<value>
<tuple>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Modify_portal_content_Permiss
ion
</string>
</key>
<key>
<string>
descript
ion
</string>
</key>
<value>
<value>
<tuple>
<none/>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
categories
</string>
</key>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
import_page
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
function/runmydocs_user/author
</string>
<string>
Modify portal content
</string>
<string>
function/runmydocs_user/assignor
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
codification
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
RMD-Asgr
</string>
</value>
<value>
<string>
Action Information
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
priority
</string>
</key>
<value>
<
string>
ASGR
</string
>
</value>
<value>
<
float>
1.0
</float
>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<value>
<string>
Import a Web Page
</string>
</value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
visible
</string>
</key>
<value>
<
string>
assignor
</string
>
</value>
<value>
<
int>
1
</int
>
</value>
</item>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
text
</string>
</key>
<value>
<string>
Category
</string>
</value>
<value>
<string>
string:${object_url}/Review_viewImportWebPageDialog
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<item>
<key>
<string>
t
itle
</string>
</key>
<key>
<string>
t
ext
</string>
</key>
<value>
<string>
Assignor
</string>
</value>
<value>
<string>
python: context.getTextContent() is None or not context.getTextContent()
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_run_my_doc/ActionTemplateItem/portal_types/Review/view.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</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>
view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
View
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/Review_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/
CategoryTemplateItem/portal_categories/function/runmydocs_user/author
.xml
→
bt5/erp5_run_my_doc/
ActionTemplateItem/portal_types/Review/view_annotations
.xml
View file @
0f1198a4
...
@@ -2,96 +2,82 @@
...
@@ -2,96 +2,82 @@
<ZopeData>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<pickle>
<global
name=
"
Category"
module=
"erp5.portal_type
"
/>
<global
name=
"
ActionInformation"
module=
"Products.CMFCore.ActionInformation
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_Add_portal_content_Permiss
ion
</string>
</key>
<key>
<string>
act
ion
</string>
</key>
<value>
<value>
<tuple>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
Assignor
</string>
<string>
action_type/object_view
</string>
<string>
Manager
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<value>
<string>
object_view
</string>
</value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<key>
<string>
condition
</string>
</key>
<value>
<value>
<string></string>
</value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
categories
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<value>
<tuple>
<none/>
<string>
function/runmydocs_user/author
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
codificati
on
</string>
</key>
<key>
<string>
ic
on
</string>
</key>
<value>
<string>
RMD-Aut
</string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
AUT
</string>
</value>
<value>
<string>
view_annotations
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
permissions
</string>
</key>
<value>
<value>
<none/>
<tuple>
<string>
View
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
author
</string>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
<value>
<string>
Action Information
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
short_title
</string>
</key>
<key>
<string>
priority
</string>
</key>
<value>
<value>
<float>
2.0
</float>
</value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Author
</string>
</value>
<value>
<string>
View Annotations
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/Review_viewAnnotationList
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
bt5/erp5_run_my_doc/ExtensionTemplateItem/ERP5RunMyDocs.py
View file @
0f1198a4
...
@@ -102,3 +102,10 @@ def parseTutorial(text):
...
@@ -102,3 +102,10 @@ def parseTutorial(text):
stack
.
append
(
child
)
stack
.
append
(
child
)
return
dict
(
title
=
title
,
text
=
lxml
.
html
.
tostring
(
html
))
return
dict
(
title
=
title
,
text
=
lxml
.
html
.
tostring
(
html
))
"""
Return the content of a web page
"""
def
urlread
(
url
):
import
urllib
return
urllib
.
urlopen
(
url
).
read
()
bt5/erp5_run_my_doc/ModuleTemplateItem/review_module.xml
0 → 100644
View file @
0f1198a4
<module>
<id>
review_module
</id>
<permission_list>
<permission
type=
'tuple'
>
<name>
Access Transient Objects
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Access contents information
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Access session data
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal content
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal folders
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Change local roles
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Copy or Move
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Delete objects
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
List folder contents
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Modify portal content
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View History
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
</permission_list>
<portal_type>
Review Module
</portal_type>
<title>
Reviews
</title>
</module>
\ No newline at end of file
bt5/erp5_run_my_doc/PathTemplateItem/portal_categories/function/runmydocs_user/assignor.xml
View file @
0f1198a4
...
@@ -57,7 +57,6 @@
...
@@ -57,7 +57,6 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
function/runmydocs_user/author
</string>
<string>
function/runmydocs_user/assignor
</string>
<string>
function/runmydocs_user/assignor
</string>
</tuple>
</tuple>
</value>
</value>
...
@@ -84,12 +83,6 @@
...
@@ -84,12 +83,6 @@
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
<value>
<string>
Category
</string>
</value>
</item>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Assignor
</string>
</value>
<value>
<string>
Assignor
</string>
</value>
...
...
bt5/erp5_run_my_doc/PathTemplateItem/portal_categories/function/runmydocs_user/auditor.xml
View file @
0f1198a4
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
function/runmydocs_user/au
th
or
</string>
<string>
function/runmydocs_user/au
dit
or
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -83,12 +83,6 @@
...
@@ -83,12 +83,6 @@
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
<value>
<string>
Category
</string>
</value>
</item>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Auditor
</string>
</value>
<value>
<string>
Auditor
</string>
</value>
...
...
bt5/erp5_run_my_doc/PathTemplateItem/portal_categories/function/runmydocs_user/author.xml
View file @
0f1198a4
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
function/runmydocs_user/au
th
or
</string>
<string>
function/runmydocs_user/au
dit
or
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -83,12 +83,6 @@
...
@@ -83,12 +83,6 @@
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category
</string>
</value>
<value>
<string>
Category
</string>
</value>
</item>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Author
</string>
</value>
<value>
<string>
Author
</string>
</value>
...
...
bt5/erp5_run_my_doc/PathTemplateItem/portal_gadgets/test_wizard_gadget/default_image.xml
View file @
0f1198a4
...
@@ -6,24 +6,6 @@
...
@@ -6,24 +6,6 @@
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
content_md5
</string>
</key>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
d41d8cd98f00b204e9800998ecf8427e
</string>
</value>
<value>
<string>
d41d8cd98f00b204e9800998ecf8427e
</string>
</value>
...
@@ -57,26 +39,4 @@
...
@@ -57,26 +39,4 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</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=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_run_my_doc/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
0f1198a4
<allowed_content_type_list>
<allowed_content_type_list>
<portal_type
id=
"Review Module"
>
<item>
Review
</item>
</portal_type>
<portal_type
id=
"Test Page"
>
<portal_type
id=
"Test Page"
>
<item>
File
</item>
<item>
File
</item>
<item>
Image
</item>
<item>
Image
</item>
...
...
bt5/erp5_run_my_doc/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
View file @
0f1198a4
<base_category_list>
<base_category_list>
<portal_type
id=
"Review Module"
>
<item>
business_application
</item>
</portal_type>
<portal_type
id=
"Test Page"
>
<portal_type
id=
"Test Page"
>
<item>
follow_up
</item>
<item>
follow_up
</item>
<item>
function
</item>
<item>
function
</item>
...
...
bt5/erp5_run_my_doc/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
0f1198a4
<property_sheet_list>
<property_sheet_list>
<portal_type
id=
"Review"
>
<item>
Review
</item>
</portal_type>
<portal_type
id=
"Test Page"
>
<portal_type
id=
"Test Page"
>
<item>
SortIndex
</item>
<item>
SortIndex
</item>
<item>
TestPage
</item>
<item>
TestPage
</item>
...
...
bt5/erp5_run_my_doc/PortalTypeTemplateItem/portal_types/Review%20Module.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_property_domain_dict
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<string>
folder_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addFolder
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple>
<string>
module
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review Module
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Folder
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
short_title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/PortalTypeTemplateItem/portal_types/Review.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addXMLObject
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review
</string>
</value>
</item>
<item>
<key>
<string>
init_script
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
TextDocument
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
0f1198a4
<workflow_chain>
<workflow_chain>
<chain>
<type>
Review
</type>
<workflow>
edit_workflow
</workflow>
</chain>
<chain>
<chain>
<type>
Test Page
</type>
<type>
Test Page
</type>
<workflow>
document_conversion_interaction_workflow, document_publication_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow
</workflow>
<workflow>
document_conversion_interaction_workflow, document_publication_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow
</workflow>
...
...
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/Review.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
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>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Property sheets for Review Portal Type
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</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=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/Review/annotation_property.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Standard Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/string
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
annotation_property
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
<item>
<key>
<string>
property_default
</string>
</key>
<value>
<string>
python: \'\'
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/Review/document_url_property.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Standard Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/string
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
document_url_property
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
<item>
<key>
<string>
property_default
</string>
</key>
<value>
<string>
python: \'\'
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/TestPage.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
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>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Test Page property sheet
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
TestPage
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</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=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/PropertySheetTemplateItem/portal_property_sheets/TestPage/test_report_property.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Standard Property"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
elementary_type/text
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test_report_property
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Standard Property
</string>
</value>
</item>
<item>
<key>
<string>
property_default
</string>
</key>
<value>
<string>
python: ""
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ERP5RunMyDocs_importWebPage.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ExternalMethod"
module=
"Products.ExternalMethod.ExternalMethod"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_function
</string>
</key>
<value>
<string>
urlread
</string>
</value>
</item>
<item>
<key>
<string>
_module
</string>
</key>
<value>
<string>
ERP5RunMyDocs
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5RunMyDocs_importWebPage
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Import Web Page
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ReviewModule_viewReviewList.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5Form"
module=
"Products.ERP5Form.Form"
/>
</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_doSelect
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</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
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list>
<string>
listbox
</string>
</list>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ReviewModule_viewReviewList
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
ReviewModule_viewReviewList
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_list
</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>
Reviews
</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>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/ReviewModule_viewReviewList/listbox.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
columns
</string>
<string>
search_columns
</string>
<string>
selection_name
</string>
<string>
sort_columns
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox
</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>
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>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
reference
</string>
<string>
Reference
</string>
</tuple>
<tuple>
<string>
document_url
</string>
<string>
Document URL
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_list_mode_listbox
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<list>
<tuple>
<string>
Review
</string>
<string>
Review
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
search_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
reference
</string>
<string>
Reference
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
review_module_selection
</string>
</value>
</item>
<item>
<key>
<string>
sort_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
reference
</string>
<string>
Reference
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Reviews
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_editAnnotationList.xml
0 → 100644
View file @
0f1198a4
<?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
encoding=
"cdata"
>
<![CDATA[
annotation_list = context.getAnnotation().split(\'\\n\');\n
user_name = context.getPortalObject().portal_membership.getAuthenticatedMember()\n
for uid in listbox_uid:\n
i = int(uid)\n
old_comment, locator, context_url, author, color = annotation_list[i][1:-1].split("},{");\n
new_comment = context.REQUEST[\'field_listbox_title_\' + uid]\n
#print(\'Old title: \' + old_comment + \' ->
\' + new_comment)\n
if old_comment != new_comment:\n
author = user_name\n
annotation_list[i] = "{" + str(new_comment) + "},{" + str(locator) + "},{" + str(context_url) + "},{" + str(author) + "},{" + str(color) + \'}\'\n
annotation_list[i] = annotation_list[i]\n
\n
context.setAnnotation("\\n".join(annotation_list))\n
\n
translateString = context.Base_translateString\n
portal_status_message = translateString(\'Data updated.\')\n
context.Base_redirect(\'Review_viewAnnotationList\', keep_items = dict(portal_status_message=portal_status_message))\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
listbox_uid
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review_editAnnotationList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_importWebPage.xml
0 → 100644
View file @
0f1198a4
<?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>
if document_url is not None or not document_url:\n
context.setTextContent(context.ERP5RunMyDocs_importWebPage(document_url))\n
context.setDocumentUrl(document_url)\n
translateString = context.Base_translateString\n
portal_status_message = "Web Page successfully imported"\n
context.Base_redirect(\'view\', keep_items = dict(portal_status_message=translateString(portal_status_message)))\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
document_url = \'\'
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review_importWebPage
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_listAnnotations.xml
0 → 100644
View file @
0f1198a4
<?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
encoding=
"cdata"
>
<![CDATA[
"""\n
Fetches Commentaries to display them in a listbox\n
"""\n
from Products.ERP5Type.Document import newTempBase\n
annotation_list = context.getAnnotation().split(\'\\n\');\n
\n
element_list = []\n
relative_url = context.getRelativeUrl()\n
counter = 0\n
if len(annotation_list) >
0 and annotation_list[0] != "":\n
for annotation in annotation_list:\n
comment, locator, context_url, author, color = annotation[1:-1].split("},{");\n
element_list.append(newTempBase(context.getPortalObject(), relative_url,\n
title = comment,\n
uid = str(counter),\n
int_index = 0,\n
locator = locator,\n
context_url = context_url,\n
color = color,\n
author = author\n
))\n
counter += 1\n
\n
for sorted_element in sort_on:\n
element_list = sorted(element_list, key = lambda x: x.getProperty(sorted_element[0]), reverse = sorted_element[1] == \'descending\')\n
\n
return element_list\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
sort_on = [], **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review_listAnnotations
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5Form"
module=
"Products.ERP5Form.Form"
/>
</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>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</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
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list>
<string>
reviewer
</string>
</list>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list>
<string>
my_description
</string>
</list>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
my_title
</string>
<string>
my_short_title
</string>
<string>
my_reference
</string>
<string>
my_document_url
</string>
<string>
my_annotation
</string>
</list>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review_view
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
Review_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>
Review
</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>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_annotation.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
css_class
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_annotation
</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>
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>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string>
hidden
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Annotations made in this document
</string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_text_area_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Annotations
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_description.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
whitespace_preserve
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_description
</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>
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>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_description
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewWebFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_document_url.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
editable
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_document_url
</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>
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>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
The URL of the original document
</string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
URL
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_reference.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
title
</string>
<string>
display_width
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_reference
</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>
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>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Reference of a page, should be unique to retrieve a page easily
</string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<int>
20
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewWebFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Reference
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_short_title.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_short_title
</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>
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>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewWebFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Short Title
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/my_title.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_title
</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>
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>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_title
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_view/reviewer.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
css_class
</string>
<string>
default
</string>
<string>
enabled
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
<string>
width
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
reviewer
</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>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</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>
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>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</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>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</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>
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>
Page Content
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
80
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
here/Review_viewReviewer
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
not:here/isExternalDocument
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewAnnotationList.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5Form"
module=
"Products.ERP5Form.Form"
/>
</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>
Review_editAnnotationList
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</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
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list>
<string>
listbox
</string>
</list>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list>
<string>
listbox_title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review_viewAnnotationList
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
Review_viewAnnotationList
</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>
View Annotations
</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>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewAnnotationList/listbox.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
columns
</string>
<string>
description
</string>
<string>
editable_columns
</string>
<string>
list_method
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox
</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>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</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>
target
</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>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
author
</string>
<string>
Author
</string>
</tuple>
<tuple>
<string>
locator
</string>
<string>
Locator
</string>
</tuple>
<tuple>
<string>
context_url
</string>
<string>
Context URL
</string>
</tuple>
<tuple>
<string>
color
</string>
<string>
Color
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Annotations made in this document
</string>
</value>
</item>
<item>
<key>
<string>
editable_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_view_mode_listbox
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Annotations
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
method_name
</string>
</key>
<value>
<string>
Review_listAnnotations
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewAnnotationList/listbox_title.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
height
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_title
</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>
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>
<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>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
author
</string>
<string>
Author
</string>
</tuple>
<tuple>
<string>
locator
</string>
<string>
Locator
</string>
</tuple>
<tuple>
<string>
context_url
</string>
<string>
Context URL
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_text_area_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Title
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
method_name
</string>
</key>
<value>
<string>
Review_listAnnotations
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewImportWebPageDialog.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5Form"
module=
"Products.ERP5Form.Form"
/>
</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>
Review_importWebPage
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</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>
center
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list>
<string>
your_document_url
</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review_viewImportWebPageDialog
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
Review_viewImportWebPageDialog
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_dialog
</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>
Import a 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>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewImportWebPageDialog/your_document_url.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
enabled
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
your_document_url
</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>
enabled
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</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>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Name of the Web Page you would like to review.
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Web Page URL
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
200
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
not:here/isExternalDocument
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/Review_viewReviewer.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</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>
<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>
_text
</string>
</key>
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
\n
<title>
Reviewer
</title>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../portal_skins/erp5_jquery/jquery/ui/css/erp5-theme/jquery-ui.css"
>
\n
<link
rel=
"stylesheet"
type=
"text/css"
href=
"reviewer.css"
>
\n
<script
language=
"javascript"
src=
"reviewer.js"
></script>
\n
<p
id=
"locator_label"
></p>
\n
<p
id=
"label_ready"
class=
"label_document_not_ready"
>
Not ready. Wait until the document is ready to start commenting.
</p>
\n
<iframe
id=
"iframe"
style=
"width:100%;height:500px"
src=
"./getTextContent"
></iframe>
\n
<div
id=
\'review_tooltip\'
class=
\'desactivated_review_tooltip\'
></div>
]]>
</unicode>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Review_viewReviewer
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPageModule_viewChapterCreationWizard/listbox.xml
View file @
0f1198a4
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
<string>
count_method
</string>
<string>
count_method
</string>
<string>
description
</string>
<string>
description
</string>
<string>
editable
</string>
<string>
editable
</string>
<string>
hide_rows_on_no_search_criterion
</string>
<string>
lines
</string>
<string>
lines
</string>
<string>
list_method
</string>
<string>
list_method
</string>
<string>
search
</string>
<string>
search
</string>
...
@@ -148,10 +147,6 @@
...
@@ -148,10 +147,6 @@
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
</item>
<item>
<key>
<string>
hide_rows_on_no_search_criterion
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<item>
<key>
<string>
lines
</string>
</key>
<key>
<string>
lines
</string>
</key>
<value>
<int>
30
</int>
</value>
<value>
<int>
30
</int>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getDetails.xml
0 → 100644
View file @
0f1198a4
<?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 str(context.getTitle()) + \'\\n\' + str(context.getShortTitle()) + \'\\n\' + str(context.getDescription()) + \'\\n\' + str(context.getContributorList()) + \'\\n\' + str(context.getEffectiveDate());\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
attribute = \'\'
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
TestPage_getDetails
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_getNextImageID.xml
View file @
0f1198a4
...
@@ -57,10 +57,10 @@
...
@@ -57,10 +57,10 @@
"""\n
"""\n
\n
\n
path = context.getPath()\n
path = context.getPath()\n
image_id = title + "
.
" + slide_type\n
image_id = title + "
_
" + slide_type\n
\n
\n
# We replace all the whitespaces by dots\n
# We replace all the whitespaces by dots\n
image_id = \'\'.join(c for c in (\'
.\'.join(image_id.split(\' \'))) if c.isalnum() or c == \'.
\')\n
image_id = \'\'.join(c for c in (\'
_\'.join(image_id.split(\' \'))) if c.isalnum() or c == \'_
\')\n
\n
\n
found = True\n
found = True\n
while found:\n
while found:\n
...
@@ -75,15 +75,15 @@ while found:\n
...
@@ -75,15 +75,15 @@ while found:\n
if found:\n
if found:\n
# Check if the end is a number and increment in that case\n
# Check if the end is a number and increment in that case\n
try:\n
try:\n
end_number = int(image_id.split(\'
.
\')[-1])\n
end_number = int(image_id.split(\'
_
\')[-1])\n
except:\n
except:\n
end_number = -1\n
end_number = -1\n
if end_number >
0:\n
if end_number >
0:\n
image_id = image_id.split(\'
.
\')[0:-1]\n
image_id = image_id.split(\'
_
\')[0:-1]\n
image_id.append(str(end_number+1))\n
image_id.append(str(end_number+1))\n
image_id = \'
.
\'.join(image_id)\n
image_id = \'
_
\'.join(image_id)\n
else:\n
else:\n
image_id += \'
.
1\'\n
image_id += \'
_
1\'\n
\n
\n
return image_id\n
return image_id\n
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsBook.xml
View file @
0f1198a4
...
@@ -46,6 +46,10 @@
...
@@ -46,6 +46,10 @@
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\n
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\n
<script
type=
"text/javascript"
>
\n
<script
type=
"text/javascript"
>
\n
$(document).ready(function(){\n
$(document).ready(function(){\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
cleanForPrince();\n
return false;\n
});\n
convertBook(\'getTextContent\', $(\'body\'));\n
convertBook(\'getTextContent\', $(\'body\'));\n
});\n
});\n
</script>
\n
</script>
\n
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewAsChapter.xml
View file @
0f1198a4
...
@@ -45,14 +45,17 @@
...
@@ -45,14 +45,17 @@
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\n
<script
type=
"text/javascript"
src=
"chapter_converter.js"
></script>
\n
<script
type=
"text/javascript"
>
\n
<script
type=
"text/javascript"
>
\n
$(document).ready(function(){\n
$(document).ready(function(){\n
convertChapter(\'getTextContent\', $(\'body\'), true, true);\n
$(\'input[name=clean_button]\', window.top.document).click(function(){\n
cleanForPrince();\n
return false;\n
});\n
convertChapter(\'getTextContent\', $(\'body\'), true, true, 1, 1);\n
});\n
});\n
</script>
\n
</script>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
\n
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
\n
<title>
View as Chapter
</title>
\n
<title>
View as Chapter
</title>
\n
</head>
\n
</head>
\n
<body>
\n
<body>
\n
<div
id=
"content"
></div>
\n
</body>
\n
</body>
\n
</html>
</html>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditSlideShow/my_text_content.xml
View file @
0f1198a4
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
<string>
description
</string>
<string>
description
</string>
<string>
editable
</string>
<string>
editable
</string>
<string>
height
</string>
<string>
height
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
title
</string>
<string>
unicode
</string>
<string>
unicode
</string>
</list>
</list>
...
@@ -58,10 +57,6 @@
...
@@ -58,10 +57,6 @@
<key>
<string>
tales
</string>
</key>
<key>
<string>
tales
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -86,18 +81,10 @@
...
@@ -86,18 +81,10 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -133,10 +120,6 @@
...
@@ -133,10 +120,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Page Content
</string>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditSlideShow/slide_editor.xml
View file @
0f1198a4
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
<string>
css_class
</string>
<string>
css_class
</string>
<string>
default
</string>
<string>
default
</string>
<string>
enabled
</string>
<string>
enabled
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
<string>
whitespace_preserve
</string>
<string>
width
</string>
<string>
width
</string>
...
@@ -86,10 +85,6 @@
...
@@ -86,10 +85,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -133,10 +128,6 @@
...
@@ -133,10 +128,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Page Content
</string>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditTest/my_text_content.xml
View file @
0f1198a4
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
<string>
description
</string>
<string>
description
</string>
<string>
editable
</string>
<string>
editable
</string>
<string>
height
</string>
<string>
height
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
title
</string>
<string>
unicode
</string>
<string>
unicode
</string>
</list>
</list>
...
@@ -58,10 +57,6 @@
...
@@ -58,10 +57,6 @@
<key>
<string>
tales
</string>
</key>
<key>
<string>
tales
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -86,18 +81,10 @@
...
@@ -86,18 +81,10 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -133,10 +120,6 @@
...
@@ -133,10 +120,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Page Content
</string>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditTest/test_editor.xml
View file @
0f1198a4
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
<string>
css_class
</string>
<string>
css_class
</string>
<string>
default
</string>
<string>
default
</string>
<string>
enabled
</string>
<string>
enabled
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
<string>
whitespace_preserve
</string>
</list>
</list>
...
@@ -57,10 +56,6 @@
...
@@ -57,10 +56,6 @@
<key>
<string>
tales
</string>
</key>
<key>
<string>
tales
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
default
</string>
</key>
<key>
<string>
default
</string>
</key>
<value>
<value>
...
@@ -85,10 +80,6 @@
...
@@ -85,10 +80,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -128,10 +119,6 @@
...
@@ -128,10 +119,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Page Content
</string>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewEditor/my_text_content.xml
View file @
0f1198a4
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
<string>
description
</string>
<string>
description
</string>
<string>
editable
</string>
<string>
editable
</string>
<string>
height
</string>
<string>
height
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
...
@@ -80,10 +79,6 @@
...
@@ -80,10 +79,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -95,6 +90,10 @@
...
@@ -95,6 +90,10 @@
<key>
<string>
values
</string>
</key>
<key>
<string>
values
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string>
Content of the web page
</string>
</value>
<value>
<string>
Content of the web page
</string>
</value>
...
@@ -119,10 +118,6 @@
...
@@ -119,10 +118,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Page Content
</string>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog.xml
View file @
0f1198a4
...
@@ -72,6 +72,8 @@
...
@@ -72,6 +72,8 @@
<value>
<value>
<list>
<list>
<string>
book_content
</string>
<string>
book_content
</string>
<string>
book_text_content
</string>
<string>
clean_button
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog/book_content.xml
View file @
0f1198a4
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Book
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<key>
<string>
whitespace_preserve
</string>
</key>
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python:\'<iframe width="100%%" height="600" src="%s/TestPage_viewAsBook">
</iframe>
\' % here.absolute_url()
python:\'<iframe width="100%%" height="600" src="%s/TestPage_viewAsBook"
name="book_version" style="background-color:#FFFFFF;"
>
</iframe>
\' % here.absolute_url()
]]>
</string>
</value>
]]>
</string>
</value>
</item>
</item>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog/book_text_content.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
description
</string>
<string>
enabled
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
book_text_content
</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>
enabled
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</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>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_text_area_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
HTML Content
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
not:here/isExternalDocument
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportBookDialog/clean_button.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
default
</string>
<string>
enabled
</string>
<string>
name
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
clean_button
</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>
enabled
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</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>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string>
Clean HTML
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_input_button_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
clean_button
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Clean HTML
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
not:here/isExternalDocument
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog.xml
View file @
0f1198a4
...
@@ -72,6 +72,8 @@
...
@@ -72,6 +72,8 @@
<value>
<value>
<list>
<list>
<string>
book_content
</string>
<string>
book_content
</string>
<string>
book_text_content
</string>
<string>
clean_button
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog/book_content.xml
View file @
0f1198a4
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
<string>
css_class
</string>
<string>
css_class
</string>
<string>
default
</string>
<string>
default
</string>
<string>
enabled
</string>
<string>
enabled
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
<string>
whitespace_preserve
</string>
<string>
width
</string>
<string>
width
</string>
...
@@ -85,6 +86,10 @@
...
@@ -85,6 +86,10 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -128,9 +133,13 @@
...
@@ -128,9 +133,13 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Book
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<key>
<string>
whitespace_preserve
</string>
</key>
...
@@ -156,7 +165,7 @@
...
@@ -156,7 +165,7 @@
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python:\'<iframe width="100%%" height="600" src="%s/TestPage_viewAsChapter">
</iframe>
\' % here.absolute_url()
python:\'<iframe width="100%%" height="600" src="%s/TestPage_viewAsChapter"
name="book_version" style="background-color:#FFFFFF;"
>
</iframe>
\' % here.absolute_url()
]]>
</string>
</value>
]]>
</string>
</value>
</item>
</item>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog/book_text_content.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
enabled
</string>
<string>
extra
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
book_text_content
</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>
enabled
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
extra
</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>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_text_area_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
HTML Content
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
not:here/isExternalDocument
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewExportWebPageDialog/clean_button.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
default
</string>
<string>
enabled
</string>
<string>
name
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
clean_button
</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>
enabled
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</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>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string>
Clean HTML
</string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_input_button_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
clean_button
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Clean HTML
</string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
not:here/isExternalDocument
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/TestPage_viewTestReport/text_content.xml
View file @
0f1198a4
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
<list>
<list>
<string>
default
</string>
<string>
default
</string>
<string>
enabled
</string>
<string>
enabled
</string>
<string>
text_editor
</string>
<string>
title
</string>
<string>
title
</string>
<string>
whitespace_preserve
</string>
<string>
whitespace_preserve
</string>
<string>
width
</string>
<string>
width
</string>
...
@@ -81,10 +80,6 @@
...
@@ -81,10 +80,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -124,10 +119,6 @@
...
@@ -124,10 +119,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Page Content
</string>
</value>
<value>
<string>
Page Content
</string>
</value>
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/book_converter.js.xml
View file @
0f1198a4
...
@@ -48,50 +48,59 @@ along with this program; if not, write to the Free Software\n
...
@@ -48,50 +48,59 @@ along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
*/\n
*/\n
\n
\n
var body;\n
function convertBook(linkToBook, container){\n
function convertBook(linkToBook, container){\n
$(function() {\n
$(function() {\n
//Getting the html content\n
//Getting the html content\n
$.get(linkToBook, function(data, textStatus, jqXHR){\n
$.get(linkToBook, function(data, textStatus, jqXHR){\n
linkToBook = linkToBook.replace(\'getTextContent\',\'\');\n
linkToBook = linkToBook.replace(\'getTextContent\',\'\');\n
var bookContainer = $(\'<div>
\').html(data);\n
var tocContainer = $(\'<div>
\').html(data);\n
var sections = bookContainer.children();\n
var sections = tocContainer.children();\n
var firstSection = true;\n
body = $(\'
<body>
\');\n
var firstSection = true, firstChapter = true;\n
var n = sections.length;\n
var n = sections.length;\n
var partCounter = 1, matterCounter = 1;\n
var partCounter = 0, matterCounter = 1;\n
var partContainer;\n
for(var i = 0; i
< n
;
i++){\n
for(var i = 0; i
< n
;
i++){\n
var
section =
sections.eq(i);\n
var
section =
sections.eq(i);\n
var
links =
$(\'a\',
section)
;\n
var
isPart =
section[0].tagName.toUpperCase()
==
\'UL\'
;\n
var
firstChapter =
true;
\n
//If
it\'s
a
list
tag,
it\'s
a
part
(containing
several
chapters)
\n
var
chapterContainer =
$(\'<div
>
\');
\n
if(isPart){
\n
var p = links.length
;\n
var
chapterTitles =
$(\'
>
li\', section)
;\n
var isChapter = section[0].tagName.toUpperCase() == \'UL\'
;\n
var p = chapterTitles.length
;\n
for(var j = 0; j
< p
;
j++){\n
for(var j = 0; j
< p
;
j++){\n
var
linkObj =
links.eq(j);\n
var
newChapter =
$(\'<div
>
\').addClass(\'chapter\').attr(\'id\',\'chapter-h-\' + partCounter + \'-\' + (j+1));\n
var
link =
linkObj.attr(\'href\')
+
\'/getTextContent\';\n
partContainer.append(newChapter);\n
//linkObj.parent().remove();
\n
convertChapter($(\'> a\', chapterTitles.eq(j)).attr(\'href\') + \'/getTextContent\', newChapter, false, false);\n
convertChapter(linkObj.attr(\'href\')
+
\'/getTextContent\',
chapterContainer,
firstSection
&&
firstChapter,
isChapter);\n
}\n
body.append(partContainer);\n
firstChapter = false;\n
firstChapter = false;\n
if(isChapter)\n
matterCounter = 1;\n
matterCounter = 1;\n
}\n
}\n
if(isChapter){\n
else{\n
section.before(chapterContainer).remove();\n
var link = $(\'> a\', section);\n
chapterContainer.attr(\'id\',\'part-h-\'
+
partCounter).addClass(\'part\');\n
//If there is a link, then it\'s a frontmatter (or endmatter) like an introduction else it\'s the title of a part\n
partCounter++;\n
if(link.length == 1){\n
p =
chapterContainer.index()
-
1;\n
var newMatter = $(\'
<div>
\');\n
chapterContainer.prepend(chapterContainer.parent().children().eq(p));\n
if(firstChapter){\n
newMatter.addClass(\'frontmatter\').attr("id","frontmatter-h-" + matterCounter);\n
if(firstSection)\n
newMatter.attr(\'style\',\'counter-reset: page 1;\');\n
}\n
}\n
else
if
(p
>
0){\n
section.after(chapterContainer).remove();\n
if(firstChapter)\n
chapterContainer.attr(\'id\',\'endmatter-h-\' + matterCounter).addClass(\'endmatter\');\n
else\n
else\n
chapterContainer.attr(\'id\',\'frontmatter-h-\' + matterCounter).addClass(\'frontmatter\');\n
newMatter.addClass(\'endmatter\').attr("id","endmatter-h-" + matterCounter);\n
body.append(newMatter);\n
matterCounter++;\n
matterCounter++;\n
convertChapter(link.attr(\'href\') + \'/getTextContent\', newMatter, false, false);\n
}\n
else{\n
partCounter++;\n
partContainer = $(\'
<div>
\').addClass(\'part\').attr(\'id\',\'part-h-\' + partCounter).append(section.clone());\n
}\n
}\n
firstSection = false;\n
firstSection = false;\n
}\n
}\n
container.append(bookContainer.children());\n
}\n
$(\'body\').append(body.children());\n
fetchTextInfo(true, data);\n
fetchTextInfo(true, data);\n
});\n
});\n
});\n
});\n
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/chapter_converter.js.xml
View file @
0f1198a4
...
@@ -48,7 +48,58 @@ along with this program; if not, write to the Free Software\n
...
@@ -48,7 +48,58 @@ along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
*/\n
*/\n
var textContent, testPageHTML, body;\n
var textContent, testPageHTML, body;\n
var DEBUG = "";\n
function cleanForPrince(){\n
var temp = $(\'iframe\', window.top.document).contents().children().clone();\n
$(\'script\', temp).remove();\n
$(\'style, meta:not([name=author])\', temp).remove();\n
var images = $(\'img\', temp);\n
n = images.length;\n
for(var i = 0; i < n; i++){\n
var img = images.eq(i);\n
var src = img.attr(\'src\').split(\'?format\')[0].split(\'/\');\n
var extension = img.attr(\'type\');\n
if(extension == undefined)\n
extension = "png";\n
else\n
extension = extension.split(\'/\')[1].split(\'+\')[0];\n
img.attr(\'src\',src[src.length - 1] + \'.\' + extension);\n
}\n
var text = temp.html();\n
var result = "", tagName = "", c = "", chr = "";\n
var n = text.length;\n
var tag = false, tagNameParsing = false;\n
for(var i = 0; i < n; i++){\n
chr = text[i];\n
c = chr.toLowerCase();\n
if(c == \'<\' && tag == false){\n
tag = true;\n
tagNameParsing = true;\n
}\n
else if(tag){\n
if(c == \' \')\n
tagNameParsing = false;\n
else if(c == \'>
\'){\n
tagNameParsing = false;\n
tag = false;\n
if(tagName == \'img\')\n
result += \'/\';\n
tagName = \'\';\n
}\n
else if(tagNameParsing){\n
if(c == \'i\'
&&
tagName == \'\')\n
tagName += c;\n
else if(c == \'m\'
&&
tagName == \'i\')\n
tagName += c;\n
else if(c == \'g\'
&&
tagName == \'im\')\n
tagName += c;\n
}\n
}\n
result += chr;\n
}\n
$(\'textarea[name=field_book_text_content]\', window.top.document).val(\'
<html>
\\n\' + result + \'\\n
</html>
\');\n
return false;\n
}\n
\n
function changeTag(element, tag){\n
function changeTag(element, tag){\n
var tag = $(\'
<
\' + tag + \'>\').html(element.html());\n
var tag = $(\'
<
\' + tag + \'>\').html(element.html());\n
element.after(tag);\n
element.after(tag);\n
...
@@ -145,14 +196,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
...
@@ -145,14 +196,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
$(\'body\').prepend($(\'
<div>
\').addClass(\'titlepage\').append(titleObj.clone().addClass(\'no-toc\')).append(subtitle.clone().addClass(\'no-toc\')).append(edition.clone().addClass(\'no-toc\')).append($(\'
<p>
\').addClass(\'no-toc\').text(authors)));\n
$(\'body\').prepend($(\'
<div>
\').addClass(\'titlepage\').append(titleObj.clone().addClass(\'no-toc\')).append(subtitle.clone().addClass(\'no-toc\')).append(edition.clone().addClass(\'no-toc\')).append($(\'
<p>
\').addClass(\'no-toc\').text(authors)));\n
//Add Front Cover\n
//Add Front Cover\n
$(\'body\').prepend($(\'
<div>
\').addClass(\'frontcover\').append($(\'
<img>
\').attr(\'src\',\'canvas?format=\')).append(titleObj).append(subtitle).append(edition));\n
$(\'body\').prepend($(\'
<div>
\').addClass(\'frontcover\').append($(\'
<img>
\').attr(\'src\',\'canvas?format=\')).append(titleObj).append(subtitle).append(edition));\n
if(hasToC)\n
cleanForPrince();\n
});\n
});\n
}\n
}\n
\n
\n
function convertChapter(link, container, first, isChapter){\n
function convertChapter(link, container, first, isChapter
, chapterCounter, partCounter
){\n
$(function() {\n
$(function() {\n
//Getting the html content\n
//Getting the html content\n
$.get(link, function(data, textStatus, jqXHR){\n
$.get(link, function(data, textStatus, jqXHR){\n
var chapterContainer = $(\'
<div>
\').addClass(\'chapter\').html(data);\n
var chapterContainer = $(\'
<div>
\').addClass(\'chapter\').
attr(\'id\', \'chapter-h-\' + partCounter + \'-\' + chapterCounter).
html(data);\n
link = link.replace("getTextContent","");\n
link = link.replace("getTextContent","");\n
var sections = $(\'section\', chapterContainer);\n
var sections = $(\'section\', chapterContainer);\n
$(\'base,meta,link,title\', chapterContainer).remove();\n
$(\'base,meta,link,title\', chapterContainer).remove();\n
...
@@ -198,8 +251,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
...
@@ -198,8 +251,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
\n
\n
$(\'test\',
chapterContainer).remove();\n
$(\'test\',
chapterContainer).remove();\n
//If
it\'s
a
chapter
and
not
the
introduction
or
an
appendix
for
instance\n
//If
it\'s
a
chapter
and
not
the
introduction
or
an
appendix
for
instance\n
if(isChapter)\n
if(isChapter)
{
\n
container.append(chapterContainer);\n
container.append(chapterContainer);\n
cleanForPrince();\n
}\n
else\n
else\n
container.append(chapterContainer.children());\n
container.append(chapterContainer.children());\n
if(container[0].tagName.toUpperCase()
==
\'BODY\'){\n
if(container[0].tagName.toUpperCase()
==
\'BODY\'){\n
...
...
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/reviewer.css.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"DTMLDocument"
module=
"OFS.DTMLDocument"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Cacheable__manager_id
</string>
</key>
<value>
<string>
http_cache
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
reviewer.css
</string>
</value>
</item>
<item>
<key>
<string>
_vars
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
globals
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
raw
</string>
</key>
<value>
<string>
.activated_review_tooltip {\n
position:absolute;\n
display:block;\n
left:-1000px;\n
top:-1000px;\n
padding:5px 5px 5px 5px;\n
border: 2px solid #000000;\n
}\n
\n
.desactivated_review_tooltip {\n
display:none;\n
position:absolute;\n
left:-1000px;\n
top:-1000px;\n
}\n
\n
div.added_comment{\n
border-radius: 5px; \n
-moz-border-radius: 5px; \n
-webkit-border-radius: 5px; \n
border: 1px solid #000000;\n
opacity:.20;\n
filter:alpha(opacity=20);\n
filter: "alpha(opacity=20)";\n
overflow:hidden;\n
text-align: center;\n
vertical-align: middle;\n
position:absolute;\n
z-index:10000;\n
}\n
\n
div.added_comment:hover{\n
opacity: 0;\n
filter:alpha(opacity=0);\n
filter: "alpha(opacity=0)";\n
color: #000000;\n
}\n
\n
div.added_comment_edited{\n
opacity: 1;\n
filter:alpha(opacity=100);\n
filter: "alpha(opacity=100)";\n
color: #000000;\n
position:absolute;\n
z-index:10000;\n
}\n
\n
div.added_comment_edited textarea{\n
background-color: #0000FF;\n
}\n
\n
.label_document_not_ready {\n
background-color: #FF0000;\n
}\n
\n
.label_document_ready {\n
background-color: #00FF00;\n
}\n
\n
.activated_review_tooltip div{\n
display:block;\n
width: 16px;\n
height: 16px;\n
background-repeat:no-repeat;\n
background-position:center;\n
background-color: transparent;\n
-webkit-background-size: 100%;\n
-moz-background-size: 100%;\n
-o-background-size: 100%;\n
background-size: 100%;\n
cursor:pointer;\n
opacity: 0.5;\n
filter: alpha(opacity=50) ;\n
filter: "alpha(opacity=50)";\n
margin-top:5px;\n
}\n
\n
.activated_review_tooltip div:hover{\n
opacity: 1;\n
filter:alpha(opacity=100);\n
filter: "alpha(opacity=100)";\n
}\n
\n
.color_button{\n
border: 1px solid #000000;\n
margin-left: 1px;\n
margin-right: 1px;\n
width: 12px;\n
height: 12px;\n
float: left;\n
}\n
\n
.remove_button{\n
background-image: url("images/editdelete.png");\n
float: left;\n
}\n
\n
.validate_button{\n
background-image: url("images/save2.png");\n
float: right;\n
}\n
\n
.activated_review_tooltip .tooltip_text{\n
display:block;\n
}\n
\n
.activated_review_tooltip .tooltip_author{\n
display:block;\n
float:right;\n
margin-top:5px;\n
}
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/SkinTemplateItem/portal_skins/erp5_run_my_doc/reviewer.js.xml
0 → 100644
View file @
0f1198a4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"DTMLDocument"
module=
"OFS.DTMLDocument"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Cacheable__manager_id
</string>
</key>
<value>
<string>
http_cache
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
reviewer.js
</string>
</value>
</item>
<item>
<key>
<string>
_vars
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
globals
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
raw
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/*\n
Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.\n
\n
This program is Free Software; you can redistribute it and/or\n
modify it under the terms of the GNU General Public License\n
as published by the Free Software Foundation; either version 2\n
of the License, or (at your option) any later version.\n
\n
This program is distributed in the hope that it will be useful,\n
but WITHOUT ANY WARRANTY; without even the implied warranty of\n
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n
GNU General Public License for more details.\n
\n
You should have received a copy of the GNU General Public License\n
along with this program; if not, write to the Free Software\n
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
*/\n
var first = true, editedObject, counter = 0;\n
\n
var offset = {\'left\':10,\'top\':10};\n
var colors = [\'#FF0000\',\'#00FF00\',\'#0000FF\',\'#FFFF00\',\'#FF00FF\',\'#00FFFF\',\'#FFFFFF\'];\n
\n
\n
function parseCommentLine(line){\n
var textList = line.substr(1);\n
textList = textList.substr(0,textList.length - 1).split(/\\},\\{/g);\n
textList[0] = textList[0].replace(/\\n/g,\' \');\n
return textList;\n
}\n
\n
function createCommentLine(args){\n
return \'{\' + args.join(\'},{\') + \'}\';\n
}\n
\n
function appendColors(object){\n
var n = colors.length;\n
for(var i = 0; i < n; i++){\n
var color = colors[i];\n
var button = $(\'<div>
\').addClass(\'color_button\').attr(\'id\',\'color_button_\' + i).css(\'background-color\', color).click(function(){\n
$(\'#review_tooltip\').css(\'background-color\', $(this).css(\'background-color\'));\n
});\n
object.append(button);\n
}\n
}\n
\t \n
function displayToolTip(commentArray, e){\n
if(editedObject == null){\n
var reviewToolTip = $(\'#review_tooltip\');\n
reviewToolTip.attr(\'class\', \'activated_review_tooltip\').attr(\'style\', \'left:\' + (offset.left + e.clientX) +\'px; top:\'+ (offset.top + e.clientY) + \'px;\');\n
toolTipText = $(\'.tooltip_text\', reviewToolTip);\n
if(toolTipText.length == 0){\n
reviewToolTip.append($(\'
<span>
\').addClass(\'tooltip_text\').text(commentArray[0]));\n
reviewToolTip.append($(\'
<span>
\').addClass(\'tooltip_author\').text(commentArray[3]));\n
reviewToolTip.css(\'background-color\', commentArray[4]);\n
}\n
else{\n
toolTipText.text(commentArray[0]);\n
$(\'.tooltip_author\', reviewToolTip).text(commentArray[3]);\n
reviewToolTip.css(\'background-color\', commentArray[4]);\n
}\n
}\n
}\n
\t\t \n
function hideToolTip(){\n
if(editedObject == null)\n
$(\'#review_tooltip\').attr(\'class\', \'desactivated_review_tooltip\');\n
}\n
\n
function changeUrl(){\n
$(\'#label_ready\').attr(\'class\',\'label_document_not_ready\').text(\'Not ready. Wait until the document is ready to start commenting.\');\n
document.getElementById(\'iframe\').src = document.getElementById(\'value_url\').value;\n
}\n
\n
function findDocument(url){\n
var doc = document;\n
var iframes = $(\'iframe\');\n
var n = iframes.length, i = 0;\n
while(doc.URL != url
&&
i
< n
){\n
doc =
iframes.eq(i).contents()[0];\n
i++;\n
}\n
return
doc;\n
}\n
\n
function
findId(object){\n
return
parseInt(object.id.split("_")[2]);\n
}\n
\n
function
getAuthor(){\n
return
$(\'#logged_in_as\',
window.top.document).text().replace(\'Logged
In
as
:\',
\'\').trim();\n
}\n
\n
function
validateComment(object,
clicked){\n
var
validationRequired =
clicked
||
(editedObject
!=
null
&&
editedObject.id
!=
object.id);\n
if(validationRequired){\n
var
text =
$(\'#review_tooltip
textarea\').val();\n
var
color =
$(\'#review_tooltip\').css(\'background-color\');\n
//Saving\n
var
id =
findId(editedObject);\n
var
commentaryListObj =
$("textarea[name=field_my_annotation]",window.top.document);\n
var
commentaryList =
commentaryListObj.val().split(\'\\n\');\n
var
commentArray =
parseCommentLine(commentaryList[id]);\n
commentArray[0]
=
text;\n
commentArray[3]
=
getAuthor();\n
commentArray[4]
=
color;\n
commentaryList[id]
=
createCommentLine(commentArray);\n
commentaryListObj.val(commentaryList.join(\'\\n\'));\n
$(\'#review_tooltip\').empty();\n
$(editedObject).empty().text(text).attr(\'class\',\'added_comment\').css(\'background-color\',color).css(\'color\',
color).mousemove(function(e){\n
displayToolTip(commentArray,
e);\n
});\n
editedObject =
null;\n
hideToolTip();\n
}\n
return
validationRequired;\n
}\n
\n
function
editComment(object,
e){\n
if(
editedObject =
=
null
||
validateComment(object,
false)){\n
var
text =
$(object).text();\n
var
textarea =
$(\'<textarea
>
\').val(text).attr(\'style\',\'width:95%;height:100%\');\n
var validation_button = $(\'
<div>
\').addClass(\'validate_button\').click(function(){\n
validateComment(editedObject, true);\n
});\n
var remove_button = $(\'
<div>
\').addClass(\'remove_button\').click(function(){\n
removeComment();\n
});\n
appendColors($(\'#review_tooltip\').empty().attr(\'class\', \'activated_review_tooltip\').attr(\'style\', \'left:\' + (offset.left + e.clientX) +\'px; top:\'+ (offset.top + e.clientY) + \'px;background-color: \' + $(object).css(\'background-color\') + \';\' ).append(textarea).append(validation_button).append(remove_button));\n
editedObject = object;\n
textarea[0].focus();\n
}\n
}\n
\n
function removeLine(name, id){\n
var obj = $("textarea[name=field_" + name + "]",window.top.document);\n
var text = obj.val().split(\'\\n\');\n
text.splice(id,1);\n
obj.val(text.join(\'\\n\'));\n
}\n
\n
function removeComment(){\n
var id = findId(editedObject);\n
$(editedObject).remove();\n
removeLine("my_annotation", id);\n
$(\'#review_tooltip\').empty();\n
var iframes = $(\'iframe\');\n
var n = iframes.length;\n
for(var i = 0; i
< n
;
i++){\n
var
comments =
$(\'.added_comment\',
iframes.eq(i).contents());\n
var
p =
comments.length;\n
for(var
j =
0;
j
<
p;
j++){\n
var
comm =
comments.eq(j);\n
var
commId =
findId(comm[0]);\n
if(commId
>
id)\n
comm.attr(\'id\',\'comment_bubble_\' + (commId - 1));\n
}\n
}\n
editedObject = null;\n
hideToolTip();\n
counter--;\n
}\n
\n
function addComment(commentArray, notSetup, e){\n
var comment = commentArray[0], locator = commentArray[1], contextUrl = commentArray[2], author = commentArray[3], color = commentArray[4];\n
var context = findDocument(contextUrl);\n
var object = $(locator, context);\n
\n
if(notSetup){\n
var commentaryListObj = $("textarea[name=field_my_annotation]",window.top.document);\n
var commentaryList = commentaryListObj.val();\n
if(commentaryList.trim() != \'\'){\n
commentaryList += \'\\n\';\n
}\n
commentaryListObj.val(commentaryList + createCommentLine([comment, locator, contextUrl, author]));\n
}\n
var htmlObject = object[0];\n
var offset = object.offset();\n
var commentObject = $(\'
<div>
\').attr(\'style\',\'left:\' + offset.left + \'px; top:\' + offset.top + \'px; width:\' + htmlObject.offsetWidth + \'px; height:\' + htmlObject.offsetHeight + \'px; background-color:\' + color + \';color:\' + color + \';\').addClass(\'added_comment\').attr(\'id\',\'comment_bubble_\' + counter);\n
counter++;\n
$(context.body).append(commentObject);\n
commentObject.click(function(e){\n
editComment(this, e);\n
});\n
commentObject.mousemove(function(e){\n
displayToolTip(commentArray, e);\n
});\n
commentObject.mouseout(function(){\n
hideToolTip();\n
});\n
validateComment(commentObject, false);\n
if(notSetup)\n
editComment(commentObject[0], e);\n
else{\n
commentObject.text(comment);\n
}\n
}\n
\n
function findIndex(object, locator, context){\n
var i = 0;\n
var objectArray = $(locator, context);\n
var n = objectArray.length;\n
while(i
< n
&&
!objectArray.eq(i).is(object)){\n
i++;\n
}\n
if(
i =
=
n)\n
return
-1;\n
else\n
return
i;\n
}\n
\n
function
findClassLocator(className){\n
return
className =
\'[class="\'
+
className
+
\'"]\';
//\'.\'
+
className.replace(\'\\n\',
\'
\').split(\'
\').filter(function(a){return
a
!=
\'\'}).join(\'.\');\n
}\n
\n
function
findMinimumLocator(object,
parentLocator,
context){\n
//We
know
that
there\'s
no
id
here,
so
we
don\'t
check
for
id\n
parentLocator
+=
\'
\';\n
var
notFound =
true;\n
var
first =
true;\n
var
obj =
object;\n
var
locator =
\'\';\n
while(notFound){\n
var
className =
obj.className;\n
childLocator =
obj.tagName;\n
if(className
!=
undefined
&&
className
!=
\'\')\n
childLocator
+=
findClassLocator(className);\n
locator =
parentLocator
+
childLocator;\n
if($(locator,
context)
.length =
=
1)\n
notFound =
false;\n
else
if($(locator,
context).parent().is($(parentLocator,
context))){\n
var
locatorPart =
parentLocator
+
\'
>
\' + childLocator;\n
//For a mysterious reason the following line doesn\'t work:\n
//locator = locatorPart + \':eq(\' + $(obj).index($(locatorPart, context)) + \')\';\n
locator = locatorPart + \':eq(\' + findIndex(obj, locatorPart, context) + \')\';\n
notFound = false;\n
}\n
else if(first)\n
first = false;\n
obj = $(obj).parent()[0];\n
}\n
if(first)\n
return locator;\n
else\n
return findMinimumLocator(object, locator, context);\n
}\n
\n
function findLocator(object, context){\n
var notFound = true;\n
var first = true;\n
var obj = object;\n
var locator = \'\';\n
while(notFound){\n
var className = obj.className;\n
var objId = obj.id;\n
var tagName = obj.tagName;\n
if(objId != undefined
&&
objId != \'\'){\n
locator = \'#\' + objId;\n
notFound = false;\n
}\n
else if(tagName.toLowerCase() == \'body\'){\n
locator = \'body\';\n
notFound = false;\n
}\n
else{\n
locator = tagName;\n
if(className != undefined
&&
className != \'\')\n
locator += findClassLocator(className);\n
if($(locator, context).length == 1)\n
notFound = false;\n
else if(first)\n
first = false;\n
}\n
obj = $(obj).parent()[0];\n
}\n
if(first)\n
return locator;\n
else\n
return findMinimumLocator(object, locator, context);\n
}\n
\n
function findContext(object){\n
var obj = object;\n
while(obj.tagName.toLowerCase() != \'body\'){\n
obj = obj.parentNode;\n
}\n
return obj.parentNode.parentNode;\n
}\n
\n
function clickObject(object, e){\n
var context = findContext(object);\n
var locator = findLocator(object, context);\n
var contextUrl = context.URL;\n
addComment([\'\', locator, contextUrl, getAuthor(),\'#FF0000\'], true, e);\n
return false;\n
}\n
\n
$(document).ready(function(){\n
$(\'iframe\').load(function() {\n
var frameBody = $(this).contents()[0].body;\n
$(\'a\', frameBody).removeAttr(\'onclick\').removeAttr(\'href\');\n
$(\':not(:has(*))\', frameBody).removeAttr(\'onclick\').removeAttr(\'href\').click(function(e) {\n
clickObject(this, e);\n
return false;\n
});\n
var cssLink = document.createElement("link");\n
cssLink.href = window.top.document.URL.split(\'review_module\')[0] + "reviewer.css"; \n
cssLink.rel = "stylesheet"; \n
cssLink.type = "text/css"; \n
this.contentDocument.body.appendChild(cssLink);\n
\n
var commentaryListObj = $("textarea[name=field_my_annotation]",window.top.document);\n
var commentaryList = commentaryListObj.val().split(\'\\n\');\n
var n = commentaryList.length;\n
for(var i = 0; i
< n
;
i++){\n
if(i
!=
0
||
commentaryList[i]
!=
\'\')\n
addComment(parseCommentLine(commentaryList[i]),
false,
undefined);\n
}\n
$(\'#label_ready\').attr(\'class\',\'label_document_ready\').text(\'Ready.
You
just
have
to
click
on
an
HTML
element
to
comment
it.
Doesnt
work
with
simple
text
(yet).\');\n
});\n
});\n
]]
></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_run_my_doc/bt/change_log
View file @
0f1198a4
* 2011-12-0
2
Xavier
* 2011-12-0
9
Xavier
-
First commit
-
Added Review Module
* 2011-11-14 Xavier
* 2011-11-14 Xavier
- Works with the configurator
* 2011-10-11 Xavier
* 2011-10-11 Xavier
- First version
- First version
\ No newline at end of file
bt5/erp5_run_my_doc/bt/dependency_list
View file @
0f1198a4
erp5_ui_test_core
(>= 5.4.7)
erp5_ui_test_core
erp5_dms
erp5_dms
erp5_core (>= 5.4.3)
erp5_core (>= 5.4.3)
erp5_xhtml_style (>= 5.4.7)
erp5_xhtml_style (>= 5.4.7)
...
...
bt5/erp5_run_my_doc/bt/description
View file @
0f1198a4
RunMyDocs allows you to create easily your tutorial and tests
RunMyDoc allows you to create easily your tutorial and tests
\ No newline at end of file
\ No newline at end of file
bt5/erp5_run_my_doc/bt/revision
View file @
0f1198a4
3
4
\ No newline at end of file
\ No newline at end of file
bt5/erp5_run_my_doc/bt/template_action_path_list
View file @
0f1198a4
Review Module | view
Review | import_page
Review | view
Review | view_annotations
Test Page Module | convert_to_test_pages
Test Page Module | convert_to_test_pages
Test Page Module | convert_to_web_pages
Test Page Module | convert_to_web_pages
Test Page Module | fast_input
Test Page Module | fast_input
...
...
bt5/erp5_run_my_doc/bt/template_base_category_list
View file @
0f1198a4
function/runmydocs_user
function/runmydocs_user
function/runmydocs_user/assignor
function/runmydocs_user/auditor
function/runmydocs_user/author
\ No newline at end of file
bt5/erp5_run_my_doc/bt/template_module_id_list
View file @
0f1198a4
review_module
test_page_module
test_page_module
\ No newline at end of file
bt5/erp5_run_my_doc/bt/template_portal_type_allowed_content_type_list
View file @
0f1198a4
Review Module | Review
Test Page Module | Test Page
Test Page Module | Test Page
Test Page | File
Test Page | File
Test Page | Image
Test Page | Image
\ No newline at end of file
bt5/erp5_run_my_doc/bt/template_portal_type_base_category_list
View file @
0f1198a4
Review Module | business_application
Test Page Module | business_application
Test Page Module | business_application
Test Page | follow_up
Test Page | follow_up
Test Page | function
Test Page | function
...
...
bt5/erp5_run_my_doc/bt/template_portal_type_id_list
View file @
0f1198a4
Review
Review Module
Test Page
Test Page
Test Page Module
Test Page Module
\ No newline at end of file
bt5/erp5_run_my_doc/bt/template_portal_type_property_sheet_list
View file @
0f1198a4
Review | Review
Test Page | SortIndex
Test Page | SortIndex
Test Page | TestPage
Test Page | TestPage
\ No newline at end of file
bt5/erp5_run_my_doc/bt/template_portal_type_workflow_chain_list
View file @
0f1198a4
Review | edit_workflow
Test Page | document_conversion_interaction_workflow
Test Page | document_conversion_interaction_workflow
Test Page | document_publication_workflow
Test Page | document_publication_workflow
Test Page | document_security_interaction_workflow
Test Page | document_security_interaction_workflow
...
...
bt5/erp5_run_my_doc/bt/template_property_sheet_id_list
0 → 100644
View file @
0f1198a4
Review
TestPage
\ No newline at end of file
bt5/erp5_run_my_doc/bt/version
View file @
0f1198a4
2.1
3.0
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment