34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<?php
|
|
require_once __DIR__ . '/includes/app.php';
|
|
|
|
$prof = get_platform_profile();
|
|
$policy_content = $prof['privacy_policy'] ?? '';
|
|
|
|
render_head(
|
|
t('Privacy Policy', 'سياسة الخصوصية'),
|
|
t('Read our privacy policy.', 'اقرأ سياسة الخصوصية الخاصة بنا.')
|
|
);
|
|
render_nav('policy.php');
|
|
?>
|
|
<main class="flex-grow-1 bg-light py-5">
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-8">
|
|
<div class="card border-0 shadow-sm rounded-4">
|
|
<div class="card-body p-4 p-md-5">
|
|
<h1 class="mb-4"><?= h(t('Privacy Policy', 'سياسة الخصوصية')) ?></h1>
|
|
<div class="content text-secondary" style="white-space: pre-wrap;">
|
|
<?php if (trim($policy_content) === ''): ?>
|
|
<?= h(t('No privacy policy provided yet.', 'لم يتم توفير سياسة الخصوصية بعد.')) ?>
|
|
<?php else: ?>
|
|
<?= h($policy_content) ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<?php render_footer(); ?>
|