Changeset 42124


Ignore:
Timestamp:
Apr 1, 2018, 12:49:59 PM (2 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/tithek_settings.h

    r41939 r42124  
    1919        struct skin* vk_pass = getscreennode(tithek_settings, "vk_pass");
    2020        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
    2124        struct skin* autoupdate = getscreennode(tithek_settings, "autoupdate");
    2225        struct skin* b3 = getscreennode(tithek_settings, "b3");
     
    8386        changemask(kinox_url, "abcdefghijklmnopqrstuvwxyz");
    8487        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));
    8597
    8698        if(!file_exist("/mnt/swapextensions/etc/.codecpack") && !file_exist("/var/swap/etc/.codecpack") && !file_exist("/var/etc/.codecpack"))
     
    110122                        addconfigscreencheck("tithek_autoupdate", autoupdate, NULL);
    111123                        addconfigscreen("tithek_kinox_url", kinox_url);
     124                        addconfigscreencheck("tithek_kinox_pic", kinox_pic, NULL);
     125                        addconfigscreencheck("tithek_kinox_localhoster", kinox_localhoster, NULL);
     126
    112127/*
    113128                        if(amazon_user->ret != NULL && ostrcmp(amazon_user->ret, "****") != 0)
Note: See TracChangeset for help on using the changeset viewer.