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

@ -70,7 +70,7 @@
<?php print __('delete');?>
<input type="hidden" name="delete_url" value="/delete/user/?user=<?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_USER_CONFIRMATION',$key);?></p>
<p class="confirmation"><?php print __('DELETE_USER_CONFIRMATION',$key);?></p>
</div>
</span>
</a>
@ -80,7 +80,7 @@
<?php echo __($spnd_action); ?>
<input type="hidden" name="<?php echo $spnd_action ?>_url" value="/<?php echo $spnd_action ?>/user/?user=<?php echo $key ?>" />
<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>
@ -114,7 +114,7 @@
});
</script>
<div id="dialog-message" title="<?php print __('Welcome') ?>">
<p><?php print __('LOGGED_IN_AS',$key);?></p>
<p class="confirmation"><?php print __('LOGGED_IN_AS',$key);?></p>
</div>
<?php
unset($_SESSION['look_alert']);