]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/slackr/theme.php
Merge branch 'develop' of github.com:annando/friendica into 1409-shadow-items
[friendica.git] / view / theme / slackr / theme.php
index ff6d19ec9d81e55b39cd4c3c68f7531451fd029a..43deb4b8ccebe8590751f5abd749f9e5b3e19c21 100644 (file)
@@ -1,9 +1,11 @@
 <?php
+
+function slackr_init(&$a) {
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+set_template_engine($a, 'smarty3');
 
-function slackr_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
 <script>
 function insertFormatting(comment,BBcode,id) {
@@ -45,10 +47,10 @@ function cmtBbOpen(comment, id) {
        return false;
 }
 function cmtBbClose(comment, id) {
-       if($(comment).hasClass('comment-edit-text-empty')) {
-               $(".comment-edit-bb-" + id).hide();
-               return true;
-       }
+//     if($(comment).hasClass('comment-edit-text-empty')) {
+//             $(".comment-edit-bb-" + id).hide();
+//             return true;
+//     }
        return false;
 }
 
@@ -105,4 +107,4 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
-}
\ No newline at end of file
+}