Update user-header.tpl

Forgot to add/create url not working
This commit is contained in:
Ahmad Husein 2024-08-15 10:12:03 +07:00 committed by GitHub
parent ef53835fbf
commit cf3209b3e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@
<body class="hold-transition modern-skin-dark sidebar-mini">
<div class="wrapper">
<header class="main-header" style="position:fixed; width: 100%">
<a href="{$app_url}home" class="logo">
<a href="{$app_url}/home" class="logo">
<span class="logo-mini"><b>N</b>uX</span>
<span class="logo-lg">{$_c['CompanyName']}</span>
</a>
@ -90,14 +90,14 @@
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-envelope-o"></i>
<span class="label label-warning" api-get-text="{$app_url}autoload_user/inbox_unread"></span>
<span class="label label-warning" api-get-text="{$app_url}/autoload_user/inbox_unread"></span>
</a>
<ul class="dropdown-menu">
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu" api-get-text="{$app_url}autoload_user/inbox"></ul>
<ul class="menu" api-get-text="{$app_url}/autoload_user/inbox"></ul>
</li>
<li class="footer"><a href="{$app_url}mail">{Lang::T('Inbox')}</a></li>
<li class="footer"><a href="{$app_url}/mail">{Lang::T('Inbox')}</a></li>
</ul>
</li>
<li class="dropdown user user-menu">
@ -138,7 +138,7 @@
</li>
<li class="user-footer">
<div class="pull-right">
<a href="{$app_url}logout" class="btn btn-default btn-flat"><i
<a href="{$app_url}/logout" class="btn btn-default btn-flat"><i
class="ion ion-power"></i> {Lang::T('Logout')}</a>
</div>
</li>
@ -153,14 +153,14 @@
<section class="sidebar">
<ul class="sidebar-menu" data-widget="tree">
<li {if $_system_menu eq 'home'}class="active" {/if}>
<a href="{$app_url}home">
<a href="{$app_url}/home">
<i class="ion ion-monitor"></i>
<span>{Lang::T('Dashboard')}</span>
</a>
</li>
{$_MENU_AFTER_DASHBOARD}
<li {if $_system_menu eq 'inbox'}class="active" {/if}>
<a href="{$app_url}mail">
<a href="{$app_url}/mail">
<i class="fa fa-envelope"></i>
<span>{Lang::T('Inbox')}</span>
</a>
@ -168,7 +168,7 @@
{$_MENU_AFTER_INBOX}
{if $_c['disable_voucher'] != 'yes'}
<li {if $_system_menu eq 'voucher'}class="active" {/if}>
<a href="{$app_url}voucher/activation">
<a href="{$app_url}/voucher/activation">
<i class="fa fa-ticket"></i>
<span>{Lang::T('Voucher')}</span>
</a>
@ -177,20 +177,20 @@
{if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' }
{if $_c['enable_balance'] == 'yes'}
<li {if $_system_menu eq 'balance'}class="active" {/if}>
<a href="{$app_url}order/balance">
<a href="{$app_url}/order/balance">
<i class="ion ion-ios-cart"></i>
<span>{Lang::T('Buy Balance')}</span>
</a>
</li>
{/if}
<li {if $_system_menu eq 'package'}class="active" {/if}>
<a href="{$app_url}order/package">
<a href="{$app_url}/order/package">
<i class="ion ion-ios-cart"></i>
<span>{Lang::T('Buy Package')}</span>
</a>
</li>
<li {if $_system_menu eq 'history'}class="active" {/if}>
<a href="{$app_url}order/history">
<a href="{$app_url}/order/history">
<i class="fa fa-file-text"></i>
<span>{Lang::T('Order History')}</span>
</a>
@ -233,4 +233,4 @@
}
});
</script>
{/if}
{/if}