This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/views/layouts/_notice.php

18 lines
468 B
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<div class="overlay-notice-container" id="notice-container" style="display: none;">
<table cellspacing="0" cellpadding="0"> <tbody>
<tr> <td>
<div id="notice">
</div>
</td> </tr>
</tbody> </table>
</div>
<?php $this->contentFor('post_cookie_javascripts', function(){ ?>
<script type="text/javascript">
var text = Cookie.get("notice");
if (text) {
notice(text, true);
Cookie.remove("notice");
}
</script>
<?php }) ?>