$vars['entity']));
}
?>
'.$vars['entity']->title.'';
$added_date = date("d.m.Y", $vars['entity']->time_created);
$owner_link = " getOwnerEntity()->getURL()."\">".$vars['entity']->getOwnerEntity()->name."";
/*translation:Added by*/
echo "
" . elgg_echo("koolielu:Added_by") . $owner_link. "
";
echo "" . $added_date . "
";
echo autop($vars['entity']->description);
$m = "";
if ($vars['entity']->place) {
/*translation:Place*/
$m = "". $vars['entity']->place ."
";
}
if ($vars['entity']->beginning_date) {
/*translation:Beginning date*/
$m .= "". timestampIntoDate($vars['entity']->beginning_date) ."
";
}
if ($vars['entity']->ending_date) {
/*translation:Ending date*/
$m .= "". timestampIntoDate($vars['entity']->ending_date) ."
";
}
if ($vars['entity']->contact_person) {
/*translation:Contact person*/
$m .= "". $vars['entity']->contact_person ."
";
}
if ($vars['entity']->telephone) {
/*translation:Telephone*/
$m .= "". $vars['entity']->telephone ."
";
}
if ($vars['entity']->email) {
/*translation:Email*/
$m .= "". $vars['entity']->email ."
";
}
if ($vars['entity']->subjects) {
/*translation:Subjects*/
$m .= "";
if (is_array($vars['entity']->subjects)) {
$ct = array();
foreach ( $vars['entity']->subjects as $cso ) {
$ct[] = getSubject($cso)->title;
}
$m .= join($ct, ", ");
} else {
$cob = getSubject($vars['entity']->subjects, "title");
$m .= $cob->title;
}
$m .= "
";
}
echo $m; ?>
canEdit()) {
echo "";
$editbuttonview = elgg_view('input/submit', array('internalname' => 'editbutton', 'value' => elgg_echo('edit')));
$editbuttonview .= elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
echo elgg_view("input/form", array("action" => "{$CONFIG->wwwroot}action/poster/goedit", "body" => $editbuttonview));
$delbuttonview = "";
$delbuttonview .= elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
echo elgg_view("input/form", array("action" => "{$CONFIG->wwwroot}action/poster/delete_job_ad", "body" => $delbuttonview, "internalname" => "delform"));
echo "
";
}
?>
approved == 0)
echo elgg_view('koolielu/ke_review_object', array('action' => 'poster/review_object', 'entity' => $vars['entity']));
}
?>