Commit 01af94ef authored by 's avatar

- fixed html of some basic ZMI pages

- removed special support for ancient browsers
- removed code that tries to change window.status
parent a1a52b42
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Zope Copyright</title>
</head>
<body bgcolor="#ffffff" link="#000099" alink="#000099" vlink="#000099">
<P align="center">
<p align="center">
<a href="#ZPL">Zope License</a> |
<a href="#PYTHON">Python License</a> |
<a href="#CREDITS">Zope Credits</a>
</P>
</p>
<A NAME="ZPL">
<a name="ZPL" />
<H2>Zope Public License (ZPL) Version 2.1</H2>
<h2>Zope Public License (ZPL) Version 2.1</h2>
<h3>This software is Copyright &copy;
<a href="http://www.zopefoundation.org/" target="_top">Zope Foundation</a> and
Contributors. All rights reserved.</h3>
......@@ -91,18 +91,17 @@ Corporation. Specific attributions are listed in the
accompanying credits file.
</p>
<hr>
<hr />
<A NAME="PYTHON">
<a name="PYTHON" />
<H3>
<img src="&dtml-BASEPATH1;/p_/PyPoweredSmall_Gif">
This software is powered by <a href="http://www.python.org/" TARGET="_top">Python</a>!
</H3>
<h3>
<img src="&dtml-BASEPATH1;/p_/PyPoweredSmall_Gif" alt="Python powered" />
This software is powered by <a href="http://www.python.org/" target="_top">Python</a>!
</h3>
<p>Copyright &copy; 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
The Netherlands.</p>
<p><center>All Rights Reserved</center></p>
The Netherlands.
<br />All Rights Reserved</p>
<p>Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
......@@ -128,72 +127,71 @@ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.</strong></p>
<hr>
<hr />
<A NAME="CREDITS">
<a name="CREDITS" />
<H3>Zope Credits</H3>
<h3>Zope Credits</h3>
<P>
<p>
The Zope software receives contributions from far and wide. Here's
the Zope Hall of Fame:
</P>
<UL>
</p>
<ul>
<LI>Jeff Bauer is Zope Dude Number One. Jeff took over PCGI and
kept pushing it forward through the years.</LI>
<li>Jeff Bauer is Zope Dude Number One. Jeff took over PCGI and
kept pushing it forward through the years.</li>
<LI>Sam Rushing worked with us at Zope Corporation to make Medusa
the publishing platform for ZServer and the concurrency of Zope2.</LI>
<li>Sam Rushing worked with us at Zope Corporation to make Medusa
the publishing platform for ZServer and the concurrency of Zope2.</li>
<LI>A subset of windows guru Mark Hammond's win32 extensions are
bundled with win32 binary distributions of Zope.
<li>A subset of windows guru Mark Hammond's win32 extensions are
bundled with win32 binary distributions of Zope.</li>
<LI>Martijn Pieters and Brian Hooper contributed the DTML 'in' tag reverse
attribute.</LI>
<li>Martijn Pieters and Brian Hooper contributed the DTML 'in' tag reverse
attribute.</li>
<LI>Phillip Eby contributed the DTML <code>let</code> tag and many
<li>Phillip Eby contributed the DTML <code>let</code> tag and many
other useful ideas, including the inspiration for the DTML
<code>call</code>, <code>with</code> and <code>return</code>
tags.</LI>
tags.</li>
<LI>The DateTime module was based on work from Ted Horst.</LI>
<li>The DateTime module was based on work from Ted Horst.</li>
<LI>Jordan Baker contributed the 'try' tag, something I've wanted
for a long, long time.</LI>
<li>Jordan Baker contributed the 'try' tag, something I've wanted
for a long, long time.</li>
<LI>Martijn Pieters chipped in with a safe range function.</LI>
<li>Martijn Pieters chipped in with a safe range function.</li>
<LI>Michael Hauser came up with the name "Zope".</LI>
<li>Michael Hauser came up with the name "Zope".</li>
<LI>Eric Kidd added support for <a href="http://www.xmlrpc.com/">
XML-RPC</a></LI>
<li>Eric Kidd added support for <a href="http://www.xmlrpc.com/">
XML-RPC</a></li>
<LI>Andrew M. Kuchling wrote the initial version of mod_pcgi, making
him extremely cool in our book.</LI>
<li>Andrew M. Kuchling wrote the initial version of mod_pcgi, making
him extremely cool in our book.</li>
<LI>Jephte CLAIN made some patches to European TimeZope.</LI>
<li>Jephte CLAIN made some patches to European TimeZope.</li>
<LI>All the other Zopistas far and wide that stuck with us during
<li>All the other Zopistas far and wide that stuck with us during
the Bobo/Principia days and politely push us to make the best damn
app server on this or any other planet.</LI>
app server on this or any other planet.</li>
<LI>Of course the list of credits would be quite incomplete without
<li>Of course the list of credits would be quite incomplete without
mentioning Guido van Rossum, benevolent dictator of Python and
long-time friend of Zope Corporation. Zope Power is Python
Power.</LI>
Power.</li>
<LI>
<li>
Special thanks to Richard Stallman and the Free Software
Foundation for their assistance and feedback on the GPL-compatible
2.0 version of the Zope Public License.
</LI>
</li>
</UL>
<P>
</ul>
<p>
Paul Everitt, <a href="mailto:paul@zope.com">paul@zope.com</a>.
</P>
</BODY>
</HTML>
</p>
</body>
</html>
......@@ -6,7 +6,7 @@ The Control Panel provides access to system information and management
functions such as database and product management.
</p>
<form action="&dtml-URL1;" method="post" onSubmit="">
<form action="&dtml-URL1;" method="post">
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="left" valign="top">
......@@ -77,7 +77,7 @@ functions such as database and product management.
<td align="left" valign="top">
<div class="form-text">
<dtml-in getServers>
&dtml-sequence-key; (&dtml-sequence-item;)<br>
&dtml-sequence-key; (&dtml-sequence-item;)<br />
</dtml-in>
</div>
</td>
......@@ -123,7 +123,6 @@ functions such as database and product management.
</table>
</form>
<p>
<table cellspacing="0" cellpadding="2" border="0">
<dtml-in objectItems>
<tr>
......@@ -141,6 +140,5 @@ functions such as database and product management.
</tr>
</dtml-in objectValues>
</table>
</p>
<dtml-var manage_page_footer>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html>
<head>
<title>Zope on &dtml-BASE0;</title>
......@@ -10,24 +10,25 @@ function update_menu() {
//-->
</script>
</head>
<dtml-let tf="REQUEST.get('zmi_top_frame', '1')"
ag="REQUEST.get('HTTP_USER_AGENT', '')">
<dtml-let tf="REQUEST.get('zmi_top_frame', '1')">
<dtml-if tf>
<dtml-if "ag[:9] == 'Mozilla/4' and _.string.find(ag, 'MSIE') < 0">
<frameset rows="42, *">
<dtml-else>
<frameset rows="34, *">
</dtml-if>
<frame src="<dtml-var "REQUEST.URL1" html_quote>/manage_top_frame" name="manage_top_frame"
marginheight="0" scrolling="no"/>
marginwidth="2" marginheight="2" scrolling="no"/>
</dtml-if>
<frameset cols="175,*">
<frameset cols="200, *">
<frame src="<dtml-var "REQUEST.URL1" html_quote>/manage_menu" name="manage_menu"
marginwidth="2" marginheight="2" scrolling="auto"/>
<frame src="<dtml-var "REQUEST.URL1" html_quote>/manage_workspace" name="manage_main"
marginwidth="2" marginheight="2" scrolling="auto"/>
<noframes>
<body>
<p>Management interfaces require the use of a <b>frames-capable</b> web
browser.</p>
</body>
</noframes>
</frameset>
<dtml-if tf>
......@@ -35,8 +36,4 @@ function update_menu() {
</dtml-if>
</dtml-let>
<noframes>
Management interfaces require the use of a <B>frames-capable</B> web browser.
</noframes>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<dtml-unless management_page_charset>
......@@ -7,23 +7,10 @@
<meta http-equiv="content-type" content="text/html;charset=&dtml-management_page_charset;" />
<dtml-call "RESPONSE and RESPONSE.setHeader('content-type','text/html;charset='+management_page_charset)">
<title><dtml-if title_or_id><dtml-var title_or_id><dtml-else>Zope</dtml-if></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-let use_css="REQUEST.get('zmi_use_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-BASEPATH1;/manage_page_style.css" />
</dtml-if>
</dtml-if>
</dtml-let>
</head>
......
<dtml-unless zmi_embedded_css>
<dtml-call "RESPONSE.setHeader('Content-Type','text/css')">
<dtml-call "RESPONSE.setHeader('Cache-Control','public,max-age=3600')">
</dtml-unless>
h1 {
font-family: Verdana, Helvetica, sans-serif;
font-size: 24pt;
......@@ -61,6 +59,10 @@ th {
color: #333333;
}
form {
margin-bottom: 1em;
}
.form-help {
font-family: Verdana, Helvetica, sans-serif;
font-size: 10pt;
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="&dtml-BASEPATH1;/manage_page_style.css">
<link rel="stylesheet" type="text/css" href="&dtml-BASEPATH1;/manage_page_style.css" />
</head>
<body bgcolor="#6699cc" link="#000099" alink="#000099" vlink="#000099"
marginwidth="0" marginheight="0">
<body bgcolor="#6699cc" link="#000099" alink="#000099" vlink="#000099">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="180" align="left" valign="top"><a
href="http://www.zope.org/" target="_new"><img src="&dtml-BASEPATH1;/p_/zopelogo_jpg"
height="32" width="90" border="0" alt="" />
href="http://www.zope.org/" target="_blank"><img src="&dtml-BASEPATH1;/p_/zopelogo_jpg"
height="32" width="90" border="0" alt="" /></a>
</td>
<td align="right" valign="top">
<div class="form-element">
<form action="&dtml-BASEPATH1;/" method="POST" target="manage_main">
<form action="&dtml-BASEPATH1;/" method="post" target="manage_main">
<span class="std-text">Logged in as <strong>&dtml-AUTHENTICATED_USER;</strong></span> &nbsp;&nbsp;
<select class="form-element" name=":action" onChange="window.parent.manage_main.location.href='&dtml-BASEPATH1;/'+this.options[this.selectedIndex].value">
<select class="form-element" name=":action"
onchange="window.parent.manage_main.location.href='&dtml-BASEPATH1;/'+this.options[this.selectedIndex].value">
<dtml-if "AUTHENTICATED_USER.getUserName() != 'Anonymous User'">
<option value="manage_zmi_prefs">Set Preferences</option>
<option value="manage_zmi_logout">Logout</option>
......
......@@ -24,7 +24,7 @@ your browser. Note that you need to press the browser reload
button in order for some changes to take effect.
</p>
<form action="&dtml-URL;" method="POST">
<form action="&dtml-URL;" method="post">
<input type="hidden" name="set_zmi_cookies" value="1" />
<table cellspacing="0" cellpadding="2" border="0">
......@@ -57,9 +57,7 @@ button in order for some changes to take effect.
</td>
<td align="left" valign="top">
<div class="form-text">
<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')">
<dtml-let use_css="REQUEST.get('zmi_use_css', '1')">
<input type="radio" name="zmi_use_css" value="1"
<dtml-if expr="use_css and use_css != 'inline'">checked="checked"</dtml-if>
/> Yes
......@@ -97,17 +95,17 @@ button in order for some changes to take effect.
</table>
<span class="form-element">
<input type="submit" name="submit" value="Change">
<input type="submit" name="submit" value="Change" />
</span>
<div class="form-help">
<dtml-if expr="cols[-1]=='%'">
<textarea name="data:text" rows="&dtml-rows;" style="width: &dtml-cols;;">
<textarea name="data:text" cols="" rows="&dtml-rows;" style="width: &dtml-cols;;">
<dtml-else>
<textarea name="data:text" cols="&dtml-cols;" rows="&dtml-rows;">
</dtml-if>
This is a sample edit textarea.
</textarea>
</textarea>
</div>
</dtml-let>
......
<dtml-var manage_page_header>
<style type="text/css">
<!--
td {
font-family: Verdana, Helvetica, sans-serif;
font-size: 10pt;
color: #333333;
}
-->
</style>
<table width="100%" cellspacing="0" border="0">
<tr bgcolor="#000000">
<td valign="top" nowrap>
<td valign="top" nowrap="nowrap">
<dtml-if icon>
<a href="manage_workspace" target="manage_main"><img
src="&dtml-BASEPATH1;/&dtml-icon;" border="0"
title="Click to open this item" alt="&dtml-meta_type;" /></a>
</dtml-if>
<strong>
<a href="manage_workspace" target="manage_main">
<font color="#ffffff">
<a href="manage_workspace" target="manage_main" style="color: #ffffff;">
<dtml-if expr="URLPATH1==BASEPATH1">
Root Folder
<dtml-else>
&dtml-id;
</dtml-if>
</font>
</a>
</strong>
</td>
......@@ -43,10 +29,11 @@ td {
<a href="&dtml.url_quote-tree-item-url;/manage_workspace"
target="manage_main">&dtml-id;</a>
</dtml-tree>
<table cellspacing="0" bgcolor="#6699cc" width="100%">
<br />
<table cellspacing="0" bgcolor="#efefef" width="100%">
<tr>
<td width="16"></td>
<td valign="top" nowrap>
<td valign="top" nowrap="nowrap">
<strong>
<a href="manage_copyright" target="manage_main">
&copy; Zope Foundation
......@@ -56,7 +43,7 @@ td {
</tr>
<tr>
<td width="16"></td>
<td valign="top" nowrap>
<td valign="top" nowrap="nowrap">
<strong>
<a href="manage_menu">Refresh</a>
</strong>
......@@ -64,7 +51,7 @@ td {
</tr>
<tr>
<td width="16"></td>
<td valign="top" nowrap>
<td valign="top" nowrap="nowrap">
<strong>
<a href="manage_menu?save_layout=1">Save layout</a>
</strong>
......@@ -84,7 +71,7 @@ td {
<form action="&dtml-BASEPATH1;/" method="POST" target="manage_main">
<span class="std-text">Logged in as <strong>&dtml-AUTHENTICATED_USER;</strong></span> &nbsp;&nbsp;
<br />
<select class="form-element" name=":action" onChange="window.parent.manage_main.location.href='&dtml-BASEPATH1;/'+this.options[this.selectedIndex].value">
<select class="form-element" name=":action" onchange="window.parent.manage_main.location.href='&dtml-BASEPATH1;/'+this.options[this.selectedIndex].value">
<dtml-if "AUTHENTICATED_USER.getUserName() != 'Anonymous User'">
<option value="manage_zmi_prefs">Set Preferences</option>
<option value="manage_zmi_logout">Logout</option>
......@@ -100,4 +87,3 @@ td {
</dtml-unless>
<dtml-var manage_page_footer>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Zope QuickStart</title>
<link rel="stylesheet" type="text/css" href="&dtml-BASEPATH1;/manage_page_style.css">
<link rel="stylesheet" type="text/css" href="&dtml-BASEPATH1;/manage_page_style.css" />
</head>
<body bgcolor="#ffffff" link="#000099" alink="#000099" vlink="#000099">
......@@ -37,7 +37,7 @@ pointers to get you started:
<ul>
<li>
<p>
<a href="http://docs.zope.org/zope2/zope2book/" target="_new">Read The
<a href="http://docs.zope.org/zope2/zope2book/" target="_blank">Read The
Fine Manual</a>. This document guides you through the whole process of
learning Zope, from logging in for the first time to creating your own
web applications.
......@@ -46,8 +46,8 @@ web applications.
<li>
<p>
Go to the main <a href="http://docs.zope.org/" target="_new">
Documentation Overview</a> on <a href="http://www.zope.org" target="_new">Zope.org</a>.
Go to the main <a href="http://docs.zope.org/" target="_blank">
Documentation Overview</a> on <a href="http://www.zope.org" target="_blank">Zope.org</a>.
Here you will find pointers to official and community contributed documentation.
</p>
</li>
......@@ -55,7 +55,7 @@ Here you will find pointers to official and community contributed documentation.
<li>
<p>
Look at the various <a
href="http://www.zope.org/Resources/MailingLists" target="_new">Mailing
href="http://www.zope.org/Resources/MailingLists" target="_blank">Mailing
Lists</a> about Zope. The Mailing Lists are where you can get
quick, accurate, friendly help from a large community of Zope
users from around the world.
......
......@@ -37,8 +37,8 @@ function toggleSelect() {
<form action="<dtml-var "REQUEST.URL1" html_quote>/" method="get">
<dtml-if "_.len(filtered_meta_types) > 1">
<select class="form-element" name=":action"
onChange="location.href='<dtml-var "REQUEST.URL1" html_quote>/'+this.options[this.selectedIndex].value">
<option value="manage_workspace" disabled>Select type to add...</option>
onchange="location.href='<dtml-var "REQUEST.URL1" html_quote>/'+this.options[this.selectedIndex].value">
<option value="manage_workspace" disabled="disabled">Select type to add...</option>
<dtml-in filtered_meta_types mapping sort=name>
<dtml-if action>
<option value="&dtml.html_quote-action;">&dtml-name;</option>
......@@ -76,42 +76,32 @@ function toggleSelect() {
<tr class="list-header">
<td width="5%" align="right" colspan="2"><div
class="list-item"><a href="./manage_main?skey=meta_type<dtml-if
"skey == 'meta_type' and not rkey">&amp;rkey=meta_type</dtml-if>"
onMouseOver="window.status='Sort objects by type'; return true"
onMouseOut="window.status=''; return true"><dtml-if
"skey == 'meta_type' and not rkey">&amp;rkey=meta_type</dtml-if>"><dtml-if
"skey == 'meta_type' or rkey == 'meta_type'"
><strong>Type</strong><dtml-else>Type</dtml-if></a></div>
</td>
<td width="50%" align="left"><div class="list-item"><a
href="./manage_main?skey=id<dtml-if
"skey == 'id' and not rkey">&amp;rkey=id</dtml-if>"
onMouseOver="window.status='Sort objects by name'; return true"
onMouseOut="window.status=''; return true"><dtml-if
"skey == 'id' and not rkey">&amp;rkey=id</dtml-if>"><dtml-if
"skey == 'id' or rkey == 'id'"
><strong>Name</strong><dtml-else>Name</dtml-if></a></div>
</td>
<td width="15%" align="left"><div class="list-item"><a
href="./manage_main?skey=get_size<dtml-if
"skey == 'get_size' and not rkey">&amp;rkey=get_size</dtml-if>"
onMouseOver="window.status='Sort objects by size'; return true"
onMouseOut="window.status=''; return true"><dtml-if
"skey == 'get_size' and not rkey">&amp;rkey=get_size</dtml-if>"><dtml-if
"skey == 'get_size' or rkey == 'get_size'"
><strong>Size</strong><dtml-else>Size</dtml-if></a></div>
</td>
<td width="19%" align="left"><div class="list-item"><a
href="./manage_main?skey=bobobase_modification_time<dtml-if
"skey == 'bobobase_modification_time' and not rkey"
>&amp;rkey=bobobase_modification_time</dtml-if>"
onMouseOver="window.status='Sort objects by modification time'; return true"
onMouseOut="window.status=''; return true"><dtml-if
>&amp;rkey=bobobase_modification_time</dtml-if>"><dtml-if
"skey == 'bobobase_modification_time' or rkey == 'bobobase_modification_time'"
><strong>Last Modified</strong><dtml-else>Last Modified</dtml-if></a></div>
</td>
<dtml-if hasOrderSupport>
<td width="10%" align="left"><div class="list-item"><a
href="./manage_main?skey=position"
onMouseOver="window.status='Sort objects by position'; return true"
onMouseOut="window.status=''; return true"><dtml-if
href="./manage_main?skey=position"><dtml-if
"skey == 'position'"
><strong>Position</strong><dtml-else>Position</dtml-if></a></div>
</td>
......@@ -127,7 +117,7 @@ function toggleSelect() {
<td align="left" valign="top" width="16">
<input type="checkbox" name="ids:list" value="&dtml-sequence-key;" />
</td>
<td align="left" valign="top" nowrap="1">
<td align="left" valign="top" nowrap="nowrap">
<dtml-if om_icons>
<a href="&dtml.url_quote-sequence-key;/manage_workspace">
......@@ -239,7 +229,7 @@ function toggleSelect() {
<script type="text/javascript">
<!--
if (document.forms[0]) {
document.write('<input class="form-element" type="submit" name="selectButton" value="Select All" onClick="toggleSelect(); return false">')
document.write('<input class="form-element" type="submit" name="selectButton" value="Select All" onclick="toggleSelect(); return false">')
}
//-->
</script>
......
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