Commit:    91e72144a011e9422c71ffb79f668548cc0cfd4c
Author:    Paul Dragoonis <[email protected]>         Sun, 1 Jun 2014 
18:34:38 +0100
Parents:   bb6370481eba841cc2349780fe9696300539bb9e
Branches:  master

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

Log:
Adding missing title tags to anchors. Fixing casing on titles

Changed paths:
  M  index.php


Diff:
diff --git a/index.php b/index.php
index 0b44e89..b05d0be 100644
--- a/index.php
+++ b/index.php
@@ -145,17 +145,17 @@ echo $content;
 if (is_array($CONF_TEASER)) {
     $conftype = array(
         'conference' => 'Upcoming conferences',
-        'cfp'        => 'Conferences Calling for papers',
+        'cfp'        => 'Conferences calling for papers',
     );
     $announcements = "";
     foreach($CONF_TEASER as $category => $entries) {
                if ($entries) {
             $announcements .= '<div class="panel">';
-            $announcements .= '  <a href="/conferences" class="headline">' . 
$conftype[$category] .'</a>';
+            $announcements .= '  <a href="/conferences" class="headline" 
title="' . $conftype[$category] . '">' . $conftype[$category] .'</a>';
             $announcements .= '<div class="body"><ul>';
             foreach (array_slice($entries, 0, 4) as $url => $title) {
                 $title = preg_replace("'([A-Za-z0-9])([\s\:\-\,]*?)call 
for(.*?)$'i", "$1", $title);
-                $announcements .= "<li><a href='$url'>$title</a></li>";
+                $announcements .= "<li><a href='$url' 
title='$title'>$title</a></li>";
             }
             $announcements .= '</ul></div>';
             $announcements .= '</div>';
@@ -167,7 +167,7 @@ if (is_array($CONF_TEASER)) {
 
 $SIDEBAR = <<< SIDEBAR_DATA
 
-    <p class='panel'><a href='/migration55'>Upgrading to PHP5.5</a></p>
+    <p class='panel'><a href='/migration55' title='Upgrading to PHP5.5' 
class='headline'>Upgrading to PHP5.5</a></p>
 $announcements
     <p class='panel'><a href='/cal.php'>User Group Events</a></p>
     <p class='panel'><a href='/thanks.php'>Special Thanks</a></p>


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

Reply via email to