com web/php: leftbar is horrible id.. and this shouldn't be id either :]: get-involved.php include/header.inc styles/structure.css
| From: | Paul Dragoonis | Date: | Mon, 27 Dec 2010 17:17:43 +0000 |
| Subject: | com web/php: leftbar is horrible id.. and this shouldn't be id either :]: get-involved.php include/header.inc styles/structure.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23736@lists.php.net to get a copy of this message | ||
Commit: 3e0128b79ddbc928cfae4df2bd759b6b60d32015
Author: Hannes Magnusson <bjori@php.net> Mon, 27 Dec 2010 17:17:43 +0000
Parents: 254a2316e8f07d9a7b29e5eb1cab9336878e0b69
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=3e0128b79ddbc928cfae4df2bd759b6b60d32015
Log:
leftbar is horrible id.. and this shouldn't be id either :]
Changed paths:
M get-involved.php
M include/header.inc
M styles/structure.css
Diff:
diff --git a/get-involved.php b/get-involved.php
index 59562ab..69a00ba 100644
--- a/get-involved.php
+++ b/get-involved.php
@@ -6,7 +6,7 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
site_header("Get Involved");
?>
-<aside id="leftbar">
+<aside class="tips">
<p style="margin: 5px; padding: 5px;">
Ever wondered how the PHP.net project actually works and what it has to offer?
Who is in charge and how decisions are made? The PHP.net project has a lot of
diff --git a/include/header.inc b/include/header.inc
index 59b4312..1f6997e 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -119,7 +119,7 @@
<div id="layout">
<?php
if (!empty($SIDEBAR_DATA)) {
- echo '<aside id="leftbar">',
"\n$SIDEBAR_DATA\n</aside>\n";
+ echo '<aside class="tips">',
"\n$SIDEBAR_DATA\n</aside>\n";
}
if (!empty($config["leftmenu"])) {
echo "<aside class='layout-menu'><ul>";
diff --git a/styles/structure.css b/styles/structure.css
index cd97677..b9c4fdd 100644
--- a/styles/structure.css
+++ b/styles/structure.css
@@ -214,7 +214,7 @@ footer .footmenu li {
}
-#leftbar {
+aside.tips {
padding-left: 12px;
padding-bottom: 12px;
padding-right: 12px;