title); $action = "file/save"; $title = $vars['entity']->title; $description = $vars['entity']->description; $tags = $vars['entity']->tags; if ($known_page_owner instanceof ElggGroup) { $pubtime = $vars['entity']->pubtime; if ($pubtime) { $access_id = $vars['entity']->future_acl; } else { $access_id = $vars['entity']->access_id; } } else { $access_id = $vars['entity']->access_id; } } else { $title = elgg_echo("blog:addpost"); $action = "file/upload"; $tags = ""; $title = ""; $description = ""; if (defined('ACCESS_DEFAULT')) $access_id = ACCESS_DEFAULT; else $access_id = 0; // Koolielu override if ($known_page_owner && ($known_page_owner instanceof ElggGroup)) { $access_id = $known_page_owner->group_acl; } $pubtime = ""; } ?>

".elgg_echo("koolielu:file:publish_date")."
"; /*translation:Publish date should be a date in future. If you choose to select some date, then file will be set as private. On selected date file will regain the real permission. Leave this empty if you want your file to be availabel right away.*/ echo "".elgg_echo("koolielu:file:publish_date_explanation")."
"; echo elgg_view("input/ke_calendar", array('internalname' => 'pubtime', 'value' => $pubtime)); } ?>

"; if (isset($vars['entity'])) echo "getGUID()}\" />"; ?> " />