JustPaste.it

### LICENSE:
#
# Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
### FILE INFO:
#
# Turkbey Theme Aroma Installer
# xXMrGreenXx
# Version : v8.1
# Date : 04. May 2014
#

ini_set("rom_name", "Turkbey Theme");
ini_set("rom_version", "8.1");
ini_set("rom_author", "xXMrGreenXx");
ini_set("rom_device", "Samsung Galaxy S4");
ini_set("rom_date", "04. May 2014");

###################################################################################################################

fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "14" ); #-- Use sets of font (Font Family)
ini_set("force_colorspace","rgba");

###################################################################################################################

anisplash(1, "splash/bg1", 1000,
"splash/bg1", 1000,
"splash/bg2", 1000,
"splash/bg3", 1000,
"splash/bg4", 1000,
"splash/bg4", 1500
);

###################################################################################################################

theme("theme");

selectbox(
"Installer Language",
"Which language would you like to use?",
"",
"lang.prop",

"English", "Welcome to Turkbey Theme Aroma Installer", 1, #-- selected.0 = 1
"German", "Willkommen beim Turkbey Theme Aroma Installer", 0 #-- selected.0 = 2
);
##################################################################################################################
#Theme
if prop("lang.prop","selected.0")=="2" then
viewbox(
"Turkbey Theme Aroma Installer",
"Mit diesem Aroma Installer installierst du das <b><#selectbg_g>"+
ini_get("rom_name")+
"</#></b> auf dein <b><#selectbg_g>"+ini_get("rom_device")+"</#></b>.\n\n"+
"Relevante Informationen:\n\n"+
"Author\t: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+
"Version\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
"Update\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+
"Aroma Installer: <b><#selectbg_g>created by xXMrGreenXx</#></b>\n\n\n"+
"Klick <#selectbg_g><b>Next</b></#> um mit der Installation zu beginnen",
"icons/welcome"
);

agreebox(
"Allgemeine Hinweise",
"",
"icons/alert",
resread("Hinweis.txt"),
"Ich akzeptiere die allg. Hinweise...",
"Bitte akzeptiere die allg. Hinweise..."
);

textbox(
"Theme Changelog",
"",
"icons/info",
resread("ChangeLog.txt")
);

textbox(
"Theme Credits",
"",
"icons/info",
resread("Credits.txt")
);

selectbox(
"Theme Installation",
"",
"icons/update",
"theme.prop",

"Mods <#selectbg_g>mit</#> Turkbey Theme installieren","Hierbei könnt Ihr Mods auswählen, das Theme wird dabei mit geflasht.",0,
"Mods <#selectbg_g>ohne</#> Turkbey Theme installieren","Hierbei könnt Ihr Mods auswählen, ohne dass das Theme mit geflasht wird.",1
);
endif;

if prop("lang.prop","selected.0")=="1" then
viewbox(
"Turkbey Theme Aroma Installer",
"This Aroma Installer installs the <b><#selectbg_g>"+
ini_get("rom_name")+
"</#></b> onto your <b><#selectbg_g>"+ini_get("rom_device")+"</#></b>.\n\n"+
"Relevante Informationen:\n\n"+
"Author\t: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+
"Version\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
"Update\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+
"Aroma Installer: <b><#selectbg_g>created by xXMrGreenXx</#></b>\n\n\n"+
"Klick <#selectbg_g><b>Next</b></#> to Start the Installation",
"icons/welcome"
);

agreebox(
"Terms of Use",
"",
"icons/alert",
resread("Hinweiseng.txt"),
"I accept the Terms of Use...",
"please accept the Terms of use..."
);

textbox(
"Theme Changelog",
"",
"icons/info",
resread("ChangeLogeng.txt")
);

textbox(
"Theme Credits",
"",
"icons/info",
resread("Creditseng.txt")
);

selectbox(
"Theme Installation",
"",
"icons/update",
"theme.prop",

"Mods <#selectbg_g>with</#> Turkbey Theme install","Choose Mods with Themeflash.",0,
"Mods <#selectbg_g>without</#> Turkbey Theme install","Choose Mods without Themeflash.",1
);
endif;
########################################################################################################################
#Framework

if prop("lang.prop","selected.0")=="2" then
selectbox(
"Framework Animation",
"markiere die entsprechende Framework Animation",
"icons/apps",
"frameani.prop",

"keine Auswahl","",1,
"Vortex by eng.stk","",0,
"Samsung Stock","",0,
"Nexus 7","",0
);
endif;

if prop("lang.prop","selected.0")=="1" then
selectbox(
"Framework Animation",
"choose your Favorite Framework Animation",
"icons/apps",
"frameani.prop",

"no choice","",1,
"Vortex by eng.stk","",0,
"Samsung Stock","",0,
"Nexus 7","",0
);
endif;

#######################################################################################################################
#Font

if prop("lang.prop","selected.0")=="2" then
selectbox(
"Schriftart SonySketch",
"",
"icons/apps",
"write.prop",

"keine Auswahl","",1,
"SonySketch installieren","installiert eine weitere Schriftart zum auswählen in den Einstellungen",0
);
endif;

if prop("lang.prop","selected.0")=="1" then
selectbox(
"Schriftart SonySketch",
"",
"icons/apps",
"write.prop",

"no choice","",1,
"add SonySketch ","New Font, select it at Settings",0
);
endif;
if prop("write.prop","selected.0")=="2" then
splash(2000, "splash/sony");
endif;

