$form = false; // The form is available only if logged in.␊ |
$starred = false;␊ |
$closed = in_array($issue->status, $prj->getTagIdsByStatus('closed'));␊ |
$interested = $issue->get_interested_list();␊ |
if (!$request->user->isAnonymous()) {␊ |
$starred = Pluf_Model_InArray($request->user, $issue->get_interested_list());␊ |
$params = array(␊ |
|
array($prj->shortname, $issue->id));␊ |
$request->user->setMessage(sprintf(__('<a href="%s">Issue %d</a> has been updated.'), $urlissue, $issue->id));␊ |
// Get the list of interested person + owner + submitter␊ |
$interested = $issue->get_interested_list();␊ |
if (!Pluf_Model_InArray($issue->get_submitter(), $interested)) {␊ |
$interested[] = $issue->get_submitter();␊ |
}␊ |
|
'starred' => $starred,␊ |
'page_title' => $title,␊ |
'closed' => $closed,␊ |
'interested' =>$interested->count(),␊ |
),␊ |
$arrays),␊ |
$request);␊ |