Version 4.2.0
This commit is contained in:
1 parent
0dc2aee5ed
commit
96997ddd8e
2074 files changed
+125454
-55780
No files matched your search
@@ -1,12 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief Template Class
|
||||
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/legal/standards/
|
||||
* @package IPS Community Suite
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @since 9 Sept 2013
|
||||
* @version SVN_VERSION_NUMBER
|
||||
*/
|
||||
|
||||
namespace IPSUtf8\Output\Browser;
|
||||
@@ -23,8 +22,8 @@ class Template
|
||||
$url = \IPSUtf8\Output\Browser::$url;
|
||||
$title = ( empty( $title ) ) ? 'IPS Converter' : $title;
|
||||
$active = array( 'convert' => '', 'tools' => '', 'archive' => '' );
|
||||
$hasArchive = \IPSUtf8\Session::i()->has_archive;
|
||||
$controller = preg_replace( "/[^a-zA-Z0-9]/", '', empty( \IPSUtf8\Request::i()->controller ) ? 'browser' : \IPSUtf8\Request::i()->controller );
|
||||
$controller = empty( \IPSUtf8\Request::i()->controller ) ? 'browser' : \IPSUtf8\Request::i()->controller;
|
||||
$version = \IPSUtf8\Convert::VERSION_ID;
|
||||
$copyrightDate = date('Y');
|
||||
|
||||
@@ -182,13 +181,13 @@ EOFHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Error page explaining about database being IPS4 already
|
||||
* Error page explaining about database being Invision Community already
|
||||
*/
|
||||
public static function errorAlreadyIPS4()
|
||||
{
|
||||
$html = <<<EOFHTML
|
||||
<p style="text-align:left">
|
||||
The target database is already IPS4. There is no conversion required and the UTF8 converter is locked.
|
||||
The target database is already running Invision Community. There is no conversion required and the UTF8 converter is locked.
|
||||
<br>To override this and unlock the UTF8 converter, please create a file called "constants.php" and upload it to your /admin/convertutf8/ directory with the following contents:
|
||||
</p>
|
||||
<p><textarea class="form-control" style="height:90px;"><?php
|
||||
|
||||
Reference in new issue
Block a user