Changeset 42124
- Timestamp:
- 04/01/18 12:49:59 (5 years ago)
- Location:
- titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek_settings.h
r41939 r42124 19 19 struct skin* vk_pass = getscreennode(tithek_settings, "vk_pass"); 20 20 struct skin* kinox_url = getscreennode(tithek_settings, "kinox_url"); 21 struct skin* kinox_pic = getscreennode(tithek_settings, "kinox_pic"); 22 struct skin* kinox_localhoster = getscreennode(tithek_settings, "kinox_localhoster"); 23 21 24 struct skin* autoupdate = getscreennode(tithek_settings, "autoupdate"); 22 25 struct skin* b3 = getscreennode(tithek_settings, "b3"); … … 83 86 changemask(kinox_url, "abcdefghijklmnopqrstuvwxyz"); 84 87 changeinput(kinox_url, getconfig("tithek_kinox_url", NULL)); 88 89 addchoicebox(kinox_pic, "0", _("no")); 90 addchoicebox(kinox_pic, "1", _("yes")); 91 setchoiceboxselection(kinox_pic, getconfig("tithek_kinox_pic", NULL)); 92 93 addchoicebox(kinox_localhoster, "0", _("http")); 94 addchoicebox(kinox_localhoster, "1", _("https")); 95 addchoicebox(kinox_localhoster, "2", _("cloudfare")); 96 setchoiceboxselection(kinox_localhoster, getconfig("tithek_kinox_localhoster", NULL)); 85 97 86 98 if(!file_exist("/mnt/swapextensions/etc/.codecpack") && !file_exist("/var/swap/etc/.codecpack") && !file_exist("/var/etc/.codecpack")) … … 110 122 addconfigscreencheck("tithek_autoupdate", autoupdate, NULL); 111 123 addconfigscreen("tithek_kinox_url", kinox_url); 124 addconfigscreencheck("tithek_kinox_pic", kinox_pic, NULL); 125 addconfigscreencheck("tithek_kinox_localhoster", kinox_localhoster, NULL); 126 112 127 /* 113 128 if(amazon_user->ret != NULL && ostrcmp(amazon_user->ret, "****") != 0) -
titan/skins/tithek/skin.xml
r41939 r42124 32 32 <node parent="listbox" name="vk_pass" text="VK Pass" type="inputbox" valign="middle" width="100%" height="35"> 33 33 <node parent="listbox" name="kinox_url" text="KinoX Url" type="inputbox" valign="middle" width="100%" height="35"> 34 <node parent="listbox" name="kinox_pic" text="KinoX Load Preview Pic" type="choicebox" valign="middle" width="100%" height="35"> 35 <node parent="listbox" name="kinox_localhoster" text="KinoX Localhoster" type="choicebox" valign="middle" width="100%" height="35"> 34 36 <node name="buttonbar" posx="0" posy="0" width="100%" height="50" hspace="5" fontcol="black" fontsize="25" bordercol="titlebgcol" bordersize="1" borderradius="8" bgcol="titlebgcol" bgcol2="white" gradient="topmiddle"> 35 37 <node parent="buttonbar" name="b1" picmem="skin/key_ok_70x40.png" posx="0" posy="center" width="70" height="40">
Note: See TracChangeset
for help on using the changeset viewer.