#######################################################################################################################
#Switch

if prop("lang.prop","selected.0")=="1" then
menubox(
#-- Title
"Switch",

#-- Sub Title
"Please select your favorite Switch style",

#-- Icon
"icons/update",

#-- Will be saved in /tmp/aroma/demo.prop
"switch.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"No Change", "", "", #-- selected = 1
"SWITCH 1", "", "menu/sw1", #-- selected = 2
"SWITCH 2", "", "menu/sw2", #-- selected = 3
"SWITCH 3", "", "menu/sw3", #-- selected = 4
"SWITCH 4", "", "menu/sw4", #-- selected = 5
"SWITCH 5", "", "menu/sw5", #-- selected = 6
"SWITCH 6", "", "menu/sw6" #-- selected = 7
);
endif;

if prop("lang.prop","selected.0")=="2" then
menubox(
#-- Title
"Switch",

#-- Sub Title
"waehle den gewuenschten Schalter style",

#-- Icon
"icons/update",

#-- Will be saved in /tmp/aroma/demo.prop
"switch.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"keine Auswahl", "", "", #-- selected = 1
"SWITCH 1", "", "menu/sw1", #-- selected = 2
"SWITCH 2", "", "menu/sw2", #-- selected = 3
"SWITCH 3", "", "menu/sw3", #-- selected = 4
"SWITCH 4", "", "menu/sw4", #-- selected = 5
"SWITCH 5", "", "menu/sw5", #-- selected = 6
"SWITCH 6", "", "menu/sw6" #-- selected = 7
);
endif;

if prop("switch.prop","selected")=="2" then
splash(2000, "splash/switch1");
endif;
if prop("switch.prop","selected")=="3" then
splash(2000, "splash/switch2");
endif;
if prop("switch.prop","selected")=="4" then
splash(2000, "splash/switch3");
endif;
if prop("switch.prop","selected")=="5" then
splash(2000, "splash/switch4");
endif;
if prop("switch.prop","selected")=="6" then
splash(2000, "splash/switch5");
endif;
if prop("switch.prop","selected")=="7" then
splash(2000, "splash/switch6");
endif;

#######################################################################################################################
#Switch

if prop("lang.prop","selected.0")=="1" then
menubox(
#-- Title
"Slider Type",

#-- Sub Title
"Please select your favorite Slider",

#-- Icon
"icons/update",

#-- Will be saved in /tmp/aroma/demo.prop
"slider.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"No Change", "", "", #-- selected = 1
"Slider 1", "", "menu/sl1", #-- selected = 2
"Slider 2", "", "menu/sl2", #-- selected = 3
"Slider 3", "", "menu/sl3", #-- selected = 4
"Slider 4", "", "menu/sl4", #-- selected = 5
"Slider 5", "", "menu/sl5", #-- selected = 6
"Slider 6", "", "menu/sl6", #-- selected = 7
"Slider 7", "", "menu/sl7", #-- selected = 8
"Slider 8", "", "menu/sl8", #-- selected = 9
"Slider 9", "", "menu/sl9", #-- selected = 10
"Slider 10", "", "menu/sl10" #-- selected = 11
);
endif;

if prop("lang.prop","selected.0")=="2" then
menubox(
#-- Title
"Slider Type",

#-- Sub Title
"waehle den gewuenschten Slider",

#-- Icon
"icons/update",

#-- Will be saved in /tmp/aroma/demo.prop
"slider.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"No Change", "", "", #-- selected = 1
"Slider 1", "", "menu/sl1", #-- selected = 2
"Slider 2", "", "menu/sl2", #-- selected = 3
"Slider 3", "", "menu/sl3", #-- selected = 4
"Slider 4", "", "menu/sl4", #-- selected = 5
"Slider 5", "", "menu/sl5", #-- selected = 6
"Slider 6", "", "menu/sl6", #-- selected = 7
"Slider 7", "", "menu/sl7", #-- selected = 8
"Slider 8", "", "menu/sl8", #-- selected = 9
"Slider 9", "", "menu/sl9", #-- selected = 10
"Slider 10", "", "menu/sl10" #-- selected = 11
);
endif;

if prop("slider.prop","selected")=="2" then
splash(2000, "splash/sliderbg1");
endif;
if prop("slider.prop","selected")=="3" then
splash(2000, "splash/sliderbg2");
endif;
if prop("slider.prop","selected")=="4" then
splash(2000, "splash/sliderbg3");
endif;
if prop("slider.prop","selected")=="5" then
splash(2000, "splash/sliderbg4");
endif;
if prop("slider.prop","selected")=="6" then
splash(2000, "splash/sliderbg5");
endif;
if prop("slider.prop","selected")=="7" then
splash(2000, "splash/sliderbg6");
endif;
if prop("slider.prop","selected")=="8" then
splash(2000, "splash/sliderbg7");
endif;
if prop("slider.prop","selected")=="9" then
splash(2000, "splash/sliderbg8");
endif;
if prop("slider.prop","selected")=="10" then
splash(2000, "splash/sliderbg9");
endif;
if prop("slider.prop","selected")=="11" then
splash(2000, "splash/sliderbg10");
endif;

#######################################################################################################################
#SLIDERBUTTON

if prop("lang.prop","selected.0")=="1" then
menubox(
#-- Title
"SLIDER BUTTON",

#-- Sub Title
"Please select your favorite Slider Button",

#-- Icon
"icons/update",

#-- Will be saved in /tmp/aroma/demo.prop
"sliderbutton.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"No Change", "", "", #-- selected = 1
"Button 1", "", "menu/b1", #-- selected = 2
"Button 2", "", "menu/b2", #-- selected = 3
"Button 3", "", "menu/b3", #-- selected = 4
"Button 4", "", "menu/b4", #-- selected = 5
"Button 5", "", "menu/b5", #-- selected = 6
"Button 6", "", "menu/b6" #-- selected = 7
);
endif;

if prop("lang.prop","selected.0")=="2" then
menubox(
#-- Title
"SLIDER BUTTON",

#-- Sub Title
"waehle den gewuenschten Slider Button",

#-- Icon
"icons/update",

#-- Will be saved in /tmp/aroma/demo.prop
"sliderbutton.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"No Change", "", "", #-- selected = 1
"Button 1", "", "menu/b1", #-- selected = 2
"Button 2", "", "menu/b2", #-- selected = 3
"Button 3", "", "menu/b3", #-- selected = 4
"Button 4", "", "menu/b4", #-- selected = 5
"Button 5", "", "menu/b5", #-- selected = 6
"Button 6", "", "menu/b6" #-- selected = 7
);
endif;

if prop("sliderbutton.prop","selected")=="2" then
splash(2000, "splash/button1");
endif;
if prop("sliderbutton.prop","selected")=="3" then
splash(2000, "splash/button2");
endif;
if prop("sliderbutton.prop","selected")=="4" then
splash(2000, "splash/button3");
endif;
if prop("sliderbutton.prop","selected")=="5" then
splash(2000, "splash/button4");
endif;
if prop("sliderbutton.prop","selected")=="6" then
splash(2000, "splash/button5");
endif;
if prop("sliderbutton.prop","selected")=="7" then
splash(2000, "splash/button6");
endif;


#######################################################################################################################
#Lensflare

if prop("lang.prop","selected.0")=="2" then
menubox(
#-- Title
"Lockscreen Lichteffekt",

#-- Sub Title
"markiere den entsprechenden Lichteffekt Mod",

#-- Icon
"icons/lock",

#-- Will be saved in /tmp/aroma/flare.prop
"flare.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"keine Auswahl", "", "menu/no", #-- selected = 1
"Stock Lichteffekt", "", "menu/lf1", #-- selected = 2
"BlueOrbs Lichteffekt", "", "menu/lf2", #-- selected = 3
"BlueFlames Lichteffekt", "", "menu/lf3", #-- selected = 4
"Blue Lock Rings Lichteffekt", "", "menu/lf4", #-- selected = 5
"Blue Fire Rings Lichteffekt", "", "menu/lf5", #-- selected = 6
"Blue Stock Lichteffekt", "", "menu/lf6", #-- selected = 7
"Tron Rings Lichteffekt", "", "menu/lf7", #-- selected = 8
"Solar System", "", "menu/flare1", #-- selected = 9
"Metal Gear", "", "menu/flare2", #-- selected = 10
"Stargate", "", "menu/flare3", #-- selected = 11
"Firestorm", "", "menu/flare4", #-- selected = 12
"Aurora", "", "menu/flare5", #-- selected = 13
"Meteor", "", "menu/flare6" #-- selected = 14
);
endif;

if prop("lang.prop","selected.0")=="1" then
menubox(
#-- Title
"Lockscreen Lensflare",

#-- Sub Title
"choose your Favorite Lensflare Mod",

#-- Icon
"icons/lock",

#-- Will be saved in /tmp/aroma/flare.prop
"flare.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"no choice", "", "menu/no", #-- selected = 1
"Stock Lensflare", "", "menu/lf1", #-- selected = 2
"BlueOrbs Lensflare", "", "menu/lf2", #-- selected = 3
"BlueFlames Lensflare", "", "menu/lf3", #-- selected = 4
"Blue Lock Rings Lensflare", "", "menu/lf4", #-- selected = 5
"Blue Fire Rings Lensflare", "", "menu/lf5", #-- selected = 6
"Blue Stock Lensflare", "", "menu/lf6", #-- selected = 7
"Tron Rings Lensflare", "", "menu/lf7", #-- selected = 8
"Solar System", "", "menu/flare1", #-- selected = 9
"Metal Gear", "", "menu/flare2", #-- selected = 10
"Stargate", "", "menu/flare3", #-- selected = 11
"Firestorm", "", "menu/flare4", #-- selected = 12
"Aurora", "", "menu/flare5", #-- selected = 13
"Meteor", "", "menu/flare6" #-- selected = 14
);
endif;

if prop("flare.prop","selected")=="2" then
splash(2000, "splash/stock");
endif;
if prop("flare.prop","selected")=="3" then
splash(2000, "splash/orbs");
endif;
if prop("flare.prop","selected")=="4" then
splash(2000, "splash/flames");
endif;
if prop("flare.prop","selected")=="5" then
splash(2000, "splash/lockrings");
endif;
if prop("flare.prop","selected")=="6" then
splash(2000, "splash/firerings");
endif;
if prop("flare.prop","selected")=="7" then
splash(2000, "splash/bluestock");
endif;
if prop("flare.prop","selected")=="8" then
splash(2000, "splash/tron");
endif;
if prop("flare.prop","selected")=="9" then
splash(2000, "splash/solarsystem");
endif;
if prop("flare.prop","selected")=="10" then
splash(2000, "splash/metalgear");
endif;
if prop("flare.prop","selected")=="11" then
splash(2000, "splash/stargate");
endif;
if prop("flare.prop","selected")=="12" then
splash(2000, "splash/firestorm");
endif;
if prop("flare.prop","selected")=="13" then
splash(2000, "splash/aurora");
endif;
if prop("flare.prop","selected")=="14" then
splash(2000, "splash/meteor");
endif;

