#!/bin/sh #--------------------------------------------------------------------- # /srv/www/admin/main_yapsGUI.cgi __FLI4LVER__ # # Last Update: $Id$ # # report errors to: Christoph Schulz #--------------------------------------------------------------------- SEC_REALM='sms' SEC_ACTION='send' . ./sec-lib.cgi . /var/run/yapsgui.conf echo "Content-Type: text/html; charset=iso-8859-1" echo "Pragma: no-cache" echo "Expires: 0" echo "" for idx in `seq 1 "$YAPSGUI_USER_N"` do eval username='$YAPSGUI_USER_'$idx'_USERNAME' if [ "$username" = "$REMOTE_USER" ] then eval YAPSGUI_RECIPIENT_TB='$YAPSGUI_USER_'$idx'_RECIPIENT_TB' eval YAPSGUI_RECIPIENT_STD='$YAPSGUI_USER_'$idx'_RECIPIENT_STD' eval YAPSGUI_SENDER_TB='$YAPSGUI_USER_'$idx'_SENDER_TB' eval YAPSGUI_SENDER_STD='$YAPSGUI_USER_'$idx'_SENDER_STD' YAPSGUI_USER="$username" fi done if [ -z "$YAPSGUI_USER" ] then YAPSGUI_RECIPIENT_TB=$YAPSGUI_RECIPIENT_TB_COMMON YAPSGUI_RECIPIENT_STD=$YAPSGUI_RECIPIENT_STD_COMMON YAPSGUI_SENDER_TB=$YAPSGUI_SENDER_TB_COMMON YAPSGUI_SENDER_STD=$YAPSGUI_SENDER_STD_COMMON fi if [ ! -f "$YAPSGUI_RECIPIENT_TB" ] then if [ ! -d `dirname "$YAPSGUI_RECIPIENT_TB"` ] then mkdir -p `dirname "$YAPSGUI_RECIPIENT_TB"` fi echo > "$YAPSGUI_RECIPIENT_TB" fi if [ ! -f "$YAPSGUI_SENDER_TB" ] then if [ ! -d `dirname "$YAPSGUI_SENDER_TB"` ] then mkdir -p `dirname "$YAPSGUI_SENDER_TB"` fi echo > "$YAPSGUI_SENDER_TB" fi dtou -s "$YAPSGUI_SENDER_TB" dtou -s "$YAPSGUI_RECIPIENT_TB" # print header echo " yaps-GUI 3 " echo "" echo "

_____yaps-Benutzerschnittstelle v.2_____

Absender
[TB bearbeiten]


Empfänger
[TB bearbeiten]


Nachricht

Debuglevel Empfangsbestätigung

Noch Zeichen

" echo "

 

"