1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/modules/content_warning/views/content_warning_page_top.html.php
Bharat Mediratta ea015d7ded Cleanup:
- Fix up url generation so that they don't expect gallery3 to be installed at the DocumentRoot
- Move the theme page_top HTML into a view
- Make the JS/CSS work with the combined JS/CSS APIs
2011-12-27 01:18:04 -08:00

28 lines
871 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<div class="jqmWindow" id="content_warning_dialog">
<hr />
<h3> <?= module::get_var("content_warning", "title") ?></h3>
<br />
<p><?= nl2br(module::get_var("content_warning", "message")) ?></p>
<br />
<div id="cw_buttons_container">
<div class="cw_buttons" id="cw_ko">
<a href="<?= module::get_var("content_warning", "exit_link_url") ?>">
<?= module::get_var("content_warning", "exit_link_text") ?>
</a>
</div>
<div class="cw_buttons" id="cw_ok">
<a href="<?= url::site("content_warning?cw=1") ?>">
<?= module::get_var("content_warning", "enter_link_text") ?>
</a>
</div>
</div>
</div>
<script type="text/javascript">
$("#content_warning_dialog").ready(function($){
$("#content_warning_dialog").jqm().jqmShow({});
});
</script>