diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-26 16:27:23 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-26 16:27:23 +0000 |
| commit | f6169047b12346f82aa3214337256b41c595cb8a (patch) | |
| tree | b8a61583fddfd94c48570c2e83f96191dc524f6a /modules/local_import/views | |
| parent | c3fcd3a79bd2f171b15384ea0ff44677b0c7a730 (diff) | |
Fix up add from server:
1) Upload requests are serialized so we don't over load the server or get
race conditions occurring.
2) new albums are created based on the file structure of the
authorized path that is the source directory.
Diffstat (limited to 'modules/local_import/views')
| -rw-r--r-- | modules/local_import/views/local_import_tree_dialog.html.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/modules/local_import/views/local_import_tree_dialog.html.php b/modules/local_import/views/local_import_tree_dialog.html.php index 1cd28ec6..2f432a1e 100644 --- a/modules/local_import/views/local_import_tree_dialog.html.php +++ b/modules/local_import/views/local_import_tree_dialog.html.php @@ -1,12 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<script type="text/javascript"> -$("#gLocalImport").ready(function() { - $("#gLocalImport :submit").click(function(event) { - do_import(this, event); - }); - $("#gProgressBar").progressbar(); - $("#gLocalImport ul").css("display", "block"); -});</script> +<link media="screen, projection" rel="stylesheet" type="text/css" href="<?= url::file("modules/local_import/css/local_import.css") ?>" /> +<?= html::script("modules/local_import/js/local_import.js"); ?> + <div id="gLocalImport"> <h1 style="display: none;"><?= sprintf(t("Import Photos to '%s'"), $album_title) ?></h1> |
