diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-29 20:02:30 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-29 20:02:30 +0000 |
commit | 7ae004f76fafa3f0d31b39c45505e66d9be9b8cf (patch) | |
tree | d43673ba9d334d7467093309c727a76eaa029afb /modules/rearrange/controllers | |
parent | 70de32ebb48df84080f180e41703bb0064093ba1 (diff) |
The gui part of rearranging albums and photos on the welcome page. Haven't finished the ajax back end to actually do the move, but thought i'd put the gui up so people can play
Diffstat (limited to 'modules/rearrange/controllers')
-rw-r--r-- | modules/rearrange/controllers/rearrange.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/rearrange/controllers/rearrange.php b/modules/rearrange/controllers/rearrange.php index d5cebd4a..a04cc158 100644 --- a/modules/rearrange/controllers/rearrange.php +++ b/modules/rearrange/controllers/rearrange.php @@ -21,13 +21,11 @@ class Rearrange_Controller extends REST_Controller { protected $resource_type = "item"; public function _show($item) { - throw new Exception("@todo Rearrange_Controller::_show NOT IMPLEMENTED"); + print rearrange::get_html($item)->render(); } public function _index() { - // @todo: represent this in different formats - $root = ORM::factory("item", 1); - $this->_show($root); + print rearrange::get_html()->render(); } public function _form_add($item_id) { |