diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-05-21 02:24:37 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-05-21 02:24:37 +0000 |
| commit | 09c8953af7696bda51e052243950f9830f905463 (patch) | |
| tree | 6e7b65571d1200c65dabaf522db769ca84cc55ee /core/views | |
| parent | d4189d947da202062dfc9cd030ebb85e44683d4a (diff) | |
Provide delete confirmations in quick pane and organize features. If
I've missed any spots let me know.
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/quick_pane.html.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php index 4c56842f..95de972b 100644 --- a/core/views/quick_pane.html.php +++ b/core/views/quick_pane.html.php @@ -67,13 +67,15 @@ <? if ($item->type == "photo"): ?> <? $title = t("Delete this photo") ?> +<? $message = t("Do you really want to delete this photo") ?> <? elseif ($item->type == "movie"): ?> <? $title = t("Delete this movie") ?> +<? $message = t("Do you really want to delete this movie") ?> <? elseif ($item->type == "album"): ?> <? $title = t("Delete this album") ?> +<? $message = t("Do you really want to delete this album") ?> <? endif ?> -<a class="gButtonLink ui-corner-all ui-state-default" href="<?= url::site("quick/delete/$item->id?csrf=$csrf&page_type=$page_type") ?>" - title="<?= $title ?>"> +<a class="gButtonLink ui-corner-all ui-state-default" href="<?= url::site("quick/delete/$item->id?csrf=$csrf&page_type=$page_type") ?>" ref="<?= $message ?>" id="gQuickDelete" title="<?= $title ?>"> <span class="ui-icon ui-icon-trash"> <?= $title ?> </span> |
