]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/theme.php
New group button
[friendica.git] / view / theme / smoothly / theme.php
index c87ec9abe19a3e8ceb0654e5e3b119b4a434e9d3..48bfbfee63458661640a41a0f64785edef181f39 100644 (file)
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
  *
- * Name: Vier
- * Version: 1.2
- * Author: Fabio <http://kirgroup.com/profile/fabrixxm>
- * Author: Ike <http://pirati.ca/profile/heluecht>
- * Author: Beanow <https://fc.oscp.info/profile/beanow>
- * Maintainer: Ike <http://pirati.ca/profile/heluecht>
- * Description: "Vier" is a very compact and modern theme. It uses the font awesome font library: http://fortawesome.github.com/Font-Awesome/
+ * Name: smoothly
+ *
+ * BEWARE: currently UNSUPPORTED
  */
 
 /*
@@ -49,7 +45,7 @@ function smoothly_init(App $a) {
 
        $cssFile = null;
        $ssl_state = false;
-       $baseurl = DI::baseUrl();
+       $baseurl = (string)DI::baseUrl();
        DI::page()['htmlhead'] .= <<< EOT
 
 <script>
@@ -63,14 +59,14 @@ $(document).ready(function() {
 
        $('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 
-       $('.group-edit-icon').hover(
+       $('.circle-edit-icon').hover(
                function() {
                        $(this).addClass('icon'); $(this).removeClass('iconspacer');},
                function() {
                        $(this).removeClass('icon'); $(this).addClass('iconspacer');}
        );
 
-       $('.sidebar-group-element').hover(
+       $('.sidebar-circle-element').hover(
                function() {
                        id = $(this).attr('id');
                        $('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},
@@ -116,7 +112,7 @@ if (! function_exists('_js_in_foot')) {
                /** @purpose insert stuff in bottom of page
                */
                $ssl_state = false;
-               $baseurl = DI::baseUrl();
+               $baseurl = (string)DI::baseUrl();
                $bottom['$baseurl'] = $baseurl;
                $tpl = Renderer::getMarkupTemplate('bottom.tpl');