Version 4.0.13.1

This commit is contained in:
Neo committed 2025-12-19 04:57:54 -08:00
1 parent f9e857d255
commit c6a86f0d9b
7517 files changed
+597400 -668041

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
<ips:template parameters="$title, $content, $margins=TRUE, $message=FALSE" />
{$content|raw}
@@ -0,0 +1,15 @@
<ips:template parameters="$form, $path" />
<div class='ipsMessage ipsMessage_error'>
Cannot write the '{$path}/conf_global.php' file
</div>
{{if ! file_exists( $path . '/conf_global.php')}}
<p>
Please create a file in {$path} called conf_global.php.
<br />Copy and paste the contents of the box above into this new file and CHMOD to 0777.
</p>
{{else}}
<p>
Please CHMOD to conf_global.php 0777.
</p>
{{endif}}
{$form|raw}
+9
View File
@@ -0,0 +1,9 @@
<ips:template parameters="$title, $message, $code, $backtrace" />
<div class='ipsMessage ipsMessage_error'>
<span class="ipsMessage_code">{$code}</span>
{lang="$message"}
</div>
{{if $backtrace}}
<br><hr class='ipsHr'><br>
<pre>{$backtrace}</pre>
{{endif}}
@@ -0,0 +1,91 @@
<ips:template parameters="$title,$html,$initError=FALSE,$path=null" />
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{$title}</title>
<link rel='stylesheet' href='css/reset.css' media='all'>
<link rel='stylesheet' href='css/fonts.css' media='all'>
<link rel='stylesheet' href='css/global.css' media='all'>
<link rel='stylesheet' href='css/layout.css' media='all'>
<link rel='stylesheet' href='css/messages.css' media='all'>
<link rel='stylesheet' href='css/misc.css' media='all'>
<link rel='stylesheet' href='css/forms.css' media='all'>
<link rel='stylesheet' href='css/typography.css' media='all'>
<link rel='stylesheet' href='css/buttons.css' media='all'>
<link rel='stylesheet' href='css/installer.css' media='all'>
<script type="text/javascript">
var IPS_TIMEOUT = 30;
</script>
<script src="js/jquery.min.js"></script>
<script src="js/multipleRedirect.js"></script>
</head>
<body class='ipsApp ipsApp_installer'>
<div id='elInstaller_wrap'>
<div id='ipsLayout_header' class='ipsClearfix' role='banner'>
<header>
<a href='/' id='elSiteTitle'><span id='elLogo'><img src='img/logo.png' alt=''></span> Install IPS Community Suite 4</a>
<!--<div class='logged_in right'>
<ul id='user_links' class='ipsList_inline'>
<li><a href="{expression="\IPS\Http\Url::ips('docs/install_guide')"}" target="_blank">{lang="install_guide"}</a></li>
</ul>
</div>-->
</header>
</div>
<main id='elInstaller_body'>
{{if \IPS\Request::i()->controller !== 'done' and !$initError and ( ( \IPS\Dispatcher::i()->step != 1 AND \IPS\Dispatcher::i()->step != 6 ) || \IPS\Request::i()->start )}}
<div class='ipsPad ipsAreaBackground_light'>
<h1 class='ipsType_pageTitle'>
Step: {$title}
</h1>
</div>
<div class='ipsColumns ipsPad'>
<div class='ipsColumn ipsColumn_wide ipsPad' id='elInstaller_stepsWrap'>
<ul id='elInstaller_steps'>
{{foreach array( 1 => 'System Check', 2 => 'License', 3 => 'Applications', 4 => 'Server Details', 5 => 'Admin', 6 => 'Install' ) as $i => $lang}}
<li class='{{if \IPS\Dispatcher::i()->step == $i}}elInstaller_stepActive{{elseif \IPS\Dispatcher::i()->step > $i}}elInstaller_stepDone{{endif}}'>
<i class='{{if \IPS\Dispatcher::i()->step == $i or ( !\IPS\Dispatcher::i()->step and $i == 1 )}}fa fa-circle{{elseif \IPS\Dispatcher::i()->step > $i}}fa fa-check{{else}}fa fa-circle-o{{endif}}'></i>&nbsp;&nbsp;{$lang}
</li>
{{endforeach}}
</ul>
</div>
<div class='ipsColumn ipsColumn_fluid'>
<div class='ipsPad'>
{$html|raw}
</div>
</div>
</div>
{{elseif \IPS\Request::i()->controller === 'done'}}
<div class='ipsPad_double ipsType_center'>
<h1 class='ipsType_pageTitle' id='elInstaller_welcome'>Your IPS Community Suite 4 is ready</h1>
<p class='ipsType_normal ipsType_light'>
The installation process is now complete and your IPS Community Suite is now ready!
</p>
<br><br>
<a href='{url="&" base="front"}' class='ipsButton ipsButton_large ipsButton_primary'>Go to the suite</a>
<br><br>
<a href="{expression="\IPS\Http\Url::ips('docs/docs')"}" target="_blank">Suite Documentation</a>
</div>
{{else}}
<div class='ipsPad_double ipsType_center'>
<h1 class='ipsType_pageTitle' id='elInstaller_welcome'>Welcome to IPS Community Suite 4</h1>
<p class='ipsType_normal ipsType_light'>
{{if $initError}}
Before we can begin, please rename conf_global.dist.php to conf_global.php in {$path} and ensure it is writable (usually CHMOD 0777).
{{else}}
This process will install your software for you. Be sure you have your license key and MySQL database details to hand.
{{endif}}
</p>
{{if $initError !== true}}
<br><br>
<a href='{url="controller=install&start=1"}' class='ipsButton ipsButton_large ipsButton_primary'>Start Installation</a>
{{endif}}
<br><br>
<a href="{expression="\IPS\Http\Url::ips('docs/install_guide')"}" target="_blank">Install Guide</a>
</div>
{{endif}}
</main>
</div>
</body>
</html>
@@ -0,0 +1,30 @@
<ips:template parameters="$requirements" />
{{$canProceed = TRUE;}}
<section>
{{foreach $requirements['requirements'] as $k => $_requirements}}
<h2 class="ipsType_sectionHead">{$k} Requirements</h2>
<ul class="ipsPad ipsType_large ipsList_checks">
{{foreach $_requirements as $item}}
{{if !$item['success']}}{{$canProceed = FALSE;}}{{endif}}
<li class="{{if $item['success']}}success{{else}}fail{{endif}}">{$item['message']}</li>
{{endforeach}}
</ul>
{{endforeach}}
{{if isset( $requirements['advice'] ) and count( $requirements['advice'] )}}
<h2 class="ipsType_sectionHead">Recommendations</h2>
<br><br>
<p class="ipsType_normal">None of these items are required in order to continue with the installation right now. However, they will be required in a future version of IPS Community Suite. You should make a note of them and contact your hosting provider or system administrator after the installation to address them. You can re-run these checks later from the <em>Support</em> section of the Administrator Control Panel.</p>
<ul class="ipsPad ipsType_large ipsList_checks">
{{foreach $requirements['advice'] as $item}}
<li class="advisory">{$item}</li>
{{endforeach}}
</ul>
{{endif}}
</section>
<div class='ipsPad_double ipsType_center'>
{{if $canProceed}}
<a href='{url="controller=license"}' class='ipsButton ipsButton_large ipsButton_primary'>Continue</a>
{{else}}
<a href='' class='ipsButton ipsButton_large ipsButton_primary ipsButton_disabled'>You must correct any issues listed above before you can proceed</a>
{{endif}}
</div>
Whitespace-only changes.
@@ -0,0 +1,6 @@
<ips:template parameters=" " />
<div class='ipsPad_double ipsType_center'>
<h1 class='ipsType_pageTitle' id='elInstaller_welcome'>Ready to begin installation</h1>
<br><br>
<a href='{url="controller=install"}' class='ipsButton ipsButton_large ipsButton_primary'>Start Installation</a>
</div>
@@ -0,0 +1,17 @@
<ips:template parameters="$url" />
<div class="ipsMultipleRedirect" data-url="{$url}">
<noscript>
<a href='{$url->setQueryString( 'mr', 'MA==' )}' class="button">{lang="start"}</a>
</noscript>
<div class="no_js_hide">
<div class="ipsRedirect ipsRedirect_loading">
<img src="img/loading.gif" alt="" />
</div>
<div class="ipsRedirect_progress">
<div class="ipsProgressBar ipsProgressBar_animated">
<div class="ipsProgressBar_progress"></div>
</div>
</div>
<span class='ipsRedirect_message'></span>
</div>
</div>
+26
View File
@@ -0,0 +1,26 @@
<ips:template parameters="$url, $message" />
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{lang="redirecting"}</title>
<link rel='stylesheet' href='css/reset.css' media='all'>
<link rel='stylesheet' href='css/fonts.css' media='all'>
<link rel='stylesheet' href='css/global.css' media='all'>
<link rel='stylesheet' href='css/layout.css' media='all'>
<link rel='stylesheet' href='css/messages.css' media='all'>
<link rel='stylesheet' href='css/misc.css' media='all'>
<link rel='stylesheet' href='css/forms.css' media='all'>
<link rel='stylesheet' href='css/typography.css' media='all'>
<link rel='stylesheet' href='css/buttons.css' media='all'>
<link rel='stylesheet' href='css/installer.css' media='all'>
<meta http-equiv="refresh" content="2; url={$url}" />
</head>
<body>
<p class="ipsMessage ipsMessage_info ipsRedirectMessage">
<strong>{lang="$message"}</strong><br />
<br />
{lang="redirecting_wait"}
</p>
</body>
</html>