mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
- yweb: get version-info from http://git.coolstreamtech.de
This commit is contained in:
@@ -4,11 +4,7 @@
|
|||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
function check_updates()
|
function check_updates()
|
||||||
{
|
{
|
||||||
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
|
loadSyncURL("/control/exec?Y_Tools&get_update_version");
|
||||||
loadSyncURL("/control/exec?Y_Tools&get_update_version_dbox");
|
|
||||||
~
|
|
||||||
loadSyncURL("/control/exec?Y_Tools&get_update_version_coolstream");
|
|
||||||
=}
|
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
//]]>
|
//]]>
|
||||||
@@ -21,7 +17,7 @@ function check_updates()
|
|||||||
<div class="work_box_body">
|
<div class="work_box_body">
|
||||||
<table border="0" cellpadding="2" cellspacing="4">
|
<table border="0" cellpadding="2" cellspacing="4">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top" width="30%">
|
||||||
<b>{=L:info.your_version=}</b>
|
<b>{=L:info.your_version=}</b>
|
||||||
<p>
|
<p>
|
||||||
{=ini-get:Y_Version.txt;version=}<br/>
|
{=ini-get:Y_Version.txt;version=}<br/>
|
||||||
@@ -30,7 +26,7 @@ function check_updates()
|
|||||||
{=ini-get:Y_Version.txt;info=}<br/>
|
{=ini-get:Y_Version.txt;info=}<br/>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top">
|
<td valign="top" width="30%">
|
||||||
<b>{=L:info.actual_version=}</b>
|
<b>{=L:info.actual_version=}</b>
|
||||||
<p>
|
<p>
|
||||||
{=ini-get:/tmp/version.txt;version=}<br/>
|
{=ini-get:/tmp/version.txt;version=}<br/>
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
version=2.8.0.26
|
version=2.8.0.27
|
||||||
date=25.07.2012
|
date=25.07.2012
|
||||||
type=Release
|
type=Release
|
||||||
info=Port Coolstream
|
info=Port Coolstream
|
||||||
|
@@ -548,8 +548,7 @@ case "$1" in
|
|||||||
fbshot) shift 1; do_fbshot $* ;;
|
fbshot) shift 1; do_fbshot $* ;;
|
||||||
fbshot_clear) do_fbshot_clear ;;
|
fbshot_clear) do_fbshot_clear ;;
|
||||||
tvshot_clear) rm -f /tmp/screenshot.png ;;
|
tvshot_clear) rm -f /tmp/screenshot.png ;;
|
||||||
get_update_version_dbox) wget -O /tmp/version.txt "http://www.yjogol.com/download/Y_Version.txt" ;;
|
get_update_version) wget -O /tmp/version.txt "http://git.coolstreamtech.de/?p=cst-public-gui-neutrino.git;a=blob_plain;f=src/nhttpd/web/Y_Version.txt" ;;
|
||||||
get_update_version_coolstream) wget -O /tmp/version.txt "http://www.yjogol.com/download/coolstream/Y_Version.txt" ;;
|
|
||||||
settings_backup_restore) shift 1; do_settings_backup_restore $* ;;
|
settings_backup_restore) shift 1; do_settings_backup_restore $* ;;
|
||||||
exec_cmd) shift 1; $* ;;
|
exec_cmd) shift 1; $* ;;
|
||||||
automount_list) shift 1; do_automount_list $* ;;
|
automount_list) shift 1; do_automount_list $* ;;
|
||||||
|
Reference in New Issue
Block a user