[Slim-Checkins] r9421 - /branches/6.5/server/Slim/Web/Pages/Home.pm
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Mon Sep 4 18:50:07 PDT 2006
Author: andy
Date: Mon Sep 4 18:50:06 2006
New Revision: 9421
URL: http://svn.slimdevices.com?rev=9421&view=rev
Log:
Create the Switch to SN link in init so it's not affected by other plugins
Modified:
branches/6.5/server/Slim/Web/Pages/Home.pm
Modified: branches/6.5/server/Slim/Web/Pages/Home.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Web/Pages/Home.pm?rev=9421&r1=9420&r2=9421&view=diff
==============================================================================
--- branches/6.5/server/Slim/Web/Pages/Home.pm (original)
+++ branches/6.5/server/Slim/Web/Pages/Home.pm Mon Sep 4 18:50:06 2006
@@ -20,6 +20,8 @@
Slim::Web::HTTP::addPageFunction(qr/^home\.(?:htm|xml)/, sub {$class->home(@_)});
Slim::Web::HTTP::addPageFunction(qr/^index\.(?:htm|xml)/, sub {$class->home(@_)});
Slim::Web::HTTP::addPageFunction(qr/^squeezenetwork\.(?:htm|xml)/, sub {$class->squeezeNetwork(@_)});
+
+ $class->addPageLinks("plugins", {'SQUEEZENETWORK_SWITCH' => 'squeezenetwork.html'});
$class->addPageLinks("help",{'GETTING_STARTED' => "html/docs/quickstart.html"});
$class->addPageLinks("help",{'PLAYER_SETUP' => "html/docs/ipconfig.html"});
@@ -52,10 +54,6 @@
if (!exists $Slim::Web::Pages::additionalLinks{"search"}) {
$class->addPageLinks("search", {'SEARCHMUSIC' => "livesearch.html"});
$class->addPageLinks("search", {'ADVANCEDSEARCH' => "advanced_search.html"});
- }
-
- if (!exists $Slim::Web::Pages::additionalLinks{"plugins"}) {
- $class->addPageLinks("plugins", {'SQUEEZENETWORK_SWITCH' => 'squeezenetwork.html'});
}
if (!exists $Slim::Web::Pages::additionalLinks{"help"}) {
More information about the checkins
mailing list