]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/theme.php
frio: add intro action buttons for mobile devices
[friendica.git] / view / theme / frio / theme.php
index a7c3b0c5dc4f54548a00af96fdb3c565400ba8e6..e1c2fd690844f2e5a8b2eac1aa18797e75015738 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 /*
  * Name: frio
- * Description: Bootstrap V3 theme. The theme is currently under construction, so it is far from finished. For further information have a look at the <a href="https://github.com/rabuzarus/frio/blob/master/README.md">ReadMe</a> and <a href="https://github.com/rabuzarus/frio">GitHub</a>.
- * 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 <a href="https://github.com/friendica/friendica/tree/develop/view/theme/frio/README.md">ReadMe</a>.
+ * Version: V.0.2 Alpha
  * Author: Rabuzarus <https://friendica.kommune4.de/profile/rabuzarus>
  * 
  */
@@ -12,6 +12,10 @@ $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;
+
        set_template_engine($a, 'smarty3');
 
        $baseurl = $a->get_baseurl();
@@ -313,4 +317,4 @@ function frio_acl_lookup($a, &$results) {
                $results["items"] = $contacts;
                $results["tot"] = $total;
        }
-}
\ No newline at end of file
+}