Patch tidylistings for Website problem Bug #51379
Patch version 2010-03-24 09:47 UTC
Return to Bug #51379 |
Download this patch
Patch Revisions:
Developer: rquadling@php.net
Index: docroot/listing.php
===================================================================
--- docroot/listing.php (revision 296681)
+++ docroot/listing.php (working copy)
@@ -55,10 +55,12 @@
);
include TPL_PATH . 'header.php';
include TPL_PATH . 'news_line.php';
-include TPL_PATH . 'left_column.php';
?>
<li id="content">
<ul id="content-columns">
+<?php
+include TPL_PATH . 'left_column.php';
+?>
<li id="main-column">
<div class="content">
Index: docroot/team.php
===================================================================
--- docroot/team.php (revision 296681)
+++ docroot/team.php (working copy)
@@ -88,7 +88,7 @@
<div class="info entry"><!-- .info -->
<h3 class="summary entry-title">Contributors</h3>
<p>
- <ul>
+ <ul>
<li>Elizabeth Marie Smith</li>
</ul>
</p>
Index: templates/left_column.php
===================================================================
--- templates/left_column.php (revision 296681)
+++ templates/left_column.php (working copy)
@@ -81,7 +81,8 @@
</div><!-- .block -->
<?php
-if (strpos($_SERVER['SCRIPT_FILENAME'], 'snapshots') !== FALSE)
+if ((isset($mode) && ($mode == 'snapshots'))
+|| strpos($_SERVER['SCRIPT_FILENAME'], 'snapshots') !== FALSE)
{
?>
Index: templates/news_line.php
===================================================================
--- templates/news_line.php (revision 296681)
+++ templates/news_line.php (working copy)
@@ -1,2 +1,3 @@
<li id="news-line"><!-- #news-line -->
- </li><!-- #news-line -->
\ No newline at end of file
+ </li><!-- #news-line -->
+
\ No newline at end of file
|