diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-23 08:32:00 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-23 08:32:00 +0000 |
commit | 0a025c984d44098bb053621fdb217185734b0c1a (patch) | |
tree | dd5335302871a1a213e32f21250a2e0f538a3560 /core/helpers | |
parent | 4cd73a81ed0124ca036c6bf87bb113a0114630cc (diff) |
Minor tweaks
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/theme.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/helpers/theme.php b/core/helpers/theme.php index 586ca0cf..a2766028 100644 --- a/core/helpers/theme.php +++ b/core/helpers/theme.php @@ -39,8 +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/themedetails/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')-> @@ -51,9 +50,9 @@ class theme_Core { $group->input("resize_size")->label(t("Resized image size (in pixels)"))->id("gResizeSize")-> rules('required|valid_digit')-> value(module::get_var("core", "resize_size")); - $group->submit("")->value(t("Modify Theme")); + $group->submit("")->value(t("Save")); return $form; - } + } static function get_edit_form_content($theme_name) { $file = THEMEPATH . $theme_name . "/theme.info"; |