X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftheme.php;h=085d4d941f42e8db269d9cf73fae14a54d17a3c8;hb=c5d571287c5502a537f6917357df2a518c42a40a;hp=c5c18d0aa2443b08bcde5a451a31e2a6568674b4;hpb=2a33882fe03a52eb27a0c7154bac57e9fcd081b3;p=friendica.git
diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php
index c5c18d0aa2..085d4d941f 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.7
* Author: Rabuzarus
*
*/
@@ -12,6 +12,13 @@ $frio = "view/theme/frio";
global $frio;
function frio_init(&$a) {
+
+ // disable the events module link in the profile tab
+ $a->theme_events_in_profile = false;
+
+ // Disallow the richtext editor
+ $a->theme_richtext_editor = false;
+
set_template_engine($a, 'smarty3');
$baseurl = $a->get_baseurl();
@@ -21,9 +28,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');
@@ -212,7 +226,7 @@ function frio_remote_nav($a,&$nav) {
} elseif(!local_user() && remote_user()) {
$r = q("SELECT `name`, `nick`, `micro` AS `photo` FROM `contact` WHERE `id` = %d", intval(remote_user()));
- $nav['remote'] = t("Remote");
+ $nav['remote'] = t("Guest");
} elseif(get_my_url ()) {
$r = q("SELECT `name`, `nick`, `photo` FROM `gcontact`
@@ -306,4 +320,4 @@ function frio_acl_lookup($a, &$results) {
$results["items"] = $contacts;
$results["tot"] = $total;
}
-}
\ No newline at end of file
+}