1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Forum styling for bootstrap.

This commit is contained in:
Cameron
2015-04-14 01:29:26 -07:00
parent 0b33ad7a26
commit 21015c9575
2 changed files with 6 additions and 3 deletions

View File

@@ -348,7 +348,7 @@ if (count($threadList) )
} }
else else
{ {
$forum_view_forum .= "<tr><td class='forumheader' colspan='6'>".LAN_FORUM_1008."</td></tr>"; $forum_view_forum .= "<tr><td class='forumheader alert alert-warning alert-block' colspan='6'>".LAN_FORUM_1008."</td></tr>";
} }
$fVars->FORUMJUMP = forumjump(); $fVars->FORUMJUMP = forumjump();
@@ -364,6 +364,9 @@ if($container_only)
$forum_view_start = $tp->simpleParse($FORUM_VIEW_START, $fVars); $forum_view_start = $tp->simpleParse($FORUM_VIEW_START, $fVars);
$forum_view_end = $tp->simpleParse($FORUM_VIEW_END, $fVars); $forum_view_end = $tp->simpleParse($FORUM_VIEW_END, $fVars);
if ($forum->prefs->get('enclose')) if ($forum->prefs->get('enclose'))
{ {
$ns->tablerender($forum->prefs->get('title'), $forum_view_start.$forum_view_subs.$forum_view_forum.$forum_view_end, array('forum_viewforum', 'main1')); $ns->tablerender($forum->prefs->get('title'), $forum_view_start.$forum_view_subs.$forum_view_forum.$forum_view_end, array('forum_viewforum', 'main1'));

View File

@@ -18,7 +18,7 @@ if(!vartrue($userbox))
$userbox = "<tr> $userbox = "<tr>
<td class='forumheader2' style='width:20%'>".LAN_FORUM_3010."</td> <td class='forumheader2' style='width:20%'>".LAN_FORUM_3010."</td>
<td class='forumheader2' style='width:80%'> <td class='forumheader2' style='width:80%'>
<input class='tbox' type='text' name='anonname' size='71' value='".vartrue($anonname)."' maxlength='20' style='width:95%' /> <input class='tbox form-control' type='text' name='anonname' size='71' value='".vartrue($anonname)."' maxlength='20' style='width:95%' />
</td> </td>
</tr>"; </tr>";
} }
@@ -28,7 +28,7 @@ if(!vartrue($subjectbox))
$subjectbox = "<tr> $subjectbox = "<tr>
<td class='forumheader2' style='width:20%'>".LAN_FORUM_3011."</td> <td class='forumheader2' style='width:20%'>".LAN_FORUM_3011."</td>
<td class='forumheader2' style='width:80%'> <td class='forumheader2' style='width:80%'>
<input class='tbox' type='text' name='subject' size='71' value='".vartrue($subject)."' maxlength='100' style='width:95%' /> <input class='tbox form-control' type='text' name='subject' size='71' value='".vartrue($subject)."' maxlength='100' style='width:95%' />
</td> </td>
</tr>"; </tr>";
} }