public function collection($id = null)
{
if (!$this->app->module("auth")->hasaccess("Collections", 'manage.collections')) {
return false;
}
$locales = $this->app->db->getKey("cockpit/settings", "cockpit.locales", []);
return $this->render("collections:views/collection.php", compact('id', 'locales'));
}