Skip to content

Commit

Permalink
Merge branch 'master' of github.com:microweber-templates/shopmag
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Jun 27, 2022
2 parents 7e6733b + cf2384f commit 5a2375d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$config = array();
$config['name'] = "Shopmag";
$config['author'] = "Microweber CMS";
$config['version'] = '3.5';
$config['version'] = '3.6';
$config['url'] = "https://microweber.org";
$config['standalone_module_skins'] = true;
$config['framework'] = "bootstrap5";
Expand Down
2 changes: 1 addition & 1 deletion modules/comments/templates/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<div class="comments-user-profile" style="margin-bottom: 5px;">
<?php _lang("You are commenting as"); ?>:
<span class="comments-user-profile-username"> <?php print user_name($cur_user_data['id']); ?> </span>
<a href="<?php print api_link('logout') ?>" class="mw-ui-btn mw-ui-btn-outline mw-ui-btn-small mw-ui-btn-default float-end"><?php _lang("Logout", "templates/shopmag"); ?></a>
<a href="<?php print logout_url() ?>" class="mw-ui-btn mw-ui-btn-outline mw-ui-btn-small mw-ui-btn-default float-end"><?php _lang("Logout", "templates/shopmag"); ?></a>
</div>
<?php endif; ?>

Expand Down
2 changes: 1 addition & 1 deletion partials/header/parts/desktop_profile_link.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<?php endif; ?>

<?php if (user_id()): ?>
<li><a href="<?php print api_link('logout') ?>"><?php _lang("Logout", "templates/shopmag"); ?></a></li>
<li><a href="<?php print logout_url() ?>"><?php _lang("Logout", "templates/shopmag"); ?></a></li>
<?php endif; ?>
</ul>
</li>
Expand Down
2 changes: 1 addition & 1 deletion partials/header/parts/mobile_profile_link.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<?php endif; ?>

<?php if (user_id()): ?>
<li><a href="<?php print api_link('logout') ?>"><?php _lang("Logout", "templates/shopmag"); ?></a></li>
<li><a href="<?php print logout_url() ?>"><?php _lang("Logout", "templates/shopmag"); ?></a></li>
<?php endif; ?>
</ul>
</li>
Expand Down

0 comments on commit 5a2375d

Please sign in to comment.