2021-12-06 11:00:02 +03:00
|
|
|
<?php extend('layouts/backend_layout') ?>
|
2021-11-22 09:21:24 +03:00
|
|
|
|
|
|
|
<?php section('content') ?>
|
|
|
|
|
2022-01-05 11:08:39 +03:00
|
|
|
<div id="legal-settings-page" class="container backend-page">
|
2021-11-22 09:21:24 +03:00
|
|
|
<div id="legal-contents">
|
2022-01-05 11:08:39 +03:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 offset-lg-2">
|
|
|
|
<form>
|
|
|
|
<fieldset>
|
|
|
|
<legend class="d-flex justify-content-between align-items-center border-bottom mb-4 py-2">
|
|
|
|
<?= lang('legal_contents') ?>
|
|
|
|
|
|
|
|
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
|
2022-01-24 14:55:45 +03:00
|
|
|
<button type="button" id="save-settings" class="btn btn-primary">
|
2022-01-05 11:08:39 +03:00
|
|
|
<i class="fas fa-check-square me-2"></i>
|
|
|
|
<?= lang('save') ?>
|
|
|
|
</button>
|
|
|
|
<?php endif ?>
|
|
|
|
</legend>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
|
|
|
<h4><?= lang('cookie_notice') ?></h4>
|
|
|
|
|
|
|
|
<div class="form-check form-switch mb-3">
|
|
|
|
<input class="form-check-input display-switch" type="checkbox"
|
|
|
|
id="display-cookie-notice">
|
|
|
|
<label class="form-check-label" for="display-cookie-notice">
|
|
|
|
<?= lang('display_cookie_notice') ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
2021-11-22 09:21:24 +03:00
|
|
|
|
2022-01-24 17:53:07 +03:00
|
|
|
<div class="mb-5">
|
2022-01-18 10:45:02 +03:00
|
|
|
<label class="form-label" for="cookie-notice-content"><?= lang('cookie_notice_content') ?></label>
|
2022-01-05 11:08:39 +03:00
|
|
|
<textarea id="cookie-notice-content" cols="30" rows="10" class="mb-3"></textarea>
|
|
|
|
</div>
|
2021-11-22 09:21:24 +03:00
|
|
|
|
2022-01-05 11:08:39 +03:00
|
|
|
<h4><?= lang('terms_and_conditions') ?></h4>
|
2021-11-22 09:21:24 +03:00
|
|
|
|
2022-01-05 11:08:39 +03:00
|
|
|
<div class="form-check form-switch mb-3">
|
|
|
|
<input class="form-check-input display-switch" type="checkbox"
|
2021-11-22 09:21:24 +03:00
|
|
|
id="display-terms-and-conditions">
|
2022-01-05 11:08:39 +03:00
|
|
|
<label class="form-check-label" for="display-terms-and-conditions">
|
2021-11-22 09:21:24 +03:00
|
|
|
<?= lang('display_terms_and_conditions') ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
2022-01-05 11:08:39 +03:00
|
|
|
|
2022-01-24 17:53:07 +03:00
|
|
|
<div class="mb-5">
|
2022-01-18 10:45:02 +03:00
|
|
|
<label class="form-label" for="terms-and-conditions-content"><?= lang('terms_and_conditions_content') ?></label>
|
2022-01-05 11:08:39 +03:00
|
|
|
<textarea id="terms-and-conditions-content" cols="30" rows="10"
|
|
|
|
class="mb-3"></textarea>
|
|
|
|
</div>
|
2021-11-22 09:21:24 +03:00
|
|
|
|
2022-01-05 11:08:39 +03:00
|
|
|
<h4><?= lang('privacy_policy') ?></h4>
|
2021-11-22 09:21:24 +03:00
|
|
|
|
2022-01-05 11:08:39 +03:00
|
|
|
<div class="form-check form-switch mb-3">
|
|
|
|
<input class="form-check-input display-switch" type="checkbox"
|
|
|
|
id="display-privacy-policy">
|
|
|
|
<label class="form-check-label" for="display-privacy-policy">
|
2021-11-22 09:21:24 +03:00
|
|
|
<?= lang('display_privacy_policy') ?>
|
|
|
|
</label>
|
|
|
|
</div>
|
2022-01-05 11:08:39 +03:00
|
|
|
|
|
|
|
<div class="mb-3">
|
2022-01-18 10:45:02 +03:00
|
|
|
<label class="form-label" for="privacy-policy-content"><?= lang('privacy_policy_content') ?></label>
|
2022-01-05 11:08:39 +03:00
|
|
|
<textarea id="privacy-policy-content" cols="30" rows="10" class="mb-3"></textarea>
|
|
|
|
</div>
|
2021-11-22 09:21:24 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-05 11:08:39 +03:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-11-22 09:21:24 +03:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php section('content') ?>
|
2021-12-14 10:05:22 +03:00
|
|
|
|
|
|
|
<?php section('scripts') ?>
|
|
|
|
|
2022-01-05 11:08:39 +03:00
|
|
|
<script src="<?= asset_url('assets/js/utils/url.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/http/legal_settings_http_client.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/js/pages/legal_settings.js') ?>"></script>
|
|
|
|
|
2021-12-14 10:05:22 +03:00
|
|
|
|
|
|
|
<?php section('scripts') ?>
|