1
0

Corrected capitalization on admin menu and added recaptcha overload to use recaptcha in the ecard form.

This commit is contained in:
dmolavi 2010-08-22 09:18:43 +08:00 committed by Bharat Mediratta
parent f2739d28f7
commit 22ac986ab0
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
<?php defined("SYSPATH") or die("No direct script access."); /** * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2010 Bharat Mediratta * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class recaptcha_event extends recaptcha_event_Core { static function ecard_send_form($form) { if (module::get_var("recaptcha", "public_key")) { $form->send_ecard->recaptcha("recaptcha")->label("")->id("g-recaptcha"); } } }

View File

@ -22,7 +22,7 @@ class ecard_event_Core {
$menu->get("settings_menu") $menu->get("settings_menu")
->append(Menu::factory("link") ->append(Menu::factory("link")
->id("ecard") ->id("ecard")
->label(t("eCard Settings")) ->label(t("eCard settings"))
->url(url::site("admin/ecard"))); ->url(url::site("admin/ecard")));
} }