Commit e1c38f79 authored by Jérome Perrin's avatar Jérome Perrin

Localizer: use default manage_page_header

This does not work on Zope4 and does not seem needed on zope2 either
parent 55299097
...@@ -226,10 +226,6 @@ class LanguageManager(Tabs): ...@@ -226,10 +226,6 @@ class LanguageManager(Tabs):
RESPONSE.redirect("%s/manage_languages" % REQUEST['URL1']) RESPONSE.redirect("%s/manage_languages" % REQUEST['URL1'])
# Unicode support, custom ZMI
manage_page_header = LocalDTMLFile('ui/manage_page_header', globals())
######################################################################## ########################################################################
# Upgrade # Upgrade
def _needs_upgrade(self): def _needs_upgrade(self):
......
<!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">
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment