mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Clamav Update
Fix in der MPFire CGI git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@970 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
* cdrtools-2.01
|
||||
* centerim-4.22.1
|
||||
* cftp-0.12
|
||||
* clamav-0.91.1
|
||||
* clamav-0.91.2
|
||||
* coreutils-5.96
|
||||
* cpio-2.6
|
||||
* cups-1.2.12
|
||||
|
||||
@@ -41,7 +41,7 @@ my $errormessage = "";
|
||||
if ( $ENV{'QUERY_STRING'} =~ /title/){
|
||||
my $song = `/usr/local/bin/mpfirectrl song 2>/dev/null`;
|
||||
if ( $song eq "" ){$song = "None";}
|
||||
if ( length($song) > 125 ) {$song = substr($song,0,125)."...";}
|
||||
if ( length($song) > 100 ) {$song = substr($song,0,100)."...";}
|
||||
&Header::showhttpheaders();
|
||||
print"<meta http-equiv='refresh' content='30'>";
|
||||
print <<END
|
||||
@@ -52,7 +52,6 @@ END
|
||||
;
|
||||
}
|
||||
else{
|
||||
|
||||
&Header::showhttpheaders();
|
||||
|
||||
sub refreshpage{&Header::openbox( 'Waiting', 1, "<meta http-equiv='refresh' content='1;' />" );print "<center><img src='/images/clock.gif' alt='' /><br/><font color='red'>$Lang::tr{'pagerefresh'}</font></center>";&Header::closebox();}
|
||||
@@ -258,7 +257,7 @@ $stats=~s/\\/<br \/>/g
|
||||
print <<END
|
||||
|
||||
<table width='95%' cellspacing='0'>
|
||||
<iframe height='30' width='100%' src='/cgi-bin/mpfire.cgi?title' scrolling='no' frameborder='no' ></iframe>
|
||||
<iframe height='40' width='100%' src='/cgi-bin/mpfire.cgi?title' scrolling='no' frameborder='no' ></iframe>
|
||||
END
|
||||
;
|
||||
my $countsongs=`/usr/local/bin/mpfirectrl stats 2>/dev/null`;
|
||||
@@ -449,13 +448,13 @@ close(DATEI);
|
||||
print <<END
|
||||
<table width='95%' cellspacing='0'>
|
||||
<tr bgcolor='$color{'color20'}'><td colspan='9' align='left'><b>$Lang::tr{'webradio playlist'}</b></td></tr>
|
||||
<tr><td>Stream</td><td colspan='2'></td></tr>
|
||||
<tr><td align='left'>Stream</td><td colspan='2'></td></tr>
|
||||
END
|
||||
;
|
||||
foreach (@webradio){
|
||||
my @stream = split(/\|/,$_);
|
||||
print <<END
|
||||
<tr><td><a href="$stream[2]" target="_blank">$stream[1]</a></td>
|
||||
<tr><td align='left'><a href="$stream[2]" target="_blank">$stream[1]</a></td>
|
||||
<td align='center'><form method='post' action='$ENV{'SCRIPT_NAME'}'><input type='hidden' name='FILE' value='$stream[0]' /><input type='hidden' name='ACTION' value='playweb' /><input type='image' alt='$Lang::tr{'play'}' title='$Lang::tr{'play'}' src='/images/media-playback-start.png' /></form></td>
|
||||
</tr>
|
||||
END
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.91.1
|
||||
VER = 0.91.2
|
||||
|
||||
THISAPP = clamav-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 60152bf1e24b3fbdf0473794199e5215
|
||||
$(DL_FILE)_MD5 = 2a7265d17cfa80c32858978f16a3f47b
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user