Exemplo n.º 1
0
function p_ssc_notice($id)
{
    $key = p_ssc_generateKey($id);
    echo "<style>.ssc_notice_{$key['0']} strong {display:none;}.ssc_notice_{$key['0']}:after {content:'\\2018" . p_ssc_utf8_to_unicode($key[1] . $key[0]) . "\\2019';font-weight:bold;}</style>";
    echo '<noscript><p class="ssc_notice_' . $key[0] . '">' . __('Notice: It seems you have Javascript disabled in your Browser. In order to submit a comment to this post, please write this code along with your comment: ', 'stop-spam-comments') . '<strong aria-hidden="true">' . str_shuffle($key[0] . $key[1]) . '</strong></p></noscript>';
}
Exemplo n.º 2
0
function p_ssc_notice($id)
{
    $key = p_ssc_generateKey($id);
    echo '<noscript><p class="ssc_notice">Notice: It seems you have Javascript disabled in your Browser. In order to submit a comment to this post, please copy this code and paste it along with your comment: <strong>' . $key[0] . $key[1] . '</strong></p></noscript>';
}