mirror of
https://github.com/Pecusx/piradio-mini.git
synced 2026-05-21 14:49:42 +02:00
Display version before update.
This commit is contained in:
+7
-3
@@ -9,11 +9,15 @@
|
|||||||
<body>
|
<body>
|
||||||
<b>PiRadio</b><div id="config"><a href="config.php">config</a></div></br>
|
<b>PiRadio</b><div id="config"><a href="config.php">config</a></div></br>
|
||||||
<hr>
|
<hr>
|
||||||
Update to last build from github<br><br>
|
Update to last build from github<br><pre>
|
||||||
Do you really want to update your PiRadio from github repository.<br>
|
<?php
|
||||||
After update your PiRadio will be rebooted!
|
echo "Your PiRadio version: <b>5.4c</b>. Last commit: <b>".date("F d Y H:i:s",filemtime("/usr/share/radio/README.md"))."</b>.";
|
||||||
|
?>
|
||||||
|
<br>Do you really want to update your PiRadio from github repository.<br>
|
||||||
|
After update your PiRadio will be rebooted!</pre>
|
||||||
<form action="changeconf.php?file=update" method="post">
|
<form action="changeconf.php?file=update" method="post">
|
||||||
<button type="submit" name="submit" value="yes">Yes - update and reboot</button>
|
<button type="submit" name="submit" value="yes">Yes - update and reboot</button>
|
||||||
<button type="submit" name="submit" value="no">No - no update</button>
|
<button type="submit" name="submit" value="no">No - no update</button>
|
||||||
<hr>
|
<hr>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user