mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 08:40:21 -07:00
enable mobile mode on mobile ios too
This commit is contained in:
parent
82905dc369
commit
f06b18a8ff
@ -198,7 +198,7 @@
|
|||||||
if($banned) $power=0;
|
if($banned) $power=0;
|
||||||
|
|
||||||
$specialscheme = "";
|
$specialscheme = "";
|
||||||
$smallbrowsers = array("Nintendo DS", "Android", "PSP", "Windows CE");
|
$smallbrowsers = array("Nintendo DS", "Android", "PSP", "Windows CE", "iPhone", "Mobile");
|
||||||
if ( (str_replace($smallbrowsers, "", $_SERVER['HTTP_USER_AGENT']) != $_SERVER['HTTP_USER_AGENT']) || filter_int($_GET['mobile']) == 1) {
|
if ( (str_replace($smallbrowsers, "", $_SERVER['HTTP_USER_AGENT']) != $_SERVER['HTTP_USER_AGENT']) || filter_int($_GET['mobile']) == 1) {
|
||||||
$loguser['layout'] = 2;
|
$loguser['layout'] = 2;
|
||||||
$loguser['viewsig'] = 0;
|
$loguser['viewsig'] = 0;
|
||||||
|
@ -367,7 +367,7 @@
|
|||||||
<td width='120px' class='tbl tdbg2 center fonts'><nobr>Views: $dispviews<br><img src=images/_.gif width=120 height=1></td>
|
<td width='120px' class='tbl tdbg2 center fonts'><nobr>Views: $dispviews<br><img src=images/_.gif width=120 height=1></td>
|
||||||
<td width='100%' class='tbl tdbg2 center fonts'>$headlinks2</td>
|
<td width='100%' class='tbl tdbg2 center fonts'>$headlinks2</td>
|
||||||
<td width='120px' class='tbl tdbg2 center fonts'><nobr>". date($dateformat,ctime()+$tzoff) ."<br><img src=images/_.gif width=120 height=1><tr>"
|
<td width='120px' class='tbl tdbg2 center fonts'><nobr>". date($dateformat,ctime()+$tzoff) ."<br><img src=images/_.gif width=120 height=1><tr>"
|
||||||
: "<br>$dispviews views, ". date($dateformat,ctime()+$tzoff) ."
|
: "<br>$dispviews views, ". date($dateformat,ctime()+$tzoff) ."<br>(mobile view enabled)
|
||||||
</td><tr>
|
</td><tr>
|
||||||
<td width=100% class='tbl tdbg2 center fonts' colspan=3>$headlinks2</td><tr>") ."
|
<td width=100% class='tbl tdbg2 center fonts' colspan=3>$headlinks2</td><tr>") ."
|
||||||
<td colspan=3 class='tbl tdbg1 center fonts'>$race
|
<td colspan=3 class='tbl tdbg1 center fonts'>$race
|
||||||
|
Loading…
x
Reference in New Issue
Block a user