Lines Matching defs:changes
8 * Changes Plugin: List the most recent changes of the wiki
49 $this->Lexer->addSpecialPattern('\{\{changes>[^}]*\}\}', $mode, 'plugin_changes');
184 $changes = $this->getChanges(
194 if (!count($changes)) return true;
198 $this->renderSimpleList($changes, $renderer, $data['render-flags']);
201 $this->renderPageList($changes, $renderer, $data['render-flags']);
228 $changes = [];
268 $changes[] = $change;
274 // Date sort merged page and media changes
277 foreach ($changes as $change) {
280 array_multisort($dates, ($reverse ? SORT_ASC : SORT_DESC), $changes);
283 return $changes;
375 * @param $changes
379 protected function renderPageList($changes, $renderer, $flags)
386 foreach ($changes as $change) {
397 $this->renderSimpleList($changes, $renderer);
411 $renderer->doc .= '<h3 class="changes">';
422 * @param array $changes
426 protected function renderSimpleList($changes, $renderer, $flags = [])
433 $dayheaders_date = date('Ymd', $changes[0]['date']);
434 $this->dayheader($renderer, $changes[0]['date']);
438 foreach ($changes as $change) {