summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-10 21:23:57 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-10 21:23:57 -0700
commit68fd196d66e2d21f571ff3b5a673f18cd129abf9 (patch)
tree754bf32ba32591e043b67ec08e1fa96a9ced9214 /modules/gallery/controllers
parentcf9e3db32e7c7f52e92fabc1afca63fdbf741b21 (diff)
Rename theme_details to theme_options everywhere.
Fixes ticket #317
Diffstat (limited to 'modules/gallery/controllers')
-rw-r--r--modules/gallery/controllers/admin_theme_options.php (renamed from modules/gallery/controllers/admin_theme_details.php)6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/controllers/admin_theme_details.php b/modules/gallery/controllers/admin_theme_options.php
index 97696df5..2716ed93 100644
--- a/modules/gallery/controllers/admin_theme_details.php
+++ b/modules/gallery/controllers/admin_theme_options.php
@@ -17,10 +17,10 @@
* 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_Theme_Details_Controller extends Admin_Controller {
+class Admin_Theme_Options_Controller extends Admin_Controller {
public function index() {
$view = new Admin_View("admin.html");
- $view->content = new View("admin_theme_details.html");
+ $view->content = new View("admin_theme_options.html");
$view->content->form = theme::get_edit_form_admin();
print $view;
}
@@ -58,7 +58,7 @@ class Admin_Theme_Details_Controller extends Admin_Controller {
module::set_var("gallery", "footer_text", $form->edit_theme->footer_text->value);
message::success(t("Updated theme details"));
- url::redirect("admin/theme_details");
+ url::redirect("admin/theme_options");
} else {
$view = new Admin_View("admin.html");
$view->content = $form;