Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
c2912e2c
Commit
c2912e2c
authored
Feb 04, 2015
by
Jos Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Useragent check removed as we now have a responsive interface and small responsive fixes
parent
566cb086
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
12 deletions
+3
-12
util.inc
src/etc/inc/util.inc
+1
-9
firewall_nat_out.php
src/www/firewall_nat_out.php
+1
-2
system_advanced_sysctl.php
src/www/system_advanced_sysctl.php
+1
-1
No files found.
src/etc/inc/util.inc
View file @
c2912e2c
...
...
@@ -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
;
}
...
...
src/www/firewall_nat_out.php
View file @
c2912e2c
...
...
@@ -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>
...
...
src/www/system_advanced_sysctl.php
View file @
c2912e2c
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment