Commit:    bd7abd1e799ef2cf659e6cb733c719fad8011217
Author:    Adam Harvey <[email protected]>         Wed, 21 May 2014 17:30:18 -0500
Parents:   c9545c8b2959422c06e6bec14473b91bc52d24c6
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=bd7abd1e799ef2cf659e6cb733c719fad8011217

Log:
Reinstate the sidebar.

Changed paths:
  M  download-docs.php


Diff:
diff --git a/download-docs.php b/download-docs.php
index 563090f..9b83542 100644
--- a/download-docs.php
+++ b/download-docs.php
@@ -9,51 +9,54 @@ if (!empty($_GET['active_langs'])) {
 }
 
 $SIDEBAR_DATA='
-<h3>Online documentation</h3>
-<p>
- You can read the
- <a href="/docs.php">documentation online</a>
- in various languages. The Documentation HOWTO,
- and archive manuals are also available
- from our <a href="/docs.php">documentation page</a>.
-</p>
-
-<h3>Other formats</h3>
-<p>
- The manual is also available via *nix style man pages. To
- install and use:
-</p>
-<ul class="toc">
- <li>Install: pear install doc.php.net/pman</li>
- <li>Upgrade: pear upgrade doc.php.net/pman</li>
- <li>Example usage: pman strlen</li>
-</ul>
-
-<h3>HTML Help viewers</h3>
-<ul class="toc">
- <li>Microsoft Windows has a reader built in.</li>
- <li>
-  On Linux, *BSD and Solaris:<br />
-  <ul class="simple">
-   <li><a href="http://xchm.sourceforge.net/";>xCHM</a></li>
-   <li><a href="http://gnochm.sourceforge.net/";>GnoCHM</a></li>
-   <li><a href="http://www.kchmviewer.net/";>KchmViewer</a></li>
-  </ul>
- </li>
- <li>
-  <a href="http://code.google.com/p/ichm/";>iChm</a> caters
-  to Mac OS X users.
- </li>
-</ul>
-
-<h3>File sizes and dates</h3>
-<p>
- If you are using a capable browser, the file size and
- date will show up when you move the mouse above a link.
- If you cannot view this information, or would like to see all the
- information, you can <a href="/download-docs.php?sizes=1">click
- here to see all the file sizes and dates</a>.
-</p>
+<div class="panel">
+    <div class="headline">Online documentation</div>
+    <div class="body">
+        <p>
+            You can read the
+            <a href="/docs.php">documentation online</a>
+            in various languages. The Documentation HOWTO,
+            and archive manuals are also available
+            from our <a href="/docs.php">documentation page</a>.
+        </p>
+    </div>
+</div>
+
+<div class="panel">
+    <div class="headline">Other formats</div>
+    <div class="body">
+        <p>
+            The manual is also available via *nix style man pages. To
+            install and use:
+        </p>
+        <ul class="toc">
+            <li>Install: <code>pear install doc.php.net/pman</code></li>
+            <li>Upgrade: <code>pear upgrade doc.php.net/pman</code></li>
+            <li>Example usage: <code>pman strlen</code></li>
+        </ul>
+    </div>
+</div>
+
+<div class="panel">
+    <div class="headline">HTML Help viewers</div>
+    <div class="body">
+        <ul class="toc">
+            <li>Microsoft Windows has a reader built in.</li>
+            <li>
+                On Linux, *BSD and Solaris:<br />
+                <ul class="simple">
+                    <li><a href="http://xchm.sourceforge.net/";>xCHM</a></li>
+                    <li><a 
href="http://gnochm.sourceforge.net/";>GnoCHM</a></li>
+                    <li><a 
href="http://www.kchmviewer.net/";>KchmViewer</a></li>
+                </ul>
+            </li>
+            <li>
+                <a href="http://code.google.com/p/ichm/";>iChm</a> caters
+                to Mac OS X users.
+            </li>
+        </ul>
+    </div>
+</div>
 ';
 
 site_header("Download documentation", array("current" => "docs"));
@@ -234,4 +237,4 @@ if (count($found_formats) == 0) {
 }
 ?>
 
-<?php site_footer();
+<?php site_footer(array('sidebar' => $SIDEBAR_DATA));


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to