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
This commit is contained in:
Ingo Schommer 2010-10-15 01:48:41 +00:00
parent 2a919067a6
commit f305b7be61

View File

@ -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;
}