mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Added 'btn-default' to button for Bootstrap3 compatibility.
This commit is contained in:
@@ -714,7 +714,7 @@ class poll
|
||||
|
||||
$text .="
|
||||
</div>
|
||||
<input class='btn button' type='button' name='addoption' value='".LAN_FORUM_3032."' onclick=\"duplicateHTML('pollopt','pollsection')\" /><br />
|
||||
<input class='btn btn-default button' type='button' name='addoption' value='".LAN_FORUM_3032."' onclick=\"duplicateHTML('pollopt','pollsection')\" /><br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -814,7 +814,7 @@ class poll
|
||||
|
||||
if (isset($_POST['preview']) || varset($_POST['edit']))
|
||||
{
|
||||
// $text .= "<input class='btn button' type='submit' name='preview' value='".POLLAN_24."' /> ";
|
||||
// $text .= "<input type='submit' name='preview' value='".POLLAN_24."' /> ";
|
||||
$text .= $frm->admin_button('preview',POLLAN_24,'other');
|
||||
|
||||
if (POLLACTION == 'edit')
|
||||
@@ -826,19 +826,19 @@ class poll
|
||||
else
|
||||
{
|
||||
$text .= $frm->admin_button('submit','no-value','submit', LAN_CREATE);
|
||||
// $text .= "<input class='btn button' type='submit' name='submit' value='".POLLAN_23."' /> ";
|
||||
// $text .= "<input type='submit' name='submit' value='".POLLAN_23."' /> ";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$text .= $frm->admin_button('preview','no-value','other',POLLAN_24);
|
||||
// $text .= "<input class='btn button' type='submit' name='preview' value='".POLLAN_24."' /> ";
|
||||
// $text .= "<input type='submit' name='preview' value='".POLLAN_24."' /> ";
|
||||
}
|
||||
|
||||
if (defset('POLLID'))
|
||||
{
|
||||
$text .= $frm->admin_button('reset','no-value','reset',POLLAN_25);
|
||||
// $text .= "<input class='btn button' type='submit' name='reset' value='".POLLAN_25."' /> ";
|
||||
// $text .= "<input type='submit' name='reset' value='".POLLAN_25."' /> ";
|
||||
}
|
||||
|
||||
$text .= "</div>
|
||||
|
Reference in New Issue
Block a user