mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
CHARSET deprecated
This commit is contained in:
34
class2.php
34
class2.php
@@ -9,8 +9,8 @@
|
|||||||
* General purpose file
|
* General purpose file
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/class2.php,v $
|
* $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||||
* $Revision: 1.109 $
|
* $Revision: 1.110 $
|
||||||
* $Date: 2009-07-18 10:17:56 $
|
* $Date: 2009-07-19 11:44:26 $
|
||||||
* $Author: marj_nl_fr $
|
* $Author: marj_nl_fr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -209,6 +209,11 @@ if (strpos($_SERVER['PHP_SELF'], 'trackback') === false)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set CHARSET for backward compatibility
|
||||||
|
*/
|
||||||
|
define('CHARSET', 'utf-8');
|
||||||
|
|
||||||
//
|
//
|
||||||
// G: Retrieve Query data from URI
|
// G: Retrieve Query data from URI
|
||||||
// (Until this point, we have no idea what the user wants to do)
|
// (Until this point, we have no idea what the user wants to do)
|
||||||
@@ -1918,23 +1923,18 @@ function loadLanFiles($unitName, $type='runtime')
|
|||||||
|
|
||||||
if(!function_exists('print_a'))
|
if(!function_exists('print_a'))
|
||||||
{
|
{
|
||||||
function print_a($var, $return = false)
|
function print_a($var, $return = FALSE)
|
||||||
{
|
|
||||||
$charset = 'utf-8';
|
|
||||||
if(defined('CHARSET'))
|
|
||||||
{
|
{
|
||||||
$charset = CHARSET;
|
if( ! $return)
|
||||||
|
{
|
||||||
|
echo '<pre>'.htmlspecialchars(print_r($var, TRUE), ENT_QUOTES, 'utf-8').'</pre>';
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return '<pre>'.htmlspecialchars(print_r($var, true), ENT_QUOTES, 'utf-8').'</pre>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(!$return)
|
|
||||||
{
|
|
||||||
echo '<pre>'.htmlspecialchars(print_r($var, true), ENT_QUOTES, $charset).'</pre>';
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return '<pre>'.htmlspecialchars(print_r($var, true), ENT_QUOTES, $charset).'</pre>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/credits.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/credits.php,v $
|
||||||
| $Revision: 1.4 $
|
| $Revision: 1.5 $
|
||||||
| $Date: 2008-04-01 20:08:38 $
|
| $Date: 2009-07-19 11:44:27 $
|
||||||
| $Author: e107steved $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -98,11 +98,11 @@ $contentA = array(
|
|||||||
"<h1>Pete Holzmann<\/h1>[ MrPete ]<br /><br /><br />".CRELAN_28
|
"<h1>Pete Holzmann<\/h1>[ MrPete ]<br /><br /><br />".CRELAN_28
|
||||||
);
|
);
|
||||||
|
|
||||||
echo "<?xml version='1.0' encoding='".CHARSET."' ?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
|
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
|
||||||
<html xmlns='http://www.w3.org/1999/xhtml'>
|
<html xmlns='http://www.w3.org/1999/xhtml'>
|
||||||
<head>
|
<head>
|
||||||
<title>".PAGE_NAME."</title>
|
<title>".PAGE_NAME."</title>
|
||||||
<meta http-equiv='content-type' content='text/html; charset=".CHARSET."' />
|
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
|
||||||
<meta http-equiv='content-style-type' content='text/css' />
|
<meta http-equiv='content-style-type' content='text/css' />
|
||||||
<link rel='stylesheet' href='".THEME."style.css' type='text/css' />
|
<link rel='stylesheet' href='".THEME."style.css' type='text/css' />
|
||||||
</head>
|
</head>
|
||||||
@@ -253,5 +253,3 @@ echo "
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
";
|
";
|
||||||
|
|
||||||
?>
|
|
||||||
|
@@ -9,9 +9,9 @@
|
|||||||
* Administration - Database Utilities
|
* Administration - Database Utilities
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $
|
||||||
* $Revision: 1.9 $
|
* $Revision: 1.10 $
|
||||||
* $Date: 2009-01-16 01:02:41 $
|
* $Date: 2009-07-19 11:44:27 $
|
||||||
* $Author: mcfly_e107 $
|
* $Author: marj_nl_fr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -396,7 +396,7 @@ function pref_editor()
|
|||||||
|
|
||||||
foreach($pref as $key => $val)
|
foreach($pref as $key => $val)
|
||||||
{
|
{
|
||||||
$ptext = (is_array($val)) ? "<pre>".print_r($val, TRUE)."</pre>" : htmlspecialchars($val, ENT_QUOTES, CHARSET);
|
$ptext = (is_array($val)) ? "<pre>".print_r($val, TRUE)."</pre>" : htmlspecialchars($val, ENT_QUOTES, 'utf-8');
|
||||||
$ptext = $e107->tp->textclean($ptext, 80);
|
$ptext = $e107->tp->textclean($ptext, 80);
|
||||||
|
|
||||||
$text .= "
|
$text .= "
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
|
||||||
| $Revision: 1.39 $
|
| $Revision: 1.40 $
|
||||||
| $Date: 2009-07-18 15:14:38 $
|
| $Date: 2009-07-19 11:44:28 $
|
||||||
| $Author: marj_nl_fr $
|
| $Author: marj_nl_fr $
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -69,10 +69,10 @@ if (isset($pref['del_unv']) && $pref['del_unv'] && $pref['user_reg_veri'] != 2)
|
|||||||
//
|
//
|
||||||
|
|
||||||
// send the charset to the browser - overrides spurious server settings with the lan pack settings.
|
// send the charset to the browser - overrides spurious server settings with the lan pack settings.
|
||||||
header("Content-type: text/html; charset=".CHARSET, true);
|
header('Content-type: text/html; charset=utf-8', TRUE);
|
||||||
|
|
||||||
|
|
||||||
echo (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='".CHARSET."' "."?".">\n")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n";
|
echo (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='utf-8' "."?".">\n")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n";
|
||||||
|
|
||||||
//
|
//
|
||||||
// B.2: Include admin LAN defines
|
// B.2: Include admin LAN defines
|
||||||
@@ -188,7 +188,7 @@ if (!defined('ADMIN_UPGRADEPLUGIN_ICON'))
|
|||||||
|
|
||||||
echo "<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
echo "<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv='content-type' content='text/html; charset=".CHARSET."' />
|
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
|
||||||
<meta http-equiv='content-style-type' content='text/css' />
|
<meta http-equiv='content-style-type' content='text/css' />
|
||||||
";
|
";
|
||||||
echo (defined("CORE_LC")) ? "<meta http-equiv='content-language' content='".CORE_LC."' />\n" : "";
|
echo (defined("CORE_LC")) ? "<meta http-equiv='content-language' content='".CORE_LC."' />\n" : "";
|
||||||
|
@@ -10,8 +10,8 @@
|
|||||||
* With code from Izydor and Lolo.
|
* With code from Izydor and Lolo.
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
|
||||||
* $Revision: 1.13 $
|
* $Revision: 1.14 $
|
||||||
* $Date: 2009-07-14 12:19:40 $
|
* $Date: 2009-07-19 11:44:28 $
|
||||||
* $Author: marj_nl_fr $
|
* $Author: marj_nl_fr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -765,7 +765,8 @@ function is_utf8($str) {
|
|||||||
/*
|
/*
|
||||||
* @see http://hsivonen.iki.fi/php-utf8/ validation.php
|
* @see http://hsivonen.iki.fi/php-utf8/ validation.php
|
||||||
*/
|
*/
|
||||||
if(strtolower(CHARSET) != "utf-8" || $str == "")
|
//@TODO: always TRUE
|
||||||
|
// if(strtolower(CHARSET) != "utf-8" || $str == "")
|
||||||
{
|
{
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@@ -25,7 +25,7 @@ if(isset($pref['useGeshi']) && $pref['useGeshi'] && file_exists(e_PLUGIN."geshi/
|
|||||||
$geshi = new GeSHi($code_text, ($pref['defaultLanGeshi'] ? $pref['defaultLanGeshi'] : 'php'), e_PLUGIN."geshi/geshi/");
|
$geshi = new GeSHi($code_text, ($pref['defaultLanGeshi'] ? $pref['defaultLanGeshi'] : 'php'), e_PLUGIN."geshi/geshi/");
|
||||||
}
|
}
|
||||||
$geshi->line_style1 = "font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;";
|
$geshi->line_style1 = "font-family: 'Courier New', Courier, monospace; font-weight: normal; font-style: normal;";
|
||||||
$geshi->set_encoding(CHARSET);
|
$geshi->set_encoding('utf-8');
|
||||||
$geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
|
$geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
|
||||||
$geshi->set_header_type(GESHI_HEADER_DIV);
|
$geshi->set_header_type(GESHI_HEADER_DIV);
|
||||||
$CodeCache = $geshi->parse_code();
|
$CodeCache = $geshi->parse_code();
|
||||||
@@ -35,7 +35,7 @@ if(isset($pref['useGeshi']) && $pref['useGeshi'] && file_exists(e_PLUGIN."geshi/
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$code_text = html_entity_decode($code_text, ENT_QUOTES, CHARSET);
|
$code_text = html_entity_decode($code_text, ENT_QUOTES, 'utf-8');
|
||||||
$highlighted_text = highlight_string($code_text, TRUE);
|
$highlighted_text = highlight_string($code_text, TRUE);
|
||||||
$divClass = ($parm) ? $parm : 'code_highlight';
|
$divClass = ($parm) ? $parm : 'code_highlight';
|
||||||
$ret = "<div class='".$tp -> toAttribute($divClass)." code-box' style='unicode-bidi: embed; direction: ltr'>{$highlighted_text}</div>";
|
$ret = "<div class='".$tp -> toAttribute($divClass)." code-box' style='unicode-bidi: embed; direction: ltr'>{$highlighted_text}</div>";
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||||
* $Id: admin_shortcodes_class.php,v 1.13 2009-07-18 11:51:44 marj_nl_fr Exp $
|
* $Id: admin_shortcodes_class.php,v 1.14 2009-07-19 11:44:28 marj_nl_fr Exp $
|
||||||
*
|
*
|
||||||
* Admin shortcode batch - class
|
* Admin shortcode batch - class
|
||||||
*/
|
*/
|
||||||
@@ -792,7 +792,7 @@ class admin_shortcodes
|
|||||||
".FOOTLAN_16.": ".$mySQLdefaultdb."
|
".FOOTLAN_16.": ".$mySQLdefaultdb."
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<b>".FOOTLAN_17."</b>
|
<b>".FOOTLAN_17."</b>
|
||||||
<br />".CHARSET;
|
<br />utf-8"; //@TODO is this still needed?
|
||||||
return $ns->tablerender(FOOTLAN_13, $text, '', TRUE);
|
return $ns->tablerender(FOOTLAN_13, $text, '', TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -921,7 +921,7 @@ class admin_shortcodes
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* e107 website system (c) 2001-2008 Steve Dunstan (e107.org)
|
* e107 website system (c) 2001-2008 Steve Dunstan (e107.org)
|
||||||
* $Id: admin_shortcodes_class.php,v 1.13 2009-07-18 11:51:44 marj_nl_fr Exp $
|
* $Id: admin_shortcodes_class.php,v 1.14 2009-07-19 11:44:28 marj_nl_fr Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (ADMIN)
|
if (ADMIN)
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_files/utilities/resetcore.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_files/utilities/resetcore.php,v $
|
||||||
| $Revision: 1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2008-10-14 20:24:29 $
|
| $Date: 2009-07-19 11:44:28 $
|
||||||
| $Author: e107steved $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -28,12 +28,9 @@ If you don't, the script will not be usable.
|
|||||||
When you have finished with resetcore you should swap true for false so it can't be used by
|
When you have finished with resetcore you should swap true for false so it can't be used by
|
||||||
people it shouldn't be used by.
|
people it shouldn't be used by.
|
||||||
|
|
||||||
If your site uses a different charset than utf-8, change the CHARSET to reflect the correct encoding.
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define("ACTIVE", false);
|
define("ACTIVE", false);
|
||||||
define("CHARSET", 'utf-8');
|
|
||||||
|
|
||||||
/* #################################################### */
|
/* #################################################### */
|
||||||
|
|
||||||
@@ -64,14 +61,13 @@ define("e107_INIT", TRUE);
|
|||||||
require_once('../../'.$HANDLERS_DIRECTORY.'arraystorage_class.php');
|
require_once('../../'.$HANDLERS_DIRECTORY.'arraystorage_class.php');
|
||||||
$eArrayStorage = new ArrayData();
|
$eArrayStorage = new ArrayData();
|
||||||
|
|
||||||
echo "<?xml version='1.0' encoding='".CHARSET."' ?>\n";
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<title><e107 resetcore></title>
|
<title><e107 resetcore></title>
|
||||||
<link rel="stylesheet" href="style.css" />
|
<link rel="stylesheet" href="style.css" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta http-equiv="content-style-type" content="text/css" />
|
<meta http-equiv="content-style-type" content="text/css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@@ -9,9 +9,9 @@
|
|||||||
* Text processing and parsing functions
|
* Text processing and parsing functions
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
||||||
* $Revision: 1.53 $
|
* $Revision: 1.54 $
|
||||||
* $Date: 2009-07-17 02:28:49 $
|
* $Date: 2009-07-19 11:44:28 $
|
||||||
* $Author: e107coders $
|
* $Author: marj_nl_fr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
@@ -158,6 +158,7 @@ class e_parse
|
|||||||
|
|
||||||
|
|
||||||
// This has to be a separate function - can't be called until CHARSET known
|
// This has to be a separate function - can't be called until CHARSET known
|
||||||
|
//@TODO deprecated
|
||||||
function initCharset()
|
function initCharset()
|
||||||
{
|
{
|
||||||
// Start by working out what, if anything, we do about utf-8 handling.
|
// Start by working out what, if anything, we do about utf-8 handling.
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $
|
||||||
| $Revision: 1.10 $
|
| $Revision: 1.11 $
|
||||||
| $Date: 2007-11-04 20:25:02 $
|
| $Date: 2009-07-19 11:44:28 $
|
||||||
| $Author: e107steved $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -105,7 +105,7 @@ function sendemail($send_to, $subject, $message, $to_name, $send_from='', $from_
|
|||||||
$from_name = $tp->toEmail(varsettrue($pref['replyto_name'],$pref['siteadmin']),"","RAWTEXT");
|
$from_name = $tp->toEmail(varsettrue($pref['replyto_name'],$pref['siteadmin']),"","RAWTEXT");
|
||||||
$send_from = $tp->toEmail(varsettrue($pref['replyto_email'],$pref['siteadminemail']),"","RAWTEXT");
|
$send_from = $tp->toEmail(varsettrue($pref['replyto_email'],$pref['siteadminemail']),"","RAWTEXT");
|
||||||
}
|
}
|
||||||
$mail->CharSet = CHARSET;
|
$mail->CharSet = 'utf-8';
|
||||||
$mail->From = $send_from;
|
$mail->From = $send_from;
|
||||||
$mail->FromName = $from_name;
|
$mail->FromName = $from_name;
|
||||||
$mail->Subject = $subject;
|
$mail->Subject = $subject;
|
||||||
|
@@ -9,9 +9,9 @@
|
|||||||
* News handler
|
* News handler
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/news_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/news_class.php,v $
|
||||||
* $Revision: 1.15 $
|
* $Revision: 1.16 $
|
||||||
* $Date: 2009-07-07 06:50:55 $
|
* $Date: 2009-07-19 11:44:28 $
|
||||||
* $Author: e107coders $
|
* $Author: marj_nl_fr $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
@@ -259,6 +259,7 @@ class news {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//@TDODO deprecated?
|
||||||
function make_xml_compatible($original)
|
function make_xml_compatible($original)
|
||||||
{
|
{
|
||||||
global $e107;
|
global $e107;
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/user_select_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/user_select_class.php,v $
|
||||||
| $Revision: 1.4 $
|
| $Revision: 1.5 $
|
||||||
| $Date: 2009-07-07 07:25:27 $
|
| $Date: 2009-07-19 11:44:28 $
|
||||||
| $Author: e107coders $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -155,8 +155,8 @@ class user_select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send the charset to the browser - overrides spurious server settings with the lan pack settings.
|
// send the charset to the browser - overrides spurious server settings with the lan pack settings.
|
||||||
header("Content-type: text/html; charset=".CHARSET, true);
|
header("Content-type: text/html; charset=utf-8", TRUE);
|
||||||
echo (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='".CHARSET."' "."?".">\n")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n";
|
echo (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='utf-8' "."?".">\n")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n";
|
||||||
echo "<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
echo "<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
||||||
<head>
|
<head>
|
||||||
<title>".SITENAME."</title>\n";
|
<title>".SITENAME."</title>\n";
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
| e107 website system - Language File.
|
| e107 website system - Language File.
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/English.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/English.php,v $
|
||||||
| $Revision: 1.11 $
|
| $Revision: 1.12 $
|
||||||
| $Date: 2009-07-18 15:53:10 $
|
| $Date: 2009-07-19 11:44:28 $
|
||||||
| $Author: marj_nl_fr $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -13,7 +13,8 @@ setlocale(LC_ALL, 'en');
|
|||||||
define('CORE_LC', 'en');
|
define('CORE_LC', 'en');
|
||||||
define('CORE_LC2', 'gb');
|
define('CORE_LC2', 'gb');
|
||||||
// define("TEXTDIRECTION","rtl");
|
// define("TEXTDIRECTION","rtl");
|
||||||
define('CHARSET', 'utf-8'); // for a true multi-language site. :)
|
// deprecated: all language packs must be UTF-8
|
||||||
|
//define('CHARSET', 'utf-8'); // for a true multi-language site. :)
|
||||||
define('CORE_LAN1',"Error : theme is missing.\\n\\nChange the used themes in your preferences (admin area) or upload files for the current theme to the server.");
|
define('CORE_LAN1',"Error : theme is missing.\\n\\nChange the used themes in your preferences (admin area) or upload files for the current theme to the server.");
|
||||||
//obsolete define('CORE_LAN2'," \\1 wrote:");// "\\1" represents the username.
|
//obsolete define('CORE_LAN2'," \\1 wrote:");// "\\1" represents the username.
|
||||||
//obsolete define('CORE_LAN3', 'file attachment disabled'); // Not used in 0.8
|
//obsolete define('CORE_LAN3', 'file attachment disabled'); // Not used in 0.8
|
||||||
|
@@ -109,12 +109,11 @@ if(isset($_POST['addpreset'])){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$text .= "
|
$text = "<!DOCTYPE HTML PUBLIC '-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>\n
|
||||||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>\n
|
|
||||||
<html>\n
|
<html>\n
|
||||||
<head>\n
|
<head>\n
|
||||||
<title>".CONTENT_PRESET_LAN_7."</title>\n
|
<title>".CONTENT_PRESET_LAN_7."</title>\n
|
||||||
<meta http-equiv='content-type' content='text/html; charset=".CHARSET."' />\n
|
<meta http-equiv='content-type' content='text/html; charset=utf-8' />\n
|
||||||
<script type='text/javascript' src='../../../e107_files/e107.js'></script>
|
<script type='text/javascript' src='../../../e107_files/e107.js'></script>
|
||||||
".$js."
|
".$js."
|
||||||
<style type='text/css'>\n
|
<style type='text/css'>\n
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/e_tohtml.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/e_tohtml.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2009-02-03 11:59:02 $
|
| $Date: 2009-07-19 11:44:28 $
|
||||||
| $Author: lisa_ $
|
| $Author: marj_nl_fr $
|
||||||
|
|
|
|
||||||
| *utf - flags functions which need utf-8-aware code
|
| *utf - flags functions which need utf-8-aware code
|
||||||
TODO:
|
TODO:
|
||||||
@@ -130,6 +130,7 @@ class e_tohtml_linkwords
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->area_opts = $pref['lw_context_visibility'];
|
$this->area_opts = $pref['lw_context_visibility'];
|
||||||
|
//@TODO utfMode probably obsolete
|
||||||
$this->utfMode = (strtolower(CHARSET) == 'utf-8') ? 'u' : ''; // Flag to enable utf-8 on regex
|
$this->utfMode = (strtolower(CHARSET) == 'utf-8') ? 'u' : ''; // Flag to enable utf-8 on regex
|
||||||
$this->lwAjaxEnabled = varset($pref['lw_ajax_enable'],0);
|
$this->lwAjaxEnabled = varset($pref['lw_ajax_enable'],0);
|
||||||
}
|
}
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/newsletter/admin_config.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/newsletter/admin_config.php,v $
|
||||||
| $Revision: 1.8 $
|
| $Revision: 1.9 $
|
||||||
| $Date: 2009-03-05 22:22:18 $
|
| $Date: 2009-07-19 11:44:28 $
|
||||||
| $Author: e107steved $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
require_once('../../class2.php');
|
require_once('../../class2.php');
|
||||||
@@ -407,7 +407,7 @@ class newsletter
|
|||||||
}
|
}
|
||||||
|
|
||||||
$mail->WordWrap = 50;
|
$mail->WordWrap = 50;
|
||||||
$mail->CharSet = CHARSET;
|
$mail->CharSet = 'utf-8';
|
||||||
$mail->Subject = $newsletterParentInfo['newsletter_title'] . ": ".$newsletterInfo['newsletter_title'];
|
$mail->Subject = $newsletterParentInfo['newsletter_title'] . ": ".$newsletterInfo['newsletter_title'];
|
||||||
$mail->IsHTML(true);
|
$mail->IsHTML(true);
|
||||||
|
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/e_meta.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/e_meta.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2008-12-13 12:34:53 $
|
| $Date: 2009-07-19 11:44:29 $
|
||||||
| $Author: e107steved $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
@@ -30,7 +30,7 @@ global $tp,$PLUGINS_DIRECTORY;
|
|||||||
$url = SITEURL.$PLUGINS_DIRECTORY."rss_menu/rss.php?".$tp->toHTML($row['rss_url'], TRUE, 'constants, no_hook, emotes_off').".2";
|
$url = SITEURL.$PLUGINS_DIRECTORY."rss_menu/rss.php?".$tp->toHTML($row['rss_url'], TRUE, 'constants, no_hook, emotes_off').".2";
|
||||||
$url .= ($row['rss_topicid']) ? ".".$row['rss_topicid'] : "";
|
$url .= ($row['rss_topicid']) ? ".".$row['rss_topicid'] : "";
|
||||||
$name = $tp->toHTML($row['rss_name'], TRUE, 'no_hook, emotes_off');
|
$name = $tp->toHTML($row['rss_name'], TRUE, 'no_hook, emotes_off');
|
||||||
echo "<link rel='alternate' type='application/rss+xml' title='".htmlspecialchars(SITENAME, ENT_QUOTES, CHARSET)." ".htmlspecialchars($name, ENT_QUOTES, CHARSET)."' href='".$url."' />\n";
|
echo "<link rel='alternate' type='application/rss+xml' title='".htmlspecialchars(SITENAME, ENT_QUOTES, 'utf-8')." ".htmlspecialchars($name, ENT_QUOTES, 'utf-8')."' href='".$url."' />\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss.php,v $
|
||||||
| $Revision: 1.12 $
|
| $Revision: 1.13 $
|
||||||
| $Date: 2009-06-29 06:30:05 $
|
| $Date: 2009-07-19 11:44:29 $
|
||||||
| $Author: e107coders $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -415,7 +415,7 @@ class rssCreate {
|
|||||||
$time = time();
|
$time = time();
|
||||||
switch ($this -> rssType) {
|
switch ($this -> rssType) {
|
||||||
case 1: // Rss 1.0
|
case 1: // Rss 1.0
|
||||||
echo "<?xml version=\"1.0\" encoding=\"".CHARSET."\" ?>
|
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>
|
||||||
<!-- generator=\"e107\" -->
|
<!-- generator=\"e107\" -->
|
||||||
<!-- content type=\"".$this -> contentType."\" -->
|
<!-- content type=\"".$this -> contentType."\" -->
|
||||||
<rss version=\"0.92\">
|
<rss version=\"0.92\">
|
||||||
@@ -447,7 +447,7 @@ class rssCreate {
|
|||||||
|
|
||||||
case 2: // rss 2.0
|
case 2: // rss 2.0
|
||||||
$sitebutton = (strstr(SITEBUTTON, "http:") ? SITEBUTTON : SITEURL.str_replace("../", "", e_IMAGE).SITEBUTTON);
|
$sitebutton = (strstr(SITEBUTTON, "http:") ? SITEBUTTON : SITEURL.str_replace("../", "", e_IMAGE).SITEBUTTON);
|
||||||
echo "<?xml version=\"1.0\" encoding=\"".CHARSET."\"?>
|
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>
|
||||||
<!-- generator=\"e107\" -->
|
<!-- generator=\"e107\" -->
|
||||||
<!-- content type=\"".$this -> contentType."\" -->
|
<!-- content type=\"".$this -> contentType."\" -->
|
||||||
<rss {$rss_namespace} version=\"2.0\">
|
<rss {$rss_namespace} version=\"2.0\">
|
||||||
@@ -541,7 +541,7 @@ class rssCreate {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 3: // rdf
|
case 3: // rdf
|
||||||
echo "<?xml version=\"1.0\" encoding=\"".CHARSET."\" ?>
|
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>
|
||||||
<!-- generator=\"e107\" -->
|
<!-- generator=\"e107\" -->
|
||||||
<!-- content type=\"".$this -> contentType."\" -->
|
<!-- content type=\"".$this -> contentType."\" -->
|
||||||
<rdf:RDF xmlns=\"http://purl.org/rss/1.0/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:sy=\"http://purl.org/rss/1.0/modules/syndication/\" xmlns:admin=\"http://webns.net/mvcb/\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\">
|
<rdf:RDF xmlns=\"http://purl.org/rss/1.0/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:sy=\"http://purl.org/rss/1.0/modules/syndication/\" xmlns:admin=\"http://webns.net/mvcb/\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\">
|
||||||
@@ -599,7 +599,7 @@ class rssCreate {
|
|||||||
|
|
||||||
//new feed for atom - still in development, and not yet tested
|
//new feed for atom - still in development, and not yet tested
|
||||||
case 4:
|
case 4:
|
||||||
echo "<?xml version='1.0' encoding='".CHARSET."'?>\n
|
echo "<?xml version='1.0' encoding='utf-8'?>\n
|
||||||
<feed xmlns='http://www.w3.org/2005/Atom'>\n";
|
<feed xmlns='http://www.w3.org/2005/Atom'>\n";
|
||||||
/*
|
/*
|
||||||
<feed version='0.3'
|
<feed version='0.3'
|
||||||
|
@@ -9,13 +9,13 @@
|
|||||||
// ------------------------------------------------
|
// ------------------------------------------------
|
||||||
// www.j-cons.com
|
// www.j-cons.com
|
||||||
// ================================================
|
// ================================================
|
||||||
// $Revision: 1.5 $Date: 2004/10/04
|
// $Revision: 1.6 $Date: 2004/10/04
|
||||||
// ================================================
|
// ================================================
|
||||||
//
|
//
|
||||||
// $Source: /cvs_backup/e107_0.8/e107_plugins/tinymce/plugins/ibrowser/ibrowser.php,v $
|
// $Source: /cvs_backup/e107_0.8/e107_plugins/tinymce/plugins/ibrowser/ibrowser.php,v $
|
||||||
// $Revision: 1.5 $
|
// $Revision: 1.6 $
|
||||||
// $Date: 2009-07-02 03:24:14 $
|
// $Date: 2009-07-19 11:44:29 $
|
||||||
// $Author: e107coders $
|
// $Author: marj_nl_fr $
|
||||||
// +----------------------------------------------------------------------------+
|
// +----------------------------------------------------------------------------+
|
||||||
// Major Re-work by CaMer0n
|
// Major Re-work by CaMer0n
|
||||||
|
|
||||||
@@ -81,15 +81,14 @@ else
|
|||||||
$d = @dir(e_BASE.$imglib);
|
$d = @dir(e_BASE.$imglib);
|
||||||
|
|
||||||
|
|
||||||
echo "
|
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
|
||||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
|
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>".$lang_ibrowser_title."</title>
|
<title>".$lang_ibrowser_title."</title>
|
||||||
<script type=\"text/javascript\" src=\"../../tiny_mce_popup.js\"></script>
|
<script type=\"text/javascript\" src=\"../../tiny_mce_popup.js\"></script>
|
||||||
<meta http-equiv=\"Pragma\" content=\"no-cache\" />
|
<meta http-equiv=\"Pragma\" content=\"no-cache\" />
|
||||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=". CHARSET."\" />
|
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
|
||||||
<script type=\"text/javascript\">
|
<script type=\"text/javascript\">
|
||||||
|
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
|
@@ -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/email_template.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/email_template.php,v $
|
||||||
| $Revision: 1.6 $
|
| $Revision: 1.7 $
|
||||||
| $Date: 2009-07-06 07:50:44 $
|
| $Date: 2009-07-19 11:44:29 $
|
||||||
| $Author: marj_nl_fr $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -39,10 +39,10 @@ $EMAIL_FROM_NAME = ""; // Admin
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
$EMAIL_HEADER = "
|
$EMAIL_HEADER = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
|
||||||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
|
|
||||||
<html xmlns='http://www.w3.org/1999/xhtml' >
|
<html xmlns='http://www.w3.org/1999/xhtml' >
|
||||||
<head><meta http-equiv='content-type' content='text/html; charset=".CHARSET."' />
|
<head>
|
||||||
|
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
|
||||||
{STYLESHEET}
|
{STYLESHEET}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@@ -6,9 +6,9 @@
|
|||||||
| Released under the terms and conditions of the GNU General Public License (http://gnu.org).
|
| Released under the terms and conditions of the GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/header_default.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/header_default.php,v $
|
||||||
| $Revision: 1.36 $
|
| $Revision: 1.37 $
|
||||||
| $Date: 2009-07-14 11:05:54 $
|
| $Date: 2009-07-19 11:44:30 $
|
||||||
| $Author: e107coders $
|
| $Author: marj_nl_fr $
|
||||||
+-----------------------------------------------------------------------------------------------+
|
+-----------------------------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -74,19 +74,19 @@ if (!function_exists("parseheader")) {
|
|||||||
// send the charset to the browser - overrides spurious server settings with the lan pack settings.
|
// send the charset to the browser - overrides spurious server settings with the lan pack settings.
|
||||||
// Would like to set the MIME type appropriately - but it broke other things
|
// Would like to set the MIME type appropriately - but it broke other things
|
||||||
//if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml"))
|
//if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml"))
|
||||||
// header("Content-type: application/xhtml+xml; charset=".CHARSET, true);
|
// header("Content-type: application/xhtml+xml; charset=utf-8", TRUE);
|
||||||
//else
|
//else
|
||||||
header("Content-type: text/html; charset=".CHARSET, true);
|
header("Content-type: text/html; charset=utf-8", TRUE);
|
||||||
|
|
||||||
|
|
||||||
echo (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='".CHARSET."' "."?".">\n")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n";
|
echo (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='utf-8' "."?".">\n")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n";
|
||||||
|
|
||||||
//
|
//
|
||||||
// C: Send start of HTML
|
// C: Send start of HTML
|
||||||
//
|
//
|
||||||
echo "<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
echo "<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv='content-type' content='text/html; charset=".CHARSET."' />
|
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
|
||||||
<meta http-equiv='content-style-type' content='text/css' />
|
<meta http-equiv='content-style-type' content='text/css' />
|
||||||
";
|
";
|
||||||
echo (defined("CORE_LC")) ? "<meta http-equiv='content-language' content='".CORE_LC."' />\n" : "";
|
echo (defined("CORE_LC")) ? "<meta http-equiv='content-language' content='".CORE_LC."' />\n" : "";
|
||||||
|
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/sitedown_template.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/sitedown_template.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2007-12-06 21:35:55 $
|
| $Date: 2009-07-19 11:44:30 $
|
||||||
| $Author: e107steved $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -22,12 +22,12 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
// ##### SITEDOWN TABLE -----------------------------------------------------------------
|
// ##### SITEDOWN TABLE -----------------------------------------------------------------
|
||||||
if(!isset($SITEDOWN_TABLE))
|
if(!isset($SITEDOWN_TABLE))
|
||||||
{
|
{
|
||||||
$SITEDOWN_TABLE = (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='".CHARSET."' "."?".">")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
|
$SITEDOWN_TABLE = (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='utf-8' "."?".">")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
|
||||||
";
|
";
|
||||||
$SITEDOWN_TABLE .= "
|
$SITEDOWN_TABLE .= "
|
||||||
<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv='content-type' content='text/html; charset=".CHARSET."' />
|
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
|
||||||
<meta http-equiv='content-style-type' content='text/css' />\n
|
<meta http-equiv='content-style-type' content='text/css' />\n
|
||||||
<link rel='stylesheet' href='".THEME_ABS."style.css' type='text/css' media='all' />
|
<link rel='stylesheet' href='".THEME_ABS."style.css' type='text/css' media='all' />
|
||||||
<title>{SITEDOWN_TABLE_PAGENAME}</title>
|
<title>{SITEDOWN_TABLE_PAGENAME}</title>
|
||||||
|
Reference in New Issue
Block a user