mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Change buttons to bootstrap btn (GUI)
This commit is contained in:
@@ -222,7 +222,7 @@ class admin_shortcodes
|
||||
{
|
||||
$text .= $sql->mySQLlanguage;
|
||||
$text .= " (".$slng->convert($sql->mySQLlanguage).")
|
||||
: <span class='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 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);
|
||||
@@ -811,13 +811,13 @@ class admin_shortcodes
|
||||
<div style='text-align:center'>";
|
||||
if(!$sql->db_Count('preset', '(*)', " WHERE preset_name='".$tp->toDB($existing, true)."' "))
|
||||
{
|
||||
$pst_text .= "<input type='button' class='button' name='save_preset' value='".LAN_SAVE."' onclick=\"$trigger savepreset('".$theform."',$pid)\" />";
|
||||
$pst_text .= "<input type='button' class='btn button' name='save_preset' value='".LAN_SAVE."' onclick=\"$trigger savepreset('".$theform."',$pid)\" />";
|
||||
}
|
||||
else
|
||||
{
|
||||
$pst_text .= "<input type='button' class='button' name='save_preset' value='".LAN_UPDATE."' onclick=\"$trigger savepreset('".$theform."',$pid)\" />";
|
||||
$pst_text .= "<input type='button' class='btn button' name='save_preset' value='".LAN_UPDATE."' onclick=\"$trigger savepreset('".$theform."',$pid)\" />";
|
||||
$pst_text .= "<input type='hidden' name='del_id' value='$pid' />
|
||||
<input type='submit' class='button' name='delete_preset' value='".LAN_DELETE."' onclick=\"return jsconfirm('".$tp->toJS(LAN_PRESET_CONFIRMDEL." [".$existing."]")."')\" />";
|
||||
<input type='submit' class='btn button' name='delete_preset' value='".LAN_DELETE."' onclick=\"return jsconfirm('".$tp->toJS(LAN_PRESET_CONFIRMDEL." [".$existing."]")."')\" />";
|
||||
}
|
||||
$pst_text .= "</div></form>";
|
||||
return $ns->tablerender(LAN_PRESET, $pst_text, '', true);
|
||||
|
@@ -117,7 +117,7 @@ class contact_shortcodes extends e_shortcode
|
||||
|
||||
function sc_contact_submit_button($parm='')
|
||||
{
|
||||
return "<input type='submit' name='send-contactus' value=\"".LANCONTACT_08."\" class='button' />";
|
||||
return "<input type='submit' name='send-contactus' value=\"".LANCONTACT_08."\" class='btn 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='button' type='submit' name='newver' value=\"".LAN_CONTINUE."\" />
|
||||
<input class='btn button' type='submit' name='newver' value=\"".LAN_CONTINUE."\" />
|
||||
</div></form>
|
||||
";
|
||||
}
|
||||
|
@@ -497,7 +497,7 @@ class user_shortcodes extends e_shortcode
|
||||
{
|
||||
return "
|
||||
<form method='post' action='".e_SELF."?".e_QUERY."'>
|
||||
<input class='button' type='submit' name='delp' value='".LAN_USER_43."' />
|
||||
<input class='btn button' type='submit' name='delp' value='".LAN_USER_43."' />
|
||||
</form>
|
||||
";
|
||||
}
|
||||
@@ -646,7 +646,7 @@ class user_shortcodes extends e_shortcode
|
||||
|
||||
function sc_user_form_submit($parm)
|
||||
{
|
||||
return "<input class='button' type='submit' name='submit' value='".LAN_USER_47."' />";
|
||||
return "<input class='btn button' type='submit' name='submit' value='".LAN_USER_47."' />";
|
||||
}
|
||||
|
||||
|
||||
|
@@ -26,7 +26,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='button loginc' type='submit' name='userlogin' value='".LOGIN_MENU_L28."' />";
|
||||
$ret .= "<input class='btn 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>";
|
||||
|
Reference in New Issue
Block a user