mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-22 17:29:57 -04:00
Normalize capitalization ticket #596
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
class comment_block_Core {
|
||||
static function get_admin_list() {
|
||||
return array("recent_comments" => t("Recent Comments"));
|
||||
return array("recent_comments" => t("Recent comments"));
|
||||
}
|
||||
|
||||
static function get($block_id) {
|
||||
@@ -27,7 +27,7 @@ class comment_block_Core {
|
||||
switch ($block_id) {
|
||||
case "recent_comments":
|
||||
$block->css_id = "g-recent-comments";
|
||||
$block->title = t("Recent Comments");
|
||||
$block->title = t("Recent comments");
|
||||
$block->content = new View("admin_block_recent_comments.html");
|
||||
$block->content->comments =
|
||||
ORM::factory("comment")->orderby("created", "DESC")->limit(5)->find_all();
|
||||
|
||||
Reference in New Issue
Block a user