1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 21:21:54 +02:00

Make calls to toHTML which use $modifiers consistent to avoid potential future problems.

This commit is contained in:
e107steved 2007-01-07 15:59:42 +00:00
parent 1843e9fed9
commit fab4a3bc10
18 changed files with 75 additions and 75 deletions

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/class2.php,v $
| $Revision: 1.6 $
| $Date: 2007-01-04 23:43:02 $
| $Author: lisa_ $
| $Revision: 1.7 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
//
@ -512,14 +512,14 @@ $sql -> db_Mark_Time('Start: Init session');
init_session();
// for multi-language these definitions needs to come after the language loaded.
define("SITENAME", trim($tp->toHTML($pref['sitename'], "", "emotes_off defs no_make_clickable")));
define("SITENAME", trim($tp->toHTML($pref['sitename'], "", "emotes_off, defs, no_make_clickable")));
define("SITEBUTTON", $pref['sitebutton']);
define("SITETAG", $tp->toHTML($pref['sitetag'], FALSE, "emotes_off defs"));
define("SITEDESCRIPTION", $tp->toHTML($pref['sitedescription'], "", "emotes_off defs"));
define("SITETAG", $tp->toHTML($pref['sitetag'], FALSE, "emotes_off, defs"));
define("SITEDESCRIPTION", $tp->toHTML($pref['sitedescription'], "", "emotes_off, defs"));
define("SITEADMIN", $pref['siteadmin']);
define("SITEADMINEMAIL", $pref['siteadminemail']);
define("SITEDISCLAIMER", $tp->toHTML($pref['sitedisclaimer'], "", "emotes_off defs"));
define("SITECONTACTINFO", $tp->toHTML($pref['sitecontactinfo'], TRUE, "emotes_off defs"));
define("SITEDISCLAIMER", $tp->toHTML($pref['sitedisclaimer'], "", "emotes_off, defs"));
define("SITECONTACTINFO", $tp->toHTML($pref['sitecontactinfo'], TRUE, "emotes_off, defs"));
// legacy module.php file loading.
if (isset($pref['modules']) && $pref['modules']) {

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/beginner.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -67,7 +67,7 @@ if($_GET['mode'] == "e_advanced"){
include(e_PLUGIN.$plugin_path."/plugin.php");
if ($eplug_conffile)
{
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs emotes_off");
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off");
$plugin_icon = $eplug_icon ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' style='border:0px; width: 32px; height: 32px' />" : E_32_CAT_PLUG;
$plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon);
}

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/cascade.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -39,7 +39,7 @@ if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) {
extract($row);
include(e_PLUGIN.$plugin_path."/plugin.php");
if ($eplug_conffile) {
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs emotes_off");
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off");
$plugin_icon = $eplug_icon_small ? "<img src='".e_PLUGIN.$eplug_icon_small."' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />" : E_16_PLUGIN;
$plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon);
}

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/categories.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -49,7 +49,7 @@ foreach ($admin_cat['id'] as $cat_key => $cat_id) {
extract($row);
include(e_PLUGIN.$plugin_path."/plugin.php");
if ($eplug_conffile) {
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs emotes_off");
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off");
$plugin_icon = $eplug_icon_small ? "<img src='".e_PLUGIN.$eplug_icon_small."' alt='".$eplug_caption."' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />" : E_16_PLUGIN;
$plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon);
//$text_rend = render_links(e_PLUGIN.$plugin_path."/".$eplug_conffile, $eplug_name, $eplug_caption, "P".$plugin_id, $plugin_icon, 'default');

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/classis.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -44,7 +44,7 @@ if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) {
extract($row);
include(e_PLUGIN.$plugin_path."/plugin.php");
if ($eplug_conffile) {
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs emotes_off");
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off");
$plugin_icon = $eplug_icon ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' style='border:0px; width: 32px; height: 32px' />" : E_32_CAT_PLUG;
$plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon);
}

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/combo.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -46,7 +46,7 @@ if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) {
extract($row);
include(e_PLUGIN.$plugin_path."/plugin.php");
if ($eplug_conffile) {
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs emotes_off");
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off");
$plugin_icon = $eplug_icon ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' style='border:0px; width: 32px; height: 32px' />" : E_32_CAT_PLUG;
$plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon);
}

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/compact.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:32 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -50,7 +50,7 @@ if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) {
extract($row);
include(e_PLUGIN.$plugin_path."/plugin.php");
if ($eplug_conffile) {
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs emotes_off");
$eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off");
$plugin_icon = $eplug_icon_small ? "<img src='".e_PLUGIN.$eplug_icon_small."' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />" : E_16_PLUGIN;
$plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon);
}

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/download_shortcodes.php,v $
| $Revision: 1.5 $
| $Date: 2007-01-03 20:29:13 $
| $Revision: 1.6 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -27,7 +27,7 @@ if($parm == "nolink"){
}
if($parm == "request"){
$agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc defs"));
$agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"));
if($row['download_mirror_type']){
$text = ($pref['agree_flag'] ? "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' title='".LAN_dl_32."'>");
}else{
@ -115,7 +115,7 @@ SC_END
SC_BEGIN DOWNLOAD_LIST_LINK
global $tp,$row,$pref;
$agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc defs"));
$agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"));
if($row['download_mirror_type']){
return ($pref['agree_flag'] ? "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' onclick= \"return confirm('{$agreetext}');\">" : "<a href='".e_BASE."download.php?mirror.".$row['download_id']."' >");
}else{
@ -177,7 +177,7 @@ SC_END
SC_BEGIN DOWNLOAD_VIEW_NAME_LINKED
global $pref,$dl,$tp;
if ($pref['agree_flag'] == 1) {
return "<a href='".e_BASE."request.php?".$dl['download_id']."' onclick= \"return confirm('".$tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc defs"))."' title='".LAN_dl_46."'>".$dl['download_name']."</a>";
return "<a href='".e_BASE."request.php?".$dl['download_id']."' onclick= \"return confirm('".$tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"))."' title='".LAN_dl_46."'>".$dl['download_name']."</a>";
} else {
return "<a href='".e_BASE."request.php?".$dl['download_id']."' title='".LAN_dl_46."'>".$dl['download_name']."</a>";
}
@ -254,7 +254,7 @@ SC_END
SC_BEGIN DOWNLOAD_VIEW_LINK
global $pref,$dl,$tp;
if ($pref['agree_flag'] == 1) {
$dnld_link = "<a href='".e_BASE."request.php?".$dl['download_id']."' onclick= \"return confirm('".$tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc defs"))."');\">";
$dnld_link = "<a href='".e_BASE."request.php?".$dl['download_id']."' onclick= \"return confirm('".$tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"))."');\">";
} else {
$dnld_link = "<a href='".e_BASE."request.php?".$dl['download_id']."'>";
}

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/signup_shortcodes.php,v $
| $Revision: 1.3 $
| $Date: 2006-12-27 22:26:41 $
| $Revision: 1.4 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -172,7 +172,7 @@ foreach($extList as $ext)
if($ext['user_extended_struct_required'] == 1 || $ext['user_extended_struct_required'] == 2)
{
$replace = array(
$tp->toHTML($ext['user_extended_struct_text'], '', 'emotes_off defs'),
$tp->toHTML($ext['user_extended_struct_text'], '', 'emotes_off, defs'),
($ext['user_extended_struct_required'] == 1 ? $EXTENDED_USER_FIELD_REQUIRED : ''),
$usere->user_extended_edit($ext, $_POST['ue']['user_'.$ext['user_extended_struct_name']])
);

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/usersettings_shortcodes.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:41 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@ -322,7 +322,7 @@ if(!$fInfo)
if($fInfo)
{
$fname = $tp->toHTML($fInfo['user_extended_struct_text'], "", "emotes_off defs");
$fname = $tp->toHTML($fInfo['user_extended_struct_text'], "", "emotes_off, defs");
if($fInfo['user_extended_struct_required'] == 1)
{
$fname = str_replace("{FIELDNAME}", $fname, $REQUIRED_FIELD);

View File

@ -3,9 +3,9 @@
| e107 website system
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/sitelinks_alt.sc,v $
| $Revision: 1.2 $
| $Date: 2006-12-07 15:41:50 $
| $Author: sweetas $
| $Revision: 1.3 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -39,7 +39,7 @@
if ($cat_open == 1){
$text .= " rel='external' ";
}
$text .= ">".$tp->toHTML($cat_title,"","defs no_hook")."</a>";
$text .= ">".$tp->toHTML($cat_title,"","defs, no_hook")."</a>";
return $text;
}
@ -71,7 +71,7 @@
if ($cat_img != 'no_icons') {
$text .= "<span class='menuItemBuffer'>".$cat_img."</span>";
}
$text .= "<span class='menuItemText'>".$tp->toHTML($cat_title,"","defs no_hook")."</span>";
$text .= "<span class='menuItemText'>".$tp->toHTML($cat_title,"","defs, no_hook")."</span>";
if ($cat_id) {
$text .= "<span class=\"menuItemArrow\">&#9654;</span>";
}

View File

@ -1,4 +1,4 @@
// $Id: wmessage.sc,v 1.1.1.1 2006-12-02 04:33:40 mcfly_e107 Exp $
// $Id: wmessage.sc,v 1.2 2007-01-07 15:59:42 e107steved Exp $
$prefwmsc = isset($pref['wmessage_sc']) && $pref['wmessage_sc'];
if (($prefwmsc && $parm == "header") || (!$prefwmsc && ($parm !='header')) ){
return;
@ -59,7 +59,7 @@ if (($prefwmsc && $parm == "header") || (!$prefwmsc && ($parm !='header')) ){
{
while ($row = $sql->db_Fetch())
{
$wmessage .= $tp->toHTML($row['gen_chardata'], TRUE, 'parse_sc defs', 'admin')."<br />";
$wmessage .= $tp->toHTML($row['gen_chardata'], TRUE, 'parse_sc, defs', 'admin')."<br />";
if(!$wmcaption){
$wmcaption = $tp->toHTML($row['gen_ip'], TRUE, 'defs');
}

View File

@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/sitelinks_class.php,v $
| $Revision: 1.2 $
| $Date: 2006-12-05 09:15:08 $
| $Author: mrpete $
| $Revision: 1.3 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+---------------------------------------------------------------+
*/
@ -195,7 +195,7 @@ class sitelinks
// Check for screentip regardless of URL.
if (isset($pref['linkpage_screentip']) && $pref['linkpage_screentip'] && $linkInfo['link_description']){
$screentip = " title = \"".$tp->toHTML($linkInfo['link_description'],"","value emotes_off defs no_hook")."\"";
$screentip = " title = \"".$tp->toHTML($linkInfo['link_description'],"","value, emotes_off, defs, no_hook")."\"";
}
// Check if its expandable first. It should override its URL.
@ -241,13 +241,13 @@ class sitelinks
$_link = "";
$_link .= $accessdigit;
if (!empty($href) && ((varset($style['hilite_nolink']) && $highlighted)!=TRUE)){
$_link .= "<a".$linkadd.$screentip.$href.$link_append.$accesskey.">".$tp->toHTML($linkInfo['link_name'],"","emotes_off defs no_hook")."</a>";
$_link .= "<a".$linkadd.$screentip.$href.$link_append.$accesskey.">".$tp->toHTML($linkInfo['link_name'],"","emotes_off, defs, no_hook")."</a>";
// If its not a link, but has a class or screentip do span:
}elseif (!empty($linkadd) || !empty($screentip)){
$_link .= "<span".$linkadd.$screentip.">".$tp->toHTML($linkInfo['link_name'],"","emotes_off defs no_hook")."</span>";
$_link .= "<span".$linkadd.$screentip.">".$tp->toHTML($linkInfo['link_name'],"","emotes_off, defs, no_hook")."</span>";
// Else just the name:
}else {
$_link .= $tp->toHTML($linkInfo['link_name'],"","emotes_off defs no_hook");
$_link .= $tp->toHTML($linkInfo['link_name'],"","emotes_off, defs, no_hook");
}
$_link = $linkstart.$indent.$_link;

View File

@ -395,7 +395,7 @@ if($row['content_text'] && isset($content_pref["content_cat_text"]) && $content_
$CONTENT_CAT_LIST_TABLE_TEXT = $tp->toHTML($row['content_text'], TRUE, "constants");
}else{
$rowtext = preg_replace("/\[newpage.*?]/si", " ", $row['content_text']);
$rowtext = $tp->toHTML($rowtext, TRUE, "nobreak constants");
$rowtext = $tp->toHTML($rowtext, TRUE, "nobreak, constants");
$rowtext = strip_tags($rowtext);
$words = explode(" ", $rowtext);

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/admin_config.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:40 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
@ -138,7 +138,7 @@ if ($poll_total = $sql->db_Select("polls", "*", "poll_type=1")) {
extract($row);
$text .= "<tr>
<td style='width:5%' class='forumheader3'>$poll_id</td>
<td style='width:75%' class='forumheader3'>".$tp -> toHTML($poll_title, TRUE,"no_hook emotes_off defs")."</td>
<td style='width:75%' class='forumheader3'>".$tp -> toHTML($poll_title, TRUE,"no_hook, emotes_off, defs")."</td>
<td style='width:20%; text-align:center' class='forumheader3'><div>". $rs->form_button("button", "main_edit_{$poll_id}", POLLAN_5, "onclick=\"document.location='".e_SELF."?edit.$poll_id'\""). $rs->form_button("submit", "main_delete_{$poll_id}", POLLAN_6, "onclick=\"confirm_($poll_id)\"")."
</div></td>
</tr>";

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/poll_class.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:40 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:42 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@ -311,7 +311,7 @@ class poll
$comment_total = $sql->db_Select("comments", "*", "comment_item_id='".intval($pollArray['poll_id'])."' AND comment_type=4");
$QUESTION = $tp -> toHTML($pollArray['poll_title'], TRUE,"emotes_off defs");
$QUESTION = $tp -> toHTML($pollArray['poll_title'], TRUE,"emotes_off, defs");
$VOTE_TOTAL = POLLAN_31.": ".$voteTotal;
$COMMENTS = ($pollArray['poll_comment'] ? " <a href='".e_BASE."comment.php?comment.poll.".$pollArray['poll_id']."'>".POLLAN_27.": ".$comment_total."</a>" : "");
$OLDPOLLS = ($type == "menu" ? "<a href='".e_PLUGIN."poll/oldpolls.php'>".POLLAN_28."</a>" : "");

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/email.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:03 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once("class2.php");
@ -46,7 +46,7 @@ $parms = $qs[1];
$emailurl = ($source == "referer") ? $_SERVER['HTTP_REFERER'] : SITEURL;
$comments = $tp->post_toHTML($_POST['comment'], TRUE, 'retain_nl emotes_off no_make_clickable');
$comments = $tp->post_toHTML($_POST['comment'], TRUE, 'retain_nl, emotes_off, no_make_clickable');
$author = $tp->post_toHTML($_POST['author_name'],FALSE,"emotes_off, no_make_clickable");
$email_send = check_email($_POST['email_send']);

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/signup.php,v $
| $Revision: 1.4 $
| $Date: 2006-12-30 22:39:43 $
| $Revision: 1.5 $
| $Date: 2007-01-07 15:59:41 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -568,7 +568,7 @@ if (isset($_POST['register']))
if($brow['banlist_reason'])
{
$repl = array("\n","\r","<br />");
$error_message = str_replace($repl,"\\n",$tp->toHTML($brow['banlist_reason'],"","nobreak defs"))."\\n";
$error_message = str_replace($repl,"\\n",$tp->toHTML($brow['banlist_reason'],"","nobreak, defs"))."\\n";
$email = "";
}
else