Commit d480914f authored by Shane Hathaway's avatar Shane Hathaway

Merge from 2_3 branch

parent a4d0d017
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
<title><dtml-if title><dtml-var title></dtml-if></title> <title><dtml-if title><dtml-var title></dtml-if></title>
<dtml-let ag="REQUEST.get('HTTP_USER_AGENT', '')" <dtml-let ag="REQUEST.get('HTTP_USER_AGENT', '')"
is_nav4="ag[:9] == 'Mozilla/4' and _.string.find(ag, 'MSIE') < 0" is_nav4="ag[:9] == 'Mozilla/4' and _.string.find(ag, 'MSIE') < 0"
use_css="REQUEST.get('zmi_use_css', '1')"> use_css="REQUEST.get('zmi_use_css', '1')"
zmi_embedded_css="1">
<dtml-if use_css> <dtml-if use_css>
<dtml-if is_nav4> <dtml-if is_nav4>
<style type="text/css"> <style type="text/css">
......
<dtml-unless zmi_embedded_css>
<dtml-call "RESPONSE.setHeader('Content-Type','text/css')"> <dtml-call "RESPONSE.setHeader('Content-Type','text/css')">
</dtml-unless>
h1 { h1 {
font-family: Verdana, Helvetica, sans-serif; font-family: Verdana, Helvetica, sans-serif;
font-size: 24pt; font-size: 24pt;
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Zope QuickStart</title> <title>Zope QuickStart</title>
<dtml-let ag="REQUEST.get('HTTP_USER_AGENT', '')" <dtml-let ag="REQUEST.get('HTTP_USER_AGENT', '')"
is_nav4="ag[:9] == 'Mozilla/4' and _.string.find(ag, 'MSIE') < 0"> is_nav4="ag[:9] == 'Mozilla/4' and _.string.find(ag, 'MSIE') < 0"
zmi_embedded_css="1">
<dtml-if is_nav4> <dtml-if is_nav4>
<style type="text/css"> <style type="text/css">
<!-- <!--
......
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