Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
5dee3616
Commit
5dee3616
authored
Mar 26, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if ignore_layout is specified, do not change skin at all.
otherwise the result is unpredictable.
parent
76919bdc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
product/ERP5/Document/WebSite.py
product/ERP5/Document/WebSite.py
+5
-4
No files found.
product/ERP5/Document/WebSite.py
View file @
5dee3616
...
@@ -110,6 +110,7 @@ class WebSiteTraversalHook(Persistent):
...
@@ -110,6 +110,7 @@ class WebSiteTraversalHook(Persistent):
self
.
_v_request
=
request
self
.
_v_request
=
request
request
.
physicalPathToVirtualPath
=
self
.
_physicalPathToVirtualPath
request
.
physicalPathToVirtualPath
=
self
.
_physicalPathToVirtualPath
if
not
request
.
get
(
'ignore_layout'
,
None
):
# If a skin selection is defined in this web site, change the skin now.
# If a skin selection is defined in this web site, change the skin now.
skin_selection_name
=
container
.
getSkinSelectionName
()
skin_selection_name
=
container
.
getSkinSelectionName
()
if
skin_selection_name
and
request
.
get
(
'portal_skin'
,
None
)
is
None
:
if
skin_selection_name
and
request
.
get
(
'portal_skin'
,
None
)
is
None
:
...
...
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