diff --git a/api/settings.php b/api/settings.php index 7d63f7f..5507274 100644 --- a/api/settings.php +++ b/api/settings.php @@ -20,7 +20,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { 'wablas_template_invoice', 'wablas_template_daily_report', 'wablas_template_created', 'wablas_template_pending', 'wablas_template_accepted', 'wablas_template_completed', 'wablas_template_rejected', 'smtp_host', 'smtp_port', 'smtp_user', 'smtp_pass', 'smtp_secure', 'mail_from', 'mail_from_name', - 'thawani_enabled', 'thawani_mode', 'thawani_publishable_key', 'thawani_secret_key', 'thawani_success_url', 'thawani_cancel_url' + 'thawani_enabled', 'thawani_mode', 'thawani_publishable_key', 'thawani_secret_key', 'thawani_success_url', 'thawani_cancel_url', + 'privacy_policy_content', 'terms_conditions_content' ]; $stmt = $pdo->prepare("INSERT INTO settings (setting_key, setting_value) VALUES (?, ?) ON DUPLICATE KEY UPDATE setting_value = VALUES(setting_value)"); diff --git a/includes/app.php b/includes/app.php index 19735fb..4bfdd78 100644 --- a/includes/app.php +++ b/includes/app.php @@ -152,7 +152,9 @@ try { ('thawani_publishable_key', ''), ('thawani_secret_key', ''), ('thawani_success_url', ''), - ('thawani_cancel_url', '')"); + ('thawani_cancel_url', ''), + ('privacy_policy_content', ''), + ('terms_conditions_content', '')"); @file_put_contents($flagFileV8, '1'); } diff --git a/includes/footer.php b/includes/footer.php index 93f69fd..220906e 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -1,20 +1,41 @@ + @@ -58,4 +79,4 @@ $isPublic = !isset($user) || !$user; - \ No newline at end of file + diff --git a/includes/footer_settings.php b/includes/footer_settings.php index 1b8c136..c6622eb 100644 --- a/includes/footer_settings.php +++ b/includes/footer_settings.php @@ -49,6 +49,11 @@ +
@@ -235,6 +240,27 @@
+ +
+
+
+
+
+
+
+
+
+ + +
+
+
+ + +
+
+
+