mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Added 'btn-default' to button for Bootstrap3 compatibility.
This commit is contained in:
@@ -154,7 +154,7 @@ $text = $textstart.$textstring.$textend;
|
||||
|
||||
if(CB_MOD)
|
||||
{
|
||||
$text = "<form method='post' action='".e_SELF."'>".$text."<input type='submit' class='btn button' name='moderate' value='".CHATBOX_L13."' /></form>";
|
||||
$text = "<form method='post' action='".e_SELF."'>".$text."<input type='submit' class='btn btn-default button' name='moderate' value='".CHATBOX_L13."' /></form>";
|
||||
}
|
||||
|
||||
$parms = "{$chat_total},30,{$from},".e_SELF.'?[FROM]';
|
||||
|
@@ -242,15 +242,15 @@ else
|
||||
$texta .= "
|
||||
<textarea placeholder=\"".LAN_CHATBOX_100."\" required class='tbox chatbox input-xlarge' id='cmessage' name='cmessage' cols='20' rows='5' style='max-width:97%; ".($cb_width ? "width:".$cb_width.";" : '')." overflow: auto' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'></textarea>
|
||||
<br />
|
||||
<input class='btn button' type='submit' id='chat_submit' name='chat_submit' value='".CHATBOX_L4."' {$oc}/>
|
||||
<input class='btn btn-default button' type='submit' id='chat_submit' name='chat_submit' value='".CHATBOX_L4."' {$oc}/>
|
||||
";
|
||||
|
||||
// $texta .= "<input class='btn button' type='reset' name='reset' value='".CHATBOX_L5."' />"; // How often do we see these lately? ;-)
|
||||
// $texta .= "<input type='reset' name='reset' value='".CHATBOX_L5."' />"; // How often do we see these lately? ;-)
|
||||
|
||||
if($pref['cb_emote'] && $pref['smiley_activate'])
|
||||
{
|
||||
$texta .= "
|
||||
<input class='btn button' type='button' style='cursor:pointer' size='30' value='".CHATBOX_L14."' onclick=\"expandit('emote')\" />
|
||||
<input class='btn btn-default button' type='button' style='cursor:pointer' size='30' value='".CHATBOX_L14."' onclick=\"expandit('emote')\" />
|
||||
<div class='well' style='display:none' id='emote'>".r_emote()."</div>\n";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user