com web/php: Adding missing title tags to anchors. Fixing casing on titles: index.php

From: Date: Sun, 01 Jun 2014 17:34:38 +0000
Subject: com web/php: Adding missing title tags to anchors. Fixing casing on titles: index.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19090@lists.php.net to get a copy of this message
Commit: e99f4a425634ace5041fd55b3a0a1a3f3dc92a1a Author: Paul Dragoonis <dragoonis@gmail.com> Sun, 1 Jun 2014 18:34:38 +0100 Parents: 7f94efa81a1ed5cd32cacb59000149239d6e259b Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=e99f4a425634ace5041fd55b3a0a1a3f3dc92a1a 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>

« previous php.webmaster (#19090) next »