mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
Merge pull request #2047 from rica-carv/rica-carv-viewforum_head_shortcodes
Allow viewforum top head row to have shortcodes...
This commit is contained in:
commit
555c9a65d6
@ -474,7 +474,7 @@ $threadList = $forum->forumGetThreads($forumId, $threadFrom, $view, $threadFilte
|
||||
$subList = $forum->forumGetSubs(vartrue($forum_id));
|
||||
--*/
|
||||
//------$gen = new convert;
|
||||
$forumSCvars['forum_parent']= $forumInfo['forum_parent'];
|
||||
$forumSCvars['forum_parent']= $forumInfo['forum_parent'];
|
||||
/*--
|
||||
$fVars->SUBFORUMS = '';
|
||||
if(is_array($subList) && isset($subList[$forumInfo['forum_parent']][$forumId]))
|
||||
@ -551,12 +551,13 @@ if($container_only)
|
||||
}
|
||||
|
||||
|
||||
$sc->setVars($forumSCvars);
|
||||
|
||||
$sc->setVars($forumSCvars);
|
||||
|
||||
//var_dump ($FORUM_VIEW_START);
|
||||
// var_dump ($FORUM_VIEW_SUB);
|
||||
$forum_view_start = $tp->parseTemplate($FORUM_VIEW_START, false, $sc);
|
||||
$forum_view_forum = $tp->parseTemplate($forum_view_forum, false, $sc);
|
||||
$forum_view_end = $tp->parseTemplate($FORUM_VIEW_END, false, $sc);
|
||||
|
||||
//$forum_view_start .= "<hr><hr>FVARS FORUM<hr><hr>".$tp->simpleParse($FORUM_VIEW_START, $fVars);
|
||||
|
@ -341,6 +341,10 @@ $FORUM_VIEWFORUM_TEMPLATE['sub-item'] = "<tr><td>{NEWFLAG}</td>
|
||||
|
||||
$FORUM_VIEWFORUM_TEMPLATE['sub-footer'] = "";
|
||||
|
||||
/* Examples top divider with shortcodes - working
|
||||
$FORUM_VIEWFORUM_TEMPLATE['divider-important'] = "<tr><th colspan='2'>".LAN_FORUM_1006." {FORUMTITLE}</th><th class='text-center'>".LAN_FORUM_0003."</th><th class='hidden-xs text-center'>".LAN_FORUM_1005."</th><th class='hidden-xs'>".LAN_FORUM_0004."</th></tr>";
|
||||
$FORUM_VIEWFORUM_TEMPLATE['divider-normal'] = "<tr><th colspan='2'>".LAN_FORUM_1007." {FORUMTITLE}</th><th class='text-center' >".LAN_FORUM_0003."</th><th class='hidden-xs text-center'>".LAN_FORUM_1005."</th><th class='hidden-xs'>".LAN_FORUM_0004."</th></tr>";
|
||||
*/
|
||||
$FORUM_VIEWFORUM_TEMPLATE['divider-important'] = "<tr><th colspan='2'>".LAN_FORUM_1006."</th><th class='text-center'>".LAN_FORUM_0003."</th><th class='hidden-xs text-center'>".LAN_FORUM_1005."</th><th class='hidden-xs'>".LAN_FORUM_0004."</th></tr>";
|
||||
$FORUM_VIEWFORUM_TEMPLATE['divider-normal'] = "<tr><th colspan='2'>".LAN_FORUM_1007."</th><th class='text-center' >".LAN_FORUM_0003."</th><th class='hidden-xs text-center'>".LAN_FORUM_1005."</th><th class='hidden-xs'>".LAN_FORUM_0004."</th></tr>";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user