@@ -152,31 +152,26 @@ function friendica_allow_registrations {
}
function configure_interactive_friendica {
W=(1 $"Set channel directory server"
2 $"Renew SSL certificate"
3 $"Close new account registrations"
4 $"Allow new account registrations")
while true
do
data=$(mktemp 2>/dev/null)
dialog --backtitle$"Freedombone Control Panel"\
--title$"Friendica"\
--radiolist$"Choose an operation:" 15 70 6 \
1 $"Set channel directory server" off \
2 $"Renew SSL certificate" off \
3 $"Close new account registrations" off \
4 $"Allow new account registrations" off \
5 $"Back to main menu" on 2> "$data"
sel=$?
case$selin
1)break;;
255)break;;
esac
case$(cat"$data")in
# shellcheck disable=SC2068
selection=$(dialog --backtitle$"Freedombone Administrator Control Panel"--title$"Friendica"--menu$"Choose an operation, or ESC to exit:" 14 60 4 "${W[@]}" 3>&2 2>&1 1>&3)