enable mobile mode on mobile ios too

This commit is contained in:
Xkeeper 2018-12-11 15:26:53 -08:00
parent 82905dc369
commit f06b18a8ff
No known key found for this signature in database
GPG Key ID: 397C04773ABE4045
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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