newVersion( basename(__DIR__), dcCore::app()->plugins->moduleInfo(basename(__DIR__), 'version') )) { return null; } $s = dcCore::app()->blog->settings->get(basename(__DIR__)); $s->put('enable', false, 'boolean', 'Enable comListe', false, true); $s->put('page_title', 'Comments list', 'string', 'Public page title', false, true); $s->put('nb_comments_per_page', 10, 'integer', 'Number of comments per page', false, true); $s->put('comments_order', 'desc', 'string', 'Comments order', false, true); return true; } catch (Exception $e) { dcCore::app()->error->add($e->getMessage()); } return false;