Skip to content

Commit

Permalink
Merge pull request #1513 from koreus/patch1
Browse files Browse the repository at this point in the history
Subforum not expanding
  • Loading branch information
mambax7 authored Feb 4, 2025
2 parents cd5b2de + 20b746f commit e5dcef8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion htdocs/modules/profile/edituser.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
} else {
$profile->setVar('profile_id', $edituser->getVar('uid'));
$profile_handler->insert($profile);
unset($_SESSION['xoopsUserTheme']);
$_SESSION['xoopsUserTheme']=$edituser->getVar('theme');
redirect_header(XOOPS_URL . '/modules/' . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/userinfo.php?uid=' . $edituser->getVar('uid'), 2, _US_PROFUPDATED);
}
}
Expand Down
8 changes: 4 additions & 4 deletions htdocs/themes/xbootstrap5/modules/newbb/newbb_index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<{/if}>
</div><!-- .panel-heading -->

<div id="<{$category.cat_element_id}>" class="panel-collapse collapse <{if $subforum_display == 'expand'}>in<{/if}>">
<div id="<{$category.cat_element_id}>" class="panel-collapse collapse <{if $subforum_display == 'expand'}>show<{/if}>">
<div class="panel-body">
<{if $category.forums}>
<div class="row hidden-xs">
Expand All @@ -140,7 +140,7 @@
<{foreach item=forum from=$category.forums|default:null}>
<div class="row newbb-list-foruns mb10">
<div class="col-sm-6 col-md-6">
<{if $forum.subforum}>
<{if !empty($forum.subforum)}>
<div class="<{if $forum.forum_read == 1 }>forum-read<{else}>forum-new2<{/if}> pull-left">
<{$forum.forum_folder}>
</div>
Expand All @@ -161,7 +161,7 @@
</a>
<{/if}>
<!-- Forum description -->
<{if $forum.forum_desc|default:'' != ''}>
<{if !empty($forum.forum_desc)}>
<button class="btn btn-primary btn-xs pull-right" data-bs-toggle="modal" data-bs-target="#forumDesc-<{$forum.forum_id}>"><span
class="fa fa-info-sign"></span></button>
<div class="modal fade" id="forumDesc-<{$forum.forum_id}>" tabindex="-1" role="dialog" aria-labelledby="ForumDescription"
Expand Down Expand Up @@ -221,7 +221,7 @@
<{$smarty.const._MD_NEWBB_NOTOPIC}>
<{/if}>

<{if $forum.subforum}>
<{if !empty($forum.subforum)}>
<{$smarty.const._MD_NEWBB_SUBFORUMS}><{$img_subforum}>
<{foreach item=subforum from=$forum.subforum|default:null}>
[
Expand Down

0 comments on commit e5dcef8

Please sign in to comment.