diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-28 07:15:00 +0800 |
|---|---|---|
| committer | Gallery Role Account <gallery@menalto.com> | 2009-05-28 11:07:09 +0800 |
| commit | 4eedf804e1f26d95de6803e48c608d893c53b7d0 (patch) | |
| tree | 6bd8b55bca9568d2abc65a63bd17bcfe928e7285 /modules/gallery/controllers/albums.php | |
| parent | 3413fe6bfd423d45d083ff4ed62c0f72c2cc272f (diff) | |
Update all references to the core application to now point to the
gallery module. This type of mass update is prone to some small bugs.
Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'modules/gallery/controllers/albums.php')
| -rw-r--r-- | modules/gallery/controllers/albums.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index 5b4d5979..03a64f43 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -32,7 +32,7 @@ class Albums_Controller extends Items_Controller { } } - $page_size = module::get_var("core", "page_size", 9); + $page_size = module::get_var("gallery", "page_size", 9); $show = $this->input->get("show"); if ($show) { @@ -114,7 +114,7 @@ class Albums_Controller extends Items_Controller { } else { print json_encode( array("result" => "error", - "form" => $form->__toString() . html::script("core/js/albums_form_add.js"))); + "form" => $form->__toString() . html::script("gallery/js/albums_form_add.js"))); } } @@ -206,7 +206,7 @@ class Albums_Controller extends Items_Controller { switch ($this->input->get("type")) { case "album": print album::get_add_form($album) . - html::script("core/js/albums_form_add.js"); + html::script("gallery/js/albums_form_add.js"); break; case "photo": |
