mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
Origin commit data
------------------
Branch: ni/coolstream
Commit: b41819190d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)
Origin message was:
------------------
Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2006,9 +2006,9 @@ void CControlAPI::SendTimersXML(CyhookHandler *hh)
|
||||
hh->printf("\t\t\t\t<count>%s</count>\n",zRepCount.c_str());
|
||||
hh->printf("\t\t\t\t<number>%d</number>\n",(int)timer->eventRepeat);
|
||||
hh->printf("\t\t\t\t<text>%s</text>\n",zRep.c_str());
|
||||
char weekdays[8]= {0};
|
||||
std::string weekdays;
|
||||
NeutrinoAPI->Timerd->setWeekdaysToStr(timer->eventRepeat, weekdays);
|
||||
hh->printf("\t\t\t\t<weekdays>%s</weekdays>\n",weekdays);
|
||||
hh->printf("\t\t\t\t<weekdays>%s</weekdays>\n", weekdays.c_str());
|
||||
hh->WriteLn("\t\t\t</repeat>\n");
|
||||
|
||||
// channel infos
|
||||
@@ -2354,7 +2354,7 @@ void CControlAPI::doNewTimer(CyhookHandler *hh)
|
||||
else // default: no repeat
|
||||
rep = (CTimerd::CTimerEventRepeat)0;
|
||||
if(((int)rep) >= ((int)CTimerd::TIMERREPEAT_WEEKDAYS) && hh->ParamList["wd"] != "")
|
||||
NeutrinoAPI->Timerd->getWeekdaysFromStr(&rep, hh->ParamList["wd"].c_str());
|
||||
NeutrinoAPI->Timerd->getWeekdaysFromStr(&rep, hh->ParamList["wd"]);
|
||||
|
||||
// apids
|
||||
bool changeApids=false;
|
||||
|
@@ -981,7 +981,7 @@ std::string CNeutrinoYParser::func_set_timer_form(CyhookHandler *hh, std::strin
|
||||
string_printf("<option value=\"%d\" %s>%s</option>\n",(int)CTimerd::TIMERREPEAT_WEEKDAYS, sel.c_str(), zRep.c_str());
|
||||
|
||||
// Weekdays
|
||||
char weekdays[8];
|
||||
std::string weekdays;
|
||||
NeutrinoAPI->Timerd->setWeekdaysToStr(timer.eventRepeat, weekdays);
|
||||
hh->ParamList["weekdays"]= weekdays;
|
||||
|
||||
|
Reference in New Issue
Block a user