$vars['entity']->getOwnerEntity(), 'size' => 'tiny'));
?>
getOwnerEntity()->getURL()."\">".$vars['entity']->getOwnerEntity()->name."";
$num_comments = elgg_count_comments($vars['entity']);
/*translation:Added by*/
echo elgg_echo("koolielu:Added_by") . $owner_link . "
" . date("d.m.Y",$vars['entity']->time_created);
echo " " . "getURL() ."\">" . elgg_echo("comments") . " (" . $num_comments . ")" . "";
?>
tags;
if ($news_tags) {
echo "
";
echo elgg_view('output/tags', array('tags' => $news_tags, 'preffered_url' => $CONFIG->wwwroot . "pg/info/news"));
echo "
";
}
?>
subjects;
if ($news_subjects) {
echo "
";
echo elgg_view("output/profile_subjects", array("value" => $vars['entity']->subjects));
echo "
";
}
?>
categories;
if ($news_categories) {
echo "
";
echo elgg_view("output/newscategories_output", array("value" => $news_categories));
echo "
";
}
?>
getGUID() . ".jpg", $vars['entity']->getOwner())) {
echo "
getGUID() . ".jpg", $vars['entity']->getOwner()) . "\" />";
}?>
$vars['entity']->shortdescription));
echo elgg_view('output/longtext', array('value' => $vars['entity']->description));
?>
canEdit()) {
?>
";
echo elgg_view("output/confirmlink", array(
'href' => $vars['url'] . "action/info/delete_news?news=" . $vars['entity']->getGUID(),
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm'),
));
echo "";
// Allow menu to be extended
echo elgg_view("editmenu", array('entity' => $vars['entity']));
?>
approved == 0)) {
?>
deadline || ($vars['entity']->deadline < time())) {
if (isEditor() && ($vars['entity']->approved == 1) && ($vars['entity']->frontpage != 1)) {
echo "";
echo elgg_view("output/confirmlink", array(
'href' => $vars['url'] . "action/info/frontpage_news?entity_guid=" . $vars['entity']->getGUID() . "&frontpage=true",
/*translation:Display in front page*/
'text' => elgg_echo('koolielu:display_in_front'),
/*translation:Are you sure you want to display this news in front page?*/
'confirm' => elgg_echo('koolielu:confirmation_display_in_frontpage'),
));
echo "";
} else if (isEditor() && ($vars['entity']->approved == 1) && ($vars['entity']->frontpage == 1)) {
/*translation:Remove from front page*/
echo ("getGUID()}\">". elgg_echo('koolielu:link_remove_from_frontpage') ."");
}
}
?>