#######################################################################################################################
#Signal

if prop("lang.prop","selected.0")=="2" then
menubox(
#-- Title
"Signal, Wifi Icons",

#-- Sub Title
"markiere den entsprechenden Signal, Wifi Mod",

#-- Icon
"icons/sig",

#-- Will be saved in /tmp/aroma/wifi.prop
"wifi.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"keine Auswahl", "", "menu/no", #-- selected = 1
"BoBCaT Evo Theme", "by Apachi", "menu/sigbob", #-- selected = 2
"Signal 1", "by pas2001", "menu/sig1", #-- selected = 3
"Signal 2", "by pas2001", "menu/sig2", #-- selected = 4
"Signal 3", "by pas2001", "menu/sig3", #-- selected = 5
"Signal 4", "by pas2001", "menu/sig4", #-- selected = 6
"Signal 5", "by pas2001", "menu/sig5", #-- selected = 7
"Chrome1", "by pas2001", "menu/cat1", #-- selected = 8
"Chrome2", "by pas2001", "menu/cat2", #-- selected = 9
"Chrome3", "by pas2001", "menu/cat3", #-- selected = 10
"Chrome4", "by pas2001", "menu/cat4", #-- selected = 11
"Turkbey Original", "Turkbey Standart", "menu/sigtur", #-- selected = 12
"Jewel Blue", "by pas2001", "menu/sigblu", #-- selected = 13
"Jewel Cyan", "by pas2001", "menu/sigcya" #-- selected = 14
);
endif;

if prop("lang.prop","selected.0")=="1" then
menubox(
#-- Title
"Signal, Wifi Icons",

#-- Sub Title
"choose your Favorite Signal, Wifi Mod",

#-- Icon
"icons/sig",

#-- Will be saved in /tmp/aroma/wifi.prop
"wifi.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"no choice", "", "menu/no", #-- selected = 1
"BoBCaT Evo Theme", "by Apachi", "menu/sigbob", #-- selected = 2
"Signal 1", "by pas2001", "menu/sig1", #-- selected = 3
"Signal 2", "by pas2001", "menu/sig2", #-- selected = 4
"Signal 3", "by pas2001", "menu/sig3", #-- selected = 5
"Signal 4", "by pas2001", "menu/sig4", #-- selected = 6
"Signal 5", "by pas2001", "menu/sig5", #-- selected = 7
"Chrome1", "by pas2001", "menu/cat1", #-- selected = 8
"Chrome2", "by pas2001", "menu/cat2", #-- selected = 9
"Chrome3", "by pas2001", "menu/cat3", #-- selected = 10
"Chrome4", "by pas2001", "menu/cat4", #-- selected = 11
"Turkbey Original", "Turkbey Standard", "menu/sigtur", #-- selected = 12
"Jewel Blue", "by pas2001", "menu/sigblu", #-- selected = 13
"Jewel Cyan", "by pas2001", "menu/sigcya" #-- selected = 14
);
endif;

if prop("wifi.prop","selected")=="2" then
splash(2000, "splash/bobcatsignal");
endif;
if prop("wifi.prop","selected")=="3" then
splash(2000, "splash/sig1pas2001");
endif;
if prop("wifi.prop","selected")=="4" then
splash(2000, "splash/sig2pas2001");
endif;
if prop("wifi.prop","selected")=="5" then
splash(2000, "splash/sig3pas2001");
endif;
if prop("wifi.prop","selected")=="6" then
splash(2000, "splash/sig4pas2001");
endif;
if prop("wifi.prop","selected")=="7" then
splash(2000, "splash/sig5pas2001");
endif;
if prop("wifi.prop","selected")=="8" then
splash(2000, "splash/cat1pas2001");
endif;
if prop("wifi.prop","selected")=="9" then
splash(2000, "splash/cat2pas2001");
endif;
if prop("wifi.prop","selected")=="10" then
splash(2000, "splash/cat3pas2001");
endif;
if prop("wifi.prop","selected")=="11" then
splash(2000, "splash/cat4pas2001");
endif;
if prop("wifi.prop","selected")=="12" then
splash(2000, "splash/sigturkbey");
endif;
if prop("wifi.prop","selected")=="13" then
splash(2000, "splash/jewelbluepas2001");
endif;
if prop("wifi.prop","selected")=="14" then
splash(2000, "splash/jewelcyanpas2001");
endif;
#######################################################################################################################
#3minit
if prop("lang.prop","selected.0")=="2" then
selectbox(
"3minit",
"3minit Quicklaunch Mod",
"icons/apps",
"minit.prop",

"keine Auswahl","",1,
"3minit","Quicklaunch und Batterie Mod instalieren",0,
"default","Rom eigenen Mod behalten",0
);
endif;

if prop("lang.prop","selected.0")=="1" then
selectbox(
"3minit",
"3minit Quicklaunch Mod",
"icons/apps",
"minit.prop",

"no choice","",1,
"3minit","install 3minit Quicklaunch und Batterie Mod",0,
"default","untouch Rom Battery Mod",0
);
endif;

