Version 3.4.6
This commit is contained in:
1 parent
e4478369d8
commit
b45ea0dffb
1568 files changed
+155104
-161665
No files matched your search
@@ -17,17 +17,17 @@
|
|||||||
<div id='content'>
|
<div id='content'>
|
||||||
|
|
||||||
<div class='message'>
|
<div class='message'>
|
||||||
<a href='http://external.ipslink.com/ipboard30/landing/?p=installation-guide'>Installing →
|
<a href='http://anonym.to/?http://external.ipslink.com/ipboard30/landing/?p=installation-guide'>Installing →
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div class='message'>
|
<div class='message'>
|
||||||
<a href='http://external.ipslink.com/ipboard30/landing/?p=upgrade-guide'>Upgrading →
|
<a href='http://anonym.to/?http://external.ipslink.com/ipboard30/landing/?p=upgrade-guide'>Upgrading →
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div class='message'>
|
<div class='message'>
|
||||||
<a href='http://external.ipslink.com/ipboard30/landing/?p=convert-guide'>Converting →
|
<a href='http://anonym.to/?http://external.ipslink.com/ipboard30/landing/?p=convert-guide'>Converting →
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionpower.com">Invision Power Board</a>␍</body>␍</html>␍
|
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍Invision Power Board␍</body>␍</html>␍
|
||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
+---------------------------------------------------------------------------
|
+---------------------------------------------------------------------------
|
||||||
| IP.Board v3.4.5
|
| IP.Board v3.4.6
|
||||||
| ========================================
|
| ========================================
|
||||||
| by Matthew Mecham
|
| by Matthew Mecham
|
||||||
| (c) 2008 Invision Power Services
|
| (c) 2008 Invision Power Services
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
+---------------------------------------------------------------------------
|
+---------------------------------------------------------------------------
|
||||||
| IP.Board v3.4.5
|
| IP.Board v3.4.6
|
||||||
| ========================================
|
| ========================================
|
||||||
| by Matthew Mecham
|
| by Matthew Mecham
|
||||||
| (c) 2008 Invision Power Services
|
| (c) 2008 Invision Power Services
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
+---------------------------------------------------------------------------
|
+---------------------------------------------------------------------------
|
||||||
| IP.Board v3.4.5
|
| IP.Board v3.4.6
|
||||||
| ========================================
|
| ========================================
|
||||||
| by Matthew Mecham
|
| by Matthew Mecham
|
||||||
| (c) 2008 Invision Power Services
|
| (c) 2008 Invision Power Services
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2011-03-31 11:17:44 +0100 (Thu, 31 Mar 2011) $
|
* Last Updated: $Date: 2011-03-31 11:17:44 +0100 (Thu, 31 Mar 2011) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-06-06 15:26:34 -0400 (Wed, 06 Jun 2012) $
|
* Last Updated: $Date: 2012-06-06 15:26:34 -0400 (Wed, 06 Jun 2012) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Rebuilds stuff from XML
|
* Rebuilds stuff from XML
|
||||||
* Last Updated: $Date: 2012-06-06 15:26:34 -0400 (Wed, 06 Jun 2012) $
|
* Last Updated: $Date: 2012-06-06 15:26:34 -0400 (Wed, 06 Jun 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
+282
-279
@@ -1,280 +1,283 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define( 'IPB_VERSION', '3.4' );
|
define( 'IPB_VERSION', '3.4' );
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html
|
<!DOCTYPE html
|
||||||
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||||
<title>IP.Board <?php print IPB_VERSION; ?> - Requirements Checker</title>
|
<title>IP.Board <?php print IPB_VERSION; ?> - Requirements Checker</title>
|
||||||
<style type='text/css'>
|
<style type='text/css'>
|
||||||
.pass {
|
.pass {
|
||||||
color: green;
|
color: green;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fail {
|
.fail {
|
||||||
color: red;
|
color: red;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.warn {
|
.warn {
|
||||||
color: orange;
|
color: orange;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.what-you-should-do {
|
.what-you-should-do {
|
||||||
color: grey;
|
color: grey;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
border-bottom: 1px dotted grey;
|
border-bottom: 1px dotted grey;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-family: "Arial, Verdana";
|
font-family: "Arial, Verdana";
|
||||||
}
|
}
|
||||||
|
|
||||||
p.final {
|
p.final {
|
||||||
border-bottom: 0px;
|
border-bottom: 0px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>IP.Board <?php print IPB_VERSION; ?> Requirements Checker</h1>
|
<h1>IP.Board <?php print IPB_VERSION; ?> Requirements Checker</h1>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
$extensions = get_loaded_extensions();
|
||||||
$extensions = get_loaded_extensions();
|
$version = phpversion();
|
||||||
$version = phpversion();
|
$minVersion = '5.2.0';
|
||||||
$minVersion = '5.2.0';
|
|
||||||
|
//-----------------------------------------
|
||||||
//-----------------------------------------
|
// Checking against required version
|
||||||
// Checking against required version
|
//-----------------------------------------
|
||||||
//-----------------------------------------
|
|
||||||
|
$checkRequiredVersion = version_compare( $minVersion, $version, '<=' );
|
||||||
$checkRequiredVersion = version_compare( $minVersion, $version, '<=' );
|
flushOutput( "Checking minimum version ({$minVersion})...", $checkRequiredVersion, "You must be running PHP v{$minVersion} or greater to use IP.Board " . IPB_VERSION . ". You are currently running version {$version}. Please ask your host to move you to a server running PHP v{$minVersion} or greater." );
|
||||||
flushOutput( "Проверка версии PHP (минимум - {$minVersion})...", $checkRequiredVersion, "Вы должны установить PHP версии {$minVersion} или выше для запуска IP.Board " . IPB_VERSION . ". Сейчас работает версия {$version}. Пожалуйста, свяжитесь с вашим хостинг-провайдером для обновления PHP до версии {$minVersion} или выше." );
|
|
||||||
|
print "<p>You are running PHP <strong>{$version}</strong></p>";
|
||||||
print "<p>You are running PHP <strong>{$version}</strong></p>";
|
|
||||||
|
//-----------------------------------------
|
||||||
//-----------------------------------------
|
// Check for zend guard
|
||||||
// Check for zend guard
|
//-----------------------------------------
|
||||||
//-----------------------------------------
|
|
||||||
|
$hasZend = false;
|
||||||
$hasZend = false;
|
$hasIoncube = false;
|
||||||
|
|
||||||
if ( function_exists( 'zend_loader_enabled' ) )
|
if ( function_exists( 'zend_loader_enabled' ) )
|
||||||
{
|
{
|
||||||
if ( @zend_loader_enabled() === true )
|
if ( @zend_loader_enabled() === true )
|
||||||
{
|
{
|
||||||
$hasZend = true;
|
$hasZend = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flushOutput( "Только для IP.Nexus: Проверка обработки скриптов, закодированных Zend Guard...", $hasZend, "Ваш сервер не может обрабатывать закодированные скрипты IP.Nexus. Это не влияет на IP.Board, IP.Downloads. IP.Blog, IP.Gallery, IP.Content, IP.Chat" );
|
if ( extension_loaded( 'ionCube Loader' ) )
|
||||||
|
{
|
||||||
//-----------------------------------------
|
$hasIoncube = true;
|
||||||
// Memory limit
|
}
|
||||||
//-----------------------------------------
|
|
||||||
|
flushOutput( "IP.Nexus Only: Checking for ability to load Zend Guard encoded files...", $hasZend, "Not able to run the Zend encoded files for IP.Nexus." );
|
||||||
$_memLimit = null;
|
|
||||||
$_recLimit = 128;
|
flushOutput( "IP.Nexus Only: Checking for ability to load Ioncube encoded files...", $hasIoncube, "Not able to run the Ioncube encoded files for IP.Nexus." );
|
||||||
|
|
||||||
if( @ini_get('memory_limit') )
|
flushOutput( "IP.Nexus Only: Can run IP.Nexus...", $hasZend or $hasIoncube, "Not able to run either Ioncube or Zend Encoded IP.Nexus files. You can still use IP.Board, IP.Downloads. IP.Blog, IP.Gallery, IP.Content, IP.Chat" );
|
||||||
{
|
|
||||||
$_memLimit = @ini_get('memory_limit');
|
//-----------------------------------------
|
||||||
}
|
// Memory limit
|
||||||
|
//-----------------------------------------
|
||||||
if( $_memLimit )
|
|
||||||
{
|
$_memLimit = null;
|
||||||
$_intLimit = $_memLimit;
|
$_recLimit = 128;
|
||||||
$_intRec = $_recLimit * 1024 * 1024;
|
|
||||||
|
if( @ini_get('memory_limit') )
|
||||||
preg_match( "#^(\d+)(\w+)$#", strtolower($_intLimit), $match );
|
{
|
||||||
|
$_memLimit = @ini_get('memory_limit');
|
||||||
if( $match[2] == 'g' )
|
}
|
||||||
{
|
|
||||||
$_intLimit = intval( $_intLimit ) * 1024 * 1024 * 1024;
|
if( $_memLimit )
|
||||||
}
|
{
|
||||||
else if ( $match[2] == 'm' )
|
$_intLimit = $_memLimit;
|
||||||
{
|
$_intRec = $_recLimit * 1024 * 1024;
|
||||||
$_intLimit = intval( $_intLimit ) * 1024 * 1024;
|
|
||||||
}
|
preg_match( "#^(\d+)(\w+)$#", strtolower($_intLimit), $match );
|
||||||
else if ( $match[2] == 'k' )
|
|
||||||
{
|
if( $match[2] == 'g' )
|
||||||
$_intLimit = intval( $_intLimit ) * 1024;
|
{
|
||||||
}
|
$_intLimit = intval( $_intLimit ) * 1024 * 1024 * 1024;
|
||||||
else
|
}
|
||||||
{
|
else if ( $match[2] == 'm' )
|
||||||
$_intLimit = intval( $_intLimit );
|
{
|
||||||
}
|
$_intLimit = intval( $_intLimit ) * 1024 * 1024;
|
||||||
|
}
|
||||||
if( $_intLimit >= $_intRec )
|
else if ( $match[2] == 'k' )
|
||||||
{
|
{
|
||||||
flushOutput( "Проверка выделения памяти ({$_recLimit}M или больше рекомендуется)...", true, "Ваш сервер ограничивает объем выделяемой памяти(memory_limit): {$_memLimit}" );
|
$_intLimit = intval( $_intLimit ) * 1024;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
flushOutput( "Проверка выделения памяти ({$_recLimit}M или больше рекомендуется)...", 2, "Ваш сервер ограничивает объем выделяемой памяти(memory_limit): {$_memLimit}. Вы можете использовать IP.Board, но свяжитесь с вашим хостинг-провайдером и попросите его увеличить memory_limit до {$_recLimit}M, чтобы избежать ошибок в будущем. Возможно прекращение работы скриптов при обработке больших объемов данных" );
|
$_intLimit = intval( $_intLimit );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
if( $_intLimit >= $_intRec )
|
||||||
{
|
{
|
||||||
flushOutput( "Проверка выделения памяти ({$_recLimit}M или больше рекомендуется)...", 2, "Не удалось получить значение переменной memory_limit" );
|
flushOutput( "Checking memory limit ({$_recLimit}M or better recommended)...", true, "Your memory limit: {$_memLimit}" );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
//-----------------------------------------
|
{
|
||||||
// Checking for SPL
|
flushOutput( "Checking memory limit ({$_recLimit}M or better recommended)...", 2, "Your memory limit: {$_memLimit}. You can still proceed but we recommend you contact your host and request the memory limit be raised to {$_recLimit}M to prevent possible issues." );
|
||||||
//-----------------------------------------
|
}
|
||||||
|
}
|
||||||
$splExists = in_array( 'SPL', $extensions );
|
else
|
||||||
flushOutput( "Проверка SPL...", $splExists, "IP.Board " . IPB_VERSION . " требуется расширение PHP SPL. Пожалуйста, свяжитесь с вашим хостинг-провайдером для установки <a href='http://www.php.net/manual/ru/spl.setup.php'>библиотеки SPL</a>." );
|
{
|
||||||
|
flushOutput( "Checking memory limit ({$_recLimit}M or better recommended)...", 2, "Could not determine your memory limit" );
|
||||||
//-----------------------------------------
|
}
|
||||||
// Checking for DOM XML
|
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
// Checking for SPL
|
||||||
$domXML = in_array( 'dom', $extensions );
|
//-----------------------------------------
|
||||||
flushOutput( "Проверка обработки DOM XML...", $domXML, "IP.Board " . IPB_VERSION . " требуется расширение обработчика DOM XML. Пожалуйста, свяжитесь с вашим хостинг-провайдером для установки <a href='http://www.php.net/manual/ru/dom.setup.php'>библиотеки libxml2</a>." );
|
|
||||||
|
$splExists = in_array( 'SPL', $extensions );
|
||||||
//-----------------------------------------
|
flushOutput( "Checking for SPL...", $splExists, "The PHP SPL extension is required for IP.Board " . IPB_VERSION . ". Please ask your host to install the <a href='http://www.php.net/manual/en/spl.setup.php'>SPL library</a>." );
|
||||||
// Check for GD2
|
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
// Checking for DOM XML
|
||||||
$gd2 = in_array( 'gd', $extensions );
|
//-----------------------------------------
|
||||||
flushOutput( "Проверка библиотеки GD...", $gd2, "IP.Board " . IPB_VERSION . " требуется библиотека GD2. Пожалуйста, свяжитесь с вашим хостинг-провайдером для установки <a href='http://us.php.net/manual/ru/image.setup.php'>библиотеки libgd</a>." );
|
|
||||||
|
$domXML = in_array( 'dom', $extensions );
|
||||||
if( function_exists( 'gd_info' ) )
|
flushOutput( "Checking for DOM XML Handling...", $domXML, "The DOM XML Handling extension is required for IP.Board " . IPB_VERSION . ". Please ask your host to install the <a href='http://www.php.net/manual/en/dom.setup.php'>libxml2 library</a>." );
|
||||||
{
|
|
||||||
$gdInfo = gd_info();
|
//-----------------------------------------
|
||||||
$fail = true;
|
// Check for GD2
|
||||||
|
//-----------------------------------------
|
||||||
if( $gdInfo["GD Version"] )
|
|
||||||
{
|
$gd2 = in_array( 'gd', $extensions );
|
||||||
preg_match( "/.*?([\d\.]+).*?/", $gdInfo["GD Version"], $matches );
|
flushOutput( "Checking for GD library...", $gd2, "The GD2 library is required for IP.Board " . IPB_VERSION . ". Please ask your host to install the <a href='http://us.php.net/manual/en/image.setup.php'>libgd library</a>." );
|
||||||
|
|
||||||
if( $matches[1] )
|
if( function_exists( 'gd_info' ) )
|
||||||
{
|
{
|
||||||
$compareVersions = version_compare( '2.0', $matches[1], '<=' );
|
$gdInfo = gd_info();
|
||||||
|
$fail = true;
|
||||||
if( !$compareVersions )
|
|
||||||
{
|
if( $gdInfo["GD Version"] )
|
||||||
$fail = 2;
|
{
|
||||||
}
|
preg_match( "/.*?([\d\.]+).*?/", $gdInfo["GD Version"], $matches );
|
||||||
}
|
|
||||||
}
|
if( $matches[1] )
|
||||||
|
{
|
||||||
flushOutput( "Проверка GD2...", $fail, "Библиотека GD установлена, но IP.Board " . IPB_VERSION . " требуется библиотека GD версии 2. Версия переданная вашим сервером '{$gdInfo['GD Version']}'. Пожалуйста убедитесь, что используете GD версии 2, и обновите <a href='http://us.php.net/manual/ru/image.setup.php'>библиотеку libgd</a> при необходимости." );
|
$compareVersions = version_compare( '2.0', $matches[1], '<=' );
|
||||||
}
|
|
||||||
|
if( !$compareVersions )
|
||||||
//-----------------------------------------
|
{
|
||||||
// Checking for mysql extension
|
$fail = 2;
|
||||||
//-----------------------------------------
|
}
|
||||||
|
}
|
||||||
$mysql = in_array( 'mysql', $extensions );
|
}
|
||||||
$mysqli = in_array( 'mysqli', $extensions );
|
|
||||||
flushOutput( "Проверка mysql...", ( $mysql OR $mysqli ), "Ваш сервер не имеет библиотеки mysql, попросите хостера установить поддержку <a href='http://us.php.net/manual/ru/mysqli.setup.php'>mysqli</a>." );
|
flushOutput( "Checking for GD2...", $fail, "While the GD library is installed, GD library version 2 is required for IP.Board " . IPB_VERSION . ". The version reported (if at all) by your server is '{$gdInfo['GD Version']}'. Please verify you are running GD version 2, and upgrade the <a href='http://us.php.net/manual/en/image.setup.php'>libgd library</a> if necessary." );
|
||||||
|
}
|
||||||
if( $mysql AND !$mysqli )
|
|
||||||
{
|
//-----------------------------------------
|
||||||
flushOutput( "Проверка поддержки mysqli...", false, "Расширение mysqli рекомендуется вместо стандартного интерфейса mysql. Форум может обойтись и без него, но, если возможно, установите <a href='http://us.php.net/manual/ru/mysqli.setup.php'>его</a> для улучшения скорости и безопасности работы." );
|
// Checking for mysql extension
|
||||||
}
|
//-----------------------------------------
|
||||||
|
|
||||||
|
$mysql = in_array( 'mysql', $extensions );
|
||||||
//-----------------------------------------
|
$mysqli = in_array( 'mysqli', $extensions );
|
||||||
// Checking for JSON
|
flushOutput( "Checking for mysql support...", ( $mysql OR $mysqli ), "Your server does not appear to have a mysql library available, please ask your host to install the <a href='http://us.php.net/manual/en/mysqli.setup.php'>mysqli extension</a>." );
|
||||||
//-----------------------------------------
|
|
||||||
|
if( $mysql AND !$mysqli )
|
||||||
$json = in_array( 'json', $extensions );
|
{
|
||||||
flushOutput( "Проверка JSON...", $json, "Расширение PHP JSON необходимо для функционирования форума. Узнайте как установить <a href='http://us.php.net/manual/ru/json.setup.php'>расширение json</a>." );
|
flushOutput( "Checking for mysqli support...", false, "The mysqli extension is preferred over the original mysql extension. This is not a requirement, but if possible we recommend you to install the <a href='http://us.php.net/manual/en/mysqli.setup.php'>mysqli extension</a> for better performance." );
|
||||||
|
}
|
||||||
//-----------------------------------------
|
|
||||||
// Checking for openSSL
|
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
// Checking for JSON
|
||||||
$openssl = in_array( 'openssl', $extensions ) ? true : 2;
|
//-----------------------------------------
|
||||||
flushOutput( "Проверка openSSL...", $openssl, "OpenSSL необходим для модулей связи с Facebook, Twitter, и модуля Subscription Manager. Если вы не используете ни один из этих модулей, то можно обойтись без этого расширения, иначе вам необходимо установить<a href='http://us2.php.net/manual/ru/openssl.installation.php'> расширение openssl</a>." );
|
|
||||||
|
$json = in_array( 'json', $extensions );
|
||||||
//-----------------------------------------
|
flushOutput( "Checking for JSON...", $json, "While not required, the PHP JSON extension is recommended. The JSON extensions provides for improved efficiency in handling some functionality in IP.Board. If possible, we recommend you to install the <a href='http://us.php.net/manual/en/json.setup.php'>json extension</a>." );
|
||||||
// Suhosin
|
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
// Checking for openSSL
|
||||||
if( extension_loaded( 'suhosin' ) )
|
//-----------------------------------------
|
||||||
{
|
|
||||||
$_postMaxVars = @ini_get('suhosin.post.max_vars');
|
$openssl = in_array( 'openssl', $extensions ) ? true : 2;
|
||||||
$_reqMaxVars = @ini_get('suhosin.request.max_vars');
|
flushOutput( "Checking for openSSL...", $openssl, "OpenSSL is required for some Facebook, Twitter, and Subscription Manager functionality. If you do not use any of these modules, you do not need this module, otherwise we recommend you to install the <a href='http://us2.php.net/manual/en/openssl.installation.php'>openssl extension</a>." );
|
||||||
$_getMaxLen = @ini_get('suhosin.get.max_value_length');
|
|
||||||
$_postMaxLen = @ini_get('suhosin.post.max_value_length');
|
//-----------------------------------------
|
||||||
$_reqMaxLen = @ini_get('suhosin.request.max_value_length');
|
// Suhosin
|
||||||
$_reqMaxVar = @ini_get('suhosin.request.max_varname_length');
|
//-----------------------------------------
|
||||||
|
|
||||||
$_indPMV = $_postMaxVars < 4096 ? 2 : true;
|
if( extension_loaded( 'suhosin' ) )
|
||||||
$_indRMV = $_reqMaxVars < 4096 ? 2 : true;
|
{
|
||||||
$_indGML = $_getMaxLen < 2000 ? 2 : true;
|
$_postMaxVars = @ini_get('suhosin.post.max_vars');
|
||||||
$_indPML = $_postMaxLen < 1000000 ? 2 : true;
|
$_reqMaxVars = @ini_get('suhosin.request.max_vars');
|
||||||
$_indRML = $_reqMaxLen < 1000000 ? 2 : true;
|
$_getMaxLen = @ini_get('suhosin.get.max_value_length');
|
||||||
$_indRMVL = $_reqMaxVar < 350 ? 2 : true;
|
$_postMaxLen = @ini_get('suhosin.post.max_value_length');
|
||||||
|
$_reqMaxLen = @ini_get('suhosin.request.max_value_length');
|
||||||
flushOutput( "suhosin.post.max_vars (4096 or better recommended)...", $_indPMV, "Your value: {$_postMaxVars}. Can prevent some forms (especially in the ACP) from saving properly." );
|
$_reqMaxVar = @ini_get('suhosin.request.max_varname_length');
|
||||||
flushOutput( "suhosin.request.max_vars (4096 or better recommended)...", $_indRMV, "Your value: {$_reqMaxVars}. Can prevent some forms (especially in the ACP) from saving properly." );
|
|
||||||
flushOutput( "suhosin.get.max_value_length (2000 or better recommended)...", $_indGML, "Your value: {$_postMaxLen}. Can prevent very long URLs from loading correctly." );
|
$_indPMV = $_postMaxVars < 4096 ? 2 : true;
|
||||||
flushOutput( "suhosin.post.max_value_length (1000000 or better recommended)...", $_indPML, "Your value: {$_postMaxLen}. Can prevent very large posts or other form submissions from saving properly." );
|
$_indRMV = $_reqMaxVars < 4096 ? 2 : true;
|
||||||
flushOutput( "suhosin.request.max_value_length (1000000 or better recommended)...", $_indRML, "Your value: {$_reqMaxLen}. Can prevent very large posts or other form submissions from saving properly." );
|
$_indGML = $_getMaxLen < 2000 ? 2 : true;
|
||||||
flushOutput( "suhosin.request.max_varname_length (350 or better recommended)...", $_indRMVL, "Your value: {$_reqMaxVar}. Can prevent long friendly URLs from loading correctly." );
|
$_indPML = $_postMaxLen < 1000000 ? 2 : true;
|
||||||
}
|
$_indRML = $_reqMaxLen < 1000000 ? 2 : true;
|
||||||
|
$_indRMVL = $_reqMaxVar < 350 ? 2 : true;
|
||||||
$testtext="тестовый текст в кодировке utf-8";
|
|
||||||
$pcre=($testtext == preg_replace( '/(^|\W)дир(\W|$)/iu', "\\1замена\\2", $testtext ))?true:false;
|
flushOutput( "suhosin.post.max_vars (4096 or better recommended)...", $_indPMV, "Your value: {$_postMaxVars}. Can prevent some forms (especially in the ACP) from saving properly." );
|
||||||
flushOutput( "Проверка расширения PCRE на правильную работу со строками в формате UTF-8...", $pcre, "Библиотека PCRE неправильно обрабатывает регулярные выражения в кодировке UTF-8, обратитесь к хостинг-провайдеру для исправления этой ошибки. Неправильная работа этой функции может привести к ошикам при работе с русскими именами пользователей, ошибкам фильтра нецензурных слов и т.д." );
|
flushOutput( "suhosin.request.max_vars (4096 or better recommended)...", $_indRMV, "Your value: {$_reqMaxVars}. Can prevent some forms (especially in the ACP) from saving properly." );
|
||||||
|
flushOutput( "suhosin.get.max_value_length (2000 or better recommended)...", $_indGML, "Your value: {$_postMaxLen}. Can prevent very long URLs from loading correctly." );
|
||||||
|
flushOutput( "suhosin.post.max_value_length (1000000 or better recommended)...", $_indPML, "Your value: {$_postMaxLen}. Can prevent very large posts or other form submissions from saving properly." );
|
||||||
flushOutput( 'Проверка функции filter_var()...', function_exists ( 'filter_var' ), 'Функция отсутствует, это может привести к фатальным ошибкам php и остановке выполнения скриптов' );
|
flushOutput( "suhosin.request.max_value_length (1000000 or better recommended)...", $_indRML, "Your value: {$_reqMaxLen}. Can prevent very large posts or other form submissions from saving properly." );
|
||||||
//-----------------------------------------
|
flushOutput( "suhosin.request.max_varname_length (350 or better recommended)...", $_indRMVL, "Your value: {$_reqMaxVar}. Can prevent long friendly URLs from loading correctly." );
|
||||||
// Flush output function
|
}
|
||||||
//-----------------------------------------
|
|
||||||
|
//-----------------------------------------
|
||||||
function flushOutput( $checking, $result, $errorText )
|
// Flush output function
|
||||||
{
|
//-----------------------------------------
|
||||||
print "<p>" . $checking;
|
|
||||||
|
function flushOutput( $checking, $result, $errorText )
|
||||||
if( $result === 2 )
|
{
|
||||||
{
|
print "<p>" . $checking;
|
||||||
print "<span class='warn'>ВНИМАНИЕ</span><br /><span class='what-you-should-do'>{$errorText}</span>";
|
|
||||||
}
|
if( $result === 2 )
|
||||||
else if( !$result )
|
{
|
||||||
{
|
print "<span class='warn'>WARNING</span><br /><span class='what-you-should-do'>{$errorText}</span>";
|
||||||
print "<span class='fail'>ОШИБКА</span><br /><span class='what-you-should-do'>{$errorText}</span>";
|
}
|
||||||
}
|
else if( !$result )
|
||||||
else
|
{
|
||||||
{
|
print "<span class='fail'>FAIL</span><br /><span class='what-you-should-do'>{$errorText}</span>";
|
||||||
print "<span class='pass'>ОК</span>";
|
}
|
||||||
}
|
else
|
||||||
|
{
|
||||||
print "</p>";
|
print "<span class='pass'>Pass</span>";
|
||||||
|
}
|
||||||
flush();
|
|
||||||
@ob_flush();
|
print "</p>";
|
||||||
|
|
||||||
return true;
|
flush();
|
||||||
}
|
ob_flush();
|
||||||
|
|
||||||
?>
|
return true;
|
||||||
|
}
|
||||||
<p class='final'>Имейте в виду, что MySQL версии 4.1 или выше (MySQL 5.0 рекомендуется) необходим IP.Board <?php print IPB_VERSION; ?>. Попросите администратора вашего сервера проверить версию MySQL если не уверены.</p>
|
|
||||||
</body>
|
?>
|
||||||
|
|
||||||
|
<p class='final'>Please also remember that MySQL 4.1 or higher (MySQL 5.0 or higher preferred) is required for IP.Board <?php print IPB_VERSION; ?>. Ask your server administrator to check the version of MySQL on your server if you are unsure.</p>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
+---------------------------------------------------------------------------
|
+---------------------------------------------------------------------------
|
||||||
| IP.Board v3.4.5
|
| IP.Board v3.4.6
|
||||||
| ========================================
|
| ========================================
|
||||||
| by Matthew Mecham
|
| by Matthew Mecham
|
||||||
| (c) 2008 Invision Power Services
|
| (c) 2008 Invision Power Services
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
|
||||||
|
===============================================================
|
||||||
|
|
||||||
|
Ñêà÷àíî ñ ñàéòà www.Skripter.info
|
||||||
|
|
||||||
|
===============================================================
|
||||||
|
|
||||||
|
Ó íàñ íà ñàéòå Âû íàéäåòå:
|
||||||
|
|
||||||
|
Datalife Engine
|
||||||
|
Wordpress
|
||||||
|
Joomla
|
||||||
|
phpBB
|
||||||
|
IPB
|
||||||
|
vBulletin
|
||||||
|
Èãðîâûå CMS .....è ò.ä.
|
||||||
|
|
||||||
|
Âñå îò ìîäóëåé è øàáëîíîâ äî óðîêîâ ïî èíòåðåñóþùèì âàñ âîïðîñàì.
|
||||||
|
|
||||||
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
Äîáðî ïîæàëîâàòü íà íàø ñàéò !!!
|
||||||
|
|
||||||
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
Àäìèíèñòðàöèÿ ñàéòà Skripter.info
|
||||||
|
|
||||||
|
==============================================
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
===============================================================
|
||||||
|
|
||||||
|
Download from www.Skripter.info
|
||||||
|
|
||||||
|
===============================================================
|
||||||
|
|
||||||
|
At our site you will find:
|
||||||
|
|
||||||
|
Datalife Engine
|
||||||
|
Wordpress
|
||||||
|
Joomla
|
||||||
|
phpBB
|
||||||
|
IPB
|
||||||
|
vBulletin
|
||||||
|
Gaming CMS ..... etc.
|
||||||
|
|
||||||
|
All of the modules and templates to lessons on your questions.
|
||||||
|
|
||||||
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
Welcome to our site!
|
||||||
|
|
||||||
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
The website administration Skripter.info
|
||||||
|
|
||||||
|
==============================================
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Rebuilds stuff from XML
|
* Rebuilds stuff from XML
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2013-02-05 06:22:45 -0500 (Tue, 05 Feb 2013) $
|
* Last Updated: $Date: 2013-02-05 06:22:45 -0500 (Tue, 05 Feb 2013) $
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Main public executable wrapper.
|
* Main public executable wrapper.
|
||||||
* Set-up and load module to run
|
* Set-up and load module to run
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Simple skin change script
|
* Simple skin change script
|
||||||
* Place in your site root directory to send a user to a specified skin
|
* Place in your site root directory to send a user to a specified skin
|
||||||
* Last Updated: $Date: 2012-05-16 10:43:54 -0400 (Wed, 16 May 2012) $
|
* Last Updated: $Date: 2012-05-16 10:43:54 -0400 (Wed, 16 May 2012) $
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionpower.com">Invision Power Board</a>␍</body>␍</html>␍
|
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍Invision Power Board␍</body>␍</html>␍
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Installer: Upgrader core file
|
* Installer: Upgrader core file
|
||||||
* Last Updated: $LastChangedDate: 2013-01-29 14:15:42 -0500 (Tue, 29 Jan 2013) $
|
* Last Updated: $LastChangedDate: 2013-01-29 14:15:42 -0500 (Tue, 29 Jan 2013) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: ips_terabyte $
|
* $Author: ips_terabyte $
|
||||||
* @since -
|
* @since -
|
||||||
* $LastChangedDate: 2011-03-18 17:34:15 -0400 (Fri, 18 Mar 2011) $
|
* $LastChangedDate: 2011-03-18 17:34:15 -0400 (Fri, 18 Mar 2011) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 8129 $
|
* $Revision: 8129 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: AndyMillne $
|
* $Author: AndyMillne $
|
||||||
* @since 2.2.0
|
* @since 2.2.0
|
||||||
* $LastChangedDate: 2013-03-21 17:38:09 -0400 (Thu, 21 Mar 2013) $
|
* $LastChangedDate: 2013-03-21 17:38:09 -0400 (Thu, 21 Mar 2013) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 12109 $
|
* $Revision: 12109 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: bfarber $
|
* $Author: bfarber $
|
||||||
* @since -
|
* @since -
|
||||||
* $LastChangedDate: 2011-07-20 20:19:22 -0400 (Wed, 20 Jul 2011) $
|
* $LastChangedDate: 2011-07-20 20:19:22 -0400 (Wed, 20 Jul 2011) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 9296 $
|
* $Revision: 9296 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Member property updater (AJAX)
|
* Member property updater (AJAX)
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Core Sessions
|
* Core Sessions
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -28,7 +28,7 @@ if ( ! defined( 'IN_IPB' ) )
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Item Marking
|
* Item Marking
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Core registered caches, redirect resets and bitwise settings
|
* Core registered caches, redirect resets and bitwise settings
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -1,335 +1,237 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Dashboard Notifications
|
* Dashboard Notifications
|
||||||
* Last Updated: $Date
|
* Last Updated: $Date
|
||||||
*
|
*
|
||||||
* @author $Author: bfarber $
|
* @author $Author: bfarber $
|
||||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||||
* @license http://www.invisionpower.com/company/standards.php#license
|
* @license http://www.invisionpower.com/company/standards.php#license
|
||||||
* @package IP.Board
|
* @package IP.Board
|
||||||
* @subpackage Core
|
* @subpackage Core
|
||||||
* @link http://www.invisionpower.com
|
* @link http://www.invisionpower.com
|
||||||
* @version $Rev: 12238 $
|
* @version $Rev: 12238 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'IN_IPB' ) )
|
if ( ! defined( 'IN_IPB' ) )
|
||||||
{
|
{
|
||||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main loader class
|
* Main loader class
|
||||||
*/
|
*/
|
||||||
class dashboardNotifications__core
|
class dashboardNotifications__core
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Registry Object Shortcuts
|
* Registry Object Shortcuts
|
||||||
*
|
*
|
||||||
* @var object
|
* @var object
|
||||||
*/
|
*/
|
||||||
public $settings;
|
public $settings;
|
||||||
public $lang;
|
public $lang;
|
||||||
public $cache;
|
public $cache;
|
||||||
public $caches;
|
public $caches;
|
||||||
public $DB;
|
public $DB;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->settings = ipsRegistry::fetchSettings();
|
$this->settings = ipsRegistry::fetchSettings();
|
||||||
$this->lang = ipsRegistry::getClass('class_localization');
|
$this->lang = ipsRegistry::getClass('class_localization');
|
||||||
$this->caches =& ipsRegistry::cache()->fetchCaches();
|
$this->caches =& ipsRegistry::cache()->fetchCaches();
|
||||||
$this->cache = ipsRegistry::cache();
|
$this->cache = ipsRegistry::cache();
|
||||||
$this->DB = ipsRegistry::DB();
|
$this->DB = ipsRegistry::DB();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get()
|
public function get()
|
||||||
{
|
{
|
||||||
/* INIT */
|
/* INIT */
|
||||||
$entries = array();
|
$entries = array();
|
||||||
|
|
||||||
if( ! $this->settings['ipb_reg_number'] )
|
/* FURL cache OOD? */
|
||||||
{
|
if ( is_file( FURL_CACHE_PATH ) )
|
||||||
$entries[] = array( $this->lang->words['lc_title_nokey'], sprintf( $this->lang->words['lc_msg_nokey'], "{$this->settings['base_url']}module=tools&section=licensekey" ) );
|
{
|
||||||
}
|
$mtime = intval( @filemtime( FURL_CACHE_PATH ) );
|
||||||
else
|
|
||||||
{
|
/* Check mtimes on extensions.. */
|
||||||
/* Is the Spam Service Working? */
|
foreach( ipsRegistry::$applications as $app_dir => $application )
|
||||||
if ( $this->settings['spam_service_enabled'] )
|
{
|
||||||
{
|
if ( is_file( IPSLib::getAppDir( $app_dir ) . '/extensions/furlTemplates.php' ) )
|
||||||
$GOT_SPAM_ERROR = false;
|
{
|
||||||
|
$_mtime = intval( @filemtime( IPSLib::getAppDir( $app_dir ) . '/extensions/furlTemplates.php' ) );
|
||||||
/* Are we entitled to it? */
|
|
||||||
$licenseData = $this->cache->getCache( 'licenseData' );
|
if ( $_mtime > $mtime )
|
||||||
|
{
|
||||||
if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) )
|
$entries[] = array( $this->lang->words['furlcache_outofdate'], sprintf( $this->lang->words['furlcache_outofdate_desc'], $application['app_title'] ) . "<a href='" . $this->settings['base_url'] . "app=core&module=applications&section=applications&do=seoRebuild'>{$this->lang->words['rebuild_furl_cache']}</a>" );
|
||||||
{
|
break;
|
||||||
foreach ( $licenseData['ipbMain'] as $data )
|
}
|
||||||
{
|
}
|
||||||
if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] != 'Ok' )
|
}
|
||||||
{
|
}
|
||||||
$disableLink = $this->settings['base_url'] . "app=core&module=settings&section=settings&do=findsetting&key=spamservice";
|
|
||||||
|
/* Sphinx cache OOD? */
|
||||||
if ( is_numeric( $data['_expires'] ) && time() > $data['_expires'] )
|
if ( $this->settings['search_method'] == 'sphinx' )
|
||||||
{
|
{
|
||||||
$entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_expired'], $disableLink ) );
|
$mtime = intval( $this->cache->getCache('sphinx_config') );
|
||||||
}
|
|
||||||
else
|
/* Check mtimes on extensions.. */
|
||||||
{
|
foreach( ipsRegistry::$applications as $app_dir => $application )
|
||||||
$entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_unavailable'], $disableLink ) );
|
{
|
||||||
}
|
if ( is_file( IPSLib::getAppDir( $app_dir ) . '/extensions/sphinxTemplate.php' ) )
|
||||||
|
{
|
||||||
$GOT_SPAM_ERROR = true;
|
$_mtime = intval( @filemtime( IPSLib::getAppDir( $app_dir ) . '/extensions/sphinxTemplate.php' ) );
|
||||||
|
|
||||||
break;
|
if ( !$mtime OR $_mtime > $mtime )
|
||||||
}
|
{
|
||||||
}
|
$entries[] = array( $this->lang->words['sphinxconfig_outofdate'], $this->lang->words['sphinxconfig_outofdate_desc'] . ' ' . "<a href='" . $this->settings['base_url'] . "app=core&module=applications&section=applications&do=applications_overview'>{$this->lang->words['rebuild_sphinx_config']}</a>" );
|
||||||
}
|
break;
|
||||||
|
}
|
||||||
if ( ! $GOT_SPAM_ERROR )
|
}
|
||||||
{
|
}
|
||||||
/* Get last 5 logs, and if all 5 are errors, show message */
|
}
|
||||||
$_errors = 0;
|
|
||||||
$_entries = 0;
|
/* Minify on but /cache/tmp not writeable? */
|
||||||
$_lastError = '';
|
if ( !empty( $this->settings['_use_minify'] ) )
|
||||||
|
{
|
||||||
$this->DB->build( array( 'select' => 'log_code, log_msg', 'from' => 'spam_service_log', 'order' => 'id DESC', 'limit' => 5 ) );
|
$entries[] = array( $this->lang->words['minifywrite_head'], $this->lang->words['minifynot_writeable'] );
|
||||||
$this->DB->execute();
|
}
|
||||||
|
|
||||||
while( $_r = $this->DB->fetch() )
|
/* Installer Check */
|
||||||
{
|
if( @is_file( IPS_ROOT_PATH . 'install/index.php' ) )
|
||||||
$_entries++;
|
{
|
||||||
|
if ( ! @is_file( DOC_IPS_ROOT_PATH . 'cache/installer_lock.php' ) )
|
||||||
if( $_r['log_code'] === '0' )
|
{
|
||||||
{
|
$this->lang->words['cp_unlocked_warning'] = sprintf( $this->lang->words['cp_unlocked_warning'], CP_DIRECTORY );
|
||||||
$_errors++;
|
$entries[] = array( $this->lang->words['cp_unlockedinstaller'], $this->lang->words['cp_unlocked_warning'] );
|
||||||
|
}
|
||||||
if( !$_lastError )
|
}
|
||||||
{
|
|
||||||
$_lastError = $_r['log_msg'];
|
/* Unfinished Upgrade */
|
||||||
}
|
require_once( IPS_ROOT_PATH . '/setup/sources/base/setup.php' );/*noLibHook*/
|
||||||
}
|
$versions = IPSSetUp::fetchAppVersionNumbers( 'core' );
|
||||||
}
|
|
||||||
|
if( $versions['current'][0] != $versions['latest'][0] )
|
||||||
if( $_entries > 0 && $_errors == $_entries )
|
{
|
||||||
{
|
$this->lang->words['cp_upgrade_warning'] = sprintf( $this->lang->words['cp_upgrade_warning'], $versions['current'][1], $versions['latest'][1], $this->settings['base_acp_url'] );
|
||||||
$entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_error_msg'], $_lastError ) );
|
|
||||||
}
|
$entries[] = array( $this->lang->words['cp_unfinishedupgrade'], $this->lang->words['cp_upgrade_warning'] );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
/* If it's disabled, are we entitiled to it? */
|
/**
|
||||||
else
|
* PHP Version Check
|
||||||
{
|
*
|
||||||
$licenseData = $this->cache->getCache( 'licenseData' );
|
* @todo Remove this for 4.0? Installer/upgrader already do check for this anyway...
|
||||||
|
*/
|
||||||
if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) )
|
if( PHP_VERSION < '5.2.0' )
|
||||||
{
|
{
|
||||||
foreach ( $licenseData['ipbMain'] as $data )
|
$entries[] = array( sprintf( $this->lang->words['cp_yourphpversion'], PHP_VERSION ), $this->lang->words['cp_php_warning'] );
|
||||||
{
|
}
|
||||||
if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] == 'Ok' )
|
|
||||||
{
|
/* Outgoing email address specified */
|
||||||
$entries[] = array( $this->lang->words['spam_service_disabled'], $this->lang->words['spam_service_disabled_msg'] );
|
if ( !$this->settings['email_out'] OR !$this->settings['email_in'] )
|
||||||
break;
|
{
|
||||||
}
|
$entries[] = array( $this->lang->words['cp_missingemail'], "{$this->lang->words['cp_missingemail1']}<br /><br />{$this->lang->words['_raquo']} <a href='" . $this->settings['base_url'] . "&module=settings&section=settings&do=findsetting&key=email'>{$this->lang->words['cp_missingemail2']}</a>" );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
/* Board Offline Check */
|
||||||
}
|
if ( $this->settings['board_offline'] )
|
||||||
|
{
|
||||||
/* FURL cache OOD? */
|
$entries[] = array( $this->lang->words['cp_boardoffline'], "{$this->lang->words['cp_boardoffline1']}<br /><br />{$this->lang->words['_raquo']} <a href='" . $this->settings['base_url'] . "&module=settings&section=settings&do=findsetting&key=boardoffline'>{$this->lang->words['cp_boardoffline2']}</a>" );
|
||||||
if ( is_file( FURL_CACHE_PATH ) )
|
}
|
||||||
{
|
|
||||||
$mtime = intval( @filemtime( FURL_CACHE_PATH ) );
|
/* Fulltext Check */
|
||||||
|
if( $this->settings['search_method'] == 'traditional' AND !$this->settings['use_fulltext'] AND !$this->settings['hide_ftext_note'] )
|
||||||
/* Check mtimes on extensions.. */
|
{
|
||||||
foreach( ipsRegistry::$applications as $app_dir => $application )
|
$entries[] = array( $this->lang->words['fulltext_off'], "{$this->lang->words['fulltext_turnon']}<br /><br />{$this->lang->words['_raquo']} <a href='" . $this->settings['base_url'] . "&module=settings&section=settings&do=findsetting&key=searchsetup'>{$this->lang->words['fulltext_find']}</a>" );
|
||||||
{
|
}
|
||||||
$furltemplatesfile = IPSLib::getAppDir( $app_dir );
|
|
||||||
if(IPB_USE_ONLY_ID_FURL && is_file( $furltemplatesfile.'/extensions/furlTemplatesID.php'))
|
/* Make sure the profile directory is writable */
|
||||||
{
|
if( ! is_dir( $this->settings['upload_dir'] . '/profile/' ) || ! is_writable( $this->settings['upload_dir'] . '/profile/' ) )
|
||||||
$furltemplatesfile.='/extensions/furlTemplatesID.php';
|
{
|
||||||
}
|
$entries[] = array( $this->lang->words['cp_profilephotoerr_title'], sprintf( $this->lang->words['cp_profilephotoerr_msg'], $this->settings['upload_dir'] . '/profile/' ) );
|
||||||
else
|
}
|
||||||
{
|
|
||||||
$furltemplatesfile.='/extensions/furlTemplates.php';
|
/* Check for upgrade finish folder */
|
||||||
}
|
if( is_dir( IPS_ROOT_PATH . 'upgradeFinish/' ) )
|
||||||
|
{
|
||||||
if ( is_file( $furltemplatesfile ) )
|
$entries[] = array( $this->lang->words['cp_upgradefinishfolder'], sprintf( $this->lang->words['cp_upgradefinishfolder_msg'], IPS_ROOT_PATH . 'upgradeFinish/' ) );
|
||||||
{
|
}
|
||||||
$_mtime = intval( @filemtime( $furltemplatesfile ) );
|
|
||||||
|
/* Check to see if GD is intalled */
|
||||||
if ( $_mtime > $mtime )
|
if(! extension_loaded( 'gd' ) || ! function_exists( 'gd_info' ) )
|
||||||
{
|
{
|
||||||
$entries[] = array( $this->lang->words['furlcache_outofdate'], sprintf( $this->lang->words['furlcache_outofdate_desc'], $application['app_title'] ) . "<a href='" . $this->settings['base_url'] . "app=core&module=applications&section=applications&do=seoRebuild'>{$this->lang->words['rebuild_furl_cache']}</a>" );
|
$entries[] = array( $this->lang->words['cp_gdnotinstalled_title'], $this->lang->words['cp_gdnotinstalled_msg'] );
|
||||||
break;
|
}
|
||||||
}
|
|
||||||
}
|
/* Performance mode check */
|
||||||
}
|
$perfMode = $this->cache->getCache('performanceCache');
|
||||||
}
|
|
||||||
|
if( is_array( $perfMode ) && count( $perfMode ) )
|
||||||
/* Sphinx cache OOD? */
|
{
|
||||||
if ( $this->settings['search_method'] == 'sphinx' )
|
$entries[] = array( $this->lang->words['cp_perfmodeon_title'], $this->lang->words['cp_perfmodeon_msg'] );
|
||||||
{
|
}
|
||||||
$mtime = intval( $this->cache->getCache('sphinx_config') );
|
|
||||||
|
/* Suhosin check */
|
||||||
/* Check mtimes on extensions.. */
|
if( extension_loaded( 'suhosin' ) )
|
||||||
foreach( ipsRegistry::$applications as $app_dir => $application )
|
{
|
||||||
{
|
$_postMaxVars = @ini_get('suhosin.post.max_vars');
|
||||||
if ( is_file( IPSLib::getAppDir( $app_dir ) . '/extensions/sphinxTemplate.php' ) )
|
$_reqMaxVars = @ini_get('suhosin.request.max_vars');
|
||||||
{
|
$_getMaxLen = @ini_get('suhosin.get.max_value_length');
|
||||||
$_mtime = intval( @filemtime( IPSLib::getAppDir( $app_dir ) . '/extensions/sphinxTemplate.php' ) );
|
$_postMaxLen = @ini_get('suhosin.post.max_value_length');
|
||||||
|
$_reqMaxLen = @ini_get('suhosin.request.max_value_length');
|
||||||
if ( !$mtime OR $_mtime > $mtime )
|
$_reqMaxVar = @ini_get('suhosin.request.max_varname_length');
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['sphinxconfig_outofdate'], $this->lang->words['sphinxconfig_outofdate_desc'] . ' ' . "<a href='" . $this->settings['base_url'] . "app=core&module=applications&section=applications&do=applications_overview'>{$this->lang->words['rebuild_sphinx_config']}</a>" );
|
if( $_postMaxVars < 4096 )
|
||||||
break;
|
{
|
||||||
}
|
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue1'], $_postMaxVars ) );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
if( $_reqMaxVars < 4096 )
|
||||||
|
{
|
||||||
/* Minify on but /cache/tmp not writeable? */
|
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue2'], $_reqMaxVars ) );
|
||||||
if ( !empty( $this->settings['_use_minify'] ) )
|
}
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['minifywrite_head'], $this->lang->words['minifynot_writeable'] );
|
if( $_getMaxLen < 2000 )
|
||||||
}
|
{
|
||||||
|
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue6'], $_getMaxLen ) );
|
||||||
/* Installer Check */
|
}
|
||||||
if( @is_file( IPS_ROOT_PATH . 'install/index.php' ) )
|
|
||||||
{
|
if( $_postMaxLen < 1000000 )
|
||||||
if ( ! @is_file( DOC_IPS_ROOT_PATH . 'cache/installer_lock.php' ) )
|
{
|
||||||
{
|
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue3'], $_postMaxLen ) );
|
||||||
$this->lang->words['cp_unlocked_warning'] = sprintf( $this->lang->words['cp_unlocked_warning'], CP_DIRECTORY );
|
}
|
||||||
$entries[] = array( $this->lang->words['cp_unlockedinstaller'], $this->lang->words['cp_unlocked_warning'] );
|
|
||||||
}
|
if( $_reqMaxLen < 1000000 )
|
||||||
}
|
{
|
||||||
|
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue4'], $_reqMaxLen ) );
|
||||||
/* Unfinished Upgrade */
|
}
|
||||||
require_once( IPS_ROOT_PATH . '/setup/sources/base/setup.php' );/*noLibHook*/
|
|
||||||
$versions = IPSSetUp::fetchAppVersionNumbers( 'core' );
|
if( $_reqMaxVar < 350 )
|
||||||
|
{
|
||||||
if( $versions['current'][0] != $versions['latest'][0] )
|
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue5'], $_reqMaxVar ) );
|
||||||
{
|
}
|
||||||
$this->lang->words['cp_upgrade_warning'] = sprintf( $this->lang->words['cp_upgrade_warning'], $versions['current'][1], $versions['latest'][1], $this->settings['base_acp_url'] );
|
}
|
||||||
|
|
||||||
$entries[] = array( $this->lang->words['cp_unfinishedupgrade'], $this->lang->words['cp_upgrade_warning'] );
|
/* SQL error check */
|
||||||
}
|
/*if ( is_file( IPS_CACHE_PATH . 'cache/sql_error_latest.cgi' ) )
|
||||||
|
{
|
||||||
/**
|
$unix = @filemtime( IPS_CACHE_PATH . 'cache/sql_error_latest.cgi' );
|
||||||
* PHP Version Check
|
|
||||||
*
|
if ( $unix )
|
||||||
* @todo Remove this for 4.0? Installer/upgrader already do check for this anyway...
|
{
|
||||||
*/
|
$mtime = gmdate( 'd-j-Y', $unix );
|
||||||
if( PHP_VERSION < '5.2.0' )
|
$now = gmdate( 'd-j-Y', time() );
|
||||||
{
|
|
||||||
$entries[] = array( sprintf( $this->lang->words['cp_yourphpversion'], PHP_VERSION ), $this->lang->words['cp_php_warning'] );
|
if ( $mtime == $now )
|
||||||
}
|
{
|
||||||
|
// Display a message
|
||||||
/* Outgoing email address specified */
|
}
|
||||||
if ( !$this->settings['email_out'] OR !$this->settings['email_in'] )
|
}
|
||||||
{
|
}*/
|
||||||
$entries[] = array( $this->lang->words['cp_missingemail'], "{$this->lang->words['cp_missingemail1']}<br /><br />{$this->lang->words['_raquo']} <a href='" . $this->settings['base_url'] . "&module=settings&section=settings&do=findsetting&key=email'>{$this->lang->words['cp_missingemail2']}</a>" );
|
|
||||||
}
|
return $entries;
|
||||||
|
}
|
||||||
/* Board Offline Check */
|
|
||||||
if ( $this->settings['board_offline'] )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['cp_boardoffline'], "{$this->lang->words['cp_boardoffline1']}<br /><br />{$this->lang->words['_raquo']} <a href='" . $this->settings['base_url'] . "&module=settings&section=settings&do=findsetting&key=boardoffline'>{$this->lang->words['cp_boardoffline2']}</a>" );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Fulltext Check */
|
|
||||||
if( $this->settings['search_method'] == 'traditional' AND !$this->settings['use_fulltext'] AND !$this->settings['hide_ftext_note'] )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['fulltext_off'], "{$this->lang->words['fulltext_turnon']}<br /><br />{$this->lang->words['_raquo']} <a href='" . $this->settings['base_url'] . "&module=settings&section=settings&do=findsetting&key=searchsetup'>{$this->lang->words['fulltext_find']}</a>" );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Make sure the profile directory is writable */
|
|
||||||
if( ! is_dir( $this->settings['upload_dir'] . '/profile/' ) || ! is_writable( $this->settings['upload_dir'] . '/profile/' ) )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['cp_profilephotoerr_title'], sprintf( $this->lang->words['cp_profilephotoerr_msg'], $this->settings['upload_dir'] . '/profile/' ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Check for upgrade finish folder */
|
|
||||||
if( is_dir( IPS_ROOT_PATH . 'upgradeFinish/' ) )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['cp_upgradefinishfolder'], sprintf( $this->lang->words['cp_upgradefinishfolder_msg'], IPS_ROOT_PATH . 'upgradeFinish/' ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Check to see if GD is intalled */
|
|
||||||
if(! extension_loaded( 'gd' ) || ! function_exists( 'gd_info' ) )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['cp_gdnotinstalled_title'], $this->lang->words['cp_gdnotinstalled_msg'] );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Performance mode check */
|
|
||||||
$perfMode = $this->cache->getCache('performanceCache');
|
|
||||||
|
|
||||||
if( is_array( $perfMode ) && count( $perfMode ) )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['cp_perfmodeon_title'], $this->lang->words['cp_perfmodeon_msg'] );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Suhosin check */
|
|
||||||
if( extension_loaded( 'suhosin' ) )
|
|
||||||
{
|
|
||||||
$_postMaxVars = @ini_get('suhosin.post.max_vars');
|
|
||||||
$_reqMaxVars = @ini_get('suhosin.request.max_vars');
|
|
||||||
$_getMaxLen = @ini_get('suhosin.get.max_value_length');
|
|
||||||
$_postMaxLen = @ini_get('suhosin.post.max_value_length');
|
|
||||||
$_reqMaxLen = @ini_get('suhosin.request.max_value_length');
|
|
||||||
$_reqMaxVar = @ini_get('suhosin.request.max_varname_length');
|
|
||||||
|
|
||||||
if( $_postMaxVars < 4096 )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue1'], $_postMaxVars ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( $_reqMaxVars < 4096 )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue2'], $_reqMaxVars ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( $_getMaxLen < 2000 )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue6'], $_getMaxLen ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( $_postMaxLen < 1000000 )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue3'], $_postMaxLen ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( $_reqMaxLen < 1000000 )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue4'], $_reqMaxLen ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( $_reqMaxVar < 350 )
|
|
||||||
{
|
|
||||||
$entries[] = array( $this->lang->words['suhosin_notification'], sprintf( $this->lang->words['suhosin_badvalue5'], $_reqMaxVar ) );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* SQL error check */
|
|
||||||
/*if ( is_file( IPS_CACHE_PATH . 'cache/sql_error_latest.cgi' ) )
|
|
||||||
{
|
|
||||||
$unix = @filemtime( IPS_CACHE_PATH . 'cache/sql_error_latest.cgi' );
|
|
||||||
|
|
||||||
if ( $unix )
|
|
||||||
{
|
|
||||||
$mtime = gmdate( 'd-j-Y', $unix );
|
|
||||||
$now = gmdate( 'd-j-Y', time() );
|
|
||||||
|
|
||||||
if ( $mtime == $now )
|
|
||||||
{
|
|
||||||
// Display a message
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
return $entries;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* BBCode Management : Determines if bbcode can be used in this section
|
* BBCode Management : Determines if bbcode can be used in this section
|
||||||
* Last Updated: $LastChangedDate: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $LastChangedDate: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -33,6 +33,6 @@ class enhancements_core_facebook
|
|||||||
$this->title = $registry->getClass('class_localization')->words['enhancements_facebook'];
|
$this->title = $registry->getClass('class_localization')->words['enhancements_facebook'];
|
||||||
$this->description = $registry->getClass('class_localization')->words['enhancements_facebook_desc'];
|
$this->description = $registry->getClass('class_localization')->words['enhancements_facebook_desc'];
|
||||||
$this->enabled = ipsRegistry::$settings['fbc_enable'];
|
$this->enabled = ipsRegistry::$settings['fbc_enable'];
|
||||||
$this->message = '<a href="http://external.ipslink.com/ipboard30/landing/?p=facebook" target="_blank">' . ipsRegistry::getClass('class_localization')->words['enhancements_facebook_help'] . '</a>';
|
$this->message = '<a href="http://anonym.to/?http://external.ipslink.com/ipboard30/landing/?p=facebook" target="_blank">' . ipsRegistry::getClass('class_localization')->words['enhancements_facebook_help'] . '</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -90,9 +90,9 @@ class enhancements_core_ipscdn
|
|||||||
ipsRegistry::getClass('output')->showError( sprintf( ipsRegistry::getClass('class_localization')->words['enhancements_ipscdn_error_nokey'], ipsRegistry::getClass('output')->buildUrl('app=core&module=tools§ion=licensekey', 'admin') ) );
|
ipsRegistry::getClass('output')->showError( sprintf( ipsRegistry::getClass('class_localization')->words['enhancements_ipscdn_error_nokey'], ipsRegistry::getClass('output')->buildUrl('app=core&module=tools§ion=licensekey', 'admin') ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
$classToLoad = IPSLib::loadLibrary( IPS_KERNEL_PATH . 'classFileManagement.php', 'classFileManagement' );
|
/* $classToLoad = IPSLib::loadLibrary( IPS_KERNEL_PATH . 'classFileManagement.php', 'classFileManagement' );
|
||||||
$file = new $classToLoad();
|
$file = new $classToLoad();
|
||||||
$return = NULL;
|
$ping = $file->getFileContents( "http://license.invisionpower.com/?a=cdn&key=" . ipsRegistry::$settings['ipb_reg_number'] ); */
|
||||||
|
|
||||||
if ( $json = @json_decode( $ping, TRUE ) )
|
if ( $json = @json_decode( $ping, TRUE ) )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -33,6 +33,6 @@ class enhancements_core_twitter
|
|||||||
$this->title = $registry->getClass('class_localization')->words['enhancements_twitter'];
|
$this->title = $registry->getClass('class_localization')->words['enhancements_twitter'];
|
||||||
$this->description = $registry->getClass('class_localization')->words['enhancements_twitter_desc'];
|
$this->description = $registry->getClass('class_localization')->words['enhancements_twitter_desc'];
|
||||||
$this->enabled = ipsRegistry::$settings['tc_enabled'];
|
$this->enabled = ipsRegistry::$settings['tc_enabled'];
|
||||||
$this->message = '<a href="http://external.ipslink.com/ipboard30/landing/?p=twitter" target="_blank">' . ipsRegistry::getClass('class_localization')->words['enhancements_twitter_help'] . '</a>';
|
$this->message = '<a href="http://anonym.to/?http://external.ipslink.com/ipboard30/landing/?p=twitter" target="_blank">' . ipsRegistry::getClass('class_localization')->words['enhancements_twitter_help'] . '</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -99,9 +99,9 @@ class enhancements_core_viglink
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once IPS_KERNEL_PATH . 'classFileManagement.php';
|
/* require_once IPS_KERNEL_PATH . 'classFileManagement.php';
|
||||||
$cfm = new classFileManagement();
|
$cfm = new classFileManagement();
|
||||||
$return = NULL;
|
$return = $cfm->getFileContents( "http://license.invisionpower.com/viglink/?subId=" . urlencode( $subId ) ); */
|
||||||
if ( $return and $json = @json_decode( $return, TRUE ) and $json['SUCCESS'] == TRUE )
|
if ( $return and $json = @json_decode( $return, TRUE ) and $json['SUCCESS'] == TRUE )
|
||||||
{
|
{
|
||||||
return $json;
|
return $json;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Sets up SEO templates
|
* Sets up SEO templates
|
||||||
* Last Updated: $Date: 2013-03-12 09:54:04 -0400 (Tue, 12 Mar 2013) $
|
* Last Updated: $Date: 2013-03-12 09:54:04 -0400 (Tue, 12 Mar 2013) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -52,18 +52,6 @@ $_SEOTEMPLATES = array(
|
|||||||
'in' => array( 'regex' => "#/register(/|$|\?)#i",
|
'in' => array( 'regex' => "#/register(/|$|\?)#i",
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'register' ) ) ) ),
|
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'register' ) ) ) ),
|
||||||
|
|
||||||
'section=lostpass' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=lostpass(&|&|$)#i', 'lostpass/$3' ),
|
|
||||||
'in' => array( 'regex' => "#/lostpass(/|$|\?)#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'lostpass' ) ) ) ),
|
|
||||||
|
|
||||||
'section=login' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=login(&|&|$)#i', 'login/$3' ),
|
|
||||||
'in' => array( 'regex' => "#/login(/|$|\?)#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'login' ) ) ) ),
|
|
||||||
|
|
||||||
'tags' => array( 'app' => 'core',
|
'tags' => array( 'app' => 'core',
|
||||||
'isPagesMode' => true,
|
'isPagesMode' => true,
|
||||||
'allowRedirect' => 0,
|
'allowRedirect' => 0,
|
||||||
@@ -96,7 +84,7 @@ $_SEOTEMPLATES = array(
|
|||||||
'section=rss2' => array( 'app' => 'core',
|
'section=rss2' => array( 'app' => 'core',
|
||||||
'allowRedirect' => 0,
|
'allowRedirect' => 0,
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=rss(&|&)type=(\w+?)(&|&)id=(\w+?)$#i', 'rss/$4/$6-#{__title__}/' ),
|
'out' => array( '#app=core(&|&)module=global(&|&)section=rss(&|&)type=(\w+?)(&|&)id=(\w+?)$#i', 'rss/$4/$6-#{__title__}/' ),
|
||||||
'in' => array( 'regex' => "#/rss/(\w+?)/(\w+?)(?:-|/|$)#i",
|
'in' => array( 'regex' => "#/rss/(\w+?)/(\w+?)-#i",
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'rss' ), array( 'type', '$1' ), array( 'id', '$2' ) ) ) ),
|
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'rss' ), array( 'type', '$1' ), array( 'id', '$2' ) ) ) ),
|
||||||
|
|
||||||
# Changed section=rss2 id matching to use \w for more flexibility
|
# Changed section=rss2 id matching to use \w for more flexibility
|
||||||
|
|||||||
@@ -1,106 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* <pre>
|
|
||||||
* Invision Power Services
|
|
||||||
* IP.Board v3.4.5
|
|
||||||
* Sets up SEO templates
|
|
||||||
* Last Updated: $Date: 2013-03-12 09:54:04 -0400 (Tue, 12 Mar 2013) $
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author $Author: mmecham $
|
|
||||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
|
||||||
* @license http://www.invisionpower.com/company/standards.php#license
|
|
||||||
* @package IP.Board
|
|
||||||
* @subpackage Core
|
|
||||||
* @link http://www.invisionpower.com
|
|
||||||
* @since 20th February 2002
|
|
||||||
* @version $Rev: 12072 $
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
if ( ! defined( 'IN_IPB' ) )
|
|
||||||
{
|
|
||||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
|
||||||
exit();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SEO templates
|
|
||||||
*
|
|
||||||
* 'allowRedirect' is a flag to tell IP.Board whether to check the incoming link and if not formatted correctly, redirect the correct one
|
|
||||||
*
|
|
||||||
* OUT FORMAT REGEX:
|
|
||||||
* First array element is a regex to run to see if we've a match for the URL
|
|
||||||
* The second array element is the template to use the results of the parenthesis capture
|
|
||||||
*
|
|
||||||
* Special variable #{__title__} is replaced with the $title data passed to output->formatUrl( $url, $title)
|
|
||||||
*
|
|
||||||
* IMPORTANT: Remember that when these regex are used, the output has not been fully parsed so you will get:
|
|
||||||
* showuser={$data['member_id']} NOT showuser=1 so do not try and match numerics only!
|
|
||||||
*
|
|
||||||
* IN FORMAT REGEX
|
|
||||||
*
|
|
||||||
* This allows the registry to piece back together a URL based on the template regex
|
|
||||||
* So, for example: "/user/(\d+?)/", 'matches' => array( array( 'showuser' => '$1' ) )tells IP.Board to populate 'showuser' with the result
|
|
||||||
* of the parenthesis capture #1
|
|
||||||
*/
|
|
||||||
$_SEOTEMPLATES = array(
|
|
||||||
|
|
||||||
'section=register' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=register(&|&|$)#i', 'register/$3' ),
|
|
||||||
'in' => array( 'regex' => "#/register(/|$|\?)#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'register' ) ) ) ),
|
|
||||||
|
|
||||||
'section=lostpass' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=lostpass(&|&|$)#i', 'lostpass/$3' ),
|
|
||||||
'in' => array( 'regex' => "#/lostpass(/|$|\?)#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'lostpass' ) ) ) ),
|
|
||||||
|
|
||||||
'section=login' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=login(&|&|$)#i', 'login/$3' ),
|
|
||||||
'in' => array( 'regex' => "#/login(/|$|\?)#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'login' ) ) ) ),
|
|
||||||
|
|
||||||
'tags' => array( 'app' => 'core',
|
|
||||||
'isPagesMode' => true,
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=search(&|&)do=search(&|&)search_tags=(\S+?)(&|&)search_app=(\S+?)(&|&|$)#i', 'tags/$6/$4/$7' ),
|
|
||||||
'in' => array( 'regex' => "#/tags/(\S+?)/(\S+?)/#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'search' ), array( 'do', 'search' ), array( 'search_tags', '$2' ), array( 'search_app', '$1' ) ) ) ),
|
|
||||||
|
|
||||||
'privacy' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=privacy(&|&|$)#i', 'privacypolicy/$4/' ),
|
|
||||||
'in' => array( 'regex' => "#/privacypolicy/#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'privacy' ) ) ) ),
|
|
||||||
|
|
||||||
'likeunsubscribe' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=like(&|&)do=unsubscribe(&|&)key=(\S+?)(&|&|$)#i', 'unsubscribe/$5/' ),
|
|
||||||
'in' => array( 'regex' => "#/unsubscribe/(\S+?)/$#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'like' ), array( 'do', 'unsubscribe' ), array( 'key', '$1' ) ) ) ),
|
|
||||||
'findcomment' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=comments(&|&)do=findComment(&|&)fromApp=(\S+?)(&|&)parentId=(\d+?)(&|&)commentId=(\d+?)(&|&|$)#i', 'findComment/$5/$7-$9' ),
|
|
||||||
'in' => array( 'regex' => "#/findComment/(\S+?-\S+?)/(\d+?)-(\d+?)$#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'comments' ), array( 'do', 'findComment' ), array( 'fromApp', '$1' ), array( 'parentId', '$2' ), array( 'commentId', '$3' ) ) ) ),
|
|
||||||
'section=rss' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=rss(&|&)type=(\w+?)$#i', 'rss/$4/' ),
|
|
||||||
'in' => array( 'regex' => "#/rss/(\w+?)/$#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'rss' ), array( 'type', '$1' ) ) ) ),
|
|
||||||
|
|
||||||
'section=rss2' => array( 'app' => 'core',
|
|
||||||
'allowRedirect' => 0,
|
|
||||||
'out' => array( '#app=core(&|&)module=global(&|&)section=rss(&|&)type=(\w+?)(&|&)id=(\w+?)$#i', 'rss/$4/$6/' ),
|
|
||||||
'in' => array( 'regex' => "#/rss/(\w+?)/(\w+?)(?:-|/|$)#i",
|
|
||||||
'matches' => array( array( 'app', 'core' ), array( 'module', 'global' ), array( 'section', 'rss' ), array( 'type', '$1' ), array( 'id', '$2' ) ) ) ),
|
|
||||||
|
|
||||||
|
|
||||||
# Changed section=rss2 id matching to use \w for more flexibility
|
|
||||||
|
|
||||||
);
|
|
||||||
|
|
||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* $LastChangedDate: 2011-12-08 16:43:34 +0000 (Thu, 08 Dec 2011) $
|
* $LastChangedDate: 2011-12-08 16:43:34 +0000 (Thu, 08 Dec 2011) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 9971 $
|
* $Revision: 9971 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||||
* $Author: AndyMillne $
|
* $Author: AndyMillne $
|
||||||
* @since 3/8/2011
|
* @since 3/8/2011
|
||||||
* $LastChangedDate: 2013-03-12 15:04:05 -0400 (Tue, 12 Mar 2013) $
|
* $LastChangedDate: 2013-10-14 15:30:19 -0400 (Mon, 14 Oct 2013) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 12074 $
|
* $Revision: 12376 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'IN_IPB' ) )
|
if ( ! defined( 'IN_IPB' ) )
|
||||||
@@ -52,7 +52,7 @@ class navigation_core
|
|||||||
*
|
*
|
||||||
* @return @e void
|
* @return @e void
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->registry = ipsRegistry::instance();
|
$this->registry = ipsRegistry::instance();
|
||||||
$this->DB = $this->registry->DB();
|
$this->DB = $this->registry->DB();
|
||||||
@@ -71,13 +71,13 @@ class navigation_core
|
|||||||
* @return @e string
|
* @return @e string
|
||||||
*/
|
*/
|
||||||
public function getTabName()
|
public function getTabName()
|
||||||
{
|
{
|
||||||
return $this->lang->words['quicknav_comm_link'];
|
return $this->lang->words['quicknav_comm_link'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns navigation data
|
* Returns navigation data
|
||||||
*
|
*
|
||||||
* @return @e array array( array( 0 => array( 'title' => 'x', 'url' => 'x' ) ) );
|
* @return @e array array( array( 0 => array( 'title' => 'x', 'url' => 'x' ) ) );
|
||||||
*/
|
*/
|
||||||
public function getNavigationData()
|
public function getNavigationData()
|
||||||
@@ -93,7 +93,11 @@ class navigation_core
|
|||||||
}
|
}
|
||||||
|
|
||||||
$links[] = array( 'title' => $this->lang->words['registered_users_link'], 'url' => $this->registry->output->buildSEOUrl( 'app=members&module=list', 'public', 'false', 'members_list' ) );
|
$links[] = array( 'title' => $this->lang->words['registered_users_link'], 'url' => $this->registry->output->buildSEOUrl( 'app=members&module=list', 'public', 'false', 'members_list' ) );
|
||||||
$links[] = array( 'title' => $this->lang->words['status_updates_link'] , 'url' => $this->registry->output->buildSEOUrl( 'app=members&module=profile&section=status', 'public', 'false', 'members_status_all' ) );
|
|
||||||
|
if( $this->settings['su_enabled'] )
|
||||||
|
{
|
||||||
|
$links[] = array( 'title' => $this->lang->words['status_updates_link'] , 'url' => $this->registry->output->buildSEOUrl( 'app=members&module=profile&section=status', 'public', 'false', 'members_status_all' ) );
|
||||||
|
}
|
||||||
|
|
||||||
/* Add to blocks */
|
/* Add to blocks */
|
||||||
$blocks[] = array( 'title' => '', 'links' => $links );
|
$blocks[] = array( 'title' => '', 'links' => $links );
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com/">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Define the core notification types
|
* Define the core notification types
|
||||||
* Last Updated: $Date: 2013-05-21 20:51:17 -0400 (Tue, 21 May 2013) $
|
* Last Updated: $Date: 2013-05-21 20:51:17 -0400 (Tue, 21 May 2013) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Report Center :: Default plugin
|
* Report Center :: Default plugin
|
||||||
* Last Updated: $LastChangedDate: 2012-12-10 11:06:25 -0500 (Mon, 10 Dec 2012) $
|
* Last Updated: $LastChangedDate: 2012-12-10 11:06:25 -0500 (Mon, 10 Dec 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* RSS output plugin :: report center
|
* RSS output plugin :: report center
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Config file
|
* Config file
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Basic Forum Search
|
* Basic Forum Search
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Returns HTML for the form (optional class, not required)
|
* Returns HTML for the form (optional class, not required)
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Formats forum search results
|
* Formats forum search results
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
* $Author: mmecham $
|
* $Author: mmecham $
|
||||||
* @since 3/8/2011
|
* @since 3/8/2011
|
||||||
* $LastChangedDate: 2013-04-03 08:07:11 -0400 (Wed, 03 Apr 2013) $
|
* $LastChangedDate: 2013-04-03 08:07:11 -0400 (Wed, 03 Apr 2013) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 12145 $
|
* $Revision: 12145 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Sphinx template file
|
* Sphinx template file
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -74,7 +74,7 @@ index <!--SPHINX_CONF_PREFIX-->core_tags_search_main
|
|||||||
mlock = 0
|
mlock = 0
|
||||||
morphology = none
|
morphology = none
|
||||||
min_word_len = 2
|
min_word_len = 2
|
||||||
charset_type = utf-8
|
charset_type = sbcs
|
||||||
html_strip = 0
|
html_strip = 0
|
||||||
#infix_fields = tag_text
|
#infix_fields = tag_text
|
||||||
#min_infix_len = 3
|
#min_infix_len = 3
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -7,7 +7,7 @@
|
|||||||
* $Author: bfarber $ (Original: Mark)
|
* $Author: bfarber $ (Original: Mark)
|
||||||
* @since -
|
* @since -
|
||||||
* $LastChangedDate: 2013-05-01 17:35:09 -0400 (Wed, 01 May 2013) $
|
* $LastChangedDate: 2013-05-01 17:35:09 -0400 (Wed, 01 May 2013) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 12211 $
|
* $Revision: 12211 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -20,7 +20,7 @@ ACPHomepage = {
|
|||||||
{
|
{
|
||||||
if ( $('members_display_name').value == "" )
|
if ( $('members_display_name').value == "" )
|
||||||
{
|
{
|
||||||
alert("Нужно ввести имя пользователя!");
|
alert("You must enter a username!");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -85,11 +85,11 @@ function IPBCSS()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Похоже у нас проблемы: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Исключение: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
onFailure: function( t ){ alert( "Ошибка: " + t.responseText ); }
|
onFailure: function( t ){ alert( "Failure: " + t.responseText ); }
|
||||||
} );
|
} );
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ function IPBCSS()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Похоже у нас проблемы: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
@@ -159,14 +159,14 @@ function IPBCSS()
|
|||||||
/* Make sure we're mean it... */
|
/* Make sure we're mean it... */
|
||||||
if ( $('tplate_cssRow_' + css_id ).hasClassName( 'tplateRow_new') )
|
if ( $('tplate_cssRow_' + css_id ).hasClassName( 'tplateRow_new') )
|
||||||
{
|
{
|
||||||
if ( ! confirm( "Удалить CSS файл ?\nФайл будет удален из ВСЕХ стилей!" ) )
|
if ( ! confirm( "REMOVE CSS file?\n This will remove this template bit in ALL skins!" ) )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( ! confirm( "Отменить изменения в CSS файле ?\nВсе изменения будут утеряны!" ) )
|
if ( ! confirm( "Revert CSS file?\n All changes WILL be lost!" ) )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -202,7 +202,7 @@ function IPBCSS()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Похоже у нас проблемы: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
@@ -239,7 +239,7 @@ function IPBCSS()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Похоже у нас проблемы: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
|
|||||||
@@ -217,14 +217,14 @@ function IPBTemplateDiff()
|
|||||||
*/
|
*/
|
||||||
this.timeOutAjax = function( t )
|
this.timeOutAjax = function( t )
|
||||||
{
|
{
|
||||||
if ( confirm( "Нет ответа от сервера.\nХотите подождать?" ) )
|
if ( confirm( "No response from the webserver.\nDo you wish to continue waiting?" ) )
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
t.transport.abort();
|
t.transport.abort();
|
||||||
alert( "Запрос отменен" );
|
alert( "Request Cancelled" );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -265,7 +265,7 @@ function IPBTemplateDiff()
|
|||||||
|
|
||||||
if ( json['error'] )
|
if ( json['error'] )
|
||||||
{
|
{
|
||||||
alert( "Ошибка: " . json['error'] );
|
alert( "An error occurred: " . json['error'] );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ function IPBTemplateSandR()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$('replaceButton').disabled = false;
|
$('replaceButton').disabled = false;
|
||||||
$('replaceButton').value = "Заменить выбранные";
|
$('replaceButton').value = "Replace Selected";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ function IPBTemplates()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Ошибка: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
@@ -169,7 +169,7 @@ function IPBTemplates()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Ошибка: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
@@ -222,7 +222,7 @@ function IPBTemplates()
|
|||||||
if ( json['errors'] )
|
if ( json['errors'] )
|
||||||
{
|
{
|
||||||
/* Something inline would be very nice here.. rather than this ugly alert */
|
/* Something inline would be very nice here.. rather than this ugly alert */
|
||||||
alert("Ошибка: " + json['errors'] );
|
alert("Error:: " + json['errors'] );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -232,7 +232,7 @@ function IPBTemplates()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Ошибка: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
@@ -248,14 +248,14 @@ function IPBTemplates()
|
|||||||
/* Make sure we're mean it... */
|
/* Make sure we're mean it... */
|
||||||
if ( $('tplate_templaterow_' + template_id ).hasClassName( 'tplateRow_new') )
|
if ( $('tplate_templaterow_' + template_id ).hasClassName( 'tplateRow_new') )
|
||||||
{
|
{
|
||||||
if ( ! confirm( "Удалить шаблон?\n Произойдет удаление шаблона из ВСЕХ стилей!" ) )
|
if ( ! confirm( "REMOVE template bit?\n This will remove this template bit in ALL skins!" ) )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ( ! confirm( "Откатить изменения?\n Все изменения БУДУТ УТРАЧЕНЫ!" ) )
|
if ( ! confirm( "Revert template bit?\n All changes WILL be lost!" ) )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -301,7 +301,7 @@ function IPBTemplates()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Ошибка: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
@@ -338,7 +338,7 @@ function IPBTemplates()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
alert( "Ошибка: " + t.responseText );
|
alert( "Ooops. Something went wrong. Does this help?: " + t.responseText );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onException: function( f,e ){ alert( "Exception: " + e ); },
|
onException: function( f,e ){ alert( "Exception: " + e ); },
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: bfarber $
|
* $Author: bfarber $
|
||||||
* @since 7th August 2012
|
* @since 7th August 2012
|
||||||
* $LastChangedDate: 2011-03-10 21:00:38 +0000 (Thu, 10 Mar 2011) $
|
* $LastChangedDate: 2011-03-10 21:00:38 +0000 (Thu, 10 Mar 2011) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 8021 $
|
* $Revision: 8021 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Template comparison
|
* Template comparison
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Handles Admin ajax functions for IP.Board Text Editor
|
* Handles Admin ajax functions for IP.Board Text Editor
|
||||||
* Author: Matt "Matt Mecham" Mecham
|
* Author: Matt "Matt Mecham" Mecham
|
||||||
* Last Updated: $LastChangedDate: 2012-05-29 14:05:10 +0100 (Tue, 29 May 2012) $
|
* Last Updated: $LastChangedDate: 2012-05-29 14:05:10 +0100 (Tue, 29 May 2012) $
|
||||||
|
|||||||
@@ -1,115 +1,115 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Login handler abstraction : AJAX Find Names functions
|
* Login handler abstraction : AJAX Find Names functions
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author $Author: bfarber $
|
* @author $Author: bfarber $
|
||||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||||
* @license http://www.invisionpower.com/company/standards.php#license
|
* @license http://www.invisionpower.com/company/standards.php#license
|
||||||
* @package IP.Board
|
* @package IP.Board
|
||||||
* @subpackage Core
|
* @subpackage Core
|
||||||
* @link http://www.invisionpower.com
|
* @link http://www.invisionpower.com
|
||||||
* @since Tuesday 1st March 2005 (11:52)
|
* @since Tuesday 1st March 2005 (11:52)
|
||||||
* @version $Revision: 10721 $
|
* @version $Revision: 10721 $
|
||||||
* @see public_core_ajax_findnames
|
* @see public_core_ajax_findnames
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'IN_ACP' ) )
|
if ( ! defined( 'IN_ACP' ) )
|
||||||
{
|
{
|
||||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
class admin_core_ajax_findnames extends ipsAjaxCommand
|
class admin_core_ajax_findnames extends ipsAjaxCommand
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Class entry point
|
* Class entry point
|
||||||
*
|
*
|
||||||
* @param object Registry reference
|
* @param object Registry reference
|
||||||
* @return @e void [Outputs to screen]
|
* @return @e void [Outputs to screen]
|
||||||
*/
|
*/
|
||||||
public function doExecute( ipsRegistry $registry )
|
public function doExecute( ipsRegistry $registry )
|
||||||
{
|
{
|
||||||
switch( $this->request['do'] )
|
switch( $this->request['do'] )
|
||||||
{
|
{
|
||||||
case 'get-member-names':
|
case 'get-member-names':
|
||||||
$this->_getMemberNames();
|
$this->_getMemberNames();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns possible matches for the string input
|
* Returns possible matches for the string input
|
||||||
*
|
*
|
||||||
* @return @e void Outputs to screen
|
* @return @e void Outputs to screen
|
||||||
*/
|
*/
|
||||||
protected function _getMemberNames()
|
protected function _getMemberNames()
|
||||||
{
|
{
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
// INIT
|
// INIT
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
|
||||||
$name = IPSText::convertUnicode( $this->convertAndMakeSafe( $this->request['name'], 0 ), true );
|
$name = IPSText::convertUnicode( $this->convertAndMakeSafe( $this->request['name'], 0 ), true );
|
||||||
$name = IPSText::convertCharsets( $name, 'utf-8', IPS_DOC_CHAR_SET );
|
$name = IPSText::convertCharsets( $name, 'utf-8', IPS_DOC_CHAR_SET );
|
||||||
|
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
// Check length
|
// Check length
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
|
||||||
if ( IPSText::mbstrlen( $name ) < 3 )
|
if ( IPSText::mbstrlen( $name ) < 3 )
|
||||||
{
|
{
|
||||||
$this->returnJsonError( 'requestTooShort' );
|
$this->returnJsonError( 'requestTooShort' );
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
// Try query...
|
// Try query...
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
|
||||||
$this->DB->build( array( 'select' => 'm.members_display_name, m.name, m.member_id, m.member_group_id',
|
$this->DB->build( array( 'select' => 'm.members_display_name, m.name, m.member_id, m.member_group_id',
|
||||||
'from' => array( 'members' => 'm' ),
|
'from' => array( 'members' => 'm' ),
|
||||||
'where' => "m.members_l_display_name LIKE '" . $this->DB->addSlashes( mb_strtolower( $name ) ) . "%'",
|
'where' => "m.members_l_display_name LIKE '" . $this->DB->addSlashes( strtolower( $name ) ) . "%'",
|
||||||
'order' => $this->DB->buildLength( 'm.members_display_name' ) . ' ASC',
|
'order' => $this->DB->buildLength( 'm.members_display_name' ) . ' ASC',
|
||||||
'limit' => array( 0, 15 ),
|
'limit' => array( 0, 15 ),
|
||||||
'add_join' => array( array( 'select' => 'p.*',
|
'add_join' => array( array( 'select' => 'p.*',
|
||||||
'from' => array( 'profile_portal' => 'p' ),
|
'from' => array( 'profile_portal' => 'p' ),
|
||||||
'where' => 'p.pp_member_id=m.member_id',
|
'where' => 'p.pp_member_id=m.member_id',
|
||||||
'type' => 'left' ) ) ) );
|
'type' => 'left' ) ) ) );
|
||||||
$this->DB->execute();
|
$this->DB->execute();
|
||||||
|
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
// Got any results?
|
// Got any results?
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
|
||||||
if ( ! $this->DB->getTotalRows() )
|
if ( ! $this->DB->getTotalRows() )
|
||||||
{
|
{
|
||||||
$this->returnJsonArray( array( ) );
|
$this->returnJsonArray( array( ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
$return = array();
|
$return = array();
|
||||||
|
|
||||||
while( $r = $this->DB->fetch() )
|
while( $r = $this->DB->fetch() )
|
||||||
{
|
{
|
||||||
if( !$r['members_display_name'] )
|
if( !$r['members_display_name'] )
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$photo = IPSMember::buildProfilePhoto( $r );
|
$photo = IPSMember::buildProfilePhoto( $r );
|
||||||
$group = IPSMember::makeNameFormatted( '' , $r['member_group_id'] );
|
$group = IPSMember::makeNameFormatted( '' , $r['member_group_id'] );
|
||||||
$return[ $r['member_id'] ] = array( 'name' => $r['members_display_name'],
|
$return[ $r['member_id'] ] = array( 'name' => $r['members_display_name'],
|
||||||
'showas'=> '<strong>' . $r['members_display_name'] . '</strong> (' . $group . ')',
|
'showas'=> '<strong>' . $r['members_display_name'] . '</strong> (' . $group . ')',
|
||||||
'img' => $photo['pp_mini_photo'],
|
'img' => $photo['pp_mini_photo'],
|
||||||
'img_w' => $photo['pp_mini_width'],
|
'img_w' => $photo['pp_mini_width'],
|
||||||
'img_h' => $photo['pp_mini_height']
|
'img_h' => $photo['pp_mini_height']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->returnJsonArray( $return );
|
$this->returnJsonArray( $return );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Hooks (AJAX)
|
* Hooks (AJAX)
|
||||||
* Last Updated: $Date: 2013-02-15 17:36:04 -0500 (Fri, 15 Feb 2013) $
|
* Last Updated: $Date: 2013-02-15 17:36:04 -0500 (Fri, 15 Feb 2013) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
||||||
* Last Updated: $Date: 2012-05-24 16:20:59 -0400 (Thu, 24 May 2012) $
|
* Last Updated: $Date: 2012-05-24 16:20:59 -0400 (Thu, 24 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
||||||
* Last Updated: $Date: 2011-05-05 12:03:47 +0100 (Thu, 05 May 2011) $
|
* Last Updated: $Date: 2011-05-05 12:03:47 +0100 (Thu, 05 May 2011) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: bfarber $
|
* $Author: bfarber $
|
||||||
* @since 8th Feb 2011
|
* @since 8th Feb 2011
|
||||||
* $LastChangedDate: 2011-03-10 16:00:38 -0500 (Thu, 10 Mar 2011) $
|
* $LastChangedDate: 2011-03-10 16:00:38 -0500 (Thu, 10 Mar 2011) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 8021 $
|
* $Revision: 8021 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* AJAX Functions For applications/core/js/ipb3Templates.js file
|
* AJAX Functions For applications/core/js/ipb3Templates.js file
|
||||||
* Last Updated: $Date: 2012-11-30 10:02:12 -0500 (Fri, 30 Nov 2012) $
|
* Last Updated: $Date: 2012-11-30 10:02:12 -0500 (Fri, 30 Nov 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* AJAX Functions For applications/core/js/ipb3Templates.js file
|
* AJAX Functions For applications/core/js/ipb3Templates.js file
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* AJAX Functions For applications/core/js/ipb3Templates.js file
|
* AJAX Functions For applications/core/js/ipb3Templates.js file
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
* AJAX Functions For applications/core/js/ipb3CSS.js file
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: bfarber $
|
* $Author: bfarber $
|
||||||
* @since 15 January 2007
|
* @since 15 January 2007
|
||||||
* $LastChangedDate: 2013-05-07 22:02:49 -0400 (Tue, 07 May 2013) $
|
* $LastChangedDate: 2013-05-07 22:02:49 -0400 (Tue, 07 May 2013) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 12236 $
|
* $Revision: 12236 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Blog Application
|
* Blog Application
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -37,6 +37,6 @@ class admin_core_applications_blog extends ipsCommand
|
|||||||
{
|
{
|
||||||
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
||||||
|
|
||||||
$this->registry->output->showInsideIframe("http://external.ipslink.com/ipboard30/landing/?p=blog");
|
$this->registry->output->showInsideIframe("http://anonym.to/?http://external.ipslink.com/ipboard30/landing/?p=blog");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Blog Application
|
* Blog Application
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -34,6 +34,6 @@ class admin_core_applications_ccs extends ipsCommand
|
|||||||
{
|
{
|
||||||
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
||||||
|
|
||||||
$this->registry->output->showInsideIframe("http://www.invisionpower.com/products/content/");
|
$this->registry->output->showInsideIframe("http://anonym.to/?http://www.invisionpower.com/products/content/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Download Manager Application
|
* Download Manager Application
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: ips_terabyte $
|
* $Author: ips_terabyte $
|
||||||
* @since 20th February 2002
|
* @since 20th February 2002
|
||||||
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 8655 $
|
* $Revision: 8655 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Download Manager Application
|
* Download Manager Application
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -37,6 +37,6 @@ class admin_core_applications_downloads extends ipsCommand
|
|||||||
{
|
{
|
||||||
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
||||||
|
|
||||||
$this->registry->output->showInsideIframe("http://www.invisionpower.com/products/downloads/");
|
$this->registry->output->showInsideIframe("http://anonym.to/?http://www.invisionpower.com/products/downloads/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
* $Author: mark $
|
* $Author: mark $
|
||||||
* @since 24 July 2012
|
* @since 24 July 2012
|
||||||
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
* $LastChangedDate: 2012-06-20 10:50:23 +0100 (Wed, 20 Jun 2012) $
|
||||||
* @version v3.4.5
|
* @version v3.4.6
|
||||||
* $Revision: 10952 $
|
* $Revision: 10952 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Gallery Application
|
* Gallery Application
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -37,6 +37,6 @@ class admin_core_applications_gallery extends ipsCommand
|
|||||||
{
|
{
|
||||||
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
||||||
|
|
||||||
$this->registry->output->showInsideIframe("http://www.invisionpower.com/products/gallery/");
|
$this->registry->output->showInsideIframe("http://anonym.to/?http://www.invisionpower.com/products/gallery/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* Invision Power Services
|
* Invision Power Services
|
||||||
* IP.Board v3.4.5
|
* IP.Board v3.4.6
|
||||||
* Nexus Application
|
* Nexus Application
|
||||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||||
* </pre>
|
* </pre>
|
||||||
@@ -34,6 +34,6 @@ class admin_core_applications_nexus extends ipsCommand
|
|||||||
{
|
{
|
||||||
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
$this->registry->getClass('class_permissions')->checkPermissionAutoMsg( 'purchase_app' );
|
||||||
|
|
||||||
$this->registry->output->showInsideIframe("http://www.invisionpower.com/products/nexus/");
|
$this->registry->output->showInsideIframe("http://anonym.to/?http://www.invisionpower.com/products/nexus/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -5,6 +5,6 @@
|
|||||||
<hr>
|
<hr>
|
||||||
You have reached this page in error, please use your back button to return to the forum.
|
You have reached this page in error, please use your back button to return to the forum.
|
||||||
<hr>
|
<hr>
|
||||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
IP.Board
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loaded 100 of 1568 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user