Lines Matching refs:status
75 $status = $this->_getStatus($user, $sn);
112 $this->_tablerow('status', $status, $renderer);
158 function _getStatus($user, &$status) { argument
162 $status = $this->task['status'];
166 $ret = $this->_statusMenu(array(-1, 0, 1, 2, 3, 4), $status);
168 if ($status < 3) $ret = $this->_statusMenu(array(-1, 0, 1, 2, 3), $status);
170 if ($status == 0) {
171 $ret = $this->_statusMenu(array(0, 1), $status);
172 } elseif ($status == 3) {
173 $ret = $this->_statusMenu(array(2, 3, 4), $status);
177 if (!$ret && $this->my) $ret = $this->my->statusLabel($status);
179 return '<abbr class="status" title="'.$this->my->_vstatus($status).'">'. $ret .'</abbr>';
186 function _statusMenu($options, $status) { argument
188 return $this->_statusMenuNew($options, $status);
190 return $this->_statusMenuOld($options, $status);
200 function _statusMenuNew($options, $status) { argument
217 if ($status == $option) {
239 function _statusMenuOld($options, $status) { argument
251 if ($status == $option) $ret .= ' selected="selected"';