Changeset 1721
- Timestamp:
- 08/30/08 14:07:01 (3 months ago)
- Location:
- branches/3.4
- Files:
-
- 3 modified
-
server/ajax.server.php (modified) (1 diff)
-
templates/show_index.inc.php (modified) (1 diff)
-
templates/show_recently_played.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.4/server/ajax.server.php
r1520 r1721 298 298 $data = Song::get_recently_played(); 299 299 if (count($data)) { 300 show_box_top(_('Recently Played'));301 300 require_once Config::get('prefix') . '/templates/show_recently_played.inc.php'; 302 show_box_bottom();303 301 } 304 302 $results['recently_played'] = ob_get_contents(); -
branches/3.4/templates/show_index.inc.php
r1718 r1721 42 42 <?php 43 43 $data = Song::get_recently_played(); 44 $link = Config::get('use_rss') ? ' ' . RSS::get_display('recentlyplayed') : '';45 show_box_top(_('Recently Played') . $link);46 44 if (count($data)) { require_once Config::get('prefix') . '/templates/show_recently_played.inc.php'; } 47 show_box_bottom();48 45 ?> 49 46 </div> -
branches/3.4/templates/show_recently_played.inc.php
r1554 r1721 22 22 /* Define the time places starting at 0 */ 23 23 $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') : ''; 25 show_box_top(_('Recently Played') . $link); 25 26 ?> 26 27 <table class="tabledata" cellpadding="0" cellspacing="0"> … … 99 100 </tr> 100 101 </table> 102 <?php show_box_bottom(); ?>