if prop("minit.prop","selected.0")=="2" then
splash(2000, "splash/minit");
endif;

#Batterie

if prop("lang.prop","selected.0")=="2" then
menubox(
#-- Title
"Batterie Icons",

#-- Sub Title
"markiere den entsprechenden Batterie Mod",

#-- Icon
"icons/bat",

#-- Will be saved in /tmp/aroma/batt.prop
"batt.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"keine Auswahl", "", "menu/no", #-- selected = 1
"3minit Version", "waehle USE FROM FOLDER Option in 3minit App", "menu/3minitbatt", #-- selected = 2
"OGBatterie Mod", "OGBatterie Mod muss installiert sein", "menu/ogbatt" #-- selected = 3
);
endif;

if prop("lang.prop","selected.0")=="1" then
menubox(
#-- Title
"Batterie Icons",

#-- Sub Title
"choose Battery Mod you use",

#-- Icon
"icons/bat",

#-- Will be saved in /tmp/aroma/engbatt.prop
"engbatt.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"no choice", "", "menu/no", #-- selected = 1
"3minit Version", "choose USE FROM FOLDER Option in 3minit App", "menu/3minitbatt", #-- selected = 2
"OGBatterie Mod", "Your Rom must use the OGBatterie Mod", "menu/ogbatt" #-- selected = 3
);
endif;

#######################################################################################################################
#3minit

if prop("batt.prop","selected") !="2" then
writetmpfile("3minitbatt.prop", "selected=0\n");
else
menubox(
#-- Title
"Batterie Icons",

#-- Sub Title
"waehle deine Battery Icons",

#-- Icon
"icons/3minitbatt",

#-- Will be saved in /tmp/aroma/3minitbatt.prop
"3minitbatt.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"Chrome1 Bat", " by pas2001", "menu/chrome1", #-- selected = 1
"Chrome2 Bat", " by pas2001", "menu/chrome2", #-- selected = 2
"Chrome3 Bat", " by pas2001", "menu/chrome3", #-- selected = 3
"Chrome4 Bat", " by pas2001", "menu/chrome4", #-- selected = 4
"Turkbey Bat", "Turkbey Standart", "menu/turkbey" #-- selected = 5
);
endif;
if prop("3minitbatt.prop","selected")=="1" then
splash(2000, "splash/chrome1pas2001");
endif;
if prop("3minitbatt.prop","selected")=="2" then
splash(2000, "splash/chrome2pas2001");
endif;
if prop("3minitbatt.prop","selected")=="3" then
splash(2000, "splash/chrome3pas2001");
endif;
if prop("3minitbatt.prop","selected")=="4" then
splash(2000, "splash/chrome4pas2001");
endif;
if prop("3minitbatt.prop","selected")=="5" then
splash(2000, "splash/turkbey");
endif;

if prop("engbatt.prop","selected") !="2" then
writetmpfile("eng3minitbatt.prop", "selected=0\n");
else
menubox(
#-- Title
"3minit Battery Icons",

#-- Sub Title
"choose your Favorite Battery Icons",

#-- Icon
"icons/3minitbatt",

#-- Will be saved in /tmp/aroma/3minitbatt.prop
"eng3minitbatt.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"Chrome1 Bat", " by pas2001", "menu/chrome1", #-- selected = 1
"Chrome2 Bat", " by pas2001", "menu/chrome2", #-- selected = 2
"Chrome3 Bat", " by pas2001", "menu/chrome3", #-- selected = 3
"Chrome4 Bat", " by pas2001", "menu/chrome4", #-- selected = 4
"Turkbey Bat", "Turkbey Standart", "menu/turkbey" #-- selected = 5
);
endif;

if prop("eng3minitbatt.prop","selected")=="1" then
splash(2000, "splash/chrome1pas2001");
endif;
if prop("eng3minitbatt.prop","selected")=="2" then
splash(2000, "splash/chrome2pas2001");
endif;
if prop("eng3minitbatt.prop","selected")=="3" then
splash(2000, "splash/chrome3pas2001");
endif;
if prop("eng3minitbatt.prop","selected")=="4" then
splash(2000, "splash/chrome4pas2001");
endif;
if prop("eng3minitbatt.prop","selected")=="5" then
splash(2000, "splash/turkbey");
endif;

#######################################################################################################################
#OG

if prop("batt.prop","selected") !="3" then
writetmpfile("ogbatt.prop", "selected=0\n");
else
menubox(
#-- Title
"Batterie Icons",

#-- Sub Title
"waehle deine Batterie Icons",

#-- Icon
"icons/ogbatt",

#-- Will be saved in /tmp/aroma/ogbatt.prop
"ogbatt.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"Chrome1 Bat", " by pas2001", "menu/chrome1", #-- selected = 1
"Chrome2 Bat", " by pas2001", "menu/chrome2", #-- selected = 2
"Chrome3 Bat", " by pas2001", "menu/chrome3", #-- selected = 3
"Chrome4 Bat", " by pas2001", "menu/chrome4", #-- selected = 4
"Turkbey Bat", "Turkbey Standart", "menu/turkbey" #-- selected = 5
);
endif;
if prop("ogbatt.prop","selected")=="1" then
splash(2000, "splash/chrome1pas2001");
endif;
if prop("ogbatt.prop","selected")=="2" then
splash(2000, "splash/chrome2pas2001");
endif;
if prop("ogbatt.prop","selected")=="3" then
splash(2000, "splash/chrome3pas2001");
endif;
if prop("ogbatt.prop","selected")=="4" then
splash(2000, "splash/chrome4pas2001");
endif;
if prop("ogbatt.prop","selected")=="5" then
splash(2000, "splash/turkbey");
endif;

