From 3998eaaa6d5d329888d347ce2f3781cc68f49cec Mon Sep 17 00:00:00 2001
From: Hoang Huu
Date: Sat, 28 Sep 2019 16:20:24 +0700
Subject: [PATCH] Add terms and conditions page link.
---
inc/admin/settings/general.php | 9 ++++++++-
templates/user/register-form.php | 4 ++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/inc/admin/settings/general.php b/inc/admin/settings/general.php
index 7b768b9d..9a7b8003 100755
--- a/inc/admin/settings/general.php
+++ b/inc/admin/settings/general.php
@@ -72,11 +72,18 @@ class Opalestate_Settings_General_Tab extends Opalestate_Settings_Base_Tab {
],
[
'name' => esc_html__( 'My Account Page', 'opalestate-pro' ),
- 'desc' => esc_html__( 'This is page use User login and register an account, or reset password.', 'opalestate-pro' ),
+ 'desc' => esc_html__( 'This is page used for login and register an account, or reset password.', 'opalestate-pro' ),
'id' => 'user_myaccount_page',
'type' => 'select',
'options' => $pages,
],
+ [
+ 'name' => esc_html__( 'Terms and Conditions Page', 'opalestate-pro' ),
+ 'desc' => esc_html__( 'This is page used for terms and conditions.', 'opalestate-pro' ),
+ 'id' => 'user_terms_page',
+ 'type' => 'select',
+ 'options' => $pages,
+ ],
[
'name' => esc_html__( 'Enable Message Database', 'opalestate-pro' ),
'desc' => esc_html__( 'Allow User send message Contact/Equire via email and saved into database to exchange theirs message direct in User Message Management',
diff --git a/templates/user/register-form.php b/templates/user/register-form.php
index ef1f3407..686b42ae 100755
--- a/templates/user/register-form.php
+++ b/templates/user/register-form.php
@@ -75,10 +75,10 @@ $types = OpalEstate_User::get_user_types();
-
+
-
+