Changeset 1721

Show
Ignore:
Timestamp:
08/30/08 14:07:01 (3 months ago)
Author:
vollmerk
Message:

sync back to the branch... doing a lot of this wheee

Location:
branches/3.4
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/3.4/server/ajax.server.php

    r1520 r1721  
    298298                $data = Song::get_recently_played();  
    299299                if (count($data)) {  
    300                         show_box_top(_('Recently Played'));  
    301300                        require_once Config::get('prefix') . '/templates/show_recently_played.inc.php';  
    302                         show_box_bottom();  
    303301                } 
    304302                $results['recently_played'] = ob_get_contents();  
  • branches/3.4/templates/show_index.inc.php

    r1718 r1721  
    4242        <?php 
    4343                $data = Song::get_recently_played(); 
    44                 $link = Config::get('use_rss') ? ' ' . RSS::get_display('recentlyplayed') :  '';  
    45                 show_box_top(_('Recently Played') . $link);  
    4644                if (count($data)) { require_once Config::get('prefix') . '/templates/show_recently_played.inc.php'; } 
    47                 show_box_bottom();  
    4845        ?> 
    4946</div> 
  • branches/3.4/templates/show_recently_played.inc.php

    r1554 r1721  
    2222/* Define the time places starting at 0 */ 
    2323$time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days ago'),_('weeks ago'),_('months ago'),_('years ago'));  
    24  
     24$link = Config::get('use_rss') ? ' ' . RSS::get_display('recentlyplayed') :  ''; 
     25show_box_top(_('Recently Played') . $link); 
    2526?> 
    2627<table class="tabledata" cellpadding="0" cellspacing="0"> 
     
    99100</tr> 
    100101</table> 
     102<?php show_box_bottom(); ?>