if prop("engbatt.prop","selected") !="3" then
writetmpfile("engogbatt.prop", "selected=0\n");
else
menubox(
#-- Title
"OGBatMod Batterie Icons",

#-- Sub Title
"choose your Favorite Battery Mod",

#-- Icon
"icons/ogbatt",

#-- Will be saved in /tmp/aroma/ogbatt.prop
"engogbatt.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"Chrome1 Bat", " by pas2001", "menu/chrome1", #-- selected = 1
"Chrome2 Bat", " by pas2001", "menu/chrome2", #-- selected = 2
"Chrome3 Bat", " by pas2001", "menu/chrome3", #-- selected = 3
"Chrome4 Bat", " by pas2001", "menu/chrome4", #-- selected = 4
"Turkbey Bat", "Turkbey Standart", "menu/turkbey" #-- selected = 5
);
endif;

if prop("engogbatt.prop","selected")=="1" then
splash(2000, "splash/chrome1pas2001");
endif;
if prop("engogbatt.prop","selected")=="2" then
splash(2000, "splash/chrome2pas2001");
endif;
if prop("engogbatt.prop","selected")=="3" then
splash(2000, "splash/chrome3pas2001");
endif;
if prop("engogbatt.prop","selected")=="4" then
splash(2000, "splash/chrome4pas2001");
endif;
if prop("engogbatt.prop","selected")=="5" then
splash(2000, "splash/turkbey");
endif;

#######################################################################################################################
#Bootanimation

if prop("lang.prop","selected.0")=="2" then
menubox(
#-- Title
"Bootanimationen",

#-- Sub Title
"markiere die entsprechende Bootanimation",

#-- Icon
"icons/boot",

#-- Will be saved in /tmp/aroma/bootani.prop
"bootani.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"keine Auswahl", "", "menu/no", #-- selected = 1
"Bootanimation 1 by pas2001", "Carbonated Samsung", "menu/bootani1", #-- selected = 2
"Bootanimation 2 by pas2001", "Yellow Globe", "menu/bootani2", #-- selected = 3
"Bootanimation 3 by pas2001", "Yellow Lightning", "menu/bootani3", #-- selected = 4
"Bootanimation 4 by pas2001", "Bubble", "menu/bootani4", #-- selected = 5
"Bootanimation 5 by pas2001", "Simple Loading Type I", "menu/bootani5", #-- selected = 6
"Bootanimation 6 by pas2001", "Simple Loading Type II", "menu/bootani6", #-- selected = 7
"Bootanimation 7 by pas2001", "Simple Loading Type III", "menu/bootani7", #-- selected = 8
"Bootanimation 8 by pas2001", "Spark", "menu/bootani_spark", #-- selected = 9
"Bootanimation 9 by pas2001", "BigBang", "menu/bootani_bigbang", #-- selected = 10
"Bootanimation 10 by pas2001", "Smoke", "menu/bootani_smoke", #-- selected = 11
"Bootanimation 11 by pas2001", "THE BLINK", "menu/bootani_blink", #-- selected = 12
"Bootanimation 12 by pas2001", "THE ENERGY", "menu/bootani_energy", #-- selected = 13
"Bootanimation 13 by pas2001", "THE RHYTHM", "menu/bootani_rhythm", #-- selected = 14
"Bootanimation 14 by pas2001", "THE SMOKE V.2", "menu/bootani_smoke2", #-- selected = 15
"Bootanimation 15 by pas2001", "THE TRANSFORMER", "menu/bootani_trans", #-- selected = 16
"Bootanimation 16 by pas2001", "THE TREASURE", "menu/bootani_treas", #-- selected = 17
"Samsung Stock", "Galaxy S5 Bootanimation", "" #-- selected = 18
);
endif;

if prop("lang.prop","selected.0")=="1" then
menubox(
#-- Title
"Bootanimationen",

#-- Sub Title
"choose your Favorite Bootanimation",

#-- Icon
"icons/boot",

#-- Will be saved in /tmp/aroma/bootani.prop
"bootani.prop",

#-------------------------+-----------------[ Menubox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"no choice", "", "menu/no", #-- selected = 1
"Bootanimation 1 by pas2001", "Carbonated Samsung", "menu/bootani1", #-- selected = 2
"Bootanimation 2 by pas2001", "Yellow Globe", "menu/bootani2", #-- selected = 3
"Bootanimation 3 by pas2001", "Yellow Lightning", "menu/bootani3", #-- selected = 4
"Bootanimation 4 by pas2001", "Bubble", "menu/bootani4", #-- selected = 5
"Bootanimation 5 by pas2001", "Simple Loading Type I", "menu/bootani5", #-- selected = 6
"Bootanimation 6 by pas2001", "Simple Loading Type II", "menu/bootani6", #-- selected = 7
"Bootanimation 7 by pas2001", "Simple Loading Type III", "menu/bootani7", #-- selected = 8
"Bootanimation 8 by pas2001", "Spark", "menu/bootani_spark", #-- selected = 9
"Bootanimation 9 by pas2001", "BigBang", "menu/bootani_bigbang", #-- selected = 10
"Bootanimation 10 by pas2001", "Smoke", "menu/bootani_smoke", #-- selected = 11
"Bootanimation 11 by pas2001", "THE BLINK", "menu/bootani_blink", #-- selected = 12
"Bootanimation 12 by pas2001", "THE ENERGY", "menu/bootani_energy", #-- selected = 13
"Bootanimation 13 by pas2001", "THE RHYTHM", "menu/bootani_rhythm", #-- selected = 14
"Bootanimation 14 by pas2001", "THE SMOKE V.2", "menu/bootani_smoke2", #-- selected = 15
"Bootanimation 15 by pas2001", "THE TRANSFORMER", "menu/bootani_trans", #-- selected = 16
"Bootanimation 16 by pas2001", "THE TREASURE", "menu/bootani_treas", #-- selected = 17
"Samsung Stock", "Galaxy S5 Bootanimation", "" #-- selected = 18
);
endif;

