|
Identical lines show | hide | original version | modified version Show gnu diff(1) |
1 : 1 : = <?php
2 : 2 : = if ($_GET["subscribed"] = true)
3 : 3 : = {
4 : 4 : = setcookie("dropshock_subscriber", "subscribed", 0, $url['path'] . '/');
5 : 5 : = }
6 : 6 : - elseif (!isset($_COOKIE['dropshock_subscriber']) and !isset($_COOKIE['promptclosed']))
6 : 6 : + if (!isset($_COOKIE['dropshock_subscriber']) and !isset($_COOKIE['promptclosed']))
7 : 7 : = {
8 : 8 : = echo '<div id="subscribe_prompt"><a href="/feed" style="border-bottom: none; vertical-align: middle; position: relative;top: 2px; margin-right: 4px"><img src="/blog/images/icon_feeds_black.gif" alt="" width="16" height="16" /></a>Subscribe to Dropshock via <a href="/feed">RSS</a> and be notified of new stuff automatically.<a href="javascript:void(0)" class="subscribe_close" onclick="setCookie(\'promptclosed\', \'closed\', now, \'/\', HOST, \'\');document.getElementById(\'subscribe_prompt\').style.display=\'none\'">Close this message</a>
10 : 10 : = </div>'
11 : 11 : = }
12 : 12 : = ?>