@@ 87-93 (lines=7) @@ | ||
84 | $tmpl->addVar('WholeBoard', 'CALENDAR_BODY', $cal->get_monthly_html("$mod_url/index.php")); |
|
85 | ||
86 | // legends of long events |
|
87 | foreach ($cal->long_event_legends as $bit => $legend) { |
|
88 | $tmpl->addVar('LongEventLegends', 'BIT_MASK', 1 << ($bit - 1)); |
|
89 | $tmpl->addVar('LongEventLegends', 'LEGEND_ALT', _APCAL_MB_ALLDAY_EVENT . " $bit"); |
|
90 | $tmpl->addVar('LongEventLegends', 'LEGEND', $legend); |
|
91 | $tmpl->addVar('LongEventLegends', 'SKINPATH', $cal->images_url); |
|
92 | $tmpl->parseTemplate('LongEventLegends', 'a'); |
|
93 | } |
|
94 | ||
95 | // content generated from PatTemplate |
|
96 | $block['content'] = $tmpl->getParsedTemplate('WholeBoard'); |
@@ 1180-1186 (lines=7) @@ | ||
1177 | $tmpl->addVar('WholeBoard', 'CALENDAR_BODY', $this->get_monthly_html($get_target, $query_string, $for_print)); |
|
1178 | ||
1179 | // legends of long events |
|
1180 | foreach ($this->long_event_legends as $bit => $legend) { |
|
1181 | $tmpl->addVar('LongEventLegends', 'BIT_MASK', 1 << ($bit - 1)); |
|
1182 | $tmpl->addVar('LongEventLegends', 'LEGEND_ALT', _APCAL_MB_ALLDAY_EVENT . " $bit"); |
|
1183 | $tmpl->addVar('LongEventLegends', 'LEGEND', $legend); |
|
1184 | $tmpl->addVar('LongEventLegends', 'SKINPATH', $this->images_url); |
|
1185 | $tmpl->parseTemplate('LongEventLegends', 'a'); |
|
1186 | } |
|
1187 | ||
1188 | // �����Υߥ˥������� |
|
1189 | // $this->caldate �ΥХå����å� |