Commit c2912e2c authored by Jos Schellevis's avatar Jos Schellevis

Useragent check removed as we now have a responsive interface and small responsive fixes

parent 566cb086
......@@ -1912,15 +1912,7 @@ function get_current_theme() {
elseif($config['theme'] <> "" && (is_dir($g["www_path"].'/themes/'.$config['theme'])))
$theme = $config['theme'];
else
$theme = "pfsense";
/*
* If this device is an apple ipod/iphone
* switch the theme to one that works with it.
*/
$lowres_ua = array("iPhone", "iPod", "iPad", "Android", "BlackBerry", "Opera Mini", "Opera Mobi", "PlayBook", "IEMobile");
foreach($lowres_ua as $useragent)
if(strstr($_SERVER['HTTP_USER_AGENT'], $useragent))
$theme = (empty($g['theme_lowres']) && (is_dir($g["www_path"].'/themes/'.$g['theme_lowres']))) ? "pfsense" : $g['theme_lowres'];
$theme = "opnsense";
return $theme;
}
......
......@@ -293,8 +293,7 @@ include("head.inc");
<section class="col-xs-12">
<div class=" content-box ">
<div class="table-responsive content-box ">
<table class="table table-striped table-sort">
<thead>
......
......@@ -134,7 +134,7 @@ include("head.inc");
<section class="col-xs-12">
<? include('system_advanced_tabs.php'); ?>
<div class="content-box tab-content">
<div class="table-responsive content-box tab-content">
<?php if ($act != "edit" ): ?>
<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area" class="table table-striped">
<thead>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment