You've already forked Atomcms-edit
124 lines
4.5 KiB
PHP
Executable File
124 lines
4.5 KiB
PHP
Executable File
<footer class="w-full h-14 flex items-center justify-center bg-gray-900 text-gray-500 font-bold cursor-pointer transition duration-200 ease-in-out hover:text-gray-400" onclick="showFooter()">
|
|
© {{ date('Y') }} {{ setting('hotel_name') }} is a not for profit educational project & is in no way affiliated with Sulake Corporation Oy.
|
|
</footer>
|
|
|
|
<style>
|
|
.swal2-modal {
|
|
background-color: #21242e;
|
|
color: #fff;
|
|
}
|
|
.swal2-html-container {
|
|
max-height: 300px;
|
|
overflow-y: scroll;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
function showFooter() {
|
|
const creditList = [
|
|
{
|
|
contributor: 'Kasja',
|
|
contributions: 'Designing Dusk theme, helping with general design, Fonts for the logo generator, ideas & GFX'
|
|
},
|
|
{
|
|
contributor: 'Nicollas',
|
|
contributions: 'Dark mode, Turbolinks, Performance improvements, Article reactions, User sessions, Layout improvements & PT-BR translations'
|
|
},
|
|
{
|
|
contributor: 'Dominic/Mikkel',
|
|
contributions: 'Performance improvements & User sessions'
|
|
},
|
|
{
|
|
contributor: 'EntenKoeniq',
|
|
contributions: 'Automatic language registration, rooms page, profile page fixes & Paypal shop contributions'
|
|
},
|
|
{
|
|
contributor: 'Kani',
|
|
contributions: 'Rcon System & Findretros API'
|
|
},
|
|
{
|
|
contributor: 'Beny',
|
|
contributions: 'Findretros API fixes & CF Fixes'
|
|
},
|
|
{
|
|
contributor: 'Live',
|
|
contributions: 'French translations, bugfixes & tweaks'
|
|
},
|
|
{
|
|
contributor: 'MisterDeen',
|
|
contributions: 'Custom Discord widget, bugfixes & tweaks'
|
|
},
|
|
{
|
|
contributor: 'Assholic',
|
|
contributions: 'Fonts for the logo generator'
|
|
},
|
|
{
|
|
contributor: 'DamienJolly',
|
|
contributions: 'Bugfixes'
|
|
},
|
|
{
|
|
contributor: 'Danbo',
|
|
contributions: 'Bugfixes'
|
|
},
|
|
{
|
|
contributor: 'Diddy/Josh',
|
|
contributions: 'Code readability improvements'
|
|
},
|
|
{
|
|
contributor: 'Oliver',
|
|
contributions: 'Finnish translations'
|
|
},
|
|
{
|
|
contributor: 'Damue & EntenKoeniq',
|
|
contributions: 'German translations'
|
|
},
|
|
{
|
|
contributor: 'Talion',
|
|
contributions: 'Turkish translations'
|
|
},
|
|
{
|
|
contributor: 'CentralCee, Rille & Tuborgs',
|
|
contributions: 'Swedish translations'
|
|
},
|
|
{
|
|
contributor: 'Yannick',
|
|
contributions: 'Netherland translations'
|
|
},
|
|
{
|
|
contributor: 'Gedomi',
|
|
contributions: 'Spanish translations'
|
|
},
|
|
{
|
|
contributor: 'Lorenzune',
|
|
contributions: 'Italian translations'
|
|
},
|
|
{
|
|
contributor: 'Twana',
|
|
contributions: 'Norwegian translations'
|
|
},
|
|
{
|
|
contributor: 'Plow',
|
|
contributions: 'French translations'
|
|
},
|
|
];
|
|
|
|
const formattedCredits = creditList.map(credit =>
|
|
`<strong>${credit.contributor}</strong> ${credit.contributions} <br/>`
|
|
).join('');
|
|
|
|
const creator =
|
|
'<a class="text-blue-400 underline" href="https://devbest.com/threads/atom-cms-a-multi-theme-cms.93034/" target="_blank">Object</a>';
|
|
|
|
const content =
|
|
'{{ __('Thank you for playing :hotel. We have put a lot of effort into making the hotel what it is, and we truly appreciate you being here', ['hotel' => setting('hotel_name')]) }}' + '❤️';
|
|
|
|
const drivenBy = '{{ __(':hotel is driven by Atom CMS made by:', ['hotel' => setting('hotel_name')]) }}';
|
|
|
|
Swal.fire(
|
|
'<span class="text-[26px]">{{ setting('hotel_name') }}</span>',
|
|
`<span class="text-sm">${content}<br/><br/>${drivenBy} ${creator}<br/><br/><span class="flex flex-col space-y-2">{{ __('Credits:') }}<br/>${formattedCredits}</span></span>`,
|
|
'question'
|
|
);
|
|
}
|
|
</script>
|