summaryrefslogtreecommitdiff
path: root/modules/akismet/helpers
diff options
context:
space:
mode:
authorjhilden <jakobhilden@gmail.com>2009-06-04 21:32:45 -0400
committerjhilden <jakobhilden@gmail.com>2009-06-04 21:32:45 -0400
commit81d20c79b6c17a3c395d74da9aa995b24fd06810 (patch)
treec722b6514e4adca2a8ac6efd285a1d89bcc66c82 /modules/akismet/helpers
parent8933a19f1fb56378c1be68bd82c91a577fece87d (diff)
parent5158a6f4339ee85b928e6bd33a937a24f91f8bc2 (diff)
fixed another bug with the filesize unit and added a better error message
Merge branch 'master' of git@github.com:gallery/gallery3 Conflicts: modules/gallery/views/simple_uploader.html.php
Diffstat (limited to 'modules/akismet/helpers')
-rw-r--r--modules/akismet/helpers/akismet_menu.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/akismet/helpers/akismet_menu.php b/modules/akismet/helpers/akismet_menu.php
index ebd948d6..2862fd40 100644
--- a/modules/akismet/helpers/akismet_menu.php
+++ b/modules/akismet/helpers/akismet_menu.php
@@ -26,6 +26,12 @@ class akismet_menu_Core {
->url(url::site("admin/akismet")));
if (module::get_var("akismet", "api_key")) {
+ if (!$statistics_menu = $menu->get("statistics_menu")) {
+ $menu->append(Menu::factory("submenu")
+ ->id("statistics_menu")
+ ->label(t("Statistics")));
+ }
+
$menu->get("statistics_menu")
->append(Menu::factory("link")
->id("akismet")