Skip to content

Commit

Permalink
Update mobile_profile_link.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Radanovn authored Feb 10, 2023
1 parent f840801 commit fe04d87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions partials/header/parts/mobile_profile_link.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<a href="#" class="dropdown-toggle opacity-8" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="true"><i class="mdi mdi-user-circle-o"></i> <span><?php _lang("Hi", "templates/shopmag"); ?>,<?php if (user_id()): ?> <?php print user_name(); ?> <?php else: ?> Guest <?php endif; ?> <span class="caret"></span></span></a>
<ul class="dropdown-menu">
<?php if (user_id()): ?>
<li><a href="#" data-toggle="modal" data-target="#loginModal"><?php _lang("Profile", "templates/shopmag"); ?></a></li>
<li><a href="#" data-toggle="modal" data-target="#ordersModal"><?php _lang("My Orders", "templates/shopmag"); ?></a></li>
<li><a href="#" data-bs-toggle="modal" data-bs-target="#loginModal"><?php _lang("Profile", "templates/shopmag"); ?></a></li>
<li><a href="#" data-bs-toggle="modal" data-bs-target="#ordersModal"><?php _lang("My Orders", "templates/shopmag"); ?></a></li>
<?php else: ?>
<li><a href="#" class="js-login-modal" data-toggle="modal" data-target="#loginModal"><?php _lang("Login", "templates/shopmag"); ?></a></li>
<li><a href="#" class="js-register-modal" data-toggle="modal" data-target="#loginModal"><?php _lang("Register", "templates/shopmag"); ?></a></li>
<li><a href="#" class="js-login-modal" data-bs-toggle="modal" data-bs-target="#loginModal"><?php _lang("Login", "templates/shopmag"); ?></a></li>
<li><a href="#" class="js-register-modal" data-bs-toggle="modal" data-bs-target="#loginModal"><?php _lang("Register", "templates/shopmag"); ?></a></li>
<?php endif; ?>

<?php if (is_admin()): ?>
Expand Down

0 comments on commit fe04d87

Please sign in to comment.