if prop("bootani.prop","selected")=="2" then
splash(2000, "splash/bootani1");
endif;
if prop("bootani.prop","selected")=="3" then
splash(2000, "splash/bootani2");
endif;
if prop("bootani.prop","selected")=="4" then
splash(2000, "splash/bootani3");
endif;
if prop("bootani.prop","selected")=="5" then
splash(2000, "splash/bootani4");
endif;
if prop("bootani.prop","selected")=="6" then
splash(2000, "splash/bootani5");
endif;
if prop("bootani.prop","selected")=="7" then
splash(2000, "splash/bootani6");
endif;
if prop("bootani.prop","selected")=="8" then
splash(2000, "splash/bootani7");
endif;
if prop("bootani.prop","selected")=="9" then
splash(2000, "splash/bootani_spark");
endif;
if prop("bootani.prop","selected")=="10" then
splash(2000, "splash/bootani_bigbang");
endif;
if prop("bootani.prop","selected")=="11" then
splash(2000, "splash/bootani_smoke");
endif;
if prop("bootani.prop","selected")=="12" then
splash(2000, "splash/bootani_blink");
endif;
if prop("bootani.prop","selected")=="13" then
splash(2000, "splash/bootani_energy");
endif;
if prop("bootani.prop","selected")=="14" then
splash(2000, "splash/bootani_rhythm");
endif;
if prop("bootani.prop","selected")=="15" then
splash(2000, "splash/bootani_smoke2");
endif;
if prop("bootani.prop","selected")=="16" then
splash(2000, "splash/bootani_trans");
endif;
if prop("bootani.prop","selected")=="17" then
splash(2000, "splash/bootani_treas");
endif;
if prop("bootani.prop","selected")=="18" then
splash(100, "splash/no");
endif;

#######################################################################################################################
#Dialer
if prop("lang.prop","selected.0")=="2" then
selectbox(
"Dialer",
"markiere den entsprechenden Dialer",
"icons/apps",
"dial.prop",

"keine Auswahl","",1,
"Chrome","",0,
"Blue","",0
);
endif;

if prop("lang.prop","selected.0")=="1" then
selectbox(
"Dialer",
"choose your favorite Dialer",
"icons/apps",
"dial.prop",

"no choice","",1,
"Chrome","",0,
"Blue","",0
);
endif;

if prop("dial.prop","selected.0")=="2" then
splash(2000, "splash/dialerchrome");
endif;
if prop("dial.prop","selected.0")=="3" then
splash(2000, "splash/dailerblue");
endif;

#######################################################################################################################
#Tastatur

if prop("lang.prop","selected.0")=="2" then
selectbox(
"Tastatur",
"markiere die entsprechende Tastatur",
"icons/apps",
"tast.prop",

"keine Auswahl","",1,
"Theme 1","",0,
"Theme 2","",0
);
endif;

if prop("lang.prop","selected.0")=="1" then
selectbox(
"Keyboard",
"choose your Favorite Keyboard",
"icons/apps",
"tast.prop",

"no choice","",1,
"Theme 1","",0,
"Theme 2","",0
);
endif;

if prop("tast.prop","selected.0")=="2" then
splash(2000, "splash/wiima1tast");
endif;
if prop("tast.prop","selected.0")=="3" then
splash(2000, "splash/wiimatast");
endif;

#######################################################################################################################
#Multiwindow

if prop("lang.prop","selected.0")=="2" then
selectbox(
"Multiwindow",
"markiere den entsprechenden Mod",
"icons/apps",
"multi.prop",

"keine Auswahl","",1,
"Multiwindow weiss","",0,
"Multiwindow schwarz","",0
);
endif;

if prop("lang.prop","selected.0")=="1" then
selectbox(
"Multiwindow",
"choose your Favorite Mod",
"icons/apps",
"multi.prop",

"no choice","",1,
"Multiwindow weiss","",0,
"Multiwindow schwarz","",0
);
endif;

if prop("multi.prop","selected.0")=="2" then
splash(2000, "splash/mwweiss");
endif;
if prop("multi.prop","selected.0")=="3" then
splash(2000, "splash/mwschwarz");
endif;

#######################################################################################################################
#GlanceView

if prop("lang.prop","selected.0")=="2" then
selectbox(
"Glance View - Hintergrund",
"markiere die entsprechenden Glance View - Hintergrund",
"icons/apps",
"glance.prop",

"keine Auswahl","",1,
"GlanceView Effect 1","",0,
"GlanceView Effect 2","",0,
"GlanceView Effect 3","",0,
"GlanceView Effect 4","",0,
"GlanceView Effect 5","",0
);
endif;

