mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-21 06:39:47 +02:00
Prepare to scroll in web interface (mobile version).
This commit is contained in:
+12
-4
@@ -1,8 +1,16 @@
|
||||
<?php
|
||||
$line1 = file_get_contents( "/tmp/radiod/line1.txt" );
|
||||
$line2 = file_get_contents( "/tmp/radiod/line2.txt" );
|
||||
$line3 = file_get_contents( "/tmp/radiod/line3.txt" );
|
||||
$line4 = file_get_contents( "/tmp/radiod/line4.txt" );
|
||||
$msg = $_GET['scroll'];
|
||||
if ($msg=="True") {
|
||||
$line1 = file_get_contents( "/tmp/radiod/line1s.txt" );
|
||||
$line2 = file_get_contents( "/tmp/radiod/line2s.txt" );
|
||||
$line3 = file_get_contents( "/tmp/radiod/line3s.txt" );
|
||||
$line4 = file_get_contents( "/tmp/radiod/line4s.txt" );
|
||||
} else {
|
||||
$line1 = file_get_contents( "/tmp/radiod/line1.txt" );
|
||||
$line2 = file_get_contents( "/tmp/radiod/line2.txt" );
|
||||
$line3 = file_get_contents( "/tmp/radiod/line3.txt" );
|
||||
$line4 = file_get_contents( "/tmp/radiod/line4.txt" );
|
||||
}
|
||||
$line1 = str_replace(" "," ",$line1);
|
||||
$line2 = str_replace(" "," ",$line2);
|
||||
$line3 = str_replace(" "," ",$line3);
|
||||
|
||||
Reference in New Issue
Block a user