cvs: phpweb /include shared-manual.inc /styles site.css
| From: | Gabor Hojtsy | Date: | Wed, 01 Sep 2004 21:28:37 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc /styles site.css | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-26025@lists.php.net to get a copy of this message | ||
goba Wed Sep 1 17:28:37 2004 EDT
Modified files:
/phpweb/include shared-manual.inc
/phpweb/styles site.css
Log:
fix ie tableless issues (hopefully) patch by Jakub Vrana:
1. Don't float .manualnavbar at right.
2. Swap the order of .prev and .next, and .langchooser and .langupdated
and don't float .prev and .langchooser at left.
3. Don't clear .manualnavbar HR.
http://cvs.php.net/diff.php/phpweb/include/shared-manual.inc?r1=1.216&r2=1.217&ty=u
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.216 phpweb/include/shared-manual.inc:1.217
--- phpweb/include/shared-manual.inc:1.216 Tue Aug 3 15:12:53 2004
+++ phpweb/include/shared-manual.inc Wed Sep 1 17:28:36 2004
@@ -1,6 +1,6 @@
<?php // -*- C++ -*-
-// $Id: shared-manual.inc,v 1.216 2004/08/03 19:12:53 goba Exp $
+// $Id: shared-manual.inc,v 1.217 2004/09/01 21:28:36 goba Exp $
/*
@@ -244,21 +244,26 @@
global $PGI, $LANG, $LANGUAGES, $INACTIVE_ONLINE_LANGUAGES;
// Start navbar with
- echo "<!--UdmComment-->\n<div class=\"manualnavbar\">\n <span
class=\"prev\">\n";
- if ($PGI['prev'][1]) {
- echo " <a href=\"{$PGI['prev'][0]}\">" .
- make_image('caret-l.gif', '<') .
- $PGI['prev'][1] . "</a>\n";
- }
- echo " </span>\n <span class=\"next\">\n";
+ echo "<!--UdmComment-->\n<div class=\"manualnavbar\">\n <span
class=\"next\">\n";
if ($PGI['next'][1]) {
echo " <a href=\"{$PGI['next'][0]}\">" .
$PGI['next'][1] .
make_image('caret-r.gif', '>') .
"</a>\n";
}
+ echo " </span>\n <span class=\"prev\">\n";
+ if ($PGI['prev'][1]) {
+ echo " <a href=\"{$PGI['prev'][0]}\">" .
+ make_image('caret-l.gif', '<') .
+ $PGI['prev'][1] . "</a>\n";
+ } else {
+ echo " \n";
+ }
echo " </span>\n <hr />\n";
+ // Provide last updated information on this page
+ echo " <span class=\"lastupdated\">Last updated:
{$PGI['lastmod']}</span>\n";
+
// Print out language switch on top of manual pages
echo " <div class=\"langchooser\">\n";
if ($location != 'bottom') {
@@ -295,12 +300,12 @@
'/images/small_submit.gif" border="0" width="11"
height="11" ' .
'alt="" align="baseline"> version of this page' .
"\n </form>\n";
+ } else {
+ echo " \n";
}
echo " </div>\n";
- // Provide last updated information on this page anc close div
- echo " <span class=\"lastupdated\">Last updated:
{$PGI['lastmod']}</span>\n" .
- "<div
class=\"cleaner\"></div>\n</div>\n<!--/UdmComment-->\n\n";
+ echo "</div>\n<!--/UdmComment-->\n\n";
}
// =============================================================================
http://cvs.php.net/diff.php/phpweb/styles/site.css?r1=1.14&r2=1.15&ty=u
Index: phpweb/styles/site.css
diff -u phpweb/styles/site.css:1.14 phpweb/styles/site.css:1.15
--- phpweb/styles/site.css:1.14 Sun Aug 1 12:21:05 2004
+++ phpweb/styles/site.css Wed Sep 1 17:28:37 2004
@@ -455,7 +455,6 @@
/* Top and bottom navigation controls on manual pages --------------------- */
div.manualnavbar {
- float: right;
background-color: #e0e0e0;
color: inherit;
padding: 4px;
@@ -468,7 +467,6 @@
text-decoration: underline;
}
div.manualnavbar .prev, div.manualnavbar .langchooser {
- float: left;
padding-right: 4px;
}
div.manualnavbar .next, div.manualnavbar .lastupdated {
@@ -478,7 +476,6 @@
div.manualnavbar hr {
color: #cccccc;
background-color: #cccccc;
- clear: both;
}
div.manualnavbar form {
margin: 0px;