]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/theme.php
New group button
[friendica.git] / view / theme / smoothly / theme.php
index f56aa30f9e049c4cbd07ff9ead67b120f6e68739..48bfbfee63458661640a41a0f64785edef181f39 100644 (file)
@@ -45,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>
@@ -59,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');},
@@ -112,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');