1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

charset and badchars

This commit is contained in:
marj
2009-11-12 14:37:13 +00:00
parent 806d025085
commit 8961f87175
15 changed files with 194 additions and 226 deletions

View File

@@ -13,7 +13,7 @@ if($pref['make_clickable'])
else else
{ {
list($p1,$p2) = explode("@",$code_text); list($p1,$p2) = explode("@",$code_text);
$email_text = (CHARSET != "utf-8" && CHARSET != "UTF-8") ? $p1."&copy;".$p2 : $p1."<EFBFBD>".$p2; $email_text = (CHARSET != "utf-8" && CHARSET != "UTF-8") ? $p1."&copy;".$p2 : $p1."©".$p2;
return "<a rel='external' href='javascript:window.location=\"mai\"+\"lto:\"+\"".$p1."\"+\"@\"+\"".$p2."\";self.close();' onmouseover='window.status=\"mai\"+\"lto:\"+\"".$p1."\"+\"@\"+\"".$p2."\"; return true;' onmouseout='window.status=\"\";return true;'>".$email_text."</a>"; return "<a rel='external' href='javascript:window.location=\"mai\"+\"lto:\"+\"".$p1."\"+\"@\"+\"".$p2."\";self.close();' onmouseover='window.status=\"mai\"+\"lto:\"+\"".$p1."\"+\"@\"+\"".$p2."\"; return true;' onmouseout='window.status=\"\";return true;'>".$email_text."</a>";
} }
} }

View File

@@ -1,22 +1,18 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/import/e107_import_class.php,v $
| * $Revision: 1.2 $
| $Source: /cvs_backup/e107_0.8/e107_files/import/e107_import_class.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.1 $ * $Author: marj_nl_fr $
| $Date: 2008-03-16 21:36:32 $ */
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
*/
// This must be an incredibly pointless file! But it does allow testing of the basic plugin structure. // This must be an incredibly pointless file! But it does allow testing of the basic plugin structure.

View File

@@ -1,22 +1,18 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/import/import_classes.php,v $
| * $Revision: 1.2 $
| $Source: /cvs_backup/e107_0.8/e107_files/import/import_classes.php,v $ * $Date: 2009-11-12 14:37:13 $
| $Revision: 1.1 $ * $Author: marj_nl_fr $
| $Date: 2008-03-16 21:36:32 $ */
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
*/
/* /*
Root classes for import and saving of data. Application-specific classes build on these Root classes for import and saving of data. Application-specific classes build on these

View File

@@ -1,22 +1,18 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/import/import_to_e107.php,v $
| * $Revision: 1.2 $
| $Source: /cvs_backup/e107_0.8/e107_files/import/import_to_e107.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.1 $ * $Author: marj_nl_fr $
| $Date: 2008-03-16 21:36:32 $ */
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
*/
/* /*
Routine manages import from other databases Routine manages import from other databases

View File

@@ -1,22 +1,18 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/import/import_user_class.php,v $
| * $Revision: 1.2 $
| $Source: /cvs_backup/e107_0.8/e107_files/import/import_user_class.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.1 $ * $Author: marj_nl_fr $
| $Date: 2008-03-16 21:36:32 $ */
| $Author: e107steved $
|
+----------------------------------------------------------------------------+
*/
/* /*
Class intended to simplify importing of user information from outside. Class intended to simplify importing of user information from outside.

View File

@@ -1,23 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/resetcore.php,v $
| * $Revision: 1.2 $
| $Source: /cvs_backup/e107_0.8/e107_files/resetcore.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.1.1.1 $ * $Author: marj_nl_fr $
| $Date: 2006-12-02 04:33:36 $ */
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
require_once('../class2.php'); require_once('../class2.php');
header('Location:'.SITEURL.$FILES_DIRECTORY.'resetcore/resetcore.php'); header('Location:'.SITEURL.$FILES_DIRECTORY.'resetcore/resetcore.php');
exit; exit();
?>

