[pmwiki-users] e-Protect trick <noscript>

Vincent Boucher vin.boucher at gmail.com
Sat Jan 14 15:14:31 CST 2006


A e-Protect trick:
Since e-mails are not displayed at all if javascript is not activated, I've
added
$html .= "<noscript>Please, activate javascript in the browser
options.</noscript>";

in the
 function eProtectDecode
before
  $html .= "\n<!--/eProtect-->\n";
  return Keep($html);


Usageof <noscript>: <noscript>Here put the text to be displayed if
javascript is not activated...</noscript>

I suppose it's not the prettiest way to put it in the php code...

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060114/65e83d7f/attachment.html 


More information about the pmwiki-users mailing list