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
Alexander Emmerich
erp5
Commits
cec14264
Commit
cec14264
authored
Apr 15, 2016
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: Reduce reliance on zpt_* skin folders.
parent
5e52267f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
497 additions
and
3 deletions
+497
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/logout.py
.../SkinTemplateItem/portal_skins/erp5_auto_logout/logout.py
+5
-3
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/document_icon.gif.gif
...TemplateItem/portal_skins/erp5_core/document_icon.gif.gif
+0
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/document_icon.gif.xml
...TemplateItem/portal_skins/erp5_core/document_icon.gif.xml
+164
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/file_icon.gif.gif
...SkinTemplateItem/portal_skins/erp5_core/file_icon.gif.gif
+0
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/file_icon.gif.xml
...SkinTemplateItem/portal_skins/erp5_core/file_icon.gif.xml
+164
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/folder_icon.gif.gif
...inTemplateItem/portal_skins/erp5_core/folder_icon.gif.gif
+0
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/folder_icon.gif.xml
...inTemplateItem/portal_skins/erp5_core/folder_icon.gif.xml
+164
-0
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/logout.py
View file @
cec14264
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
portal
.
portal_sessions
.
manage_delObjects
(
portal
.
Base_getAutoLogoutSessionKey
())
portal
.
portal_sessions
.
manage_delObjects
(
portal
.
Base_getAutoLogoutSessionKey
())
# XXX: I would like to use skinSuper, but this may not be defined on context (it's defined on ERP5Type.Base, and context may be ERP5.ERP5Site).
REQUEST
=
portal
.
REQUEST
# As a result, hardcode expected logout location (which is marginally better than duplicating it).
if
REQUEST
.
has_key
(
'portal_skin'
):
return
portal
.
portal_skins
.
zpt_control
.
logout
()
portal
.
portal_skins
.
clearSkinCookie
()
REQUEST
.
RESPONSE
.
expireCookie
(
'__ac'
,
path
=
'/'
)
return
REQUEST
.
RESPONSE
.
redirect
(
REQUEST
.
URL1
+
'/logged_out'
)
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/document_icon.gif.gif
0 → 100644
View file @
cec14264
159 Bytes
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/document_icon.gif.xml
0 → 100644
View file @
cec14264
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Image"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_cache_settings_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_permissions_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts60701425.37
</string>
</value>
</item>
<item>
<key>
<string>
_FTP_access_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_WebDAV_Locks_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_properties_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Take_ownership_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Undo_changes_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_management_screens_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Lock_items_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Unlock_items_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_access_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
document_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
image/gif
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
16
</int>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
159
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
16
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/file_icon.gif.gif
0 → 100644
View file @
cec14264
909 Bytes
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/file_icon.gif.xml
0 → 100644
View file @
cec14264
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Image"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_cache_settings_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_permissions_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts60701420.5
</string>
</value>
</item>
<item>
<key>
<string>
_FTP_access_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_WebDAV_Locks_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_properties_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Take_ownership_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Undo_changes_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_management_screens_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Lock_items_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Unlock_items_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_access_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
file_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
image/gif
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
16
</int>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
909
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
16
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/folder_icon.gif.gif
0 → 100644
View file @
cec14264
903 Bytes
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/folder_icon.gif.xml
0 → 100644
View file @
cec14264
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Image"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_cache_settings_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Change_permissions_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts60701431.24
</string>
</value>
</item>
<item>
<key>
<string>
_FTP_access_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_WebDAV_Locks_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Manage_properties_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Take_ownership_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_Undo_changes_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_View_management_screens_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Lock_items_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_Unlock_items_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
_WebDAV_access_Permission
</string>
</key>
<value>
<list>
<string>
Manager
</string>
</list>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
folder_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
image/gif
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
16
</int>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
903
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
16
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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