mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -04:00
Add items and add albums are now working. What still needs to be done is add a progress bar for longer running tasks
This commit is contained in:
@@ -28,8 +28,10 @@ class Organize_Controller extends Controller {
|
||||
$v = new View("organize_dialog.html");
|
||||
$v->album = $album;
|
||||
// @todo turn this into an api call.
|
||||
$v->file_filter = json_encode(array("Images" => "*.jpg; *.jpeg; *.gif; *.png",
|
||||
"Movies" => "*.flv; *.mp4"));
|
||||
$v->file_filter = json_encode(
|
||||
array("photo" => array("label" => "Images",
|
||||
"types" => array("*.jpg", "*.jpeg", "*.png", "*.gif")),
|
||||
"movie" => array("label" => "Movies", "types" => array("*.flv", "*.mp4"))));
|
||||
$v->domain = $input->server("SERVER_NAME");
|
||||
// @todo figure out how to connect this w/o a dependency
|
||||
$v->base_url = url::abs_site("rest") . "/";
|
||||
|
||||
Reference in New Issue
Block a user