com web/php: Remove the conference panel, and make the announcement panel a link: index.php styles/home.css
| From: | Hannes Magnusson | Date: | Thu, 21 Nov 2013 05:02:22 +0000 |
| Subject: | com web/php: Remove the conference panel, and make the announcement panel a link: index.php styles/home.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17134@lists.php.net to get a copy of this message | ||
Commit: 5f680f0af26f550988299b8a2f320d16e1af3cc2
Author: Hannes Magnusson <bjori@mongodb.com> Wed, 20 Nov 2013 21:02:22 -0800
Parents: 4feeb45e267e106d1b53a5fa9f37b10a31f28043
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=5f680f0af26f550988299b8a2f320d16e1af3cc2
Log:
Remove the conference panel, and make the announcement panel a link
Changed paths:
M index.php
M styles/home.css
Diff:
diff --git a/index.php b/index.php
index f16d09d..d8e48da 100644
--- a/index.php
+++ b/index.php
@@ -161,7 +161,7 @@ if (is_array($CONF_TEASER)) {
foreach($CONF_TEASER as $category => $entries) {
if ($entries) {
$announcements .= '<div class="panel conferences">';
- $announcements .= '<span>' . $conftype[$category]
.'</span><ul class="announcements">';
+ $announcements .= '<a href="/conferences"
class="conf">' . $conftype[$category] .'</a><ul
class="announcements">';
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>";
@@ -178,9 +178,8 @@ $SIDEBAR = <<< SIDEBAR_DATA
<p class='panel'><a href='/migration55'>Upgrading to
PHP5.5</a></p>
$announcements
- <p class='panel'><a href='/tips.php'>Tips and
Tricks</a></p>
- <p class='panel'><a
href='/conferences/'>Conferences</a></p>
<p class='panel'><a href='/cal.php'>User Group
Events</a></p>
+ <p class='panel'><a href='/tips.php'>Tips and
Tricks</a></p>
<p class='panel'><a href='/thanks.php'>Special
Thanks</a></p>
SIDEBAR_DATA;
diff --git a/styles/home.css b/styles/home.css
index bba65b8..c0280ca 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -112,9 +112,6 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
display: block;
padding: .75em 1em;
}
-.home aside.tips .conferences {
- line-height: 1;
-}
.home aside.tips .panel .announcements a {
padding: 0;
border: 0;
@@ -137,6 +134,12 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
.home aside.tips .panel a:focus::after {
color:#333;
}
+.home aside.tips .conferences a.conf,
+.home aside.tips .conferences a.conf:hover {
+ background-color: #f0f0f0;
+ line-height: 1;
+ border: 0px;
+}
.home aside.tips a:link,
.home aside.tips a:visited {