Last active
August 17, 2017 13:15
-
-
Save Sentinel-7/cd10dded678c2dff3f9f99dc1482cafc to your computer and use it in GitHub Desktop.
modal uikit onload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'!Sendex' | snippet : [ | |
'id' => '1' | |
'tplActivate' => 'tpl.Sendex.activate' | |
]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(function() { | |
var modal = UIkit.modal("#sendex"); | |
modal.show(); | |
}); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($_GET['sx_subscribed']) { | |
return '<div id="sendex" class="uk-modal"> | |
<div class="uk-modal-dialog"> | |
<a class="uk-modal-close uk-close"></a> | |
Письмо-подтверждение отправлено на почту. Перейдите по ссылке из письма. | |
</div> | |
</div>'; | |
} | |
if ($_GET['sx_confirmed']) { | |
return '<div id="sendex" class="uk-modal"> | |
<div class="uk-modal-dialog"> | |
<a class="uk-modal-close uk-close"></a> | |
Вы успешно подписаны на еженедельную email рассылку сайта. | |
</div> | |
</div>'; | |
} | |
if ($_GET['sx_unsubscribed']) { | |
return '<div id="sendex" class="uk-modal"> | |
<div class="uk-modal-dialog"> | |
<a class="uk-modal-close uk-close"></a> | |
Вы успешно отписаны от рассылки новых статей сайта. | |
</div> | |
</div> '; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/tretr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment