mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 21:32:09 +02:00
Added 'btn-default' to button for Bootstrap3 compatibility.
This commit is contained in:
@@ -58,7 +58,7 @@ else
|
||||
</select>
|
||||
<br />
|
||||
<br />
|
||||
<button class="btn button" type="submit" name="setlanguage" value="no-value"><span>'.UTHEME_MENU_L1.'</span></button>';
|
||||
<button class="btn btn-default button" type="submit" name="setlanguage" value="no-value"><span>'.UTHEME_MENU_L1.'</span></button>';
|
||||
$text .= '
|
||||
</div>
|
||||
</form>';
|
||||
|
@@ -43,7 +43,7 @@ if ((USER == TRUE) && check_class(varset($pref['allow_theme_select'],FALSE)))
|
||||
|
||||
while ($row = $sql->fetch())
|
||||
{
|
||||
$up = (substr($row['user_prefs'],0,5) == "array") ? $eArrayStorage->ReadArray($row['user_prefs']) : unserialize($row['user_prefs']);
|
||||
$up = (substr($row['user_prefs'],0,5) == "array") ? e107::unserialize($row['user_prefs']) : unserialize($row['user_prefs']);
|
||||
|
||||
if (isset($themecount[$up['sitetheme']])) { $themecount[$up['sitetheme']]++; }
|
||||
}
|
||||
@@ -68,7 +68,7 @@ if ((USER == TRUE) && check_class(varset($pref['allow_theme_select'],FALSE)))
|
||||
}
|
||||
$text .= "</select>
|
||||
<br /><br />
|
||||
<input class='btn button' type='submit' name='settheme' value='".LAN_UMENU_THEME_1."' />
|
||||
<input class='btn btn-default button' type='submit' name='settheme' value='".LAN_UMENU_THEME_1."' />
|
||||
</div></form>";
|
||||
|
||||
$ns->tablerender(LAN_UMENU_THEME_2, $text, 'usertheme');
|
||||
|
Reference in New Issue
Block a user