1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Fixes #717 - Forum Post rewrite. new bootstrap templates added as well as new shortcodes. (attachments not functioning at this moment)

This commit is contained in:
Cameron
2015-04-18 15:09:10 -07:00
parent 654fd32677
commit 8890c523f0
11 changed files with 1065 additions and 96 deletions

View File

@@ -632,9 +632,14 @@ class poll
<div class='alert alert-info'>
<small >".LAN_FORUM_3029."</small>
</div>
<form>
</div>";
// $text .= "<form>";
$text .= "
<div class='form-group'>
<label for='poll_title'>Poll question</label>
".$frm->text('poll_title', $tp->post_toForm(vartrue($_POST['poll_title'])), '200', array('placeholder' => LAN_FORUM_3030, 'id' => 'poll_title'))."
@@ -665,7 +670,7 @@ class poll
<input class='btn btn-default' type='button' id='addoption' name='addoption' value='".LAN_FORUM_3032."' />
</div>
</form>";
";
//FIXME - get this looking good with Bootstrap CSS only.
@@ -681,6 +686,8 @@ class poll
</div>
</div>
";
// $text .= "</form>";
return $text;