61 lines
3.3 KiB
PHP
61 lines
3.3 KiB
PHP
<?php
|
|
require_once 'i18n.php';
|
|
// settings.php
|
|
// You can add PHP logic here for handling settings in the future.
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="<?php echo $current_lang; ?>" dir="<?php echo get_lang_dir(); ?>">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><?php echo t('settings'); ?></title>
|
|
<!-- Bootstrap 5 -->
|
|
<?php if (get_lang_dir() === 'rtl'): ?>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.rtl.min.css" rel="stylesheet">
|
|
<?php else: ?>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<?php endif; ?>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
|
|
<!-- Google Fonts -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<?php if (get_lang_dir() === 'rtl'): ?>
|
|
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap" rel="stylesheet">
|
|
<?php else: ?>
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet">
|
|
<?php endif; ?>
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body>
|
|
<div class="container py-4">
|
|
<header class="d-flex justify-content-between align-items-center pb-3 mb-4 border-bottom">
|
|
<h1 class="h4"><a href="index.php" class="text-dark text-decoration-none"><i class="bi bi-robot"></i> <?php echo t('dashboard'); ?></a></h1>
|
|
<div class="d-flex align-items-center">
|
|
<div class="dropdown me-2">
|
|
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="langDropdown" data-bs-toggle="dropdown" aria-expanded="false">
|
|
<i class="bi bi-translate me-1"></i> <?php echo t('language'); ?>
|
|
</button>
|
|
<ul class="dropdown-menu" aria-labelledby="langDropdown">
|
|
<li><a class="dropdown-item <?php if($current_lang == 'ar') echo 'active'; ?>" href="?lang=ar"><?php echo t('arabic'); ?></a></li>
|
|
<li><a class="dropdown-item <?php if($current_lang == 'en') echo 'active'; ?>" href="?lang=en"><?php echo t('english'); ?></a></li>
|
|
<li><a class="dropdown-item <?php if($current_lang == 'fr') echo 'active'; ?>" href="?lang=fr"><?php echo t('french'); ?></a></li>
|
|
</ul>
|
|
</div>
|
|
<a href="manual_email.php" class="btn btn-outline-primary"><i class="bi bi-plus-circle me-1"></i> <?php echo t('manual_entry'); ?></a>
|
|
</div>
|
|
</header>
|
|
|
|
<h2 class="mb-4"><?php echo t('settings'); ?></h2>
|
|
|
|
<div class="card">
|
|
<div class="card-body text-center">
|
|
<i class="bi bi-gear-wide-connected fs-1 text-muted mb-3"></i>
|
|
<h5 class="card-title"><?php echo t('application_settings'); ?></h5>
|
|
<p class="card-text text-muted"><?php echo t('under_construction'); ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
</html>
|