Files
gallery3/modules/gallery/views/quick_delete_confirm.html.php
Tim Almdal dbf3199e46 Fix for ticket #1181. Use $.getJSON to retrieve the json contents of the dialog. Convert all the controllers
that create the data to go into a dialog to return the html as part of a json object.
2010-07-06 14:12:01 -07:00

13 lines
461 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div class="ui-helper-clearfix">
<p>
<? if ($item->is_album()): ?>
<?= t("Delete the album <b>%title</b>? All photos and movies in the album will also be deleted.",
array("title" => html::purify($item->title))) ?>
<? else: ?>
<?= t("Are you sure you want to delete <b>%title</b>?", array("title" => html::purify($item->title))) ?>
<? endif ?>
</p>
<?= $form ?>
</div>