if prop("lang.prop","selected.0")=="1" then
selectbox(
"Glance View - Effect",
"choose your Favorite Glance View Effect",
"icons/apps",
"glance.prop",

"no choice","",1,
"GlanceView Effect 1","",0,
"GlanceView Effect 2","",0,
"GlanceView Effect 3","",0,
"GlanceView Effect 4","",0,
"GlanceView Effect 5","",0
);
endif;

if prop("glance.prop","selected.0")=="2" then
splash(2000, "splash/glance1");
endif;
if prop("glance.prop","selected.0")=="3" then
splash(2000, "splash/glance2");
endif;
if prop("glance.prop","selected.0")=="4" then
splash(2000, "splash/glance3");
endif;
if prop("glance.prop","selected.0")=="5" then
splash(2000, "splash/glance4");
endif;
if prop("glance.prop","selected.0")=="6" then
splash(2000, "splash/glance5");
endif;

ini_set("text_next", "Install");

if prop("lang.prop","selected.0")=="2" then
viewbox(
"Bereit zum installieren",
"Der <#selectbg_g><b>Turkbey Theme Aroma Installer</b></#> ist bereit um mit der Installation zu beginnen.\n\n\n"+
"Klick <b><#selectbg_g>Install</#></b> um mit der Installation zu beginnen.\n\n\n"+
"Wenn Du kontrollieren willst, oder einige Deiner Installationseinstellungen ändern möchtest, klicke auf <b><#selectbg_g>Back</#></b>.\n\n\n"+
"Klicke auf den <b><#selectbg_g>Menu Button</#></b> um die Installation abzubrechen.",
"icons/install"
);
endif;

if prop("lang.prop","selected.0")=="1" then
viewbox(
"Ready to install",
"The <#selectbg_g><b>Turkbey Theme Aroma Installer</b></#> is ready to beginn.\n\n\n"+
"Press <b><#selectbg_g>Install</#></b> to Start the Flashprocess.\n\n\n"+
"To controll or change your Installationsettings press <b><#selectbg_g>Back</#></b>.\n\n\n"+
"Press the <b><#selectbg_g>Menu Button</#></b> to cancell the Installation.",
"icons/install"
);
endif;

ini_set("text_next", "Next >");

if prop("lang.prop","selected.0")=="2" then
setvar("retstatus",
install(
"Installation Box",

"Das <b><#selectbg_g>"+ini_get("rom_name")+"</#></b> wird installiert.\n\n\n"+
"<#selectbg_g>Bitte warte bis die Installation\n</#>"+
"<#selectbg_g>abgeschlossen ist.</#>\n\n"+
"<#selectbg_g>Dies kann je nach Auswahl bis zu 20 min dauern.</#>",

"icons/install",

"Die Installation ist abgeschlossen. Klick <#selectbg_g>Next</#> um fortzusetzen."
)
);
endif;

if prop("lang.prop","selected.0")=="1" then
setvar("retstatus",
install(
"Installation Box",

"Installing <b><#selectbg_g>"+ini_get("rom_name")+"</#></b>\n\n\n"+
"<#selectbg_g>Please wait untill the\n</#>"+
"<#selectbg_g>Istallation is done.</#>\n\n"+
"<#selectbg_g>This could take about 20min..</#>",

"icons/install",

"Installation done.Press <#selectbg_g>Next</#> to continue."
)
);
endif;

if prop("lang.prop","selected.0")=="2" then
alert(
"<b>Installation abgeschlossen!",
"Wenn Euch das Theme gefallen\n"+
"sollte, bitte nicht den\n"+
"Danke Button vergessen.\n"+
"\n"+
"Natürlich würden ich mich auch über\n"+
"eine kleine Spende freuen:\n"+
"\n"+
"<#selectbg_g>Paypal: xxmrgr33nxx@gmail.com.</#>\n"+
"\n"+
"<#selectbg_g>Vielen Dank!</#></b>",
"icons/alert",
"OK"
);
endif;

if prop("lang.prop","selected.0")=="1" then
alert(
"<b>Installation done!",
"If u like my Theme\n"+
"please dont forgett\n"+
"to hit the Thanks button.\n"+
"\n"+
"Or feel free to\n"+
"by me a Cup of Coffee:\n"+
"\n"+
"<#selectbg_g>Paypal: xxmrgr33nxx@gmail.com</#>\n"+
"\n"+
"<#selectbg_g>Thank u very much!</#></b>",
"icons/alert",
"OK"
);
endif;

ini_set("text_next", "Reboot");

if prop("lang.prop","selected.0")=="2" then
checkviewbox(
"Installation abgeschlossen!",
"<#selectbg_g><b>Herzlichen Glückwunsch !!!</b></#>\n\n"+
"<b><#selectbg_g>"+ini_get("rom_name")+"</#></b> wurde auf Ihrem <b><#selectbg_g>Galaxy S4</#></b> installiert.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"icons/welcome",
"Galaxy S4 neustarten.",
"1",
"reboot_it"
);
endif;

if prop("lang.prop","selected.0")=="1" then
checkviewbox(
"Installation done!",
"<#selectbg_g><b>Congratulations !!!</b></#>\n\n"+
"<b><#selectbg_g>"+ini_get("rom_name")+"</#></b> is installed to your <b><#selectbg_g>Galaxy S4</#></b>\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"icons/welcome",
"Reboot Galaxy S4.",
"1",
"reboot_it"
);
endif;

if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;