mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Bugtracker #4472 - obscure email address on COPPA page
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/signup_template.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/signup_template.php,v $
|
||||||
| $Revision: 1.8 $
|
| $Revision: 1.9 $
|
||||||
| $Date: 2008-01-15 21:57:52 $
|
| $Date: 2008-07-30 20:13:49 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -23,6 +23,15 @@ if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); }
|
|||||||
|
|
||||||
define("REQUIRED_FIELD_MARKER", "<span style='text-align:right;font-size:15px; color:red'> *</span>");
|
define("REQUIRED_FIELD_MARKER", "<span style='text-align:right;font-size:15px; color:red'> *</span>");
|
||||||
|
|
||||||
|
// Given an email address, returns a link including js-based obfuscation
|
||||||
|
function js_obfuscate($email)
|
||||||
|
{
|
||||||
|
list($name,$address) = explode('@',$email,2);
|
||||||
|
$reassembled = '"'.$name.'"+"@"+"'.$address.'"';
|
||||||
|
return "<a rel='external' href='javascript:window.location=\"mai\"+\"lto:\"+".$reassembled.";self.close();' onmouseover='window.status=\"mai\"+\"lto:".$reassembled."; return true;' onmouseout='window.status=\"\";return true;'>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$sc_style['SIGNUP_DISPLAYNAME']['pre'] = "
|
$sc_style['SIGNUP_DISPLAYNAME']['pre'] = "
|
||||||
<tr>
|
<tr>
|
||||||
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_7."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_8."</span></td>
|
<td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_7."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_8."</span></td>
|
||||||
@@ -148,7 +157,7 @@ $sc_style['SIGNUP_IMAGECODE']['post'] = "
|
|||||||
|
|
||||||
if(!defined($COPPA_TEMPLATE))
|
if(!defined($COPPA_TEMPLATE))
|
||||||
{
|
{
|
||||||
$COPPA_TEMPLATE = LAN_109." <a href='http://www.cdt.org/legislation/105th/privacy/coppa.html'>".LAN_SIGNUP_14."</a>. ".LAN_SIGNUP_15." <a href='mailto:".SITEADMINEMAIL."'>".LAN_SIGNUP_14."</a> ".LAN_SIGNUP_16."
|
$COPPA_TEMPLATE = LAN_109." <a href='http://www.cdt.org/legislation/105th/privacy/coppa.html'>".LAN_SIGNUP_14."</a>. ".LAN_SIGNUP_15." ".js_obfuscate(SITEADMINEMAIL).LAN_SIGNUP_14."</a> ".LAN_SIGNUP_16."
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<div style='text-align:center'><b>".LAN_SIGNUP_17."</b>
|
<div style='text-align:center'><b>".LAN_SIGNUP_17."</b>
|
||||||
|
Reference in New Issue
Block a user