From 4845ddb85babe88f5ad10efad6daffe66c09a1ea Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 12 May 2018 23:51:05 +0000 Subject: [PATCH] make use of new shcgi form functions svn path=/trunk/; revision=196 --- templates/preferences.html.sh | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) 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")
-- 2.39.2