summaryrefslogtreecommitdiff
path: root/modules/server_add/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-24 17:41:20 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-24 17:41:20 +0000
commit00ffb24eb05705813505ac6e83adb155a9303496 (patch)
treef213b518c4f0249abb9e55645ed938bd846d3baa /modules/server_add/views
parent520a4b41b3776c0ffb71af5580668d6530d9ed05 (diff)
Add a pause button to the server add dialog and if it is clicked then
the upload is paused. If the dialog is closed and the task is not complete then a warning message is displayed on the album.
Diffstat (limited to 'modules/server_add/views')
-rw-r--r--modules/server_add/views/server_add_tree_dialog.html.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/server_add/views/server_add_tree_dialog.html.php b/modules/server_add/views/server_add_tree_dialog.html.php
index a52d2729..a9b46d7d 100644
--- a/modules/server_add/views/server_add_tree_dialog.html.php
+++ b/modules/server_add/views/server_add_tree_dialog.html.php
@@ -16,6 +16,7 @@
<?= $tree ?>
</div>
<span>
+ <?= form::submit(array("id" => "gServerPauseButton", "name" => "add", "disabled" => true, "class" => "submit", "style" => "display:none"), t("Pause")) ?>
<?= form::submit(array("id" => "gServerAddButton", "name" => "add", "disabled" => true, "class" => "submit"), t("Add")) ?>
</span>
<?= form::close() ?>