#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin . /usr/lib/libmodcgi.sh [ -e /mod/etc/reg/file.reg ] || touch /mod/etc/reg/file.reg id="$(echo "$QUERY_STRING" | sed -e 's/^.*id=//' -e 's/&.*$//' -e 's/\.//g')" cgi_begin "$id" "file_$id" OIFS="$IFS" IFS='|' set -- $(cat /mod/etc/reg/file.reg | grep "^$id|") IFS="$OIFS" # Defaults TEXT_ROWS=18 # Load config [ -r "$4" ] && . $4 # Set width let _width=$_cgi_width-230 echo "
$DESCRIPTION
" if [ -z "$CONFIG_FILE" -o "$sec_level" -gt "$3" ]; then echo '$(lang de:"Fehler" en:"Error"): $(lang de:"Unbekannter Typ" en:"unknown type") '$CONFIG_TYPE'
" ;; esac else case "$CONFIG_TYPE" in text) echo "' ;; list) ;; *) echo "$(lang de:"Fehler" en:"Error"): $(lang de:"Unbekannter Typ" en:"unknown type") '$CONFIG_TYPE'
" ;; esac fi cgi_end