com web/php: Added title attributes for some hyperlinks. Also gave abbr tags a dotted underline to set them apart from the rest of the text.:
View/HomepageNewsView.php index-beta.php styles/theme.css

From: Date: Mon, 02 Jul 2012 22:38:17 +0000
Subject: com web/php: Added title attributes for some hyperlinks. Also gave abbr tags a dotted underline to set them apart from the rest of the text.:
View/HomepageNewsView.php index-beta.php styles/theme.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13826@lists.php.net to get a copy of this message
Commit: d1bcb3b7111b448b8bd11523f323a6a014b87024 Author: Levi Morrison <levim@php.net> Mon, 2 Jul 2012 16:38:17 -0600 Parents: 82a5103bccbc2ca45cff5a2ed6ae71aecc8af0c7 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d1bcb3b7111b448b8bd11523f323a6a014b87024 Log: Added title attributes for some hyperlinks.. Also gave abbr tags a dotted underline to set them apart from the rest of the text. Changed paths: M View/HomepageNewsView.php M index-beta.php M styles/theme.css Diff: diff --git a/View/HomepageNewsView.php b/View/HomepageNewsView.php index 8d30b61..74e5b1f 100644 --- a/View/HomepageNewsView.php +++ b/View/HomepageNewsView.php @@ -19,7 +19,7 @@ class HomepageNewsView { ob_start(); ?> <div class='recentNewsEntries'> - <h1><a href="/archive/">Recent News</a></h1> + <h1><a href="/archive/" title='Recent News / Archived News'>Recent News</a></h1> <?php foreach ($this->articles as $article) : diff --git a/index-beta.php b/index-beta.php index 182a3bd..1af46b2 100644 --- a/index-beta.php +++ b/index-beta.php @@ -96,12 +96,15 @@ $features = " </div> <div class='feature bottom-left'> <span class='graphic'></span> - <h3>PECL &amp; PEAR</h3> + <h3> + <abbr title='The PHP Extension Community Library'>PECL</abbr> &amp; + <abbr title='The PHP Extension and Application Repository'>PEAR</abbr> + </h3> <p> PHP has a large extension library called - <abbr title='The PHP Extension Community Library'><a href='http://pecl.php.net/'>PECL</a></abbr>, + <a href='http://pecl.php.net/' title='Homepage for the PECL project'>PECL</a>, and a reusable class library called - <abbr title='The PHP Extension and Application Repository'><a href='http://pear.php.net/'>PEAR</a></abbr>. + <a href='http://pear.php.net/' title='Homepage for the PEAR project'>PEAR</a>. </p> </div> <div class='feature bottom-right'> diff --git a/styles/theme.css b/styles/theme.css index ca517dd..640b8d3 100755 --- a/styles/theme.css +++ b/styles/theme.css @@ -52,6 +52,11 @@ small { font-size: 0.75em; } +abbr { + border-bottom:1px dotted #999; + cursor: help; +} + h1, h1 a, h1 a:visited, h1 a:link { color: #666; border-color:#666;

« previous php.webmaster (#13826) next »