From f305b7be6133b74229d5d0456aa89584692d4dd0 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 01:48:41 +0000 Subject: [PATCH] MINOR missing slash / from Requirements::css() parameter (from r105270) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112465 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CommentAdmin.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/code/CommentAdmin.php b/code/CommentAdmin.php index 77799efc..ad7c0fa5 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -24,15 +24,14 @@ class CommentAdmin extends LeftAndMain { ); /** - * the number of comments per page for the {@see CommentTable} in this admin - * defaulted 20. + * @var int The number of comments per page for the {@link CommentTable} in this admin. */ static $comments_per_page = '20'; public function init() { parent::init(); - Requirements::css(CMS_DIR . 'css/CommentAdmin.css'); + Requirements::css(CMS_DIR . '/css/CommentAdmin.css'); } public function showtable($params) { @@ -301,19 +300,15 @@ JS; } /** - * Set CommentAdmin::comments_per_page * @param $num int - */ - + */ function set_comments_per_page($num){ self::$comments_per_page = $num; } /** - * Get CommentAdmin::comments_per_page * @return int */ - function get_comments_per_page(){ return self::$comments_per_page; }