Changeset 85

Show
Ignore:
Timestamp:
10/11/08 11:35:38 (3 months ago)
Author:
jean
Message:

petite améliorations pour navigateurs sans scripts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • scripts/php/obfuscation/email.php

    r84 r85  
    22<head></head> 
    33<body> 
     4 
     5<div id="mailto">test&lt;at&gt;test.com</div> 
     6 
     7 
    48<?php 
    59 
     
    1115<!--  
    1216 
    13 document.write("<?php echo $rot; ?>".replace(/[a-zA-Z]/g, function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);})); 
     17myId=document.getElementById('mailto'); 
     18myId.innerHTML="<?php echo $rot; ?>".replace(/[a-zA-Z]/g, function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}); 
    1419 
    1520-->