diff options
-rw-r--r-- | core/controllers/admin_theme_details.php (renamed from core/controllers/admin_themedetails.php) | 4 | ||||
-rw-r--r-- | core/helpers/core_menu.php | 4 | ||||
-rw-r--r-- | core/helpers/theme.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/core/controllers/admin_themedetails.php b/core/controllers/admin_theme_details.php index 347c0911..6ef28ef9 100644 --- a/core/controllers/admin_themedetails.php +++ b/core/controllers/admin_theme_details.php @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -class Admin_Themedetails_Controller extends Admin_Controller { +class Admin_Theme_Details_Controller extends Admin_Controller { public function index() { $view = new Admin_View("admin.html"); $view->content = theme::get_edit_form_admin(); @@ -31,7 +31,7 @@ class Admin_Themedetails_Controller extends Admin_Controller { module::set_var("core", "thumb_size", $form->edit_theme->thumb_size->value); module::set_var("core", "resize_size", $form->edit_theme->resize_size->value); message::success(t("Updated theme details")); - url::redirect("admin/themedetails"); + url::redirect("admin/theme_details"); } else { $view = new Admin_View("admin.html"); $view->content = $form; diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php index 0fbf59d5..cbd417fa 100644 --- a/core/helpers/core_menu.php +++ b/core/helpers/core_menu.php @@ -39,7 +39,7 @@ class core_menu_Core { ->id("edit_item") ->label($item->type == "album" ? t("Edit album") : t("Edit photo")) ->url(url::site("form/edit/{$item->type}s/$item->id")))); - + // @todo Move album options menu to the album quick edit pane // @todo Create resized item quick edit pane menu if ($item->type == "album") { @@ -129,7 +129,7 @@ class core_menu_Core { ->append(Menu::factory("link") ->id("theme_details") ->label(t("Theme Details")) - ->url(url::site("admin/themedetails")))) + ->url(url::site("admin/theme_details")))) ->append(Menu::factory("submenu") ->id("users_groups_menu") ->label(t("Users/Groups"))) diff --git a/core/helpers/theme.php b/core/helpers/theme.php index 174c5fbc..322468d5 100644 --- a/core/helpers/theme.php +++ b/core/helpers/theme.php @@ -39,7 +39,7 @@ class theme_Core { } static function get_edit_form_admin() { - $form = new Forge("admin/themedetails/save/", "", null, array("id" =>"gThemeDetailsForm")); + $form = new Forge("admin/theme_details/save/", "", null, array("id" =>"gThemeDetailsForm")); $group = $form->group("edit_theme"); $group->input("page_size")->label(t("Items per page"))->id("gPageSize")-> rules('required|valid_digit')-> |