diff --git a/code/CMSMain.php b/code/CMSMain.php index 35028f8c..9adc4ef2 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1311,7 +1311,7 @@ JS; 'CMSMain.ACCESS', "Access to %s", PR_MEDIUM, - "Item in permission selection identifying the admin section, with title and classname. Example: Access to Files & Images" + "Item in permission selection identifying the admin section. Example: Access to 'Files & Images'" ), $title, null), 'category' => _t('Permission.CMS_ACCESS_CATEGORY', 'CMS Access') ); diff --git a/code/CommentAdmin.php b/code/CommentAdmin.php index 3e7b4df5..8c2cd112 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -85,6 +85,9 @@ class CommentAdmin extends LeftAndMain { $idField = new HiddenField('ID', '', $section); $table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter)); $table->setParentClass(false); + $table->setFieldCasting(array( + 'Created' => 'SSDatetime->Nice' + )); $fields = new FieldSet( new TabSet( 'Root',