Skip to content

Commit e99f4a4

Browse files
committed
Adding missing title tags to anchors. Fixing casing on titles
1 parent 7f94efa commit e99f4a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,17 @@
145145
if (is_array($CONF_TEASER)) {
146146
$conftype = array(
147147
'conference' => 'Upcoming conferences',
148-
'cfp' => 'Conferences Calling for papers',
148+
'cfp' => 'Conferences calling for papers',
149149
);
150150
$announcements = "";
151151
foreach($CONF_TEASER as $category => $entries) {
152152
if ($entries) {
153153
$announcements .= '<div class="panel">';
154-
$announcements .= ' <a href="/conferences" class="headline">' . $conftype[$category] .'</a>';
154+
$announcements .= ' <a href="/conferences" class="headline" title="' . $conftype[$category] . '">' . $conftype[$category] .'</a>';
155155
$announcements .= '<div class="body"><ul>';
156156
foreach (array_slice($entries, 0, 4) as $url => $title) {
157157
$title = preg_replace("'([A-Za-z0-9])([\s\:\-\,]*?)call for(.*?)$'i", "$1", $title);
158-
$announcements .= "<li><a href='$url'>$title</a></li>";
158+
$announcements .= "<li><a href='$url' title='$title'>$title</a></li>";
159159
}
160160
$announcements .= '</ul></div>';
161161
$announcements .= '</div>';
@@ -167,7 +167,7 @@
167167

168168
$SIDEBAR = <<< SIDEBAR_DATA
169169
170-
<p class='panel'><a href='/migration55'>Upgrading to PHP5.5</a></p>
170+
<p class='panel'><a href='/migration55' title='Upgrading to PHP5.5' class='headline'>Upgrading to PHP5.5</a></p>
171171
$announcements
172172
<p class='panel'><a href='/cal.php'>User Group Events</a></p>
173173
<p class='panel'><a href='/thanks.php'>Special Thanks</a></p>

0 commit comments

Comments
 (0)