Changeset 1718

Show
Ignore:
Timestamp:
08/30/08 13:58:51 (3 months ago)
Author:
vollmerk
Message:

add links to rss feeds, and change default to enabled for use_rss

Location:
branches/3.4
Files:
2 added
4 modified

Legend:

Unmodified
Added
Removed
  • branches/3.4/config/ampache.cfg.php.dist

    r1654 r1718  
    524524; use_rss = false (values true | false) 
    525525; 
    526 ;DEFAULT: use_rss = false  
    527 ;use_rss = false 
     526;DEFAULT: use_rss = true 
     527use_rss = true 
    528528; 
    529529; 
  • branches/3.4/docs/CHANGELOG

    r1713 r1718  
    55-------------------------------------------------------------------------- 
    66  v.3.4.3  
     7        - Add Links to RSS feeds and change default to use_rss=true 
    78        - Fixed Dynamic Random/Related URLs with players that always send 
    89                a byte offset (MPD) 
  • branches/3.4/templates/show_index.inc.php

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

    r1268 r1718  
    22/* 
    33 
    4 Copyright (c) 2001 - 2007 Ampache.org 
     4Copyright (c) Ampache.org 
    55All rights reserved. 
    66 
     
    2929 
    3030if (count($results)) { 
     31$link = Config::get('use_rss') ? ' ' . RSS::get_display('nowplaying') : '';  
    3132?> 
    32 <?php show_box_top(_('Now Playing')); ?> 
     33<?php show_box_top(_('Now Playing') . $link); ?> 
    3334<div class="np_row"> 
    3435<?php