From 694a47f245ce0e828607b647cfcf4741fc7623df Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 20 May 2010 07:28:12 +0000 Subject: [PATCH] MINOR missing slash / from Requirements::css() parameter git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@105270 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 97c95767..8e49430f 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -24,8 +24,7 @@ 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'; @@ -33,7 +32,7 @@ class CommentAdmin extends LeftAndMain { parent::init(); Requirements::javascript(CMS_DIR . '/javascript/CommentAdmin_right.js'); - 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; }