mirror of
https://github.com/e107inc/e107.git
synced 2025-08-23 22:53:01 +02:00
Added 'btn-default' to button for Bootstrap3 compatibility.
This commit is contained in:
@@ -97,7 +97,7 @@ class admin_shortcodes
|
||||
if (!ADMIN) { return ''; }
|
||||
return "
|
||||
<div style='text-align: center'>
|
||||
<input class='btn button' type='button' onclick=\"javascript: window.open('".e_ADMIN_ABS."credits.php', 'myWindow', 'status = 1, height = 400, width = 300, resizable = 0')\" value='".LAN_CREDITS."' />
|
||||
<input class='btn btn-default button' type='button' onclick=\"javascript: window.open('".e_ADMIN_ABS."credits.php', 'myWindow', 'status = 1, height = 400, width = 300, resizable = 0')\" value='".LAN_CREDITS."' />
|
||||
</div>";
|
||||
}
|
||||
|
||||
@@ -310,7 +310,7 @@ class admin_shortcodes
|
||||
{
|
||||
$text .= $sql->mySQLlanguage;
|
||||
$text .= " (".$slng->convert($sql->mySQLlanguage).")
|
||||
: <span class='btn button' style='cursor: pointer;' onclick='expandit(\"lan_tables\");'><a style='text-decoration:none' title='' href=\"javascript:void(0);\" > ".count($aff)." ".UTHEME_MENU_L3." </a></span><br />
|
||||
: <span class='btn btn-default button' style='cursor: pointer;' onclick='expandit(\"lan_tables\");'><a style='text-decoration:none' title='' href=\"javascript:void(0);\" > ".count($aff)." ".UTHEME_MENU_L3." </a></span><br />
|
||||
<span style='display:none' id='lan_tables'>
|
||||
";
|
||||
$text .= implode('<br />', $aff);
|
||||
|
@@ -126,7 +126,7 @@ class contact_shortcodes extends e_shortcode
|
||||
|
||||
function sc_contact_submit_button($parm='')
|
||||
{
|
||||
return "<input type='submit' name='send-contactus' value=\"".LANCONTACT_08."\" class='btn button' />";
|
||||
return "<input type='submit' name='send-contactus' value=\"".LANCONTACT_08."\" class='btn btn-primary button' />";
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -35,7 +35,7 @@ class signup_shortcodes extends e_shortcode
|
||||
<input type='radio' name='coppa' value='0' checked='checked' /> ".LAN_NO."
|
||||
<input type='radio' name='coppa' value='1' /> ".LAN_YES."<br />
|
||||
<br />
|
||||
<input class='btn button' type='submit' name='newver' value=\"".LAN_CONTINUE."\" />
|
||||
<input class='btn btn-primary button' type='submit' name='newver' value=\"".LAN_CONTINUE."\" />
|
||||
</div></form>
|
||||
";
|
||||
}
|
||||
|
@@ -582,7 +582,7 @@ class user_shortcodes extends e_shortcode
|
||||
{
|
||||
return "
|
||||
<form method='post' action='".e_SELF."?".e_QUERY."'>
|
||||
<input class='btn button' type='submit' name='delp' value='".LAN_USER_43."' />
|
||||
<input class='btn btn-default button' type='submit' name='delp' value='".LAN_USER_43."' />
|
||||
</form>
|
||||
";
|
||||
}
|
||||
@@ -731,7 +731,7 @@ class user_shortcodes extends e_shortcode
|
||||
|
||||
function sc_user_form_submit($parm)
|
||||
{
|
||||
return "<input class='btn button' type='submit' name='submit' value='".LAN_USER_47."' />";
|
||||
return "<input class='btn btn-default button' type='submit' name='submit' value='".LAN_USER_47."' />";
|
||||
}
|
||||
|
||||
|
||||
|
@@ -27,7 +27,7 @@ function custom_shortcode($parm)
|
||||
{
|
||||
$ret .= "<form method='post' action='".e_SELF.(e_QUERY ? '?'.e_QUERY : '')."'>\n<div class='loginc_div'>\n".LOGIN_MENU_L1."<input class='tbox loginc user' type='text' name='username' size='15' value='$username' maxlength='20' /> \n".LOGIN_MENU_L2."<input class='tbox loginc pass' type='password' name='userpass' size='15' value='' maxlength='20' /> \n";
|
||||
$ret .= ($pref['user_tracking'] == "cookie") ? "<input type='checkbox' name='autologin' value='1' />".LOGIN_MENU_L6." \n" : "";
|
||||
$ret .= "<input class='btn button loginc' type='submit' name='userlogin' value='".LOGIN_MENU_L28."' />";
|
||||
$ret .= "<input class='btn btn-default button loginc' type='submit' name='userlogin' value='".LOGIN_MENU_L28."' />";
|
||||
if($pref['user_reg'])
|
||||
{
|
||||
$ret .= " <a class='loginc signup' href='".e_SIGNUP."'>".LOGIN_MENU_L3."</a>";
|
||||
|
@@ -13,7 +13,7 @@ if(!isset($SEARCH_SHORTCODE))
|
||||
{
|
||||
|
||||
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='' maxlength='50' />
|
||||
<input class='btn button search' type='submit' name='s' value=\"".LAN_180."\" />";
|
||||
<input class='btn btn-default button search' type='submit' name='s' value=\"".LAN_180."\" />";
|
||||
|
||||
/* // Image Version Example
|
||||
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='Default Value' maxlength='50' onclick=\"this.value=''\" />
|
||||
|
Reference in New Issue
Block a user