summaryrefslogtreecommitdiff
path: root/core/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-11 22:14:44 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-11 22:14:44 +0000
commitb98f498ed652f10ffc6dbdd1f7305ff9ec262f74 (patch)
treea8873f5db4a8916ccfd63fd5ab201148357fad97 /core/controllers
parent46b976819db700343289dc5f40dea3ac4f482458 (diff)
Change admin/graphics to avoid using radio buttons. Instead, when you
hover over a toolkit it changes color and your cursor becomes a pointer. Clicking changes the toolkit.
Diffstat (limited to 'core/controllers')
-rw-r--r--core/controllers/admin_graphics.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/controllers/admin_graphics.php b/core/controllers/admin_graphics.php
index babad3d4..ba1c7569 100644
--- a/core/controllers/admin_graphics.php
+++ b/core/controllers/admin_graphics.php
@@ -26,9 +26,8 @@ class Admin_Graphics_Controller extends Admin_Controller {
print $view;
}
- public function save() {
+ public function choose($toolkit) {
access::verify_csrf();
- $toolkit = $this->input->post("graphics_toolkit");
if ($toolkit != module::get_var("core", "graphics_toolkit")) {
module::set_var("core", "graphics_toolkit", $toolkit);