mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +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:
@@ -551,12 +551,13 @@ if($container_only)
|
||||
}
|
||||
|
||||
|
||||
|
||||
$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>";
|
||||
|
||||
|
Reference in New Issue
Block a user