Author: jakehiller
Date: 2010-01-25 17:33:29 +0100 (Mon, 25 Jan 2010)
New Revision: 27156

Modified:
   plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_noresults.php
   plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_upcomingEvents.php
Log:
fixed date markup in upcoming events, added specific classes to no-results page 
text


Modified: plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_noresults.php
===================================================================
--- plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_noresults.php      
2010-01-25 16:18:42 UTC (rev 27155)
+++ plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_noresults.php      
2010-01-25 16:33:29 UTC (rev 27156)
@@ -1,5 +1,5 @@
 <?php if ($sf_params->get('tag') || $sf_params->get('cat') || 
$sf_params->get('search')): ?>
-<h3>Sorry, but there aren't any events in this date range that match. Try 
browsing other dates, tags and categories with the navigation on the left.</h3>
+<h3 class="blog-noresults">Sorry, but there aren't any events in this date 
range that match. Try browsing other dates, tags and categories with the 
navigation on the left.</h3>
 <?php else: ?>
-<h3>Sorry, but there aren't any events in this date range. Try browsing other 
dates with the navigation on the left.</h3>
+<h3 class="blog-noresults">Sorry, but there aren't any events in this date 
range. Try browsing other dates with the navigation on the left.</h3>
 <?php endif ?>
\ No newline at end of file

Modified: 
plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_upcomingEvents.php
===================================================================
--- plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_upcomingEvents.php 
2010-01-25 16:18:42 UTC (rev 27155)
+++ plugins/pkBlogPlugin/trunk/modules/pkCalendar/templates/_upcomingEvents.php 
2010-01-25 16:33:29 UTC (rev 27156)
@@ -4,8 +4,7 @@
     <div class="pk-calendar-event">
       <div class="pk-calendar-meta">
         <ul>
-          <li class="pk-calendar-date"><?php echo date('l', 
strtotime($pk_blog_event->getStartDate())) ?></li>
-          <li><?php echo date('F jS Y', 
strtotime($pk_blog_event->getStartDate())) ?></li>
+               <li class="pk-calendar-date"><?php echo date('l, F jS Y', 
strtotime($pk_blog_event->getStartDate())) ?></li>
           <?php if($pk_blog_event->getStartTime()): ?>
           <li><?php echo date('g:iA', 
strtotime($pk_blog_event->getStartTime())) ?> 
           <?php if($pk_blog_event->getEndTime()): ?>- <?php echo date('g:iA', 
strtotime($pk_blog_event->getEndTime())) ?></li>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to