X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrost-mobile%2Ftheme.php;h=ceb28c2d6627abd3883c6d9759f9dbed5a83851e;hb=6b6e3e264f55705d47f20cf32213d8d0f0d24efc;hp=dd97045a6894ab8966a8a18254c80c1aff03f22b;hpb=8f2087a1988a5b20ed1c38d5906481b92a35dc7f;p=friendica.git
diff --git a/view/theme/frost-mobile/theme.php b/view/theme/frost-mobile/theme.php
index dd97045a68..ceb28c2d66 100644
--- a/view/theme/frost-mobile/theme.php
+++ b/view/theme/frost-mobile/theme.php
@@ -10,7 +10,6 @@
*/
function frost_mobile_init(&$a) {
- $a->theme_info = array();
$a->sourcename = 'Friendica mobile web';
$a->videowidth = 250;
$a->videoheight = 200;
@@ -23,11 +22,13 @@ function frost_mobile_content_loaded(&$a) {
// I could do this in style.php, but by having the CSS in a file the browser will cache it,
// making pages load faster
- if( $a->module === 'home' || $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
-// $a->page['htmlhead'] = str_replace('$stylesheet', $a->get_baseurl() . '/view/theme/frost-mobile/login-style.css', $a->page['htmlhead']);
- $a->theme['stylesheet'] = $a->get_baseurl() . '/view/theme/frost-mobile/login-style.css';
+ if ( $a->module === 'home' || $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
+// $a->page['htmlhead'] = str_replace('$stylesheet', App::get_baseurl() . '/view/theme/frost-mobile/login-style.css', $a->page['htmlhead']);
+ $a->theme['stylesheet'] = App::get_baseurl() . '/view/theme/frost-mobile/login-style.css';
+ }
+
+ if ( $a->module === 'login' ) {
+ $a->page['end'] .= '';
}
- if( $a->module === 'login' )
- $a->page['end'] .= '';
}