mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
2a919067a6
commit
f305b7be61
@ -24,15 +24,14 @@ 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';
|
||||||
|
|
||||||
public function init() {
|
public function init() {
|
||||||
parent::init();
|
parent::init();
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user