first commit
This commit is contained in:
27
templates_user/site/alert-prompt.php
Normal file
27
templates_user/site/alert-prompt.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<script type="text/javascript">
|
||||
$.alert(
|
||||
{
|
||||
title: '<?= $this -> alert['title'];?>',
|
||||
icon: 'fa fa-exclamation',
|
||||
content: '<?= $this -> alert['message'];?>',
|
||||
closeIcon: true,
|
||||
closeIconClass: 'fa fa-close',
|
||||
typeAnimated: true,
|
||||
animation: 'opacity',
|
||||
<? if ( $this -> alert['autoclose'] ):?>
|
||||
autoClose: 'confirm|<?= $this -> alert['autoclose'] * 1000;?>',
|
||||
<? endif;?>
|
||||
columnClass: 'large',
|
||||
theme: 'modern',
|
||||
buttons:
|
||||
{
|
||||
confirm:
|
||||
{
|
||||
text: '<?= \S::lang( 'zamknij' );?>',
|
||||
btnClass: 'btn-blue',
|
||||
keys: ['enter'],
|
||||
action: function() {}
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user