com web/php: Removed Announcements header. It was unneeded because of the box around the content.: views/homepage/sidebar.php
| From: | Levi Morrison | Date: | Mon, 18 Jun 2012 17:37:59 +0000 |
| Subject: | com web/php: Removed Announcements header. It was unneeded because of the box around the content.: views/homepage/sidebar.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13719@lists.php.net to get a copy of this message | ||
Commit: 50511c5edae2e7fe118be536631b00c79abf891c
Author: Levi Morrison <levim@php.net> Mon, 18 Jun 2012 11:37:59 -0600
Parents: bd96d43961a1ba57950e6f92d86cbd30dd919828
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=50511c5edae2e7fe118be536631b00c79abf891c
Log:
Removed Announcements header. It was unneeded because of the box around the content.
Changed paths:
M views/homepage/sidebar.php
Diff:
diff --git a/views/homepage/sidebar.php b/views/homepage/sidebar.php
index 94e8b3e..834a0d0 100644
--- a/views/homepage/sidebar.php
+++ b/views/homepage/sidebar.php
@@ -1,12 +1,7 @@
<div class=home-sidebar>
- <?php
- if (!empty($announcements)) :
- echo "<h2>Announcements</h2>\n";
- echo $announcements;
- endif;
- ?>
-
+ <?php echo $announcements; ?>
+
<h2>Recent News</h2>
<ul>
<?php