Lines Matching refs:ret

349         $ret = 'BEGIN:VTODO'.CRLF.
354 $ret .= 'DESCRIPTION:'.$this->_vsc($meta['description']['abstract']).CRLF;
356 $ret .= 'CATEGORIES:'.$this->_vcategories($meta['subject']).CRLF;
358 $ret .= 'CREATED:'.$this->_vdate($task['date']['created']).CRLF;
360 $ret .= 'LAST-MODIFIED:'.$this->_vdate($task['date']['modified']).CRLF;
362 $ret .= 'DUE:'.$this->_vdate($task['date']['due']).CRLF;
364 $ret .= 'COMPLETED:'.$this->_vdate($task['date']['completed']).CRLF;
365 if ($task['user']) $ret .= 'ORGANIZER;CN="'.$this->_vsc($task['user']['name']).'":'.
367 $ret .= 'STATUS:'.$this->_vstatus($task['status']).CRLF;
369 $ret .= 'PRIORITY:'.(7 - ($task['priority'] * 2)).CRLF;
370 $ret .= 'CLASS:'.$this->_vclass($id).CRLF.
372 return $ret;
524 $ret = '<div class="newtask_form">';
525 $ret .= $form->toHTML();
526 $ret .= '</div>';
528 return $ret;
540 $ret = '<div class="newtask_form">';
541 …$ret .= '<form id="task__newtask_form" method="post" action="'.script().'" accept-charset="'.$lan…
542 $ret .= '<fieldset>';
543 $ret .= '<legend> '.$this->getLang('newtask').': </legend>';
544 $ret .= '<input type="hidden" name="id" value="'.$ID.'" />';
545 $ret .= '<input type="hidden" name="do" value="newtask" />';
546 $ret .= '<input type="hidden" name="ns" value="'.$ns.'" />';
547 …$ret .= '<input class="edit" type="text" name="title" id="task__newtask_title" size="40" tabindex=…
548 $ret .= '<table class="blind"><tr>';
552 $ret .= '<th>'.$this->getLang('user').':</th>';
553 …$ret .= '<td><input type="text" name="user" value="'.hsc($INFO['userinfo']['name']).'" class="edit…
556 $ret .= '<th>'.$this->getLang('user').':</th>';
557 $ret .= '<td><select name="user">';
563 …$ret .= '<option' . ($curr_user['name'] == $INFO['userinfo']['name'] ? ' selected="selected"' : ''…
566 $ret .= '</select></td>';
569 $ret .= '</tr>';
571 $ret .= '<tr><th>'.$this->getLang('date').':</th>';
572 …$ret .= '<td><input type="text" name="date" value="'.date('Y-m-d').'" class="edit" tabindex="3" />…
574 $ret .= '<tr><th>'.$this->getLang('priority').':</th><td>';
575 $ret .= '<select name="priority" size="1" tabindex="4" class="edit">';
576 $ret .= '<option value="" selected="selected">'.$this->getLang('low').'</option>';
577 $ret .= '<option value="!">'.$this->getLang('medium').'</option>';
578 $ret .= '<option value="!!">'.$this->getLang('high').'</option>';
579 $ret .= '<option value="!!!">'.$this->getLang('critical').'</option>';
580 $ret .= '</select>';
581 $ret .= '</td></tr></table>';
582 … $ret .= '<input class="button" type="submit" value="'.$lang['btn_create'].'" tabindex="5" />';
583 $ret .= '</fieldset></form></div>'.DOKU_LF;
584 return $ret;