summaryrefslogtreecommitdiffstats
path: root/app/view/stdpage.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/stdpage.php')
-rw-r--r--app/view/stdpage.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php
index c57a156..90e25d8 100644
--- a/app/view/stdpage.php
+++ b/app/view/stdpage.php
@@ -145,6 +145,12 @@ require_once "view/settings.php";
$("#noticeModal").modal("show");
});
</script>
+ <?php } else if (getAutoModal() != "") { ?>
+ <script type="text/javascript">
+ $(window).on('load', function () {
+ $("<?=getAutoModal()?>").modal("show");
+ });
+ </script>
<?php } ?>
<script type="text/javascript">