1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Added 'btn-default' to button for Bootstrap3 compatibility.

This commit is contained in:
Cameron
2014-02-07 07:33:33 -08:00
parent c7cb6d2975
commit f3ae51e037
37 changed files with 72 additions and 72 deletions

View File

@@ -127,7 +127,7 @@ $fVars->SEARCH = "
<form method='get' class='form-inline input-append' action='".e_BASE."search.php'>
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
<input class='btn button' type='submit' name='s' value='".LAN_SEARCH."' />
<input class='btn btn-default button' type='submit' name='s' value='".LAN_SEARCH."' />
<input type='hidden' name='r' value='0' />
<input type='hidden' name='ref' value='forum' />

View File

@@ -124,8 +124,8 @@ if ($action == "delete_poll")
".FORCONF_13."
<br /><br />
<form method='post' action='".e_SELF."?".e_QUERY."'>
<input class='btn button' type='submit' name='deletecancel' value='".FORCONF_14."' />
<input class='btn button' type='submit' name='deletepollconfirm' value='".FORCONF_15."' />
<input class='btn btn-default button' type='submit' name='deletecancel' value='".FORCONF_14."' />
<input class='btn btn-default button' type='submit' name='deletepollconfirm' value='".FORCONF_15."' />
</form>
</div>";
$ns->tablerender(FORCONF_16, $text);
@@ -199,7 +199,7 @@ if ($action == 'move')
</table>
<div class='center'>
<input class='btn btn-primary button' type='submit' name='move' value='".FORCONF_25."' />
<input class='btn button' type='submit' name='movecancel' value='".FORCONF_14."' />
<input class='btn btn-default button' type='submit' name='movecancel' value='".FORCONF_14."' />
</div>
</div>

View File

@@ -554,7 +554,7 @@ function forumjump()
{
$text .= "\n<option value='".$key."'>".$val."</option>";
}
$text .= "</select> <input class='btn button' type='submit' name='fjsubmit' value='".LAN_GO."' /></p></form>";
$text .= "</select> <input class='btn btn-default button' type='submit' name='fjsubmit' value='".LAN_GO."' /></p></form>";
return $text;
}

View File

@@ -101,7 +101,7 @@ if(is_array($fileList))
}
else
{
$txt .= "<td class='forumheader3'>".FRMUP_8." <input class='btn button' type='submit' name='delete[{$finfo['fname']}]' value='".FRMUP_10."' /></td>";
$txt .= "<td class='forumheader3'>".FRMUP_8." <input class='btn btn-default button' type='submit' name='delete[{$finfo['fname']}]' value='".FRMUP_10."' /></td>";
}
$txt .= "</tr>";
}

View File

@@ -252,7 +252,7 @@ $fVars->SEARCH = "
<form method='get' class='form-inline input-append' action='".e_BASE."search.php'>
<p>
<input class='tbox' type='text' name='q' size='20' value='' maxlength='50' />
<button class='btn button' type='submit' name='s' >".LAN_SEARCH."</button>
<button class='btn btn-default button' type='submit' name='s' >".LAN_SEARCH."</button>
<input type='hidden' name='r' value='0' />
<input type='hidden' name='ref' value='forum' />
</p>
@@ -663,7 +663,7 @@ function forumjump()
{
$text .= "\n<option value='".$key."'>".$val."</option>";
}
$text .= "</select> <input class='btn button' type='submit' name='fjsubmit' value='".LAN_GO."' /></form>";
$text .= "</select> <input class='btn btn-default button' type='submit' name='fjsubmit' value='".LAN_GO."' /></form>";
return $text;
}

View File

@@ -388,7 +388,7 @@ if ($forum->checkPerm($thread->threadInfo['thread_forum_id'], 'post') && $thread
</div>
</form>";
// Preview should be reserved for the full 'Post reply' page. <input type='submit' name='fpreview' value='" . Preview . "' class='btn button' /> &nbsp;
// Preview should be reserved for the full 'Post reply' page. <input type='submit' name='fpreview' value='" . Preview . "' /> &nbsp;
}
else
{
@@ -484,7 +484,7 @@ function forumjump()
{
$text .= "\n<option value='" . $key . "'>" . $val . "</option>";
}
$text .= "</select> <input class='btn button' type='submit' name='fjsubmit' value='" . LAN_GO . "' /></p></form>";
$text .= "</select> <input class='btn btn-default button' type='submit' name='fjsubmit' value='" . LAN_GO . "' /></p></form>";
return $text;
}
@@ -757,7 +757,7 @@ class e107ForumThread
<td style='text-align:center;'><textarea cols='40' rows='10' class='tbox' name='report_add'></textarea></td>
</tr>
<tr>
<td colspan='2' style='text-align:center;'><br /><input class='btn button' type='submit' name='report_thread' value='".LAN_FORUM_2029."' /></td>
<td colspan='2' style='text-align:center;'><br /><input class='btn btn-default button' type='submit' name='report_thread' value='".LAN_FORUM_2029."' /></td>
</tr>
</table>";
return e107::getRender()->tablerender(LAN_FORUM_2023, $text, array('forum_viewtopic', 'report2'), true);

View File

@@ -99,14 +99,14 @@ class plugin_forum_post_shortcodes extends e_shortcode
function sc_buttons()
{
global $action, $eaction;
$ret = "<input class='btn button' type='submit' name='fpreview' value='".LAN_FORUM_3005."' /> ";
$ret = "<input class='btn btn-default button' type='submit' name='fpreview' value='".LAN_FORUM_3005."' /> ";
if ($action != 'nt')
{
$ret .= ($eaction ? "<input class='btn btn-primary button' type='submit' name='update_reply' value='".LAN_FORUM_3024."' />" : "<input class='btn btn-primary button' type='submit' name='reply' value='".LAN_FORUM_2006."' />");
}
else
{
$ret .= ($eaction ? "<input class='btn button btn-primary' type='submit' name='update_thread' value='".LAN_FORUM_3023."' />" : "<input class='btn btn-primary button' type='submit' name='newthread' value='".LAN_FORUM_2005."' />");
$ret .= ($eaction ? "<input class='btn btn-primary button' type='submit' name='update_thread' value='".LAN_FORUM_3023."' />" : "<input class='btn btn-primary button' type='submit' name='newthread' value='".LAN_FORUM_2005."' />");
}
return $ret;
}
@@ -154,7 +154,7 @@ class plugin_forum_post_shortcodes extends e_shortcode
<input class='tbox e-tip' title=\"".$tooltip."\" name='file_userfile[]' type='file' size='47' />
</span>
</div>
<input class='btn button' type='button' name='addoption' value=".LAN_FORUM_3020." onclick=\"duplicateHTML('fiupopt','fiupsection')\" />
<input class='btn btn-default button' type='button' name='addoption' value=".LAN_FORUM_3020." onclick=\"duplicateHTML('fiupopt','fiupsection')\" />
</div>
";

View File

@@ -59,7 +59,7 @@ $fileattach = "
<input class='tbox' name='file_userfile[]' type='file' size='47' />
</span>
</div>
<input class='btn button' type='button' name='addoption' value='".LAN_FORUM_3020."' onclick=\"duplicateHTML('fiupopt','fiupsection')\" />
<input class='btn btn-default button' type='button' name='addoption' value='".LAN_FORUM_3020."' onclick=\"duplicateHTML('fiupopt','fiupsection')\" />
</td>
</tr>
";