]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/theme.php
quattro: hide acl button in edit post
[friendica.git] / view / theme / quattro / theme.php
index be47a401c0ed335b4f922b18b4ef3774b4e4dca1..a1cd29ee72ad84c1ff2fe3da4850e46b9daec213 100644 (file)
@@ -1,20 +1,15 @@
 <?php
-
-
-
-
-$quattro_align = get_pconfig(local_user(), 'quattro', 'align' );
-
-if(local_user() && $quattro_align=="center"){
-       
-       $a->page['htmlhead'].="
-       <style>
-               html { width: 100%; margin:0px; padding:0px; }
-               body {
-                       margin: 50px auto;
-                       width: 900px;
-               }
-       </style>
-       ";
-       
+/**
+ * Name: Quattro
+ * Version: 0.6
+ * Author: Fabio <http://kirgroup.com/profile/fabrixxm>
+ * Maintainer: Fabio <http://kirgroup.com/profile/fabrixxm>
+ * Maintainer: Tobias <https://diekershoff.homeunix.net/friendica/profile/tobias>
+ */
+
+function quattro_init(&$a) {
+       $a->theme_info = array();
+
+       $a->page['htmlhead'] .= '<script src="'.$a->get_baseurl().'/view/theme/quattro/tinycon.min.js"></script>';
+       $a->page['htmlhead'] .= '<script src="'.$a->get_baseurl().'/view/theme/quattro/js/quattro.js"></script>';;
 }