Commit:    582c9e134dd423873f9d46e369b84e55e6033a3b
Author:    Peter Cowburn <[email protected]>         Tue, 5 Feb 2019 20:03:17 
+0000
Parents:   0d5c8e347e9257a2cd40690aab64704226bf29c0
Branches:  master

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

Log:
move sidebar links to main content for Get Involved page

Replaces the old sidebar with a ToC.

Original suggestion from Côme Chilliet:
    When I tried to get involved in PHP the first time, I got to
    https://php.net/get-involved.php, read the "Development of the
    PHP source" section and was like «Hum, ok, but where is the source?
    Why aren’t there any links here?». The stuff in the right column
    should really be in the middle and replaced with a Table of contents
    for consistency IMO.

Aside: the contents of this page could do with some love.

Changed paths:
  M  get-involved.php


Diff:
diff --git a/get-involved.php b/get-involved.php
index 1e3e057..b0b805c 100644
--- a/get-involved.php
+++ b/get-involved.php
@@ -5,7 +5,7 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
 site_header("Get Involved", array("current" => "community"));
 ?>
 
-<h2 class="content-title">Contributing to PHP</h2>
+<h2 class="content-title" id="contributing-to-php">Contributing to PHP</h2>
 <div class="content-box">
 
 <p>
@@ -23,7 +23,7 @@ site_header("Get Involved", array("current" => "community"));
 </p>
 </div>
 
-<h3 class="content-title">Four Best Ways to Contribute</h3>
+<h3 class="content-title" id="ways-to-contribute">Four Best Ways to 
Contribute</h3>
 
  <ol class="content-box listed">
   <li>Running test suites in <a href="http://qa.php.net/";>RC</a>
@@ -37,7 +37,7 @@ site_header("Get Involved", array("current" => "community"));
       <a href="http://doc.php.net/tutorial/";>guide for contributors</a>.</li>
  </ol>
 
-<h3 class="content-header">Development of the PHP source</h3>
+<h3 class="content-header" id="php-src">Development of the PHP source</h3>
 
 <div class="content-box">
 <p>
@@ -52,6 +52,15 @@ site_header("Get Involved", array("current" => "community"));
 </p>
 </div>
 
+<h3 class="content-title" id="references">Useful links for developers</h3>
+<ul class="content-box listed">
+    <li><a href="https://wiki.php.net/rfc/howto";>The RFC process</a> - the 
process
+        by which developers can suggest and discuss new ideas with the 
community</li>
+    <li><a href="/build-setup.php">Developer Setup Help</a> - some helpful 
information
+        regarding setting up a development environment for PHP</li>
+    <li><a href="/mailing-lists.php">Mailing List</a> - list of general and 
internal mailing lists
+        used by PHP</li>
+</ul>
 
 <?php
 /*
@@ -63,17 +72,14 @@ XXX: lxr is offline and should be re-added once its are 
back online in a more pe
 */
 
 $SIDEBAR_DATA ='
-<div class="panel"><a href="build-setup.php">Developer Setup Help</a></div>
 <div class="panel">
-  <div class="headline">Useful links for developers:</div>
+  <div class="headline">Table of Contents</div>
   <div class="body">
     <ul>
-     <li><a href="https://wiki.php.net/rfc/howto";>The RFC process</a> - the 
process
-       by which developers can suggest and discuss new ideas with the 
community</li>
-     <li><a href="/build-setup.php">Developer Setup Help</a> - some helpful 
information
-       regarding setting up a development environment for PHP</li>
-     <li><a href="/mailing-lists.php">Mailing List</a> - List of general and 
internal mailing lists
-      used by PHP</li>
+      <li><a href="#contributing-to-php">Contributing to PHP</a></li>
+      <li><a href="#ways-to-contribute">Four Best Ways to Contribute</a></li>
+      <li><a href="#php-src">Development of the PHP source</a></li>
+      <li><a href="#references">Useful links for developers</a></li>
     </ul>
   </div>
 </div>


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

Reply via email to