/plugin/bez/ctl/ |
H A D | start.php | 62 if ($thread->state == 'proposal') { 68 if ($thread->state == 'done') { 70 } elseif ($thread->state == 'closed') { 72 } elseif ($thread->state == 'rejected') { 92 if ($task->state == 'done') { 106 $filter = array('state' => 'proposal'); 112 $filter = array('state' => 'opened', 'coordinator' => $this->model->user_nick); 118 $filter = array('state' => 'opened', 'assignee' => $this->model->user_nick); 124 $filter = array('state' => 'opened', 'original_poster' => $this->model->user_nick); 130 $filter = array('state' [all...] |
/plugin/bez/db/ |
H A D | update0001.sql | 13 state TEXT NOT NULL DEFAULT 'proposal', -- proposal,opened,done,closed,rejected field 146 state TEXT NOT NULL DEFAULT 'opened', -- opened, done field 227 UPDATE OF thread_id, state 229 WHEN old.state = 'opened' AND new.state = 'done' 237 UPDATE OF thread_id, state 239 WHEN old.state = 'done' AND new.state = 'opened' 247 UPDATE OF thread_id, state 249 WHEN old.state [all...] |
H A D | update0002.sql | 4 UPDATE thread SET state='opened' WHERE state='done'; 12 CASE WHEN task.state = 'done' THEN NULL 30 CASE WHEN thread.state = 'proposal' THEN 0 31 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1 32 WHEN thread.state = 'opened' THEN 2 33 WHEN thread.state = 'closed' THEN 3 34 WHEN thread.state = 'rejected' THEN 4 END AS sort, 35 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done' 36 ELSE thread.state EN [all...] |
H A D | update0003.sql | 17 WHEN old.state = 'done'
|
H A D | update0005.sql | 1 UPDATE thread SET state='opened' WHERE state='done'
|
H A D | update0011.sql | 13 CASE WHEN thread.state = 'proposal' THEN 0 14 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1 15 WHEN thread.state = 'opened' THEN 2 16 WHEN thread.state = 'closed' THEN 3 17 WHEN thread.state = 'rejected' THEN 4 END AS sort, 18 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done' 19 ELSE thread.state END AS state,
|
H A D | update0013.sql | 15 CASE WHEN thread.state = 'proposal' THEN 0 16 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1 17 WHEN thread.state = 'opened' THEN 2 18 WHEN thread.state = 'closed' THEN 3 19 WHEN thread.state = 'rejected' THEN 4 END AS sort, 20 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done' 21 ELSE thread.state END AS state,
|
H A D | update0014.sql | 13 CASE WHEN thread.state = 'proposal' THEN 0 14 WHEN thread.state = 'opened' AND thread.task_count = 0 THEN 1 15 WHEN thread.state = 'opened' THEN 2 16 WHEN thread.state = 'closed' THEN 3 17 WHEN thread.state = 'rejected' THEN 4 END AS sort, 18 CASE WHEN thread.state = 'opened' AND thread.task_count > 0 AND thread.task_count = thread.task_count_closed THEN 'done' 19 ELSE thread.state END AS state,
|
/plugin/bez/mdl/ |
H A D | Task.php | 20 protected $state, $type; 43 'state', 'type', 110 $this->state = 'opened'; 204 $this->acl->grant('state', BEZ_PERMISSION_CHANGE); 229 $this->acl->grant('state', BEZ_PERMISSION_CHANGE); 235 if ($this->state == 'done') { 281 public function set_state($state) { 282 if ($this->acl_of('state') < BEZ_PERMISSION_CHANGE) { 286 if (!in_array($state, array('opened', 'done'))) { 291 if ($state 280 set_state($state) global() argument [all...] |
H A D | Task_commentFactory.php | 20 if ($task_comment->task->thread_id != '' && $task_comment->task->type != 'preventive' && $task_comment->task->thread->state == 'closed') { 73 if ($task_comment->task->thread_id != '' && $task_comment->task->type != 'preventive' && $task_comment->task->thread->state == 'closed') { 91 if ($obj->task->thread_id != '' && $obj->task->type != 'preventive' && $obj->task->thread->state == 'closed') {
|
H A D | Thread.php | 18 protected $type, $state; 32 'type', 'state', 80 $this->state = 'proposal'; 89 $this->state = 'opened'; 105 if ($this->state == 'proposal' && $this->original_poster == $this->model->user_nick) { 118 $this->acl->grant('state', BEZ_PERMISSION_CHANGE); 127 if (isset($data['coordinator']) && $this->state == 'proposal') { 128 $this->state = 'opened'; 139 public function set_state($state) { 140 if ($this->acl_of('state') < BEZ_PERMISSION_CHANG 17 protected $type, $state; global() variable in dokuwiki\\plugin\\bez\\mdl\\Thread 138 set_state($state) global() argument [all...] |
H A D | ThreadFactory.php | 112 COUNT(CASE WHEN state = 'proposal' THEN 1 END) AS proposal, 113 COUNT(CASE WHEN state = 'opened' THEN 1 END) AS opened, 114 COUNT(CASE WHEN state = 'done' THEN 1 END) AS done, 115 COUNT(CASE WHEN state = 'closed' THEN 1 END) AS closed, 116 COUNT(CASE WHEN state = 'rejected' THEN 1 END) AS rejected, 119 SUM(CASE WHEN state = 'closed' THEN task_sum_cost END) AS sum_closed, 120 (CASE WHEN state = 'closed' THEN 131 COUNT(CASE WHEN state = 'proposal' THEN 1 END) AS proposal, 132 COUNT(CASE WHEN state = 'opened' THEN 1 END) AS opened, 133 COUNT(CASE WHEN state [all...] |
/plugin/bez/struct/ |
H A D | BezType.php | 137 $fields[] = 'state'; 148 $state = $bez_db_helper->getLang('state_' . $row['state']); 149 $name .= ' (' . $state . ')';
|
/plugin/bez/syntax/ |
H A D | nav.php | 19 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
|
H A D | qlink.php | 20 function handle($match, $state, $pos, Doku_Handler $handler) { argument
|
H A D | query.php | 27 public function handle($match, $state, $pos, Doku_Handler $handler){ argument 28 switch ($state) { 30 return array($state, $match); 32 case DOKU_LEXER_UNMATCHED : return array($state, $match); 33 case DOKU_LEXER_EXIT : return array($state, ''); 42 list($state,$match) = $data; 43 switch ($state) {
|
H A D | struct.php | 49 * @param int $state The state of the handler 54 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
|
/plugin/bez/tpl/ |
H A D | 8d.php | 7 return $task->state == 'done'; 11 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected') $D++ ?> 80 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected'): ?> 105 <?php if ($tpl->get('thread')->state == 'closed' || $tpl->get('thread')->state == 'rejected'): ?>
|
H A D | 8d_tasks.php | 4 <th><?php echo $tpl->getLang('state') ?></th> 18 <td><?php echo lcfirst($tpl->getLang('task_' . $task->state)) ?></td> 36 <?php if ($task->state == 'opened'): ?>
|
H A D | 8d_tasks_no_closing.php | 4 <th><?php echo $tpl->getLang('state') ?></th> 17 <td><?php echo lcfirst($tpl->getLang('task_' . $task->state)) ?></td>
|
H A D | kp.php | 51 <?php if ($tpl->get('thread')->state == 'closed'): ?> 61 <strong><?php echo $tpl->getLang('state') ?>:</strong> 62 <?php echo $tpl->getLang('state_' . $tpl->get('thread')->state) ?>
|
H A D | task.php | 5 if ($tpl->get('task')->thread->state == 'opened') { 23 (<?php echo $tpl->getLang('state_' . $tpl->get('task')->thread->state) ?>): 65 <?php if ($tpl->get('task')->state == 'done'): ?>
|
H A D | task_box.php | 6 if($tpl->get('task')->state == 'opened') { 17 <?php if ($tpl->get('task')->state != 'opened'): ?> 20 <strong><?php echo $tpl->getLang('task_' . $tpl->get('task')->state) ?>:</strong> 38 (<?php echo lcfirst($tpl->getLang('task_' . $tpl->get('task')->state)) ?>) 127 <?php if ($tpl->get('task')->acl_of('state') >= BEZ_PERMISSION_CHANGE): ?> 131 <?php if ($tpl->get('task')->state == 'opened'): ?>
|
H A D | task_comment_box.php | 33 $tpl->get('task')->state == 'opened' &&
|
H A D | task_comment_form.php | 35 <?php if ($tpl->get('task')->state == 'opened'): ?> 40 <?php if ($tpl->param('zkid') == '' && $tpl->get('task')->acl_of('state') >= BEZ_PERMISSION_CHANGE): ?> 41 <?php if ($tpl->get('task')->state == 'opened'): ?>
|