Changeset 22712
- Timestamp:
- 08/07/13 17:06:45 (10 years ago)
- Location:
- titan
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek.h
r22674 r22712 91 91 int addtithekcontent(struct tithek* node, char *line, int len, int count, int pay) 92 92 { 93 int ret = 0, i = 0, skip = 0 ;93 int ret = 0, i = 0, skip = 0, hid = 0; 94 94 char* tmpstr = NULL, *flag = NULL, *cmd = NULL, *tmp = NULL; 95 95 if(node == NULL) return 1; … … 140 140 141 141 if(flag != NULL) node->flag = atoi(flag); 142 142 143 hid = getconfigint("tithek_hid_xxx", NULL); 144 if((node->flag == 1000 && hid = 1) 145 skip = 1; 143 146 if((node->flag == 9996 || node->flag == 9997 || node->flag == 9998 || node->flag == 9999) && !file_exist("/var/swap/etc/.codecpack")) 144 147 skip = 1; … … 516 519 517 520 if(link == NULL) return NULL; 521 if(ostrncmp("http://", link, 7)) return NULL; 518 522 519 523 ip = string_replace("http://", "", (char*)link, 0); -
titan/plugins/tithek/tithek_settings.h
r20365 r22712 13 13 struct skin* pay = getscreennode(tithek_settings, "pay"); 14 14 struct skin* picratio = getscreennode(tithek_settings, "picratio"); 15 struct skin* hidxxx = getscreennode(tithek_settings, "hidxxx"); 15 16 16 17 addchoicebox(cover, "0", _("show auto entrys")); … … 38 39 setchoiceboxselection(pay, getconfig("tithek_pay", NULL)); 39 40 41 addchoicebox(hidxxx, "0", _("no")); 42 addchoicebox(hidxxx, "1", _("yes")); 43 setchoiceboxselection(hidxxx, getconfig("tithek_hid_xxx", NULL)); 44 40 45 drawscreen(tithek_settings, 0, 0); 41 46 addscreenrc(tithek_settings, listbox); … … 55 60 addconfigscreencheck("tithek_pay", pay, NULL); 56 61 addconfigscreencheck("tithek_pic_ratio", picratio, NULL); 62 addconfigscreencheck("tithek_hid_xxx", hidxxx, NULL); 57 63 break; 58 64 } -
titan/skins/tithek/skin.xml
r20365 r22712 24 24 <node name=picratio type=choicebox parent=listbox valign=middle posx=0 text="Pic Ratio" bordercol=bordercol bordersize=1 width=100% height=25> 25 25 <node name=pay type=choicebox parent=listbox valign=middle posx=0 text="Show Pay Streams" bordercol=bordercol bordersize=1 width=100% height=25> 26 <node name=hidxxx type=choicebox parent=listbox valign=middle posx=0 text="Show XXX Streams" bordercol=bordercol bordersize=1 width=100% height=25> 26 27 27 28 <node name="buttonbar" posx=center posy="660" width="1220" height="50" bordercol="black" bordersize="1" borderradius="8" bgcol="titlebgcol" bgcol2="white" gradient="topmiddle">
Note: See TracChangeset
for help on using the changeset viewer.