From df51ea7fa4977922a73af8b7219fff62031f52d4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 28 May 2009 00:06:38 -0700 Subject: Fix broken html::script() and url::file() references to the newly moved gallery module. --- modules/gallery/controllers/albums.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/gallery/controllers') diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index 03a64f43..5ccadb37 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -113,8 +113,9 @@ class Albums_Controller extends Items_Controller { "resource" => url::site("albums/$new_album->id"))); } else { print json_encode( - array("result" => "error", - "form" => $form->__toString() . html::script("gallery/js/albums_form_add.js"))); + array( + "result" => "error", + "form" => $form->__toString() . html::script("modules/gallery/js/albums_form_add.js"))); } } @@ -206,7 +207,7 @@ class Albums_Controller extends Items_Controller { switch ($this->input->get("type")) { case "album": print album::get_add_form($album) . - html::script("gallery/js/albums_form_add.js"); + html::script("modules/gallery/js/albums_form_add.js"); break; case "photo": -- cgit v1.2.3