Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

+11 -11
View File
@@ -3,23 +3,23 @@
<html lang="en">
<head>
<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'>
<link rel='stylesheet' href='../assets/css/reset.css'>
<link rel='stylesheet' href='../assets/fontawesome/css/all.min.css'>
<link rel='stylesheet' href='../assets/css/global.css'>
<link rel='stylesheet' href='../assets/css/layout.css'>
<link rel='stylesheet' href='../assets/css/messages.css'>
<link rel='stylesheet' href='../assets/css/misc.css'>
<link rel='stylesheet' href='../assets/css/forms.css'>
<link rel='stylesheet' href='../assets/css/typography.css'>
<link rel='stylesheet' href='../assets/css/buttons.css'>
<link rel='stylesheet' href='../assets/css/installer.css'>
<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_front ipsJS_none ipsClearfix ipsLayout_noBackground">
<body class="ipsApp ipsApp_front ipsJS_none ipsLayout_noBackground">
{$html|raw}
</body>
</html>
@@ -1,5 +1,5 @@
<ips:template parameters="$form, $path" />
<div class='ipsMessage ipsMessage_error'>
<div class='ipsMessage ipsMessage--error'>
{lang="confglobal_make" sprintf="$path"}
</div>
{{if ! file_exists( $path . '/conf_global.php')}}
+3 -3
View File
@@ -1,9 +1,9 @@
<ips:template parameters="$title, $message, $code, $backtrace" />
<div class='ipsMessage ipsMessage_error'>
<span class="ipsMessage_code">{$code}</span>
<div class='ipsMessage ipsMessage--error'>
<span class="ipsMessage--code">{$code}</span>
{lang="$message"}
</div>
{{if $backtrace}}
<br><hr class='ipsHr'><br>
<hr class='ipsHr'>
<pre>{$backtrace}</pre>
{{endif}}
+69 -56
View File
@@ -4,95 +4,108 @@
<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'>
<link rel='stylesheet' href='../assets/css/reset.css'>
<link rel='stylesheet' href='../assets/fontawesome/css/all.min.css'>
<link rel='stylesheet' href='../assets/css/global.css'>
<link rel='stylesheet' href='../assets/css/layout.css'>
<link rel='stylesheet' href='../assets/css/messages.css'>
<link rel='stylesheet' href='../assets/css/misc.css'>
<link rel='stylesheet' href='../assets/css/forms.css'>
<link rel='stylesheet' href='../assets/css/typography.css'>
<link rel='stylesheet' href='../assets/css/buttons.css'>
<link rel='stylesheet' href='../assets/css/installer.css'>
<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'>
<script>
$(document).ready(function(){
$('input[name="diagnostics_reporting_checkbox"]').attr("disabled","disabled");
});
</script>
<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> {lang="banner"}</a>
</header>
</div>
<body>
<div id='ipsInstaller'>
<header class="ipsInstaller__header">
<a href='/' class="ipsInstaller__logo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 440.71 427.19"><path d="M236,353,439.83,0H.88l203.8,353A18.11,18.11,0,0,0,236,353Z"/><polygon points="0 427.19 128.95 427.19 0 203.83 0 427.19"/><polygon points="311.76 427.19 440.71 427.19 440.71 203.83 311.76 427.19"/></svg>
<span>{lang="banner"}</span>
</a>
</header>
<main id='elInstaller_body'>
{{if \IPS\Request::i()->controller !== 'done' and !$initError and ( \IPS\Dispatcher::i()->step || \IPS\Request::i()->start )}}
<div class='ipsPad ipsAreaBackground_light'>
<h1 class='ipsType_pageTitle'>
{lang="step_s" sprintf="$title"}
</h1>
</div>
<div class='ipsColumns ipsPad'>
<div class='ipsColumn ipsColumn_wide ipsPad' id='elInstaller_stepsWrap'>
<!--
<div class='ipsInstaller__page-title'>
<h1 class='ipsType_pageTitle'>
{lang="step_s" sprintf="$title"}
</h1>
</div>
-->
<div class='ipsColumns'>
<div class='ipsColumns__secondary'>
<ul id='elInstaller_steps'>
{{foreach array( 1 => 'healthcheck', 2 => 'license', 3 => 'applications', 4 => 'serverdetails', 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="$lang"}
<li class='
{{if \IPS\Dispatcher::i()->step == $i or ( !\IPS\Dispatcher::i()->step and $i == 1 )}}
elInstaller_steps__current
{{elseif \IPS\Dispatcher::i()->step > $i}}
elInstaller_steps__done
{{else}}
elInstaller_steps__future
{{endif}}'>
{{if \IPS\Dispatcher::i()->step == $i or ( !\IPS\Dispatcher::i()->step and $i == 1 )}}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM281 385c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l71-71L136 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l182.1 0-71-71c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L393 239c9.4 9.4 9.4 24.6 0 33.9L281 385z"/></svg>
{{elseif \IPS\Dispatcher::i()->step > $i}}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>
{{else}}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"/></svg>
{{endif}}
<span>{lang="$lang"}</span>
</li>
{{endforeach}}
</ul>
</div>
<div class='ipsColumn ipsColumn_fluid'>
<div class='ipsPad'>
{$html|raw}
</div>
<div class='ipsColumns__primary'>
{$html|raw}
</div>
</div>
{{elseif \IPS\Request::i()->controller === 'done'}}
<div class='ipsPad_double ipsType_center'>
<div class='ipsInstaller__padding i-text-align_center'>
<h1 class='ipsType_pageTitle' id='elInstaller_welcome'>{lang="done_banner"}</h1>
<p class='ipsType_normal ipsType_light'>
<p class='ipsType_normal i-color_soft'>
{lang="done_note"}
</p>
<br><br>
<a href='{expression="\IPS\Settings::i()->base_url"}' class='ipsButton ipsButton_large ipsButton_primary'>{lang="gotosuite"}</a>
<a href='{expression="rtrim( \IPS\Settings::i()->base_url, '/' ) . '/' . \IPS\CP_DIRECTORY"}' class='ipsButton ipsButton_large ipsButton_normal'>{lang="gotoacp"}</a>
<br><br>
<a href='https://ipbmafia.ru/files/file/1848-russkiy-yazyk-dlya-invision-community/' target="_blank" class='ipsButton ipsButton_large ipsButton_normal' style="background: red;">Russian lang pack</a>
<br><br>
<div class="ipsButtons i-margin-top_5">
<a href='{expression="\IPS\Settings::i()->base_url"}' class='ipsButton ipsButton--large ipsButton--primary'>{lang="gotosuite"}</a>
<a href='{expression="rtrim( \IPS\Settings::i()->base_url, '/' ) . '/admin'"}' class='ipsButton ipsButton--large ipsButton--normal'>{lang="gotoacp"}</a>
</div>
<a href="{expression="\IPS\Http\Url::ips('docs/docs')"}" target="_blank" rel="noopener">{lang="docs_link"}</a>
</div>
{{else}}
<div class='ipsPad_double ipsType_center'>
<div class='ipsInstaller__padding i-text-align_center'>
<h1 class='ipsType_pageTitle' id='elInstaller_welcome'>{lang="welcome_banner"}</h1>
<p class='ipsType_normal ipsType_light'>
<p class='ipsType_normal i-color_soft'>
{{if $initError}}
{lang="beforestart" sprintf="$path"}
{{else}}
{lang="beforestarto"}
{{endif}}
</p>
{{if $initError !== true}}
<br><br>
<a href='{url="start=1"}' class='ipsButton ipsButton_large ipsButton_primary'>{lang="start_installation"}</a>
{{endif}}
<br><br>
<a href="{expression="\IPS\Http\Url::ips('docs/install_guide')"}" target="_blank" rel="noopener">{lang="install_guide"}</a>
<div class="ipsButtons i-margin-top_5">
<a href="{expression="\IPS\Http\Url::ips('docs/install_guide')"}" target="_blank" rel="noopener" class='ipsButton'>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/></svg>
<span>{lang="install_guide"}</span>
</a>
{{if $initError !== true}}
<a href='{url="start=1"}' class='ipsButton ipsButton--primary'>
<span>{lang="start_installation"}</span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/></svg>
</a>
{{endif}}
</div>
</div>
{{endif}}
<p style="text-align: right; margin:10px">Nulled by IPBMafia.ru</p>
</main>
<div class="ipsType_center ipsType_light ipsPad_double">
{lang="server_ip"} {expression="$_SERVER['SERVER_ADDR'] ?? ( $_SERVER['LOCAL_ADDR'] ?? 'unavailable' )"}
</div>
</div>
<div class="ipsInstaller__ip">
{lang="server_ip"} {expression="$_SERVER['SERVER_ADDR'] ?? ( $_SERVER['LOCAL_ADDR'] ?? 'unavailable' )"}
</div>
</body>
</html>
+12 -12
View File
@@ -1,9 +1,9 @@
<ips:template parameters="$requirements" />
{{$canProceed = TRUE;}}
<section>
<section class="ipsInstaller__padding">
{{foreach $requirements['requirements'] as $k => $_requirements}}
<h2 class="ipsType_sectionHead">{lang="requirements" sprintf="$k"}</h2>
<ul class="ipsPad ipsType_large ipsList_checks">
<ul class="ipsList_checks">
{{foreach $_requirements as $item}}
{{if !$item['success']}}{{$canProceed = FALSE;}}{{endif}}
<li class="{{if $item['success']}}success{{else}}fail{{endif}}">{$item['message']}</li>
@@ -14,19 +14,19 @@
<h2 class="ipsType_sectionHead">{lang="recommendations"}</h2>
<br><br>
<p class="ipsType_normal">{lang="recom_info"}</p>
<ul class="ipsPad ipsType_large ipsList_checks">
<ul class="ipsList_checks">
{{foreach $requirements['advice'] as $items}}
{{foreach $items as $key => $item}}
<li class="{{if $key === 'php'}}ipsMessage ipsMessage_warning{{else}}advisory{{endif}}">{$item}</li>
<li class="{{if $key === 'php'}}fail{{else}}advisory{{endif}}">{$item}</li>
{{endforeach}}
{{endforeach}}
</ul>
{{endif}}
</section>
<div class='ipsPad_double ipsType_center'>
{{if $canProceed}}
<a href='{url="controller=license"}' class='ipsButton ipsButton_large ipsButton_primary'>{lang="continue"}</a>
{{else}}
<a href='' class='ipsButton ipsButton_large ipsButton_primary ipsButton_disabled'>{lang="proceed_anyways"}</a>
{{endif}}
</div>
<div class='i-text-align_center'>
{{if $canProceed}}
<a href='{url="controller=license"}' class='ipsButton ipsButton--large ipsButton--primary'>{lang="continue"}</a>
{{else}}
<a href='' class='ipsButton ipsButton--large ipsButton--primary' disabled>{lang="proceed_anyways"}</a>
{{endif}}
</div>
</section>
+2
View File
@@ -0,0 +1,2 @@
<ips:template parameters="$icon" />
<span class="ipsIcon ipsIcon--{$icon['type']}" data-label="{$icon['title']}" aria-hidden="true">{$icon['raw']|raw}</span>
+4 -3
View File
@@ -1,6 +1,7 @@
<ips:template parameters=" " />
<div class='ipsPad_double ipsType_center'>
<div class='ipsInstaller__padding i-text-align_center'>
<h1 class='ipsType_pageTitle' id='elInstaller_welcome'>{lang="ready_to_start"}</h1>
<br><br>
<a href='{url="controller=install"}' class='ipsButton ipsButton_large ipsButton_primary'>{lang="start_installation"}</a>
<div class="ipsButtons i-margin-top_4">
<a href='{url="controller=install"}' class='ipsButton ipsButton--large ipsButton--primary'>{lang="start_installation"}</a>
</div>
</div>
@@ -1,7 +1,7 @@
<ips:template parameters="$url" />
<div class="ipsMultipleRedirect" data-url="{$url}">
<noscript>
<a href='{$url->setQueryString( 'mr', '1' )}' class="button">{lang="start"}</a>
<a href='{$url->setQueryString( 'mr', '1' )}' class="ipsButton">{lang="start"}</a>
</noscript>
<div class="no_js_hide">
<div class="ipsRedirect ipsRedirect_loading">
+11 -11
View File
@@ -4,20 +4,20 @@
<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'>
<link rel='stylesheet' href='../assets/css/reset.css'>
<link rel='stylesheet' href='../assets/fontawesome/css/all.min.css'>
<link rel='stylesheet' href='../assets/css/global.css'>
<link rel='stylesheet' href='../assets/css/layout.css'>
<link rel='stylesheet' href='../assets/css/messages.css'>
<link rel='stylesheet' href='../assets/css/misc.css'>
<link rel='stylesheet' href='../assets/css/forms.css'>
<link rel='stylesheet' href='../assets/css/typography.css'>
<link rel='stylesheet' href='../assets/css/buttons.css'>
<link rel='stylesheet' href='../assets/css/installer.css'>
<meta http-equiv="refresh" content="2; url={$url}" />
</head>
<body>
<p class="ipsMessage ipsMessage_info ipsRedirectMessage">
<p class="ipsMessage ipsMessage--info ipsRedirectMessage">
<strong>{lang="$message"}</strong><br />
<br />
{lang="redirecting_wait"}