Remove alert confirmation to delete a package, today user need to confirm twice

This commit is contained in:
Renato Botelho 2014-03-04 08:40:34 -03:00
parent ff9c579f37
commit b6096065d5

View File

@ -206,7 +206,7 @@ include("head.inc");
<?php endif; ?>
</td>
<td valign="middle" class="list nowrap">
<a onclick="return confirm('<?=gettext("Do you really want to remove {$pkg['name']} package?"); ?>')" href="pkg_mgr_install.php?mode=delete&amp;pkg=<?= $pkg['name']; ?>">
<a href="pkg_mgr_install.php?mode=delete&amp;pkg=<?= $pkg['name']; ?>">
<img <?=domTT_title(gettext("Remove ".ucfirst($pkg['name'])." package."))?> src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" />
</a>
<br/>