From: paul Date: Sat, 12 May 2018 23:51:05 +0000 (+0000) Subject: make use of new shcgi form functions X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=4845ddb85babe88f5ad10efad6daffe66c09a1ea;p=serve0 make use of new shcgi form functions svn path=/trunk/; revision=196 --- diff --git a/templates/preferences.html.sh b/templates/preferences.html.sh index ab1cb8b..dccb612 100755 --- a/templates/preferences.html.sh +++ b/templates/preferences.html.sh @@ -1,4 +1,4 @@ -# Copyright 2015, 2016 Paul Hänsch +# Copyright 2015, 2016, 2018 Paul Hänsch # # This file is part of Serve0 # @@ -22,21 +22,14 @@ cat < Watch videos: - -
- -
- -
- -
- -
- -
+ $(form_radio watch 240p "${_COOKIE[watch]}" "as Download in 240p" )
+ $(form_radio watch 480p "${_COOKIE[watch]}" "as Download in 480p" )
+ $(form_radio watch download "${_COOKIE[watch]}" "as Download (original)")
+ $(form_radio watch raspi "${_COOKIE[watch]}" "on playback device" )
+ $(form_radio watch player "${_COOKIE[watch]}" "in embedded player" )
+ $(form_radio watch server "${_COOKIE[watch]}" "on screen connected to server")
- - + $(form_check fakemp4 yes "${_COOKIE[fakemp4]}" "Fake .mp4 file ending, even if file is of different type")