Files
gallery3/modules/server_add/views/server_add_tree_dialog.html.php
Tim Almdal 00ffb24eb0 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.
2009-03-24 17:41:20 +00:00

25 lines
994 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<?= html::script("modules/server_add/js/server_add.js"); ?>
<div id="gServerAdd">
<h1 style="display: none;"><?= sprintf(t("Add Photos to '%s'"), $album_title) ?></h1>
<p id="gDescription"><?= t("Photos will be added to album:") ?></p>
<ul class="gBreadcrumbs">
<? foreach ($parents as $parent): ?>
<li><?= $parent->title ?></li>
<? endforeach ?>
<li class="active"><?= $album_title ?></li>
</ul>
<?= form::open($action, array("method" => "post")) ?>
<div id="gServerAddTree" >
<?= $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() ?>
<div class="gProgressBar" style="visibility: hidden" ></div>
</div>