From: Bernhard Tittelbach Date: Wed, 24 Oct 2012 20:12:42 +0000 (+0000) Subject: switch cam motor X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=ad367276bbd17bc9b6516ffd9a13cf46639c153d;p=svn42.git switch cam motor --- diff --git a/powersensordaemon/switch.cgi b/powersensordaemon/switch.cgi index 3f0b06e..18b3c4f 100755 --- a/powersensordaemon/switch.cgi +++ b/powersensordaemon/switch.cgi @@ -176,7 +176,7 @@ for DISPID in $VALID_ONOFF_IDS; do done echo "" if [ "$MOBILE" != "1" ]; then -echo "
" +echo "
" for DISPID in $VALID_SEND_IDS; do NAME="$(eval echo \$DESC_$DISPID)" [ -z "$NAME" ] && NAME=$DISPID @@ -201,7 +201,7 @@ for DISPID in $VALID_SEND_IDS; do fi done echo "
" -echo "
" +echo "
" for DISPID in $VALID_BANSHEE_IDS $VALID_CAM_MOTOR_IDS; do NAME="$(eval echo \$DESC_$DISPID)" [ -z "$NAME" ] && NAME=$DISPID @@ -213,13 +213,16 @@ for DISPID in $VALID_BANSHEE_IDS $VALID_CAM_MOTOR_IDS; do echo " " echo "
" echo "" - + else - echo "
$NAME
" + echo "
" + echo "" echo " " - echo "
" - + echo "
" + echo "
$NAME
" + echo "
" + fi done echo "
"