Version 3.3.4
This commit is contained in:
1 parent
78706903a2
commit
fb6b5baabc
2206 files changed
+409828
-382984
No files matched your search
+186
-127
@@ -1,128 +1,187 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* HTML Email template
|
||||
* Last Updated: $Date: 2011-05-05 12:03:47 +0100 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @link http://hatynka.in
|
||||
* @since 3.0
|
||||
* @version $Revision: 8644 $
|
||||
*
|
||||
*/
|
||||
|
||||
class ipsEmailWrapper
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$registry = ipsRegistry::instance();
|
||||
|
||||
/* Make registry objects */
|
||||
$this->registry = $registry;
|
||||
$this->DB = $this->registry->DB();
|
||||
$this->settings =& $this->registry->fetchSettings();
|
||||
$this->request =& $this->registry->fetchRequest();
|
||||
$this->lang = $this->registry->getClass('class_localization');
|
||||
$this->member = $this->registry->member();
|
||||
$this->memberData =& $this->registry->member()->fetchMemberData();
|
||||
$this->cache = $this->registry->cache();
|
||||
$this->caches =& $this->registry->cache()->fetchCaches();
|
||||
}
|
||||
|
||||
/**
|
||||
* return the HTML email wrapper
|
||||
*
|
||||
* @access public
|
||||
* @return string html
|
||||
*/
|
||||
public function getTemplate( $content )
|
||||
{
|
||||
return <<<EOF
|
||||
<!DOCTYPE html>
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset={$this->settings['gb_char_set']}" />
|
||||
<title><#subject#></title>
|
||||
<style type="text/css">
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
|
||||
table { border-collapse:collapse; border-spacing:0; }
|
||||
fieldset,img { border:0; }
|
||||
address,caption,cite,code,dfn,th,var { font-style:normal; font-weight:normal; }
|
||||
ol,ul { list-style:none; }
|
||||
caption,th { text-align:left; }
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
|
||||
q:before,q:after { content:''; }
|
||||
abbr,acronym { border:0; }
|
||||
address{ display: inline; }
|
||||
|
||||
html, body {
|
||||
background-color: #d8dde8;
|
||||
color: #5a5a5a;
|
||||
}
|
||||
|
||||
body {
|
||||
font: normal 13px helvetica, arial, sans-serif;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
h3, strong { font-weight: bold; }
|
||||
em { font-style: italic; }
|
||||
img, .input_check, .input_radio { vertical-align: middle; }
|
||||
legend { display: none; }
|
||||
table { width: 100%; }
|
||||
td { padding: 3px; }
|
||||
|
||||
a {
|
||||
color: #225985;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover { color: #328586; }
|
||||
|
||||
div.outer { margin: 0 auto; padding: 14px; }
|
||||
|
||||
table.wrap { max-width: 800px; margin: 0 auto; }
|
||||
|
||||
td.logo {
|
||||
background-color: #0f3854;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
td.content {
|
||||
background-color: #fff;
|
||||
font-size: 14px !important;
|
||||
color: black !important;
|
||||
line-height: 150% !important;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class='outer'>
|
||||
<table class='wrap'>
|
||||
<tr>
|
||||
<td class='logo'><img src="{$this->settings['img_url']}/logo_transparent.png" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='content'>{$content}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* HTML Email template
|
||||
* Last Updated: $Date: 2011-05-05 12:03:47 +0100 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 3.0
|
||||
* @version $Revision: 8644 $
|
||||
*
|
||||
*/
|
||||
|
||||
class ipsEmailWrapper
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$registry = ipsRegistry::instance();
|
||||
|
||||
/* Make registry objects */
|
||||
$this->registry = $registry;
|
||||
$this->DB = $this->registry->DB();
|
||||
$this->settings =& $this->registry->fetchSettings();
|
||||
$this->request =& $this->registry->fetchRequest();
|
||||
$this->lang = $this->registry->getClass('class_localization');
|
||||
$this->member = $this->registry->member();
|
||||
$this->memberData =& $this->registry->member()->fetchMemberData();
|
||||
$this->cache = $this->registry->cache();
|
||||
$this->caches =& $this->registry->cache()->fetchCaches();
|
||||
}
|
||||
|
||||
/**
|
||||
* return the HTML email wrapper
|
||||
*
|
||||
* @access public
|
||||
* @return string html
|
||||
*/
|
||||
public function getTemplate( $content )
|
||||
{
|
||||
return <<<EOF
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="{$this->settings['gb_char_set']}" />
|
||||
<title><#subject#></title>
|
||||
<style type="text/css">
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
|
||||
fieldset,img { border:0; }
|
||||
address,caption,cite,code,dfn,th,var { font-style:normal; font-weight:normal; }
|
||||
ol,ul { list-style:none; }
|
||||
caption,th { text-align:left; }
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
|
||||
q:before,q:after { content:''; }
|
||||
abbr,acronym { border:0; }
|
||||
address{ display: inline; }
|
||||
|
||||
body {
|
||||
font: normal 13px helvetica, arial, sans-serif;
|
||||
position: relative;
|
||||
background: #EBF0F3;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
h3, strong { font-weight: bold; }
|
||||
em { font-style: italic; }
|
||||
img, .input_check, .input_radio { vertical-align: middle; }
|
||||
legend { display: none; }
|
||||
|
||||
a {
|
||||
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover { color: #328586; }
|
||||
|
||||
div.outer { margin: 0 auto; border: 1px solid #CAD3DE; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; background: #fff; padding-bottom:6px }
|
||||
|
||||
h1.main {
|
||||
font-family: "Lucida Grande", "Lucida Sans Unicode", "Helvetica";
|
||||
font-size:24px;
|
||||
padding-bottom: 2px;
|
||||
background-color: #D8DDE8;
|
||||
padding: 8px 15px 2px 15px;
|
||||
border-bottom: 1px solid #CAD3DE;
|
||||
}
|
||||
|
||||
.content {
|
||||
font-size: 12px !important;
|
||||
color: #333 !important;
|
||||
line-height: 120% !important;
|
||||
padding: 15px 15px 0px 15px;
|
||||
}
|
||||
|
||||
.content .callout {
|
||||
background-color: #F7FBFC;
|
||||
border: 1px solid #EBF0F3; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
|
||||
padding: 8px;
|
||||
margin: 10px 0px 5px 0px;
|
||||
}
|
||||
|
||||
.content .eQuote {
|
||||
font-style: italic;
|
||||
background-color: #efefef;
|
||||
border: 1px solid #EBF0F3; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px;
|
||||
padding: 8px;
|
||||
margin: 10px 0px 5px 0px;
|
||||
}
|
||||
|
||||
.content .callout hr, .content .unsub hr { display: none; }
|
||||
|
||||
.content .unsub { color: #555; font-size: 11px; border-top: 1px solid #CAD3DE; padding-top:6px }
|
||||
|
||||
.footer { color: #444; font-size: 11px; padding:8px; text-align: center }
|
||||
|
||||
hr { display: block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 8px auto;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
border: none;
|
||||
border-top: 1px solid #CAD3DE;
|
||||
border-bottom: 1px solid #FFF;
|
||||
font-size: 1px;
|
||||
line-height: 0;
|
||||
overflow: visible; }
|
||||
|
||||
table.ipb_table {
|
||||
line-height: 1.3;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.ipb_table td {
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #f3f3f3;
|
||||
}
|
||||
|
||||
table.ipb_table tr.unread h4 { font-weight: bold; }
|
||||
table.ipb_table tr.highlighted td { border-bottom: 0; }
|
||||
|
||||
table.ipb_table th {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
padding: 8px 6px;
|
||||
}
|
||||
|
||||
.last_post { margin-left: 45px; }
|
||||
|
||||
table.ipb_table h4,
|
||||
table.ipb_table .topic_title {
|
||||
font-size: 14px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
table.ipb_table .unread .topic_title { font-weight: bold; }
|
||||
table.ipb_table .ipsModMenu { visibility: hidden; }
|
||||
table.ipb_table tr:hover .ipsModMenu, table.ipb_table tr .ipsModMenu.menu_active { visibility: visible; }
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class='outer'>
|
||||
<h1 class='main'>{$this->settings['board_name']}</h1>
|
||||
<div class='content'>
|
||||
{$content}
|
||||
<div class='footer'>
|
||||
<a href='{$this->settings['board_url']}'>{$this->settings['board_name']}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
Vendored
+9
-9
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
+184
-186
@@ -1,187 +1,185 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* Database driver error template
|
||||
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @link http://hatynka.in
|
||||
* @since 3.0
|
||||
* @version $Revision: 8644 $
|
||||
*
|
||||
*/
|
||||
|
||||
class ipsDriverErrorTemplate
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the database error
|
||||
*
|
||||
* @access public
|
||||
* @param boolean Show error in template or not
|
||||
* @param string Error message (only shown/needed if $showError is true)
|
||||
* @return @e void
|
||||
*/
|
||||
public function showError( $showError=false, $errorMessage='')
|
||||
{
|
||||
$errorBlock = '';
|
||||
$name = $_SERVER['HTTP_HOST'];
|
||||
|
||||
if( $showError AND $errorMessage )
|
||||
{
|
||||
$errorMessage = htmlspecialchars($errorMessage);
|
||||
$errorBlock = <<<EOF
|
||||
<div class='database-error'>
|
||||
<form name='mysql'>
|
||||
<textarea rows="15" cols="60">{$errorMessage}</textarea>
|
||||
</form>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
return <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="Fri, 01 January 1999 01:00:00 GMT" />
|
||||
<title>{$name} ошибка базы данных</title>
|
||||
<style type='text/css'>
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
|
||||
table { border-collapse:collapse; border-spacing:0; }
|
||||
fieldset,img { border:0; }
|
||||
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
|
||||
ol,ul { list-style:none; }
|
||||
caption,th { text-align:left; }
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
|
||||
q:before,q:after { content:''; }
|
||||
abbr,acronym { border:0; }
|
||||
hr { display: none; }
|
||||
address{ display: inline; }
|
||||
body {
|
||||
font-family: arial, tahoma, sans-serif;
|
||||
font-size: 0.8em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: arial, tahoma, "times new roman", serif;
|
||||
font-size: 1.9em;
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.6em;
|
||||
font-weight: normal;
|
||||
margin: 0 0 8px 0;
|
||||
clear: both;
|
||||
}
|
||||
a {
|
||||
color: #3e70a8;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #3d8ce4;
|
||||
}
|
||||
|
||||
a.cancel {
|
||||
color: #ad2930;
|
||||
}
|
||||
#branding {
|
||||
background: #484848;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
#content {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
padding: 20px 15px 0px 15px;
|
||||
}
|
||||
|
||||
* #content {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #d7d7d7;
|
||||
background-color: #f5f5f5;
|
||||
padding: 7px 7px 7px 30px;
|
||||
margin: 0 0 10px 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.message.error {
|
||||
background-color: #f3dddd;
|
||||
border-color: #deb7b7;
|
||||
color: #281b1b;
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.message.unspecific {
|
||||
background-color: #f3f3f3;
|
||||
border-color: #d4d4d4;
|
||||
color: #515151;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.database-error {
|
||||
padding: 4px 0px 10px 80px;
|
||||
margin: 10px 0px 10px 0px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 700px;
|
||||
height: 250px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body id='ipboard_body'>
|
||||
<div id='header'>
|
||||
<div id='branding'>
|
||||
<h1>{$name} ошибка базы данных</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<div class='message error'>
|
||||
Возникла ошибка при работе с базой данных.
|
||||
{$errorBlock}
|
||||
</div>
|
||||
|
||||
<p class='message unspecific'>
|
||||
К сожалению, на данный момент из-за технических проблем с базой данных, форум не может обработать ваш запрос. О проблеме уже сообщено администрации форума.
|
||||
<br /><br />
|
||||
Приносим свои извинения за причиненные неудобства.
|
||||
<br /><br />
|
||||
Вы можете попробовать обновить страницу нажав <a href="javascript:window.location=window.location;">сюда</a>
|
||||
</p>
|
||||
<p class='message unspecific footer'>
|
||||
«<a href='/index.php' title='На главную'>Вернуться на главную</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* Database driver error template
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 3.0
|
||||
* @version $Revision: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class ipsDriverErrorTemplate
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the database error
|
||||
*
|
||||
* @access public
|
||||
* @param boolean Show error in template or not
|
||||
* @param string Error message (only shown/needed if $showError is true)
|
||||
* @return @e void
|
||||
*/
|
||||
public function showError( $showError=false, $errorMessage='')
|
||||
{
|
||||
$errorBlock = '';
|
||||
$name = $_SERVER['HTTP_HOST'];
|
||||
|
||||
if( $showError AND $errorMessage )
|
||||
{
|
||||
$errorMessage = htmlspecialchars($errorMessage);
|
||||
$errorBlock = <<<EOF
|
||||
<div class='database-error'>
|
||||
<form name='mysql'>
|
||||
<textarea rows="15" cols="60">{$errorMessage}</textarea>
|
||||
</form>
|
||||
</div>
|
||||
EOF;
|
||||
}
|
||||
|
||||
return <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="Fri, 01 January 1999 01:00:00 GMT" />
|
||||
<title>{$name} Driver Error</title>
|
||||
<style type='text/css'>
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
|
||||
table { border-collapse:collapse; border-spacing:0; }
|
||||
fieldset,img { border:0; }
|
||||
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
|
||||
ol,ul { list-style:none; }
|
||||
caption,th { text-align:left; }
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
|
||||
q:before,q:after { content:''; }
|
||||
abbr,acronym { border:0; }
|
||||
hr { display: none; }
|
||||
address{ display: inline; }
|
||||
body {
|
||||
font-family: arial, tahoma, sans-serif;
|
||||
font-size: 0.8em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: arial, tahoma, "times new roman", serif;
|
||||
font-size: 1.9em;
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.6em;
|
||||
font-weight: normal;
|
||||
margin: 0 0 8px 0;
|
||||
clear: both;
|
||||
}
|
||||
a {
|
||||
color: #3e70a8;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #3d8ce4;
|
||||
}
|
||||
|
||||
a.cancel {
|
||||
color: #ad2930;
|
||||
}
|
||||
#branding {
|
||||
background: #484848;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
#content {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
padding: 20px 15px 0px 15px;
|
||||
}
|
||||
|
||||
* #content {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #d7d7d7;
|
||||
background-color: #f5f5f5;
|
||||
padding: 7px 7px 7px 30px;
|
||||
margin: 0 0 10px 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.message.error {
|
||||
background-color: #f3dddd;
|
||||
border-color: #deb7b7;
|
||||
color: #281b1b;
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.message.unspecific {
|
||||
background-color: #f3f3f3;
|
||||
border-color: #d4d4d4;
|
||||
color: #515151;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.database-error {
|
||||
padding: 4px 0px 10px 80px;
|
||||
margin: 10px 0px 10px 0px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 700px;
|
||||
height: 250px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body id='ipboard_body'>
|
||||
<div id='header'>
|
||||
<div id='branding'>
|
||||
<h1>{$name} Driver Error</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<div class='message error'>
|
||||
There appears to be an error with the database.
|
||||
{$errorBlock}
|
||||
</div>
|
||||
|
||||
<p class='message unspecific'>
|
||||
If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again.
|
||||
<br /><br />
|
||||
You can try to refresh the page by clicking <a href="#" onclick="window.location=window.location; return false;">here</a>
|
||||
</p>
|
||||
<p class='message unspecific footer'>
|
||||
«<a href='/index.php' title='Go to home page'>Return to the index</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
+170
-170
@@ -1,171 +1,171 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* Database driver error template
|
||||
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @link http://hatynka.in
|
||||
* @since 3.0
|
||||
* @version $Revision: 8644 $
|
||||
*
|
||||
*/
|
||||
|
||||
class ipsDriverErrorTemplate
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the database error
|
||||
*
|
||||
* @access public
|
||||
* @param boolean Show error in template or not
|
||||
* @param string Error message (only shown/needed if $showError is true)
|
||||
* @return @e void
|
||||
*/
|
||||
public function showError( $showError=false, $errorMessage='' )
|
||||
{
|
||||
$errorBlock = '';
|
||||
$name = $_SERVER['HTTP_HOST'];
|
||||
|
||||
$errorMessage = nl2br( trim( $errorMessage ) );
|
||||
|
||||
return <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="ru" lang="ru" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="Fri, 01 January 1999 01:00:00 GMT" />
|
||||
<title>Ошибка при работе с {$name}</title>
|
||||
<style type='text/css'>
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
|
||||
table { border-collapse:collapse; border-spacing:0; }
|
||||
fieldset,img { border:0; }
|
||||
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
|
||||
ol,ul { list-style:none; }
|
||||
caption,th { text-align:left; }
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
|
||||
q:before,q:after { content:''; }
|
||||
abbr,acronym { border:0; }
|
||||
hr { display: none; }
|
||||
address{ display: inline; }
|
||||
body {
|
||||
font-family: arial, tahoma, sans-serif;
|
||||
font-size: 0.8em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: arial, tahoma, "times new roman", serif;
|
||||
font-size: 1.9em;
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.6em;
|
||||
font-weight: normal;
|
||||
margin: 0 0 8px 0;
|
||||
clear: both;
|
||||
}
|
||||
a {
|
||||
color: #3e70a8;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #3d8ce4;
|
||||
}
|
||||
|
||||
a.cancel {
|
||||
color: #ad2930;
|
||||
}
|
||||
#branding {
|
||||
background: #484848;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
#content {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
padding: 20px 15px 0px 15px;
|
||||
}
|
||||
|
||||
* #content {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #d7d7d7;
|
||||
background-color: #f5f5f5;
|
||||
padding: 7px 30px 7px 30px;
|
||||
margin: 0 0 10px 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.message.error {
|
||||
background-color: #f5bbbb;
|
||||
border-color: #deb7b7;
|
||||
color: #281b1b;
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.message.error p.desc {
|
||||
font-size: 0.8em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.message.unspecific {
|
||||
background-color: #f3f3f3;
|
||||
border-color: #d4d4d4;
|
||||
color: #515151;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
line-height: 150%;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body id='ipboard_body'>
|
||||
<div id='header'>
|
||||
<div id='branding'>
|
||||
<h1>Ошибка</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<div class='message error'>
|
||||
Возникла проблема при работе с SQL сервером:
|
||||
<p class='message unspecific'>$errorMessage</p>
|
||||
<p class='desc'>
|
||||
Данная проблема не является ошибкой внутри IP.Board и скорее всего связана с проблемами на вашем SQL сервере. Постарайтесь сообщить об этой проблеме вашему хостинг-провайдеру.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p class='message unspecific footer'>
|
||||
«<a href='/index.php' title='На главную'>Вернуться на главную страницу</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* Database driver error template
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 3.0
|
||||
* @version $Revision: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class ipsDriverErrorTemplate
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @access public
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the database error
|
||||
*
|
||||
* @access public
|
||||
* @param boolean Show error in template or not
|
||||
* @param string Error message (only shown/needed if $showError is true)
|
||||
* @return @e void
|
||||
*/
|
||||
public function showError( $showError=false, $errorMessage='' )
|
||||
{
|
||||
$errorBlock = '';
|
||||
$name = $_SERVER['HTTP_HOST'];
|
||||
|
||||
$errorMessage = nl2br( trim( $errorMessage ) );
|
||||
|
||||
return <<<EOF
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="Fri, 01 January 1999 01:00:00 GMT" />
|
||||
<title>{$name} Driver Server Level Error</title>
|
||||
<style type='text/css'>
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
|
||||
table { border-collapse:collapse; border-spacing:0; }
|
||||
fieldset,img { border:0; }
|
||||
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
|
||||
ol,ul { list-style:none; }
|
||||
caption,th { text-align:left; }
|
||||
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
|
||||
q:before,q:after { content:''; }
|
||||
abbr,acronym { border:0; }
|
||||
hr { display: none; }
|
||||
address{ display: inline; }
|
||||
body {
|
||||
font-family: arial, tahoma, sans-serif;
|
||||
font-size: 0.8em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: arial, tahoma, "times new roman", serif;
|
||||
font-size: 1.9em;
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.6em;
|
||||
font-weight: normal;
|
||||
margin: 0 0 8px 0;
|
||||
clear: both;
|
||||
}
|
||||
a {
|
||||
color: #3e70a8;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #3d8ce4;
|
||||
}
|
||||
|
||||
a.cancel {
|
||||
color: #ad2930;
|
||||
}
|
||||
#branding {
|
||||
background: #484848;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
#content {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
padding: 20px 15px 0px 15px;
|
||||
}
|
||||
|
||||
* #content {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
.message {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #d7d7d7;
|
||||
background-color: #f5f5f5;
|
||||
padding: 7px 30px 7px 30px;
|
||||
margin: 0 0 10px 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.message.error {
|
||||
background-color: #f5bbbb;
|
||||
border-color: #deb7b7;
|
||||
color: #281b1b;
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.message.error p.desc {
|
||||
font-size: 0.8em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.message.unspecific {
|
||||
background-color: #f3f3f3;
|
||||
border-color: #d4d4d4;
|
||||
color: #515151;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
line-height: 150%;
|
||||
}
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body id='ipboard_body'>
|
||||
<div id='header'>
|
||||
<div id='branding'>
|
||||
<h1>SQL Error</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<div class='message error'>
|
||||
An error occured with the SQL server:
|
||||
<p class='message unspecific'>$errorMessage</p>
|
||||
<p class='desc'>
|
||||
This is not a problem with IP.Board but rather with your SQL server. Please contact your host and copy the message shown above.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p class='message unspecific footer'>
|
||||
«<a href='/index.php' title='Go to home page'>Return to the index</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF;
|
||||
}
|
||||
}
|
||||
+11
-7
@@ -2,18 +2,18 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* IP.Board v3.3.4
|
||||
* IN_DEV Remapping.
|
||||
* Last Updated: $Date: 2011-09-02 10:54:34 -0400 (Fri, 02 Sep 2011) $
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: mark $
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://hatynka.in
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 3.0
|
||||
* @version $Revision: 9449 $
|
||||
* @version $Revision: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -42,25 +42,29 @@ $REMAP = array(
|
||||
'inDevDefault' => 'root',
|
||||
|
||||
# Master skins - please do not modify
|
||||
'masterKeys' => array( 'root', 'mobile' ),
|
||||
'masterKeys' => array( 'root', 'xmlskin', 'mobile' ),
|
||||
|
||||
# This defines which skins are exported for the installer
|
||||
'export' => array( 0 => 'root',
|
||||
2 => 'xmlskin',
|
||||
1 => 'mobile' ),
|
||||
|
||||
# Templates array. setID OR setKey => styleDir. styleDir must be created in 'cache/skin_cache' first
|
||||
'templates' => array(
|
||||
'root' => 'master_skin',
|
||||
'xmlskin' => 'master_skin_xml',
|
||||
'mobile' => 'master_skin_mobile',
|
||||
),
|
||||
|
||||
# CSS. setID OR setKey => cssDir. cssDir must be created in 'public/style_css' first
|
||||
'css' => array(
|
||||
'root' => 'master_css',
|
||||
'xmlskin' => 'master_css_xml',
|
||||
'mobile' => 'master_css_mobile',
|
||||
),
|
||||
|
||||
# Images
|
||||
'images' => array( 'root' => 'master',
|
||||
'xmlskin' => 'master',
|
||||
'mobile' => 'mobile' )
|
||||
);
|
||||
+7
-7
@@ -1,11 +1,11 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="ru" lang="ru" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="Fri, 01 January 1999 01:00:00 GMT" />
|
||||
<title>Ошибка</title>
|
||||
<title>FATAL ERROR</title>
|
||||
<style type='text/css'>
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
|
||||
table { border-collapse:collapse; border-spacing:0; }
|
||||
@@ -89,17 +89,17 @@
|
||||
<body id='ipboard_body'>
|
||||
<div id='header'>
|
||||
<div id='branding'>
|
||||
<h1>ОШИБКА</h1>
|
||||
<h1>FATAL ERROR</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div id='content'>
|
||||
<div class='message error'>
|
||||
IP.Board не удалось прочитать настройки системы из базы данных. Система не может продолжить работу пока причина ошибки не будет устранена.
|
||||
Your settings could not be read by IP.Board. This is a fatal error and IP.Board cannot function while this issue persists.
|
||||
</div>
|
||||
|
||||
<p class='message unspecific'>
|
||||
Данная ошибка связана с нарушением целостности кеша настроек системы. Это может быть результатом неудачного переноса базы данных, либо проблем в работе сервера базы данных.
|
||||
Вам необходимо обратиться в службу поддержки за дальнейшей помощью в решении проблемы.
|
||||
This issue is generally caused by changing your character set in the ACP to one that does not support data stored in the rest of your settings, or by restoring a database backup/completing a server transfer and importing your database tables using the wrong character set or collation.
|
||||
You should contact <a href='http://invisionpower.com'>IPS Technical Support</a> for further assistance.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user