delete backup exclusions

This commit is contained in:
Serghey Rodin 2014-04-08 23:39:19 +03:00
commit a85aa52b22
5 changed files with 132 additions and 4 deletions

View file

@ -11,7 +11,7 @@
</form>
</div>
<div class="submenu-select-block">
<form action="/bulk/backup/" method="post" id="objects">
<form action="/bulk/backup/exclusions/" method="post" id="objects">
<a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print __('toggle all');?> </a>
<select class="submenu-select-dropdown" name="action">
<option value=""><?php print __('apply to selected');?></option>
@ -35,7 +35,7 @@
<tr class="data-row">
<td class="data-dotted">
<table class="data-col1">
<tr><td><input type="checkbox" class="ch-toggle" name="exclusion[]" value="<?php echo $key ?>" ></td></tr>
<tr><td><input type="checkbox" class="ch-toggle" name="system[]" value="<?php echo $key ?>" ></td></tr>
</table>
</td>
<td class="data-dotted" width="830px">
@ -43,9 +43,9 @@
<span class="do_delete">
<img src="/images/delete.png" width="7px" height="7px">
<?php print __('delete');?>
<input type="hidden" name="delete_url" value="/delete/backup/exclusion/?excl=<?php echo "$key" ?>" />
<input type="hidden" name="delete_url" value="/delete/backup/exclusion/?system=<?php echo "$key" ?>" />
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print __('Confirmation');?>">
<p class="counter-value"><?php print __('DELETE_BACKUP_CONFIRMATION',$key);?></p>
<p class="counter-value"><?php print __('DELETE_EXCLUSION_CONFIRMATION',$key);?></p>
</div>
</span>
</a>