first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
<?php
/**
* @package solo
* @copyright Copyright (c)2014-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
defined('_AKEEBA') or die();
/** @var \Solo\View\Configuration\Html $this */
// Make sure we only ever add this HTML and JS once per page
if (defined('AKEEBA_VIEW_JAVASCRIPT_CONFWIZ_MODAL'))
{
return;
}
define('AKEEBA_VIEW_JAVASCRIPT_CONFWIZ_MODAL', 1);
$js = <<< JS
akeeba.System.documentReady(function(){
akeeba.System.addEventListener('comAkeebaConwizModalClose', 'click', function () {
akeeba.System.configurationWizardModal.close();
});
setTimeout(function() {
akeeba.System.configurationWizardModal = akeeba.Modal.open({
inherit: '#akeeba-config-confwiz-bubble',
width: '80%'
});
}, 500);
});
JS;
?>
@inlineJs($js)
<div id="akeeba-config-confwiz-bubble" class="modal fade" role="dialog"
aria-labelledby="DialogLabel" aria-hidden="true" style="display: none;">
<div class="akeeba-renderer-fef <?php echo ($this->getContainer()->appConfig->get('darkmode', -1) == 1) ? 'akeeba-renderer-fef--dark' : '' ?>">
<h4>
@lang('COM_AKEEBA_CONFIG_HEADER_CONFWIZ')
</h4>
<div>
<p>
@lang('COM_AKEEBA_CONFIG_LBL_CONFWIZ_INTRO')
</p>
<p>
<a href="@route('index.php?view=wizard')"
class="akeeba-btn--green akeeba-btn--big">
<span class="akion-flash"></span>
@lang('COM_AKEEBA_CONFWIZ')
</a>
</p>
<p>
@lang('COM_AKEEBA_CONFIG_LBL_CONFWIZ_AFTER')
</p>
</div>
<div>
<a href="#" class="akeeba-btn--ghost akeeba-btn--small" id="comAkeebaConwizModalClose">
<span class="akion-close"></span>
@lang('SOLO_BTN_CANCEL')
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,88 @@
<?php
/**
* @package solo
* @copyright Copyright (c)2014-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
use Awf\Text\Text;
defined('_AKEEBA') or die();
/** @var $this \Solo\View\Configuration\Html */
$router = $this->getContainer()->router;
?>
{{-- Configuration Wizard pop-up --}}
@if($this->promptForConfigurationWizard)
@include('Configuration/confwiz_modal')
@endif
{{-- Modal dialog prototypes --}}
@include('CommonTemplates/FTPBrowser')
@include('CommonTemplates/SFTPBrowser')
@include('CommonTemplates/FTPConnectionTest')
@include('CommonTemplates/ErrorModal')
@include('CommonTemplates/FolderBrowser')
@if($this->securesettings == 1)
<div class="akeeba-block--success">
<?php echo Text::_('COM_AKEEBA_CONFIG_UI_SETTINGS_SECURED'); ?>
</div>
@elseif($this->securesettings == 0)
<div class="akeeba-block--failure">
<?php echo Text::_('COM_AKEEBA_CONFIG_UI_SETTINGS_NOTSECURED'); ?>
</div>
@endif
@include('CommonTemplates/ProfileName')
<div class="akeeba-block--info">
@lang('COM_AKEEBA_CONFIG_WHERE_ARE_THE_FILTERS')
</div>
<form name="adminForm" id="adminForm" method="post"
action="@route('index.php?view=configuration')"
class="akeeba-form--horizontal akeeba-form--with-hidden akeeba-form--configuration">
<div class="akeeba-panel--info" style="margin-bottom: -1em">
<header class="akeeba-block-header">
<h5>
@lang('COM_AKEEBA_PROFILES_LABEL_DESCRIPTION')
</h5>
</header>
<div class="akeeba-form-group">
<label for="profilename" rel="popover"
data-original-title="@lang('COM_AKEEBA_PROFILES_LABEL_DESCRIPTION')"
data-content="@lang('COM_AKEEBA_PROFILES_LABEL_DESCRIPTION_TOOLTIP')">
@lang('COM_AKEEBA_PROFILES_LABEL_DESCRIPTION')
</label>
<input type="text" name="profilename" id="profilename" value="{{ $this->profilename }}" />
</div>
<div class="akeeba-form-group">
<label for="quickicon" rel="popover"
data-original-title="@lang('COM_AKEEBA_CONFIG_QUICKICON_LABEL')"
data-content="@lang('COM_AKEEBA_CONFIG_QUICKICON_DESC')">
@lang('COM_AKEEBA_CONFIG_QUICKICON_LABEL')
</label>
<div>
<input type="checkbox" name="quickicon"
id="quickicon" {{ $this->quickIcon ? 'checked="checked"' : '' }} />
</div>
</div>
</div>
<!-- This div contains dynamically generated user interface elements -->
<div id="akeebagui">
</div>
<div class="akeeba-hidden-fields-container">
<input type="hidden" name="task" value=""/>
<input type="hidden" name="token" value="@token()"/>
</div>
</form>