X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftheme.php;h=bab2d696aae3bc6c146ebe62ca54158a03bbd746;hb=365101066a409a94844b1d8698b066f1643750ab;hp=c5c18d0aa2443b08bcde5a451a31e2a6568674b4;hpb=8ec424325375aa923c7d2d78ac8ddcc352f09cff;p=friendica.git diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index c5c18d0aa2..bab2d696aa 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -1,8 +1,8 @@ ReadMe and GitHub. - * Version: V.0.1 Alpha + * Description: Bootstrap V3 theme. The theme is currently under construction, so it is far from finished. For further information have a look at the ReadMe. + * Version: V.0.2 Alpha * Author: Rabuzarus * */ @@ -21,9 +21,16 @@ function frio_init(&$a) { $frio = "view/theme/frio"; global $frio; - - + // if the device is a mobile device set js is_mobile + // variable so the js scripts can use this information + if($a->is_mobile || $a->is_tablet) { + $a->page["htmlhead"] .= <<< EOT + +EOT; + } if ($style == "") $style = get_config('frio', 'style');