Exemple #1
0
 /**
  * Returns ticket reply form if ticket state is open
  * 
  * @param int $ticketid
  * @return string
  */
 function zbs_TicketReplyForm($ticketid)
 {
     $ticketid = vf($ticketid);
     $ticketdata = zbs_TicketGetData($ticketid);
     if ($ticketdata['status'] == 0) {
         $inputs = la_TextArea('replyticket', '', '', true, '60x10');
         $inputs .= la_Submit(__('Post'));
         $result = la_Form('', 'POST', $inputs, '');
     } else {
         $result = __('Closed');
     }
     return $result;
 }
Exemple #2
0
 /**
  * returns signup notes input
  * 
  * @return string
  */
 protected function notesInput()
 {
     $result = la_TextArea('notes', __('Notes'), '', false, '50x5');
     return $result;
 }