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
Labels
Merge Requests
139
Merge Requests
139
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
e1c38f79
Commit
e1c38f79
authored
Feb 13, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Localizer: use default manage_page_header
This does not work on Zope4 and does not seem needed on zope2 either
parent
55299097
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
product/Localizer/LanguageManager.py
product/Localizer/LanguageManager.py
+0
-4
product/Localizer/ui/manage_page_header.dtml
product/Localizer/ui/manage_page_header.dtml
+0
-26
No files found.
product/Localizer/LanguageManager.py
View file @
e1c38f79
...
...
@@ -226,10 +226,6 @@ class LanguageManager(Tabs):
RESPONSE
.
redirect
(
"%s/manage_languages"
%
REQUEST
[
'URL1'
])
# Unicode support, custom ZMI
manage_page_header
=
LocalDTMLFile
(
'ui/manage_page_header'
,
globals
())
########################################################################
# Upgrade
def
_needs_upgrade
(
self
):
...
...
product/Localizer/ui/manage_page_header.dtml
deleted
100644 → 0
View file @
55299097
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<dtml-call
"
RESPONSE
.
setHeader
('
Content-Type
','
text
/
html
;
charset=
UTF-8')"
>
<title><dtml-var
title_or_id
></title>
<dtml-let
ag=
"REQUEST.get('HTTP_USER_AGENT', '')"
is_nav4=
"ag[:9] == 'Mozilla/4' and _.string.find(ag, 'MSIE') < 0"
use_css=
"REQUEST.get('zmi_use_css', '1')"
zmi_embedded_css=
"1"
>
<dtml-if
use_css
>
<dtml-if
is_nav4
>
<style
type=
"text/css"
>
<!
--
<
dtml-var
manage_page_style
.css
>
--
>
</style>
<dtml-else>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"<dtml-var BASEPATH1>/manage_page_style.css"
>
</dtml-if>
</dtml-if>
</dtml-let>
</head>
<body
bgcolor=
"#ffffff"
link=
"#000099"
alink=
"#000099"
vlink=
"#000099"
>
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