Added: Arabic login page

This commit is contained in:
τɑyιo​ɾ 2016-10-10 10:03:44 +03:00 committed by GitHub
parent 7c110fa24b
commit 35255976cd
1 changed files with 43 additions and 20 deletions

63
fluxion
View File

@ -329,6 +329,16 @@ DIALOG_WEB_BACK_HU="Visza"
DIALOG_WEB_LENGHT_MIN_HU="Jelszó nem lehet kevesebb, mint 7 karakter!" DIALOG_WEB_LENGHT_MIN_HU="Jelszó nem lehet kevesebb, mint 7 karakter!"
DIALOG_WEB_LENGHT_MAX_HU="A jelszó kevesebb mint 64 karakter kell legyen!" DIALOG_WEB_LENGHT_MAX_HU="A jelszó kevesebb mint 64 karakter kell legyen!"
#ARA
DIALOG_WEB_INFO_ARA="لأسباب أمنية، أدخل كلمة المرور الخاصة بالشبكة المدونة اعلاه من تشفير <b>"$Host_ENC"</b> للحصول على اتصال الانترنت"
DIALOG_WEB_INPUT_ARA="ادخل كلمة السر"
DIALOG_WEB_SUBMIT_ARA="تأكيد"
DIALOG_WEB_ERROR_ARA="<b><font color=\"red\" size=\"3\">خطأ</font>:</b>كلمة السر المدخلة<b>غير</b> صحيحة!</b>"
DIALOG_WEB_OK_ARA="سوف يتم استعادة الاتصال في لحظات قليلة! شكرا لتعاونكم!"
DIALOG_WEB_BACK_ARA="العودة"
DIALOG_WEB_LENGHT_MIN_ARA="يجب أن تكون كلمة المرور أكثر من 7 أحرف او ارقام"
DIALOG_WEB_LENGHT_MAX_ARA="يجب أن تكون كلمة المرور أقل من 64 حرفا او رقم"
# Design # Design
function top(){ function top(){
@ -3618,7 +3628,7 @@ function webinterface {
done done
} }
function ConnectionRESET { function ConnectionRESET {
while true; do while true; do
conditional_clear conditional_clear
@ -3639,16 +3649,17 @@ function webinterface {
echo -e "$blue""9)"$transparent" Turkish [TR] (NEUTRA)" echo -e "$blue""9)"$transparent" Turkish [TR] (NEUTRA)"
echo -e "$blue""10)"$transparent" Romanian [RO] (NEUTRA)" echo -e "$blue""10)"$transparent" Romanian [RO] (NEUTRA)"
echo -e "$blue""11)"$transparent" Hungarian [HU] (NEUTRA)" echo -e "$blue""11)"$transparent" Hungarian [HU] (NEUTRA)"
echo -e "$blue""12)"$transparent" Arris [ENG]" echo -e "$blue""12)"$transparent" Arabic [ARA] (NEUTRA)"
echo -e "$blue""13)"$transparent" Belkin [ENG]" echo -e "$blue""13)"$transparent" Arris [ENG]"
echo -e "$blue""14)"$transparent" Xfinity [ENG]" echo -e "$blue""14)"$transparent" Belkin [ENG]"
echo -e "$blue""15)"$transparent" Netgear [ENG]" echo -e "$blue""15)"$transparent" Xfinity [ENG]"
echo -e "$blue""16)"$transparent" Huawei [ENG]" echo -e "$blue""16)"$transparent" Netgear [ENG]"
echo -e "$blue""17)"$transparent" Verizon [ENG]" echo -e "$blue""17)"$transparent" Huawei [ENG]"
echo -e "$blue""18)"$transparent" Netgear [ESP]" echo -e "$blue""18)"$transparent" Verizon [ENG]"
echo -e "$blue""19)"$transparent" Arris [ESP]" echo -e "$blue""19)"$transparent" Netgear [ESP]"
echo -e "$blue""20)"$transparent" Vodafone [ESP]" echo -e "$blue""20)"$transparent" Arris [ESP]"
echo -e "$blue""21)"$transparent"\e[1;31m $general_back"$transparent"" echo -e "$blue""21)"$transparent" Vodafone [ESP]"
echo -e "$blue""22)"$transparent"\e[1;31m $general_back"$transparent""
echo echo
echo -n "#? " echo -n "#? "
read fluxass read fluxass
@ -3787,43 +3798,55 @@ function webinterface {
break break
elif [ "$fluxass" = "12" ]; then elif [ "$fluxass" = "12" ]; then
ARRIS DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ARA
DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ARA
DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_ARA
DIALOG_WEB_OK=$DIALOG_WEB_OK_ARA
DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_ARA
DIALOG_WEB_BACK=$DIALOG_WEB_BACK_ARA
DIALOG_WEB_LENGHT_MIN=$DIALOG_WEB_LENGHT_MIN_ARA
DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ARA
NEUTRA
break break
elif [ "$fluxass" = "13" ]; then elif [ "$fluxass" = "13" ]; then
BELKIN ARRIS
break break
elif [ "$fluxass" = "14" ]; then elif [ "$fluxass" = "14" ]; then
XFINITY BELKIN
break break
elif [ "$fluxass" = "15" ]; then elif [ "$fluxass" = "15" ]; then
XFINITY
break
elif [ "$fluxass" = "16" ]; then
NETGEAR NETGEAR
break break
elif [ "$fluxass" = "16" ]; then elif [ "$fluxass" = "17" ]; then
HUAWEI HUAWEI
break break
elif [ "$fluxass" = "17" ]; then elif [ "$fluxass" = "18" ]; then
VERIZON VERIZON
break break
elif [ "$fluxass" = "18" ]; then elif [ "$fluxass" = "19" ]; then
NETGEAR2 NETGEAR2
break break
elif [ "$fluxass" = "19" ]; then elif [ "$fluxass" = "20" ]; then
ARRIS2 ARRIS2
break break
elif [ "$fluxass" = "20" ]; then elif [ "$fluxass" = "21" ]; then
VODAFONE VODAFONE
break break
elif [ "$fluxass" = "21" ]; then elif [ "$fluxass" = "22" ]; then
conditional_clear conditional_clear
webinterface webinterface
break break