Exemplo n.º 1
0
 function formatThreadField($field, $threadid)
 {
     if (!is_object($threadid)) {
         $t = Threads::withId($threadid);
     } else {
         $t = $threadid;
         $threadid = $t->id();
     }
     $out = Html::hidden($field, $threadid);
     $out .= LqtView::permalink($t);
     return $out;
 }
 function getFormFields()
 {
     $splitForm = array('src' => array('type' => 'info', 'label-message' => 'lqt-thread-split-thread', 'default' => LqtView::permalink($this->mThread), 'raw' => 1), 'subject' => array('type' => 'text', 'label-message' => 'lqt-thread-split-subject'), 'reason' => array('label-message' => 'movereason', 'type' => 'text'));
     return $splitForm;
 }