diff --git a/system/boot.php b/system/boot.php index 83114a30..1d3fc8cd 100644 --- a/system/boot.php +++ b/system/boot.php @@ -129,7 +129,7 @@ try { $e->getTraceAsString() ); if (!Admin::getID()) { - $ui->display('user-ui/error.tpl'); die(); + $ui->display('customer/error.tpl'); die(); } $ui->assign("error_message", $e->getMessage() . '
' . $e->getTraceAsString() . '
'); $ui->assign("error_title", "PHPNuxBill Crash"); @@ -142,7 +142,7 @@ try { $e->getTraceAsString() ); if (!Admin::getID()) { - $ui->display('user-ui/error.tpl'); die(); + $ui->display('customer/error.tpl'); die(); } $ui->assign("error_message", $e->getMessage() . '
' . $e->getTraceAsString() . '
'); $ui->assign("error_title", "PHPNuxBill Crash"); diff --git a/system/controllers/accounts.php b/system/controllers/accounts.php index 544d8a36..d907588f 100644 --- a/system/controllers/accounts.php +++ b/system/controllers/accounts.php @@ -18,7 +18,7 @@ switch ($action) { case 'change-password': run_hook('customer_view_change_password'); #HOOK - $ui->display('user-ui/change-password.tpl'); + $ui->display('customer/change-password.tpl'); break; case 'change-password-post': @@ -67,7 +67,7 @@ switch ($action) { case 'profile': run_hook('customer_view_edit_profile'); #HOOK - $ui->display('user-ui/profile.tpl'); + $ui->display('customer/profile.tpl'); break; case 'edit-profile-post': $fullname = _post('fullname'); @@ -101,7 +101,7 @@ switch ($action) { case 'phone-update': $ui->assign('new_phone', $_SESSION['new_phone']); - $ui->display('user-ui/phone-update.tpl'); + $ui->display('customer/phone-update.tpl'); break; case 'phone-update-otp': @@ -211,7 +211,7 @@ switch ($action) { case 'email-update': $ui->assign('new_email', $_SESSION['new_email']); - $ui->display('user-ui/email-update.tpl'); + $ui->display('customer/email-update.tpl'); break; case 'email-update-otp': $email = trim(_post('email')); diff --git a/system/controllers/forgot.php b/system/controllers/forgot.php index 0caefa38..23d028c2 100644 --- a/system/controllers/forgot.php +++ b/system/controllers/forgot.php @@ -166,4 +166,4 @@ foreach ($fs as $file) { $ui->assign('step', $step); $ui->assign('_title', Lang::T('Forgot Password')); -$ui->display('user-ui/forgot.tpl'); +$ui->display('customer/forgot.tpl'); diff --git a/system/controllers/home.php b/system/controllers/home.php index 9c6ddb87..82d91d9a 100644 --- a/system/controllers/home.php +++ b/system/controllers/home.php @@ -336,4 +336,4 @@ $abills = User::getAttributes("Bill"); $ui->assign('abills', $abills); run_hook('view_customer_dashboard'); #HOOK -$ui->display('user-ui/dashboard.tpl'); +$ui->display('customer/dashboard.tpl'); diff --git a/system/controllers/login.php b/system/controllers/login.php index 94b74f01..3a25e6dc 100644 --- a/system/controllers/login.php +++ b/system/controllers/login.php @@ -292,10 +292,10 @@ switch ($do) { if ($config['disable_registration'] == 'yes') { $ui->assign('_title', Lang::T('Activation')); $ui->assign('code', alphanumeric(_get('code'), "-")); - $ui->display('user-ui/login-noreg.tpl'); + $ui->display('customer/login-noreg.tpl'); } else { $ui->assign('_title', Lang::T('Login')); - $ui->display('user-ui/login.tpl'); + $ui->display('customer/login.tpl'); } break; } diff --git a/system/controllers/mail.php b/system/controllers/mail.php index 6549adac..32c41bbc 100644 --- a/system/controllers/mail.php +++ b/system/controllers/mail.php @@ -29,7 +29,7 @@ switch ($action) { $ui->assign('tipe', 'view'); $ui->assign('_system_menu', 'inbox'); $ui->assign('_title', Lang::T('Inbox')); - $ui->display('user-ui/inbox.tpl'); + $ui->display('customer/inbox.tpl'); break; case 'delete': if($routes['2']){ @@ -57,5 +57,5 @@ switch ($action) { $ui->assign('mails', $mails); $ui->assign('_system_menu', 'inbox'); $ui->assign('_title', Lang::T('Inbox')); - $ui->display('user-ui/inbox.tpl'); + $ui->display('customer/inbox.tpl'); } \ No newline at end of file diff --git a/system/controllers/page.php b/system/controllers/page.php index dcf9663d..13d89ef6 100644 --- a/system/controllers/page.php +++ b/system/controllers/page.php @@ -16,6 +16,6 @@ if(file_exists(__DIR__."/../../pages/".str_replace(".","",$action).".html")){ $ui->assign("PageFile",$action); $ui->assign("pageHeader",$action); run_hook('customer_view_page'); #HOOK - $ui->display('user-ui/pages.tpl'); + $ui->display('customer/pages.tpl'); }else - $ui->display('user-ui/404.tpl'); \ No newline at end of file + $ui->display('customer/404.tpl'); \ No newline at end of file diff --git a/system/controllers/register.php b/system/controllers/register.php index daa0d55e..80bf5e16 100644 --- a/system/controllers/register.php +++ b/system/controllers/register.php @@ -63,7 +63,7 @@ switch ($do) { $ui->assign('notify', 'Wrong Verification code'); $ui->assign('notify_t', 'd'); $ui->assign('_title', Lang::T('Register')); - $ui->display('user-ui/register-otp.tpl'); + $ui->display('customer/register-otp.tpl'); exit(); } else { unlink($otpPath); @@ -98,7 +98,7 @@ switch ($do) { $ui->assign('notify_t', 'd'); $ui->assign('_title', Lang::T('Register')); run_hook('view_otp_register'); #HOOK - $ui->display('user-ui/register-rotp.tpl'); + $ui->display('customer/register-rotp.tpl'); } } else { $ui->assign('username', $username); @@ -109,7 +109,7 @@ switch ($do) { $ui->assign('notify', $msg); $ui->assign('notify_t', 'd'); $ui->assign('_title', Lang::T('Register')); - $ui->display('user-ui/register.tpl'); + $ui->display('customer/register.tpl'); } break; @@ -132,7 +132,7 @@ switch ($do) { $ui->assign('notify', 'Please wait ' . (600 - (time() - filemtime($otpPath))) . ' seconds before sending another SMS'); $ui->assign('notify_t', 'd'); $ui->assign('_title', Lang::T('Register')); - $ui->display('user-ui/register-otp.tpl'); + $ui->display('customer/register-otp.tpl'); } else { $otp = rand(100000, 999999); file_put_contents($otpPath, $otp); @@ -141,12 +141,12 @@ switch ($do) { $ui->assign('notify', 'Registration code has been sent to your phone'); $ui->assign('notify_t', 's'); $ui->assign('_title', Lang::T('Register')); - $ui->display('user-ui/register-otp.tpl'); + $ui->display('customer/register-otp.tpl'); } } else { $ui->assign('_title', Lang::T('Register')); run_hook('view_otp_register'); #HOOK - $ui->display('user-ui/register-rotp.tpl'); + $ui->display('customer/register-rotp.tpl'); } } else { $ui->assign('username', ""); @@ -156,7 +156,7 @@ switch ($do) { $ui->assign('otp', false); $ui->assign('_title', Lang::T('Register')); run_hook('view_register'); #HOOK - $ui->display('user-ui/register.tpl'); + $ui->display('customer/register.tpl'); } break; } diff --git a/system/controllers/voucher.php b/system/controllers/voucher.php index c04795b8..b64d084d 100644 --- a/system/controllers/voucher.php +++ b/system/controllers/voucher.php @@ -17,7 +17,7 @@ switch ($action) { case 'activation': run_hook('view_activate_voucher'); #HOOK $ui->assign('code', alphanumeric(_get('code'), "-_.,")); - $ui->display('user-ui/activation.tpl'); + $ui->display('customer/activation.tpl'); break; case 'activation-post': @@ -46,7 +46,7 @@ switch ($action) { $ui->assign('d', $d); run_hook('customer_view_activation_list'); #HOOK - $ui->display('user-ui/activation-list.tpl'); + $ui->display('customer/activation-list.tpl'); break; case 'invoice': @@ -58,7 +58,7 @@ switch ($action) { } if ($in) { Package::createInvoice($in); - $ui->display('user-ui/invoice-customer.tpl'); + $ui->display('customer/invoice-customer.tpl'); } else { r2(U . 'voucher/list-activated', 'e', Lang::T('Not Found')); } diff --git a/system/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php b/system/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php index 8d41ebcf..e60b3323 100644 --- a/system/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php +++ b/system/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php @@ -131,13 +131,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data public function display($template = null, $cache_id = null, $compile_id = null, $parent = null) { // display template - if(strpos($template, "user-ui") === false){ - if(strpos($template, "section/user-") === false){ - $template = str_replace("user-",'', $template); - }else{ - $template = str_replace("section/user-",'user-ui/', $template); - } - } + $template = str_replace("section/user-",'customer/', $template); $this->_execute($template, $cache_id, $compile_id, $parent, 1); } diff --git a/ui/ui/user-ui/404.tpl b/ui/ui/customer/404.tpl similarity index 79% rename from ui/ui/user-ui/404.tpl rename to ui/ui/customer/404.tpl index eaf0b977..21a49ccf 100644 --- a/ui/ui/user-ui/404.tpl +++ b/ui/ui/customer/404.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header-public.tpl"} +{include file="customer/header-public.tpl"}
@@ -7,4 +7,4 @@

{Lang::T('Coming Soon! Next Version...')}

-{include file="user-ui/footer-public.tpl"} \ No newline at end of file +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/activation-list.tpl b/ui/ui/customer/activation-list.tpl similarity index 96% rename from ui/ui/user-ui/activation-list.tpl rename to ui/ui/customer/activation-list.tpl index 089c6e08..5f2b0c5d 100644 --- a/ui/ui/user-ui/activation-list.tpl +++ b/ui/ui/customer/activation-list.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -41,4 +41,4 @@
-{include file="user-ui/footer.tpl"} +{include file="customer/footer.tpl"} diff --git a/ui/ui/user-ui/activation.tpl b/ui/ui/customer/activation.tpl similarity index 95% rename from ui/ui/user-ui/activation.tpl rename to ui/ui/customer/activation.tpl index 238a97c9..6db413bf 100644 --- a/ui/ui/user-ui/activation.tpl +++ b/ui/ui/customer/activation.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -38,4 +38,4 @@
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/change-password.tpl b/ui/ui/customer/change-password.tpl similarity index 96% rename from ui/ui/user-ui/change-password.tpl rename to ui/ui/customer/change-password.tpl index 60a252cc..ae15b564 100644 --- a/ui/ui/user-ui/change-password.tpl +++ b/ui/ui/customer/change-password.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -40,4 +40,4 @@
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/dashboard.tpl b/ui/ui/customer/dashboard.tpl similarity index 99% rename from ui/ui/user-ui/dashboard.tpl rename to ui/ui/customer/dashboard.tpl index bfccf1ea..c7acc47b 100644 --- a/ui/ui/user-ui/dashboard.tpl +++ b/ui/ui/customer/dashboard.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -443,4 +443,4 @@ document.write(''); {/if} -{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/email-update.tpl b/ui/ui/customer/email-update.tpl similarity index 97% rename from ui/ui/user-ui/email-update.tpl rename to ui/ui/customer/email-update.tpl index e79a3e34..0b700a88 100644 --- a/ui/ui/user-ui/email-update.tpl +++ b/ui/ui/customer/email-update.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"} @@ -76,4 +76,4 @@
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/error.tpl b/ui/ui/customer/error.tpl similarity index 100% rename from ui/ui/user-ui/error.tpl rename to ui/ui/customer/error.tpl diff --git a/ui/ui/customer/footer-public.tpl b/ui/ui/customer/footer-public.tpl new file mode 100644 index 00000000..8d31991c --- /dev/null +++ b/ui/ui/customer/footer-public.tpl @@ -0,0 +1,39 @@ + + + + + + {if $_c['tawkto'] != ''} + + + + {/if} + + + + \ No newline at end of file diff --git a/ui/ui/customer/footer.tpl b/ui/ui/customer/footer.tpl new file mode 100644 index 00000000..e130a3c7 --- /dev/null +++ b/ui/ui/customer/footer.tpl @@ -0,0 +1,168 @@ + + +{if isset($_c['CompanyFooter'])} + +{else} + +{/if} + + + + + + + + + + + + + + + +{if isset($xfooter)} + {$xfooter} +{/if} + +{if $_c['tawkto'] != ''} + + + +{/if} + + + +{literal} + +{/literal} + + + + \ No newline at end of file diff --git a/ui/ui/user-ui/forgot.tpl b/ui/ui/customer/forgot.tpl similarity index 98% rename from ui/ui/user-ui/forgot.tpl rename to ui/ui/customer/forgot.tpl index b905a6e9..91592401 100644 --- a/ui/ui/user-ui/forgot.tpl +++ b/ui/ui/customer/forgot.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header-public.tpl"} +{include file="customer/header-public.tpl"}
@@ -96,4 +96,4 @@
-{include file="user-ui/footer-public.tpl"} \ No newline at end of file +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/customer/header-public.tpl b/ui/ui/customer/header-public.tpl new file mode 100644 index 00000000..d9a478b2 --- /dev/null +++ b/ui/ui/customer/header-public.tpl @@ -0,0 +1,43 @@ + + + + + + + {$_title} - {$_c['CompanyName']} + + + + + + + + + + + + +
+
+

{$_c['CompanyName']}

+
+
+ {if isset($notify)} + + {/if} \ No newline at end of file diff --git a/ui/ui/customer/header.tpl b/ui/ui/customer/header.tpl new file mode 100644 index 00000000..4298c03a --- /dev/null +++ b/ui/ui/customer/header.tpl @@ -0,0 +1,939 @@ + + + + + + + {$_title} - {$_c['CompanyName']} + + + + + + + + + + + + + + {if isset($xheader)} + {$xheader} + {/if} + + + + +
+
+ + +
+ + + +
+
+

+ {$_title} +

+
+
+ + + {if isset($notify)} + +{/if} diff --git a/ui/ui/user-ui/inbox.tpl b/ui/ui/customer/inbox.tpl similarity index 98% rename from ui/ui/user-ui/inbox.tpl rename to ui/ui/customer/inbox.tpl index 6d79525b..2e1b451a 100644 --- a/ui/ui/user-ui/inbox.tpl +++ b/ui/ui/customer/inbox.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"} {if $tipe == 'view'}
@@ -111,4 +111,4 @@ {/if} -{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/index.html b/ui/ui/customer/index.html similarity index 100% rename from ui/ui/user-ui/index.html rename to ui/ui/customer/index.html diff --git a/ui/ui/user-ui/invoice-customer.tpl b/ui/ui/customer/invoice-customer.tpl similarity index 92% rename from ui/ui/user-ui/invoice-customer.tpl rename to ui/ui/customer/invoice-customer.tpl index 171f4900..9870033a 100644 --- a/ui/ui/user-ui/invoice-customer.tpl +++ b/ui/ui/customer/invoice-customer.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -18,4 +18,4 @@
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/login-noreg.tpl b/ui/ui/customer/login-noreg.tpl similarity index 98% rename from ui/ui/user-ui/login-noreg.tpl rename to ui/ui/customer/login-noreg.tpl index 88e81df2..d4860a9a 100644 --- a/ui/ui/user-ui/login-noreg.tpl +++ b/ui/ui/customer/login-noreg.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header-public.tpl"} +{include file="customer/header-public.tpl"}
@@ -80,4 +80,4 @@
-{include file="user-ui/footer-public.tpl"} \ No newline at end of file +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/login.tpl b/ui/ui/customer/login.tpl similarity index 97% rename from ui/ui/user-ui/login.tpl rename to ui/ui/customer/login.tpl index 1019a2ff..cb5d6e42 100644 --- a/ui/ui/user-ui/login.tpl +++ b/ui/ui/customer/login.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header-public.tpl"} +{include file="customer/header-public.tpl"}
@@ -89,4 +89,4 @@
-{include file="user-ui/footer-public.tpl"} \ No newline at end of file +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/orderBalance.tpl b/ui/ui/customer/orderBalance.tpl similarity index 96% rename from ui/ui/user-ui/orderBalance.tpl rename to ui/ui/customer/orderBalance.tpl index 86296053..e9781f4c 100644 --- a/ui/ui/user-ui/orderBalance.tpl +++ b/ui/ui/customer/orderBalance.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -39,4 +39,4 @@ {/if}
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/orderHistory.tpl b/ui/ui/customer/orderHistory.tpl similarity index 97% rename from ui/ui/user-ui/orderHistory.tpl rename to ui/ui/customer/orderHistory.tpl index bee69cf4..d8ed7a54 100644 --- a/ui/ui/user-ui/orderHistory.tpl +++ b/ui/ui/customer/orderHistory.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -53,4 +53,4 @@
-{include file="user-ui/footer.tpl"} +{include file="customer/footer.tpl"} diff --git a/ui/ui/user-ui/orderPlan.tpl b/ui/ui/customer/orderPlan.tpl similarity index 99% rename from ui/ui/user-ui/orderPlan.tpl rename to ui/ui/customer/orderPlan.tpl index ae068ea5..9f68c4e4 100644 --- a/ui/ui/user-ui/orderPlan.tpl +++ b/ui/ui/customer/orderPlan.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -653,4 +653,4 @@ {/foreach}
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/orderView.tpl b/ui/ui/customer/orderView.tpl similarity index 99% rename from ui/ui/user-ui/orderView.tpl rename to ui/ui/customer/orderView.tpl index b24359d9..4e7a507a 100644 --- a/ui/ui/user-ui/orderView.tpl +++ b/ui/ui/customer/orderView.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -150,4 +150,4 @@
-{include file="user-ui/footer.tpl"} +{include file="customer/footer.tpl"} diff --git a/ui/ui/user-ui/pages.tpl b/ui/ui/customer/pages.tpl similarity index 81% rename from ui/ui/user-ui/pages.tpl rename to ui/ui/customer/pages.tpl index 5372858b..691f922d 100644 --- a/ui/ui/user-ui/pages.tpl +++ b/ui/ui/customer/pages.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -12,4 +12,4 @@
-{include file="user-ui/footer.tpl"} +{include file="customer/footer.tpl"} diff --git a/ui/ui/user-ui/phone-update.tpl b/ui/ui/customer/phone-update.tpl similarity index 98% rename from ui/ui/user-ui/phone-update.tpl rename to ui/ui/customer/phone-update.tpl index 12cfa75e..3097b6cf 100644 --- a/ui/ui/user-ui/phone-update.tpl +++ b/ui/ui/customer/phone-update.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"} @@ -77,4 +77,4 @@ -{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/profile.tpl b/ui/ui/customer/profile.tpl similarity index 98% rename from ui/ui/user-ui/profile.tpl rename to ui/ui/customer/profile.tpl index 9fefecb8..41fc030f 100644 --- a/ui/ui/user-ui/profile.tpl +++ b/ui/ui/customer/profile.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -98,4 +98,4 @@
-{include file="user-ui/footer.tpl"} +{include file="customer/footer.tpl"} diff --git a/ui/ui/user-ui/register-otp.tpl b/ui/ui/customer/register-otp.tpl similarity index 98% rename from ui/ui/user-ui/register-otp.tpl rename to ui/ui/customer/register-otp.tpl index 3ac50674..657bd4b3 100644 --- a/ui/ui/user-ui/register-otp.tpl +++ b/ui/ui/customer/register-otp.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header-public.tpl"} +{include file="customer/header-public.tpl"}
@@ -119,4 +119,4 @@ {/if} -{include file="user-ui/footer-public.tpl"} \ No newline at end of file +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/register-rotp.tpl b/ui/ui/customer/register-rotp.tpl similarity index 96% rename from ui/ui/user-ui/register-rotp.tpl rename to ui/ui/customer/register-rotp.tpl index 85732c39..c50d0197 100644 --- a/ui/ui/user-ui/register-rotp.tpl +++ b/ui/ui/customer/register-rotp.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header-public.tpl"} +{include file="customer/header-public.tpl"} @@ -52,4 +52,4 @@
-{include file="user-ui/footer-public.tpl"} \ No newline at end of file +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/register.tpl b/ui/ui/customer/register.tpl similarity index 98% rename from ui/ui/user-ui/register.tpl rename to ui/ui/customer/register.tpl index d115c618..35945b71 100644 --- a/ui/ui/user-ui/register.tpl +++ b/ui/ui/customer/register.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header-public.tpl"} +{include file="customer/header-public.tpl"}
@@ -82,4 +82,4 @@
-{include file="user-ui/footer-public.tpl"} \ No newline at end of file +{include file="customer/footer-public.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/selectGateway.tpl b/ui/ui/customer/selectGateway.tpl similarity index 98% rename from ui/ui/user-ui/selectGateway.tpl rename to ui/ui/customer/selectGateway.tpl index c588c6fa..02395ad1 100644 --- a/ui/ui/user-ui/selectGateway.tpl +++ b/ui/ui/customer/selectGateway.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
{if file_exists("$PAGES_PATH/Payment_Info.html")} @@ -122,4 +122,4 @@
-{include file="user-ui/footer.tpl"} \ No newline at end of file +{include file="customer/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-ui/sendPlan.tpl b/ui/ui/customer/sendPlan.tpl similarity index 97% rename from ui/ui/user-ui/sendPlan.tpl rename to ui/ui/customer/sendPlan.tpl index 2ca00953..d495b16c 100644 --- a/ui/ui/user-ui/sendPlan.tpl +++ b/ui/ui/customer/sendPlan.tpl @@ -1,4 +1,4 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"}
@@ -64,4 +64,4 @@
-{include file="user-ui/footer.tpl"} +{include file="customer/footer.tpl"} diff --git a/ui/ui/sections/user-footer.tpl b/ui/ui/sections/user-footer.tpl index dbbeff3f..f807965f 100644 --- a/ui/ui/sections/user-footer.tpl +++ b/ui/ui/sections/user-footer.tpl @@ -1,3 +1,3 @@ -{include file="user-ui/footer.tpl"} +{include file="customer/footer.tpl"} -{* Don't include this file again, change to user-ui/footer.tpl *} \ No newline at end of file +{* Don't include this file again, change to customer/footer.tpl *} \ No newline at end of file diff --git a/ui/ui/sections/user-header.tpl b/ui/ui/sections/user-header.tpl index a43e5b14..f4fb26e7 100644 --- a/ui/ui/sections/user-header.tpl +++ b/ui/ui/sections/user-header.tpl @@ -1,3 +1,3 @@ -{include file="user-ui/header.tpl"} +{include file="customer/header.tpl"} -{* Don't include this file again, change to user-ui/header.tpl *} \ No newline at end of file +{* Don't include this file again, change to customer/header.tpl *} \ No newline at end of file diff --git a/ui/ui/user-ui/footer-public.tpl b/ui/ui/user-ui/footer-public.tpl index 8d31991c..4e37a00e 100644 --- a/ui/ui/user-ui/footer-public.tpl +++ b/ui/ui/user-ui/footer-public.tpl @@ -1,39 +1,3 @@ +{include file="customer/footer-public.tpl"} - - - - - {if $_c['tawkto'] != ''} - - - - {/if} - - - - \ No newline at end of file +{* Don't include this file again, change to customer/footer-public.tpl *} \ No newline at end of file diff --git a/ui/ui/user-ui/footer.tpl b/ui/ui/user-ui/footer.tpl index e130a3c7..f807965f 100644 --- a/ui/ui/user-ui/footer.tpl +++ b/ui/ui/user-ui/footer.tpl @@ -1,168 +1,3 @@ - - -{if isset($_c['CompanyFooter'])} - -{else} - -{/if} - +{include file="customer/footer.tpl"} - - - - - - - - - - - - - -{if isset($xfooter)} - {$xfooter} -{/if} - -{if $_c['tawkto'] != ''} - - - -{/if} - - - -{literal} - -{/literal} - - - - \ No newline at end of file +{* Don't include this file again, change to customer/footer.tpl *} \ No newline at end of file diff --git a/ui/ui/user-ui/header-public.tpl b/ui/ui/user-ui/header-public.tpl index d9a478b2..74d591df 100644 --- a/ui/ui/user-ui/header-public.tpl +++ b/ui/ui/user-ui/header-public.tpl @@ -1,43 +1,3 @@ - - +{include file="customer/header-public.tpl"} - - - - {$_title} - {$_c['CompanyName']} - - - - - - - - - - - - -
-
-

{$_c['CompanyName']}

-
-
- {if isset($notify)} - - {/if} \ No newline at end of file +{* Don't include this file again, change to customer/header-public.tpl *} \ No newline at end of file diff --git a/ui/ui/user-ui/header.tpl b/ui/ui/user-ui/header.tpl index 4298c03a..f4fb26e7 100644 --- a/ui/ui/user-ui/header.tpl +++ b/ui/ui/user-ui/header.tpl @@ -1,939 +1,3 @@ - - +{include file="customer/header.tpl"} - - - - {$_title} - {$_c['CompanyName']} - - - - - - - - - - - - - - {if isset($xheader)} - {$xheader} - {/if} - - - - -
-
- - -
- - - -
-
-

- {$_title} -

-
-
- - - {if isset($notify)} - -{/if} +{* Don't include this file again, change to customer/header.tpl *} \ No newline at end of file