mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
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:
parent
4182cd4709
commit
694a47f245
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user