View File

@@ -1,21 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $
| * $Revision: 1.15 $
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.14 $ * $Author: marj_nl_fr $
| $Date: 2009-10-23 19:54:48 $ */
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');

View File

@@ -1,21 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/comment_shortcodes.php,v $
| * $Revision: 1.13 $
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/comment_shortcodes.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.12 $ * $Author: marj_nl_fr $
| $Date: 2009-10-09 15:05:12 $ */
| $Author: secretr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');
$comment_shortcodes = e107::getScParser()->parse_scbatch(__FILE__); $comment_shortcodes = e107::getScParser()->parse_scbatch(__FILE__);

View File

@@ -1,18 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system <20>Steve Dunstan 2001-2002 *
| http://e107.org jalist@e107.org * Copyright (C) 2001-2009 e107 Inc (e107.org)
| * Released under the terms and conditions of the
| Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| GNU General Public License (http://gnu.org). *
| *
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/contact_shortcodes.php,v $ *
| $Revision: 1.1.1.1 $ * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/contact_shortcodes.php,v $
| $Date: 2006-12-02 04:33:40 $ * $Revision: 1.2 $
| $Author: mcfly_e107 $ * $Date: 2009-11-12 14:37:12 $
+----------------------------------------------------------------------------+ * $Author: marj_nl_fr $
*/ */
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');
$contact_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__); $contact_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

View File

@@ -1,21 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/download_shortcodes.php,v $
| * $Revision: 1.19 $
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/download_shortcodes.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.18 $ * $Author: marj_nl_fr $
| $Date: 2009-07-07 07:32:59 $ */
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');
$download_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__); $download_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

View File

@@ -1,17 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/news_archives.php,v $
| * $Revision: 1.4 $
+----------------------------------------------------------------------------+ * $Date: 2009-11-12 14:37:12 $
*/ * $Author: marj_nl_fr $
*/
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');
$news_archive_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__); $news_archive_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

View File

@@ -1,23 +1,21 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/signup_shortcodes.php,v $
| * $Revision: 1.15 $
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/signup_shortcodes.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.14 $ * $Author: marj_nl_fr $
| $Date: 2009-07-25 07:54:34 $ */
| $Author: marj_nl_fr $
| // Mods to show extended field categories
| Mods to show extended field categories
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');
$signup_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__); $signup_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

View File

@@ -1,21 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/sitedown_shortcodes.php,v $
| * $Revision: 1.2 $
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/sitedown_shortcodes.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.1.1.1 $ * $Author: marj_nl_fr $
| $Date: 2006-12-02 04:33:41 $ */
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');
$sitedown_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__); $sitedown_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

View File

@@ -1,21 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/usersettings_shortcodes.php,v $
| * $Revision: 1.12 $
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/usersettings_shortcodes.php,v $ * $Date: 2009-11-12 14:37:11 $
| $Revision: 1.11 $ * $Author: marj_nl_fr $
| $Date: 2009-07-25 07:54:34 $ */
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; } if (!defined('e107_INIT')) { exit; }
include_once(e_HANDLER.'shortcode_handler.php'); include_once(e_HANDLER.'shortcode_handler.php');
$usersettings_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__); $usersettings_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

View File

@@ -1,21 +1,18 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2009 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| *
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_files/sleight_js.php,v $
| * $Revision: 1.2 $
| $Source: /cvs_backup/e107_0.8/e107_files/sleight_js.php,v $ * $Date: 2009-11-12 14:37:12 $
| $Revision: 1.1.1.1 $ * $Author: marj_nl_fr $
| $Date: 2006-12-02 04:33:36 $ */
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
// Credit to youngpup.net for sorting the annoyince that is ie for us =) // Credit to youngpup.net for sorting the annoyince that is ie for us =)
// modified to ignore ie 7+ and figure out where it is on the server. // modified to ignore ie 7+ and figure out where it is on the server.