Lines Matching refs:this

70         return $this->scheduleRoot->plugin->getConf ($name);
73 return $this->scheduleRoot->plugin->getLang ($name);
76 return $this->scheduleRoot->isAdmin;
79 return $this->scheduleRoot->message ($type, $text);
82 return $this->scheduleRoot->startMessage ($type, $text);
85 return $this->scheduleRoot->debug ($text);
88 return isset ($this->scheduleRoot->message[$type]);
93 $this->scheduleRoot = $scheduleRoot;
94 $this->defaultSchedule = new schedule ();
95 $this->nameSpace = cleanId (trim ($ns));
96 $this->md5ns = md5 ($this->nameSpace);
97 $this->cacheDir = $this->scheduleRoot->cacheRootDir.$this->md5ns.'/';
98 $this->dataDir = $this->scheduleRoot->dataRootDir.$this->md5ns.'/';
99 $this->migrate = $this->getConf ('migrate');
100 $this->showOldValues = $this->getConf ('showOldValues');
101 if ($this->migrate) {
108 $config = $this->scheduleRoot->readConfig ($this->dataDir);
110 $this->scheduleRoot->writeConfig ($this);
112 foreach ($this->scheduleRoot->configAttributsName as $field)
114 $this->$field = $config [$field];
120 $pathDir = $conf['savedir'].'/pages/'.trim ($this->scheduleRoot->groupsDir, '/') . '/';
128 … if (is_dir ($pathFile) && !in_array ($file, explode (',', trim ($this->getConf ('noSchedule')))))
129 $this->allGroups [] = $file;
132 sort ($this->allGroups);
140 if ($this->scheduleRoot->scheduleGroup == $tmpMember)
142 if (in_array ($tmpMember, $this->allGroups))
146 $this->userGroups = $userGroups;
148 $this->readSchedules ($this->dataDir);
149 $this->readProp ();
153 return $this->isAdmin () || in_array ($member, $this->userGroups);
157 if ($this->isAdmin ())
160 if (in_array ($member, $this->userGroups))
166 if ($this->isAdmin ())
169 if (!in_array ($member, $this->userGroups))
176 if (!is_dir ($this->cacheDir))
178 $filename = $this->cacheDir.md5 ($key).'.cache';
189 scheduleRoot::createDirIsNeeded ($this->cacheDir);
190 $filename = $this->cacheDir.md5 ($key).'.cache';
195 if (!$this->isAdmin ())
197 $exclude = '.|..|'.$this->scheduleRoot->configFile;
199 $pathDir = $this->cacheDir;
215 $this->before = $this->scheduleRoot->df2ds ($before);
216 $this->after = $this->scheduleRoot->df2ds ($after);
217 $this->date = $this->scheduleRoot->df2ds ($date);
218 if ($this->date)
219 $this->before = $this->after = $this->date;
226 $this->printProp = true;
232 if ($this->scheduleRoot->scheduleGroup == $tmpMember) {
234 $this->printForm = true;
235 $this->printCtrl = true;
236 $this->printProp = false;
244 $this->max = $max;
253 $this->filters[$name] = $newValues;
255 $this->repeatGrouped = trim ($this->getConf ('repeatPosition')) == 'grouped';
258 $this->repeatGrouped = $grouped == 'grouped';
270 foreach ($this->memberSchedules [$member] as $id => $schedule) {
272 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
277 $fileName = $this->dataDir.$this->scheduleRoot->mbrPrefix.$member.'.xml';
283 $this->readSchedule ($this->dataDir.$this->scheduleRoot->propFile, true);
293 foreach ($this->allProposals as $id => $schedule) {
295 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
301 $fileName = $this->dataDir.$this->scheduleRoot->propFile;
346 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field) {
357 if ($this->migrate && !$prop &&
358 ($this->whereMigrate ($schedule, ',') ||
359 $this->whereMigrate ($schedule, '/') ||
360 $this->whereMigrate ($schedule, ' - ') ||
361 $this->whereMigrate ($schedule, ' ')))
362 $this->membersToSave [$member] = true;
367 $this->allProposals [$schedule->id] = $schedule;
369 $this->allSchedules [$schedule->id] = $schedule;
378 $exclude = '.|..|'.$this->scheduleRoot->configFile;
389 preg_match ('#'.$this->scheduleRoot->mbrPrefix.'.*\.xml$#i', $file, $b))
390 $this->readSchedule ($pathFile);
392 $this->updateSchedulesLists ();
398 if (!count ($this->membersToSave))
400 foreach (array_keys ($this->membersToSave) as $member)
401 if (count ($this->memberSchedules [$member]) <= 0)
402 @unlink ($this->dataDir.$this->scheduleRoot->mbrPrefix.$member.'.xml');
404 $this->writeSchedule ($member);
405 $this->clearCache ();
416 foreach ($this->datedSchedules [$event->from] as $other)
432 foreach ($this->datedSchedules [$event->from] as $other)
445 if ($request['action'] == $this->getLang ('show')) {
446 $this->isShow = true;
448 … $this->before = $this->after = $this->date = $this->scheduleRoot->df2ds ($request['date']);
450 } elseif ($request['action'] == $this->getLang ('selected')) {
453 if (isset ($this->allProposals [$id])) {
454 $this->defaultSchedule = $this->allProposals [$id];
455 $this->defaultSchedule->prop = true;
456 } else if (isset ($this->allSchedules [$id])) {
457 $this->defaultSchedule = $this->allSchedules [$id];
462 array ($this->getLang ('modifyAll'),
463 $this->getLang ('modify'),
464 $this->getLang ('add'),
465 $this->getLang ('valid'),
466 $this->getLang ('prop')))) {
469 $this->manageAddAction ($request);
470 if ($request['action'] == $this->getLang ('valid'))
471 $this->removeSchedule ($id);
473 } elseif ($request['action'] == $this->getLang ('remove')) {
476 $this->removeSchedule ($id);
479 } elseif ($request['action'] == $this->getLang ('created'))
480 $this->manageCreateAction ($request);
490 if (isset ($this->allSchedules [$id]) &&
491 ($request['action'] == $this->getLang ('modifyAll') ||
492 $request['action'] == $this->getLang ('modify'))) {
493 $schedule = &$this->allSchedules [$id];
495 if ($request['action'] == $this->getLang ('modifyAll'))
496 $others = $this->getOtherSharedEvents ($schedule);
498 foreach ($this->scheduleRoot->scheduleRequestAttributsName as $field)
509 $schedule->from = $this->scheduleRoot->df2ds ($request ['from']);
510 $schedule->to = $this->scheduleRoot->df2ds ($request ['to']);
518 $this->defaultSchedule = $schedule;
522 … if (!$this->printProp && $schedule->member && !$this->isMemberOfAll ($schedule->requestMembers)) {
523 $this->message ('info', $this->getLang ('notMemberError'));
524 $this->defaultSchedule = $schedule;
529 $this->message ('error', $this->getLang ('noAudienceError'));
531 $this->message ('error', $this->getLang ('noMemberError'));
533 $this->message ('error', $this->getLang ('noTypeError'));
535 $this->message ('error', $this->getLang ('noTitleError'));
537 $this->message ('error', $this->getLang ('noWhereError'));
538 if (!$this->scheduleRoot->checkDS ($schedule->from))
539 $this->message ('error', $request ['from'].' : '.$this->getLang ('badDateError'));
540 if ($schedule->to && !$this->scheduleRoot->checkDS ($schedule->to))
541 $this->message ('error', $request ['to'].' : '.$this->getLang ('badDateError'));
542 else if ($this->after && ($schedule->to ? $schedule->to : $schedule->from) < $this->after)
543 $this->message ('error', $request ['from'].' : '.$this->getLang ('pastError'));
545 $this->message ('error', $request ['to'].' : '.$this->getLang ('pastToError'));
546 if ($this->isMessage ('error')) {
547 $this->startMessage ('error', $this->getLang ('startError'));
548 $this->defaultSchedule = $schedule;
556 array ($this->getLang ('add'),
557 $this->getLang ('valid'),
558 $this->getLang ('prop'))))
561 if ($this->printProp) {
565 $this->defaultSchedule = $schedule;
569 $this->allProposals [] = $schedule;
570 $this->proposalsToSave = true;
571 $this->adminNotification ();
572 $this->message ('success', $this->getLang ('propSuccess'));
577 $this->membersToSave [$oldMember] = true;
581 $this->addSchedule ($schedule);
585 if (!$this->isMember ($others->member))
587 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
590 $this->membersToSave [$other->member] = true;
593 $sharedMembers = $this->getMembersSharedEvents ($schedule);
599 if (!$this->isMember ($newMember))
602 foreach ($this->scheduleRoot->scheduleSaveAttributsName as $field)
607 $this->addSchedule ($newSchedule);
610 $pageId = $this->scheduleRoot->getPageId ($schedule);
611 resolve_pageid ($this->nameSpace, $pageId, $exists);
618 $place = trim ($this->makeListPlaceForMap ($schedule));
641 resolve_pageid ($this->nameSpace, $pageId, $exists);
642 if (!$exists && isset ($this->allSchedules [$id])) {
643 $schedule = $this->allSchedules [$id];
644 $sharedMembers = $this->getMembersSharedEvents ($schedule);
649 '[[:'.$this->scheduleRoot->groupsDir.':'.$member.':|'.
650 … '{{ :'.$this->scheduleRoot->groupsDir.':'.$member.':'.$this->scheduleRoot->iconName.'?100}}]]'.NL;
660 $this->makeRepeatString ($schedule, true) :
661 ('Le '. $this->scheduleRoot->ds2ln ($schedule->from, true))).
662 $this->makePrettyAt ($schedule->at).NL.NL.
665 $this->makeListPlaceForMap ($schedule).
686 $this->clearCache ();
694 if (isset ($this->allSchedules [$schedule->id]))
695 unset ($this->allSchedules [$schedule->id]);
696 $this->membersToSave [$schedule->member] = true;
698 if (isset ($this->memberSchedules [$schedule->member]))
699 foreach ($this->memberSchedules [$schedule->member] as $event)
706 unset ($this->allSchedules [$event->id]);
708 $this->allSchedules [$schedule->id] = $schedule;
709 $this->updateSchedulesLists ();
715 if (isset ($this->allProposals [$id])) {
716 $this->proposalsToSave = true;
717 unset ($this->allProposals [$id]);
718 $this->resetAdminNotification ();
719 } else if (isset ($this->allSchedules [$id])) {
720 $this->membersToSave [$this->allSchedules [$id]->member] = true;
721 unset ($this->allSchedules [$id]);
722 $this->updateSchedulesLists ();
729 $this->memberSchedules = array ();
730 $this->repeatedSchedules = array ();
731 $this->fixedSchedules = array ();
732 $this->datedSchedules = array ();
733 foreach ($this->allSchedules as $id => $schedule) {
734 $this->memberSchedules [$schedule->member][$id] = $schedule;
735 $this->datedSchedules [$schedule->from][] = $schedule;
737 $this->repeatedSchedules [$schedule->from][] = $schedule;
739 $this->fixedSchedules [$schedule->from][] = $schedule;
741 foreach (array_keys ($this->memberSchedules) as $member)
742 uasort ($this->memberSchedules [$member], 'cmpSchedule');
743 uasort ($this->allSchedules, 'cmpSchedule');
759 $df_prev = date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_prev);
760 $df_next = date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_next);
761 $dayNames = $this->getLang ('days');
766 …' <a onClick="scheduleChangeDate(this,\''.$this->nameSpace.'\',\''.$mapId.'\',\''.$df_prev.'\');…
767 …' <div class="bubble '.$this->getConf ('bubblePosition').'Bubble">'.$this->getLang ('tipPrevM').…
769 ' '.date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_showDay).NL.
771 …' <a onClick="scheduleChangeDate(this,\''.$this->nameSpace.'\',\''.$mapId.'\',\''.$df_next.'\');…
772 …' <div class="bubble '.$this->getConf ('bubblePosition').'Bubble">'.$this->getLang ('tipNextM').…
787 if (isset ($this->fixedSchedules [$ds_index]))
788 $focusSchedules [$ds_index] = array_values ($this->fixedSchedules [$ds_index]);
793 foreach ($this->repeatedSchedules as $ds_index => $events) {
801 $dn_from = $this->scheduleRoot->dt2dn ($dt_from);
806 $dn_to = $this->scheduleRoot->dt2dn ($dt_to);
887 $df_day = date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_day);
901 …$eventClass [preg_replace ("/\s/", '', htmlspecialchars (strtolower ($this->scheduleRoot->schedule…
903 …list ($LocationsEvents, $dayEvents, $locations) = $this->addLocationsDayEvent ($LocationsEvents, …
905 $bubble = $this->getDayBubble ($dn_day, $dayEvents);
908 …$url = '?id='.$this->nameSpace.':'.$conf['start'].'&schd[ns]='.$this->nameSpace.'&schd[action]='.$
937 $this->getCityBubble ($LocationsEvents).
963 $pageId = $this->scheduleRoot->getPageId ($event);
964 resolve_pageid ($this->nameSpace, $pageId, $exists);
965 … $logoId = $this->scheduleRoot->groupsDir.':'.$event->member.':'.$this->scheduleRoot->iconName;
992 $this->scheduleRoot->resetOddEven ();
1002 $line .= ' - '.$this->makeWhereString ($values['where']);
1006 $content .= '<div class="'.$this->scheduleRoot->getOddEven ().'">'.$line.'</div>'.NL;
1007 $this->scheduleRoot->switchOddEven ();
1011 …return '<div class="date">'.date ($this->scheduleRoot->currentDateFormat['prettyPrint'], $dn_day).…
1016 $this->scheduleRoot->resetOddEven ();
1017 $content = $this->formatDayEventsBubble ($dn_day, $dayEvents);
1020 return '<div class="bubble '.$this->getConf ('bubblePosition').'Bubble">'.$content.'</div>';
1030 $locationContent .= $this->formatDayEventsBubble ($dn_day, $dayEvents);
1032 …= '<div class="cityBubble" location="'.$location.'"><div class="bubble '.$this->getConf ('bubblePo…
1040 if ($this->isAdmin ()) {
1043 …echo '<input value="'.$this->getLang ($action).'" onclick="javascript:scheduleClearCache (\''.$act…
1047 if ($this->printProp || $this->printForm)
1048 $this->printScheduleInputForm ($mapId);
1049 if ($this->printCtrl)
1053 ' <input type="hidden" name="schd[ns]" value="'.$this->nameSpace.'"/>'.NL.
1056 $this->printScheduleListHead ();
1057 if ($this->isAdmin ())
1058 $this->printScheduleListContent ($this->allProposals, true);
1059 $this->printScheduleListContent ($this->allSchedules);
1060 $this->printScheduleDeleteForm ();
1062 if ($this->printCtrl)
1075 ($this->isShow ?
1076 … ('<a href="?id='.$this->nameSpace.':'.$conf ['start'].'" rel="nofollow" class="wikilink1">'.
1077 $this->getLang ('allDates').'</a>') :
1078 $this->getLang ('when')).'</th>'.NL.
1079 ' <th class="what">'.$this->getLang ('what').'</th>'.NL.
1080 ' <th class="where">'.$this->getLang ('where').'</th>'.NL.
1081 ' <th class="suject">'.$this->getLang ('title').'</th>'.NL.
1084 ' <th class="audience">'.$this->getLang ('audience').'</th>'.NL.
1085 ' <th class="by">'.$this->getLang ('proposedBy').'</th>'.NL.
1087 if ($this->printCtrl)
1088 …ton" type="button" onclick="scheduleSwitchSelection(this.form)" value="'.$this->getLang ('inverted…
1097 $ns = $this->nameSpace;
1102 $day = $this->scheduleRoot->ds2df ($event->syncStart ? $event->syncStart : $event->from);
1103 …$overEvent=' onMouseOver="javascript:scheduleHighlightEvent (\''.$day.'\', \''.$this->getLocations…
1106 …ptln (' <tr class="'.$this->scheduleRoot->getOddEven ().' '.$lineVals ['class'].$propClass.'" '…
1110 …ptln ($day.(($event->syncStart || ('' == $event->to)) ? '' : '<br/>'.NL.$this->scheduleRoot->ds2df…
1112 ' <td class="where">'.$this->makeWhereString ($event->where).'</td>'.NL.
1115 …' <tr class="'.$this->scheduleRoot->getOddEven ().' '.$lineVals ['class'].$propClass.'" '.$over…
1118 if ($this->printCtrl) {
1119 ptln ($this->scheduleRoot->scheduleShared[$event->shared]);
1120 … if (!$prop && !$lineVals['exists'] && $this->isAMemberOf (array_keys ($lineVals['member']))) {
1123 …chd[id]='.$id.'&schd[ns]='.$ns.'&schd[pageId]='.$pageId.'&schd[action]='.$this->getLang ('created'…
1124 ' <img src="'.$this->scheduleRoot->wizardIconUrl.'"/></a>');
1129 if ($this->printCtrl && $this->isMember ($member)) {
1132 …?id='.$_REQUEST['id'].'&schd[id]='.$id.'&schd[ns]='.$ns.'&schd[action]='.$this->getLang ('selected…
1133 '<img src="'.$this->scheduleRoot->editIconUrl.'"/></a>');
1135 $logoId = $this->scheduleRoot->groupsDir.':'.$member.':'.$this->scheduleRoot->iconName;
1138this->scheduleRoot->groupsDir.':'.$member.'/"><img src="'.ml ($logoId, array ('cache'=>$_REQUEST['…
1143 …ptln ('<img src="'.$this->scheduleRoot->repeatIconUrl.'" /> '.$this->makeRepeatString ($event, fal…
1153 …return ' '.$this->getLang ('fromHour').' **'.$dumy ['from'].'** '.$this->getLang ('toHour').' **'…
1154 return ' '.$this->getLang ('at').' **'.$at.'**';
1188 ($this->showOldValues ? '<b>'.$zip.'</b>' : $zip));
1195 $orderedFormat = $this->getLang ('orderedFormat');
1196 $rt = $this->getLang ('repeatType');
1200 …return $this->getLang ('from').' '.$this->scheduleRoot->ds2ln ($event->from, $bold).' '.$this->get…
1204 foreach (array_keys ($this->getLang ('days')) as $idd => $dayName)
1208 $dayNames = array_keys ($this->getLang ('days'));
1221 $dn_from = $this->scheduleRoot->dt2dn ($dt_from);
1222 $result .= date ($this->scheduleRoot->currentDateFormat ['dayMonth'], $dn_from).' ';
1224 $result .= $this->getLang ('all').' ';
1249 if ($this->after) {
1250 preg_match ("#(?<Y>[0-9]{4})(?<m>[0-9]{2})(?<d>[0-9]{2})#", $this->after, $dt_start);
1251 $dn_start = $this->scheduleRoot->dt2dn ($dt_start);
1255 if ($this->before && strcmp ($event->from, $this->before) > 0)
1258 if ($this->date && (strcmp ($event->from, $this->date) > 0 ||
1259 … strcmp (('' != $event->to ? $event->to : $event->from), $this->date) < 0))
1261 if ($this->after &&
1262 strcmp (('' != $event->to ? $event->to : $event->from), $this->after) < 0)
1264 if ($this->max && $line > $this->max)
1267 if ($this->filters)
1268 foreach ($this->filters as $name => $values) {
1269 … if (in_array ($name, $this->scheduleRoot->filterNames) && !in_array ($event->$name, $values)) {
1272 } elseif (in_array ($name, array_keys ($this->scheduleRoot->filterNames))) {
1273 $trueName = $this->scheduleRoot->filterNames[$name];
1282 $pageId = $this->scheduleRoot->getPageId ($event);
1283 resolve_pageid ($this->nameSpace, $pageId, $exists);
1285 …$eventClass = 'cat_'.preg_replace ("/\s/", '', htmlspecialchars (strtolower ($this->scheduleRoot->…
1289 if (!$this->after || strcmp ($event->from, $this->after) > 0)
1294 $dn_day = $dn_from = $this->scheduleRoot->dt2dn ($dt_from);
1351 if ($this->before && strcmp ($ds_day, $this->before) > 0)
1353 if ($this->date && strcmp ($ds_day, $this->date) != 0)
1359 if ($this->repeatGrouped && $event->repeatFlag)
1371 $this->scheduleRoot->switchOddEven ();
1378 $this->scheduleRoot->switchOddEven ();
1384 …<tr class="'.$this->scheduleRoot->getOddEven ().'"><td colspan="6">'.$this->getLang ('noEvent').'<…
1390 if (!$this->printCtrl)
1395 <th><input type="submit" name="schd[action]" value="'.$this->getLang ('remove').'"/></th>
1403 $repeat = ($this->defaultSchedule->repeat > 1) ? $this->defaultSchedule->repeat : 1;
1407 …<td colspan="8">'.$this->getLang ('all').' <input class="repeat" name="schd[repeat]" type="text" v…
1410 foreach ($this->getLang ('repeatType') as $idrt => $repeatType) {
1411 $selected = ($this->defaultSchedule->repeatType == $idrt) ? ' selected="true"' : '';
1418 <td rowspan="2">'.$this->getLang ('each').'</td>
1420 $disabled = ($this->defaultSchedule->repeatType !== "week") ? ' disabled="true"' : '';
1421 $eventWeekDays = explode ("|", $this->defaultSchedule->weekDays);
1423 $dayNames = $this->getLang ('days');
1431 $disabled = ($this->defaultSchedule->repeatType !== "dayMonth") ? ' disabled="true"' : '';
1439 $orderedFormat = $this->getLang ('orderedFormat');
1441 $selected = ($week == $this->defaultSchedule->weekRank) ? ' selected="true"' : '';
1451 $selected = ($idw == $this->defaultSchedule->dayInWeek) ? ' selected="true"' : '';
1454 $disabled = ($this->defaultSchedule->repeatType !== "dateMonth") ? ' disabled="true"' : '';
1460 $selected = ($dayRank == $this->defaultSchedule->dayRank) ? ' selected="true"' : '';
1472 if (!($this->printForm || $this->printProp))
1475 $from = (!$this->defaultSchedule->from && isset ($_REQUEST["schd"]["date"])) ?
1477 $this->scheduleRoot->ds2df ($this->defaultSchedule->from);
1480 …' <p>'.$this->getLang ($this->printProp ? 'proposedEvent' : 'addEvent').'</p>'.NL. // XXX getLang
1482 …' <li><a class="warningPlace" href="#scheduleTabForm-0">1) '.$this->getLang ('who').'</a></li>'…
1483 …' <li><a class="warningPlace" href="#scheduleTabForm-1">2) '.$this->getLang ('what').'</a></li>…
1484 …' <li><a class="warningPlace" href="#scheduleTabForm-2">3) '.$this->getLang ('where').'</a></li…
1485 …' <li><a class="warningPlace" href="#scheduleTabForm-3">4) '.$this->getLang ('when').'</a></li>…
1486 …' <li><a class="warningPlace" href="#scheduleTabForm-4">5) '.$this->getLang ('validation').'</a…
1493 foreach ($this->scheduleRoot->scheduleAudience as $audience => $label) {
1494 $selected = ($audience == $this->defaultSchedule->audience) ? ' selected="true" ' : '';
1500 $selected = ($sharedVal == $this->defaultSchedule->shared) ? ' selected="true" ' : '';
1501 …ptln (' <option value="'.$sharedVal.'"'.$selected.'>'.$this->scheduleRoot->scheduleShared[$s…
1504 … class="members" name="schd[member]"'.($this->defaultSchedule->shared ? ' multiple="true"' : "").'…
1505 … $availableGroup = ($this->isAdmin () || $this->printProp)? $this->allGroups : $this->userGroups;
1506 $sharedMembers = $this->defaultSchedule->prop ?
1507 explode (",", $this->defaultSchedule->member) :
1508 $this->getMembersSharedEvents ($this->defaultSchedule);
1509 ptln (' <option value="">'.$this->getLang ('memberChoice').'</option>'.NL);
1520 ' <option value="">'.$this->getLang ('eventTypeChoice').'</option>'.NL);
1521 foreach (array_keys ($this->scheduleRoot->scheduleWhat) as $what) {
1522 …$selected = ($what == $this->defaultSchedule->what) ? ' selected="'.$what.' '.$this->defaultSchedu…
1526 …="title" name="schd[title]" type="text" value="'.$this->defaultSchedule->title.'" placeholder="'.$
1528 ' '.$this->getLang ('lead').':<br/>'.NL.
1529 … <textarea class="paper" name="schd[lead]" placeholder="'.$this->getLang ('leadPH').'">'.$this->de…
1531 ' '.$this->getLang ('posterURL').':<br/>'.NL.
1532 …r" name="schd[posterURL]" type="text" value="'.$this->defaultSchedule->posterURL.'" placeholder="'…
1534 ' '.$this->getLang ('paperURL').':<br/>'.NL.
1535 …per" name="schd[paperURL]" type="text" value="'.$this->defaultSchedule->paperURL.'" placeholder="'…
1537 ' '.$this->getLang ('remark').':<br/>'.NL.
1538 …extarea class="paper" name="schd[remark]" placeholder="'.$this->getLang ('remarkPH').'">'.$this->d…
1540 ' '.$this->getLang ('rate').':<br/>'.NL.
1541 …ass="rate" name="schd[rate]" type="text" value="'.$this->defaultSchedule->rate.'" placeholder="'.$
1553 if ($this->defaultSchedule->where) {
1555 $cities = explode (',', $this->defaultSchedule->where);
1556 $lats = explode (',', $this->defaultSchedule->lat);
1557 $lons = explode (',', $this->defaultSchedule->lon);
1558 $addrs = explode ('|', $this->defaultSchedule->addr);
1568 $this->scheduleRoot->emptyIconUrl.'" onclick="scheduleRemoveCity (this)"/>'.
1574 …' <label>'.$this->getLang ('city').' :<br/></label><input name="city" type="text" placeholder…
1575 ' <span class="wrap_tip ">'.$this->getLang ('enterTip').'</span>'.NL.
1576 …' <label>'.$this->getLang ('addresse').' :<br/></label><input name="addr" type="text" placeho…
1577 ' <span class="wrap_tip ">'.$this->getLang ('enterTip').'</span>'.NL.
1581 if ($this->isAdmin ())
1583 …'<input type="button" value="'.$this->getLang ('add').'" onClick="javascript:scheduleAddInsee ()" …
1584 …'<input type="button" value="'.$this->getLang ('remove').'" onClick="javascript:scheduleRemoveInse…
1585 …'<input type="button" value="'.$this->getLang ('test').'" onClick="javascript:scheduleTestInsee ()…
1592 …$this->getLang ('from').' <input class="date" id="scheduleFrom" name="schd[from]" type="text" valu…
1593this->getLang ('to').' <input class="date" name="schd[to]" type="text" value="'.$this->scheduleRoo…
1594 …$this->getLang ('at').' <input class="hour" name="schd[at]" type="text" value="'.$this->defaultSch…
1595 $this->printRepeatForm ();
1601 ' <input type="hidden" name="schd[ns]" value="'.$this->nameSpace.'"/>'.NL.
1604 if ($this->printForm) {
1605 if ($this->defaultSchedule->id) {
1606 … ptln ('<input type="hidden" name="schd[id]" value="'.$this->defaultSchedule->id.'"/>');
1607 if (!$this->defaultSchedule->prop) {
1608 if (count ($this->getMembersSharedEvents ($this->defaultSchedule)) > 1)
1609 … ptln ('<input type="submit" name="schd[action]" value="'.$this->getLang ('modifyAll').'"/>');
1610 … ptln ('<input type="submit" name="schd[action]" value="'.$this->getLang ('modify').'"/> ');
1613 …ptln ('<input type="submit" name="schd[action]" value="'.$this->getLang ($this->defaultSchedule->p…
1615 if ($this->printProp) {
1616 … ptln ('<input type="submit" name="schd[action]" value="'.$this->getLang ('prop').'"/> ');
1640 $this->lastNotificationReset = date ('YmdHis');
1641 $this->scheduleRoot->writeConfig ($this);
1645 if ($this->lastNotification > $this->lastNotificationReset)
1651 $mailSubject = $this->getLang ('notifySubject');
1652 $mailContent = $this->getLang ('notifyContent');
1653 if (in_array (trim ($this->getConf ('adminGroup')), $userinfo ['grps'])) {
1658 $this->lastNotification = date ('YmdHis');
1659 $this->scheduleRoot->writeConfig ($this);