mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge remote-tracking branch 'origin/basetheme' into basetheme
This commit is contained in:
commit
3227888502
@ -16,6 +16,9 @@ OpenClassify is the extensible and most advanced open source classified app buil
|
||||
{{ addBlock('ad-list/partials/ads',{'featured_advs':featured_advs})|raw }}
|
||||
|
||||
|
||||
- profile-module/profile/partials/navigation
|
||||
|
||||
{{ addBlock('profile/navigation')|raw }}
|
||||
|
||||
## Server Requirements
|
||||
|
||||
|
||||
@ -73,19 +73,6 @@ class MyProfileController extends PublicController
|
||||
$isActivePackages = $isActive->is_enabled('packages');
|
||||
|
||||
|
||||
if ($isBalanceActive) {
|
||||
$balanceController = app(\Visiosoft\BalancesModule\Http\Controller\BalancesFrontController::class);
|
||||
$balanceModel = new \Visiosoft\BalancesModule\Package\PackageModel();
|
||||
$balancespackage = $balanceModel->listPackage();
|
||||
$userbalance = $balanceController->index(auth()->user()->id);
|
||||
$menu_balance = array();
|
||||
$menu_balance['href'] = "balance";
|
||||
$menu_balance['aria-controls'] = "balance";
|
||||
$menu_balance['title'] = trans('visiosoft.module.balances::field.menu_balance.name');
|
||||
$menu_fields[] = $menu_balance;
|
||||
} else {
|
||||
$userbalance = '';
|
||||
}
|
||||
if ($isActiveMessages) {
|
||||
|
||||
$myMessages = new MessageModel();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user