Changeset 23633
- Timestamp:
- 09/10/13 18:44:12 (10 years ago)
- Location:
- titan
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/callmonitor1/callmon_main.h
r20785 r23633 58 58 struct skin* listbox = getscreennode(callmon_main, "listbox"); 59 59 struct skin* fritzversion = getscreennode(callmon_main, "fritzversion"); 60 struct skin* ipaddress e = getscreennode(callmon_main, "ipaddresse");60 struct skin* ipaddress = getscreennode(callmon_main, "ipaddress"); 61 61 struct skin* phonebook = getscreennode(callmon_main, "phonebook"); 62 62 struct skin* userid = getscreennode(callmon_main, "userid"); … … 82 82 changeinput(userid, getlist(myconfig, "FritzUser", NULL)); 83 83 84 changemask(ipaddress e, "000.000.000.000");84 changemask(ipaddress, "000.000.000.000"); 85 85 tmpstr = fixip(getlist(myconfig, "FRITZBOXIP", NULL), 0); 86 changeinput(ipaddress e, tmpstr);86 changeinput(ipaddress, tmpstr); 87 87 free(tmpstr); tmpstr = NULL; 88 88 … … 177 177 free(tmpstr); tmpstr = NULL; 178 178 179 tmpstr = fixip(ipaddress e->ret, 1);179 tmpstr = fixip(ipaddress->ret, 1); 180 180 addlist(myconfig, "FRITZBOXIP", tmpstr); 181 181 free(tmpstr); tmpstr = NULL; -
titan/plugins/networkbrowser/networkbrowser.h
r23304 r23633 1327 1327 struct skin* tmp = NULL; 1328 1328 struct skin* skin_sharename = getscreennode(net_addshare, "skin_sharename"); 1329 struct skin* skin_ip = getscreennode(net_addshare, "skin_ipaddress e");1329 struct skin* skin_ip = getscreennode(net_addshare, "skin_ipaddress"); 1330 1330 struct skin* skin_sharedir = getscreennode(net_addshare, "skin_sharedir"); 1331 1331 struct skin* skin_username = getscreennode(net_addshare, "skin_username"); -
titan/skins/callmonitor1/skin.xml
r20785 r23633 2 2 <node bordercol=bordercol scrollbar=auto type=listbox posy=center posx=center name=listbox width=85% height=70%> 3 3 <node name=fritzversion type=choicebox parent=listbox valign=middle posx=0 text="Fritzbox Firmware... >= 05.50" bordercol=bordercol bordersize=2 width=100% height=25> 4 <node name=ipaddress etype=inputboxnum parent=listbox valign=middle posx=0 text="IP-FritzBox" bordercol=bordercol bordersize=2 width=100% height=25>4 <node name=ipaddress type=inputboxnum parent=listbox valign=middle posx=0 text="IP-FritzBox" bordercol=bordercol bordersize=2 width=100% height=25> 5 5 <node name=userid type=inputbox parent=listbox valign=middle posx=0 text="Nutzername-Fritzbox (optional)" bordercol=bordercol bordersize=2 width=100% height=25> 6 6 <node name=passwort type=inputbox parent=listbox valign=middle posx=0 text="Passwort-FritzBox" bordercol=bordercol bordersize=2 width=100% height=25> -
titan/skins/networkbrowser/skin.xml
r20821 r23633 29 29 <node parent="listbox" name="skin_usedns" text="usedns" type="choicebox" valign="middle" width="100%" height="35"> 30 30 <node parent="listbox" name="skin_dns" text="dnsaddresse" type="inputbox" valign="middle" width="100%" height="35"> 31 <node parent="listbox" name="skin_ipaddress e" text="ipaddresse" type="inputboxnum" valign="middle" width="100%" height="35">31 <node parent="listbox" name="skin_ipaddress" text="ipaddress" type="inputboxnum" valign="middle" width="100%" height="35"> 32 32 <node parent="listbox" name="skin_ftpport" text="ftpport" type="inputboxnum" valign="middle" width="100%" height="35"> 33 33 <node parent="listbox" name="skin_sharedir" text="sharedir" type="inputbox" valign="middle" width="100%" height="35"> -
titan/titan/bgdownload.h
r23206 r23633 171 171 if(dnode != NULL && dnode->ret == -1) 172 172 { 173 if(textbox(_("Message"), _("Real y stop download ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1)173 if(textbox(_("Message"), _("Really stop download ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1) 174 174 delbgdownload(nr, 1); 175 175 drawscreen(screenbgdownload, 0, 0); -
titan/titan/harddisk.h
r23286 r23633 346 346 if(ret < 0) 347 347 { 348 if(textbox("Message", _("Directory has content\nReal y delete directory and content?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1)348 if(textbox("Message", _("Directory has content\nReally delete directory and content?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1) 349 349 { 350 350 drawscreen(load, 0, 0); -
titan/titan/inetwork.h
r23286 r23633 249 249 for(tmpifa = ifa; tmpifa != NULL; tmpifa = tmpifa->ifa_next) 250 250 { 251 char* tmp_ipaddress e= NULL;251 char* tmp_ipaddress = NULL; 252 252 char* tmp_netmask = NULL; 253 253 char* tmp_mac = NULL; … … 276 276 { 277 277 tmpstr = fixip(buf, 0); 278 tmp_ipaddress e= string_newline(ostrcat(tmpstr, NULL, 1, 0));279 } 280 else 281 tmp_ipaddress e = ostrcat(tmp_ipaddresse, "000.000.000.000", 1, 0);278 tmp_ipaddress = string_newline(ostrcat(tmpstr, NULL, 1, 0)); 279 } 280 else 281 tmp_ipaddress = ostrcat(tmp_ipaddress, "000.000.000.000", 1, 0); 282 282 283 283 //NETMASK … … 368 368 { 369 369 if(self == NULL) 370 node = changeinetwork(tmp_device, tmp_ipaddress e, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 0);370 node = changeinetwork(tmp_device, tmp_ipaddress, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 0); 371 371 else 372 node = changeinetwork(tmp_device, tmp_ipaddress e, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 1);373 } 374 else 375 node = addinetwork(tmp_device, tmp_ipaddress e, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, node);372 node = changeinetwork(tmp_device, tmp_ipaddress, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, tmpinetwork, 1); 373 } 374 else 375 node = addinetwork(tmp_device, tmp_ipaddress, tmp_netmask, tmp_mac, tmp_broadcast, tmp_type, node); 376 376 } 377 377 -
titan/titan/network.h
r23286 r23633 338 338 } 339 339 340 void nethidden(struct skin* ipaddress e, struct skin* netmask, struct skin* gateway, struct skin* dnsserver1, struct skin* dnsserver2, int type)341 { 342 ipaddress e->hidden = type;340 void nethidden(struct skin* ipaddress, struct skin* netmask, struct skin* gateway, struct skin* dnsserver1, struct skin* dnsserver2, int type) 341 { 342 ipaddress->hidden = type; 343 343 netmask->hidden = type; 344 344 gateway->hidden = type; … … 353 353 struct skin* listbox = getscreennode(network, "listbox"); 354 354 struct skin* type = getscreennode(network, "type"); 355 struct skin* ipaddress e = getscreennode(network, "ipaddresse");355 struct skin* ipaddress = getscreennode(network, "ipaddress"); 356 356 struct skin* netmask = getscreennode(network, "netmask"); 357 357 struct skin* gateway = getscreennode(network, "gateway"); … … 365 365 return; 366 366 367 char* tmp_ipaddress e= ostrcat(net->ip, NULL, 0, 0);367 char* tmp_ipaddress = ostrcat(net->ip, NULL, 0, 0); 368 368 char* tmp_netmask = ostrcat(net->netmask, NULL, 0, 0);; 369 369 char* tmp_gateway = ostrcat(status.gateway, NULL, 0, 0);; … … 372 372 int tmp_type = net->type; 373 373 374 changemask(ipaddress e, "000.000.000.000");375 changeinput(ipaddress e, net->ip);374 changemask(ipaddress, "000.000.000.000"); 375 changeinput(ipaddress, net->ip); 376 376 377 377 changemask(netmask, "000.000.000.000"); … … 394 394 { 395 395 setchoiceboxselection(type, "1"); 396 nethidden(ipaddress e, netmask, gateway, dnsserver1, dnsserver2, YES);396 nethidden(ipaddress, netmask, gateway, dnsserver1, dnsserver2, YES); 397 397 } 398 398 else if(net->type == 2) 399 399 { 400 400 setchoiceboxselection(type, "2"); 401 nethidden(ipaddress e, netmask, gateway, dnsserver1, dnsserver2, YES);401 nethidden(ipaddress, netmask, gateway, dnsserver1, dnsserver2, YES); 402 402 } 403 403 else 404 404 { 405 405 setchoiceboxselection(type, "0"); 406 nethidden(ipaddress e, netmask, gateway, dnsserver1, dnsserver2, NO);406 nethidden(ipaddress, netmask, gateway, dnsserver1, dnsserver2, NO); 407 407 } 408 408 … … 438 438 { 439 439 if(atoi(listbox->select->ret) == 0) 440 nethidden(ipaddress e, netmask, gateway, dnsserver1, dnsserver2, NO);440 nethidden(ipaddress, netmask, gateway, dnsserver1, dnsserver2, NO); 441 441 else 442 nethidden(ipaddress e, netmask, gateway, dnsserver1, dnsserver2, YES);442 nethidden(ipaddress, netmask, gateway, dnsserver1, dnsserver2, YES); 443 443 444 444 drawscreen(network, 0, 0); 445 445 tmp_type = atoi(listbox->select->ret); 446 446 } 447 else if(ostrcmp(listbox->select->name, "ipaddress e") == 0)448 { 449 free(tmp_ipaddress e);450 tmp_ipaddress e= ostrcat(listbox->select->ret, NULL, 0, 0);447 else if(ostrcmp(listbox->select->name, "ipaddress") == 0) 448 { 449 free(tmp_ipaddress); 450 tmp_ipaddress = ostrcat(listbox->select->ret, NULL, 0, 0); 451 451 } 452 452 else if(ostrcmp(listbox->select->name, "netmask") == 0) … … 477 477 debug(50, "save settings"); 478 478 debug(50, "type: %i", tmp_type); 479 debug(50, "ipaddress e: %s", tmp_ipaddresse);479 debug(50, "ipaddress: %s", tmp_ipaddress); 480 480 debug(50, "netmask: %s", tmp_netmask); 481 481 debug(50, "gateway: %s", tmp_gateway); … … 483 483 debug(50, "dnsserver2: %s", tmp_dnsserver2); 484 484 485 if(ostrcmp(net->ip, tmp_ipaddress e) != 0)485 if(ostrcmp(net->ip, tmp_ipaddress) != 0) 486 486 { 487 487 free(net->ip); 488 net->ip = ostrcat(tmp_ipaddress e, NULL, 0, 0);488 net->ip = ostrcat(tmp_ipaddress, NULL, 0, 0); 489 489 } 490 490 if(ostrcmp(net->netmask, tmp_netmask) != 0) … … 523 523 } 524 524 525 free(tmp_ipaddress e);525 free(tmp_ipaddress); 526 526 free(tmp_netmask); 527 527 free(tmp_gateway); -
titan/titan/play.h
r23572 r23633 1171 1171 if(getservicebyrecname(file, 0, 0) != NULL) 1172 1172 textbox(_("Message"), _("Record in progress"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0); 1173 else if(textbox(_("Real y Delete ?"), file, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0) == 1)1173 else if(textbox(_("Really Delete ?"), file, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0) == 1) 1174 1174 { 1175 1175 unlink(file); -
titan/titan/rectimer.h
r23286 r23633 534 534 node->status = 3; 535 535 free(node->errstr); 536 node->errstr = ostrcat(_("not started akttime greater timer endtime"), NULL, 0, 0);536 node->errstr = ostrcat(_("not started akttime higher timer endtime"), NULL, 0, 0); 537 537 status.writerectimer = 1; 538 538 } -
titan/titan/restoredefault.h
r23420 r23633 8 8 struct skin* load = getscreen("loading"); 9 9 10 ret = textbox(_("Message"), _("Real y restore default settings ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);10 ret = textbox(_("Message"), _("Really restore default settings ?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0); 11 11 12 12 if(ret == 1) … … 17 17 { 18 18 system(tmpstr); 19 textbox(_("Message"), _("Receiver now reboot!!!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 7, 0);19 textbox(_("Message"), _("Receiver reboots now !!!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 7, 0); 20 20 oshutdown(2, 2);; 21 21 } … … 30 30 struct skin* load = getscreen("loading"); 31 31 32 if(textbox(_("Message"), _("Do you really want to erase all data sand backups from Swap?\nThe Box will reboot and the erase will be started!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0) == 1)32 if(textbox(_("Message"), _("Do you really want to erase all data and backups from Swap?\nThe Box will reboot and the erase will be started!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0) == 1) 33 33 { 34 34 debug(40, "Erase-Mtd"); -
titan/titan/scan.h
r22445 r23633 1595 1595 } 1596 1596 clearscreen(load); 1597 textbox(_("Message"), _("All new channel added!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);1597 textbox(_("Message"), _("All new channels added!"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0); 1598 1598 } 1599 1599 … … 1616 1616 if(clear == 1) 1617 1617 { 1618 if(textbox(_("Message"), _("Do esyou want delete all unused Bouquetentrys?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1)1618 if(textbox(_("Message"), _("Do you want delete all unused Bouquetentrys?"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0) == 1) 1619 1619 delunusedbouquetchannels(0); 1620 1620 else -
titan/titan/service.h
r23286 r23633 937 937 { 938 938 case 1: 939 tmpstr = ostrcat(_("Can't find a Tuner.\nAll eTuners in use or no Tuner defined."), NULL, 0, 0);939 tmpstr = ostrcat(_("Can't find a Tuner.\nAll Tuners in use or no Tuner defined."), NULL, 0, 0); 940 940 break; 941 941 case 2: -
titan/titan/skinselector.h
r23360 r23633 216 216 else 217 217 { 218 textbox(_("Message"), _("No skinconfig found in skin.\nCan't cha ge to selected skin."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0);218 textbox(_("Message"), _("No skinconfig found in skin.\nCan't change to selected skin."), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 0, 0); 219 219 drawscreen(screen, 0, 0); 220 220 free(tmpstr); tmpstr = NULL;
Note: See TracChangeset
for help on using the changeset viewer.