centered confirmation dialog

This commit is contained in:
Serghey Rodin 2014-10-06 21:39:02 +03:00
commit 4af1e4b92c
26 changed files with 60 additions and 88 deletions

View file

@ -59,7 +59,7 @@
<?php print __('delete');?>
<input type="hidden" name="delete_url" value="/delete/firewall/?rule=<?php echo $data[$key]['RULE'] ?>"/>
<div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print __('Confirmation');?>">
<p class="counter-value"><?php print __('DELETE_RULE_CONFIRMATION',$data[$key]['RULE']);?></p>
<p class="confirmation"><?php print __('DELETE_RULE_CONFIRMATION',$data[$key]['RULE']);?></p>
</div>
</span>
</a>
@ -69,7 +69,7 @@
<?php echo __($spnd_action); ?>
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/firewall/?rule=<?php echo $data[$key]['RULE'] ?>" />
<div id="<?php echo $spnd_action ?>_dialog_<?php echo $i ?>" class="confirmation-text-suspention hidden" title="<?php print __('Confirmation');?>">
<p class="counter-value"><?php print __($spnd_confirmation,$key);?></p>
<p class="confirmation"><?php print __($spnd_confirmation,$key);?></p>
</div>
</span>
</a>