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
This commit is contained in:
Ingo Schommer 2010-05-20 07:28:12 +00:00 committed by Sam Minnee
parent 4182cd4709
commit 694a47f245

View File

@ -24,8 +24,7 @@ class CommentAdmin extends LeftAndMain {
); );
/** /**
* the number of comments per page for the {@see CommentTable} in this admin * @var int The number of comments per page for the {@link CommentTable} in this admin.
* defaulted 20.
*/ */
static $comments_per_page = '20'; static $comments_per_page = '20';
@ -33,7 +32,7 @@ class CommentAdmin extends LeftAndMain {
parent::init(); parent::init();
Requirements::javascript(CMS_DIR . '/javascript/CommentAdmin_right.js'); 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) { public function showtable($params) {
@ -301,19 +300,15 @@ JS;
} }
/** /**
* Set CommentAdmin::comments_per_page
* @param $num int * @param $num int
*/ */
function set_comments_per_page($num){ function set_comments_per_page($num){
self::$comments_per_page = $num; self::$comments_per_page = $num;
} }
/** /**
* Get CommentAdmin::comments_per_page
* @return int * @return int
*/ */
function get_comments_per_page(){ function get_comments_per_page(){
return self::$comments_per_page; return self::$comments_per_page;
} }