cvs: php-gtk-web /include layout.php
| From: | Ben Ramsey | Date: | Mon, 02 Aug 2004 14:18:33 +0000 |
| Subject: | cvs: php-gtk-web /include layout.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-2549@lists.php.net to get a copy of this message | ||
ramsey Mon Aug 2 10:18:33 2004 EDT
Modified files:
/php-gtk-web/include layout.php
Log:
Set news content column from 570 to 100%; this should allow the whole page
to "stretch" properly with the right sidebar.
http://cvs.php.net/diff.php/php-gtk-web/include/layout.php?r1=1.37&r2=1.38&ty=u
Index: php-gtk-web/include/layout.php
diff -u php-gtk-web/include/layout.php:1.37 php-gtk-web/include/layout.php:1.38
--- php-gtk-web/include/layout.php:1.37 Sun Aug 1 23:11:18 2004
+++ php-gtk-web/include/layout.php Mon Aug 2 10:18:33 2004
@@ -1,6 +1,6 @@
<?php
/*
- * $Id: layout.php,v 1.37 2004/08/02 03:11:18 ramsey Exp $
+ * $Id: layout.php,v 1.38 2004/08/02 14:18:33 ramsey Exp $
*/
@@ -141,7 +141,7 @@
#
function commonHeader($title=false, $padding=true) {
- global $SIDEBAR_DATA, $MAGIC_COOKIE;
+ global $SIDEBAR_DATA, $RIGHT_SIDEBAR_DATA, $MAGIC_COOKIE;
?><html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
@@ -219,7 +219,7 @@
</table>
-<table cellpadding="0" cellspacing="0">
+<table border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<?php if (isset($SIDEBAR_DATA)):?>
<td width="200" bgcolor="#f0f0f0">
@@ -232,7 +232,7 @@
<td bgcolor="#cccccc" background="/gifs/checkerboard.gif"><?php
spacer(1,1);?><br /></td>
<?php endif; ?>
<td>
- <table width="570" cellpadding="<?php if( $padding ) {
print("10"); }else { print("0"); } ?>" cellspacing="0">
+ <table width="100%" cellpadding="<?php if( $padding ) {
print("10"); } else { print("0"); } ?>" cellspacing="0">
<tr>
<td valign="top">
<?php