Lines Matching refs:todo
174 $opts['pattern'] = '/<todo([^>]*)>(.*?)<\/todo[\W]*?>/'; //all todos in a wiki page
277 // Always return the todo pages
279 // Only return the todo page if it's in the root namespace
340 $todo = array_merge(array('todotitle' => trim($page['matches'][2][$todoindex]), 'todoindex' => $todoindex), $this->parseTodoArgs($todomatch), $data);
342 if($this->isRequestedTodo($todo)) {
343 $todos[] = $todo;
357 $done = 0; $todo = 0;
360 $todo++;
367 $R->cdata("($done/$todo)");
388 foreach($page['todos'] as $todo) {
389 if(empty($todo['todotitle']))
391 $todo['todotitle'] = '<no title>';
395 $R->doc .= $this->createTodoItem($R, $page['id'], array_merge($todo, $data));