]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/slackr/theme.php
Merge pull request #556 from fermionic/20121224-smarty3-template-collision
[friendica.git] / view / theme / slackr / theme.php
index ff6d19ec9d81e55b39cd4c3c68f7531451fd029a..bc09299794a8d3c883bb900080407376cb02df95 100644 (file)
@@ -2,6 +2,7 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+set_template_engine($a, 'smarty3');
 
 function slackr_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
@@ -45,10 +46,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 +106,4 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
-}
\ No newline at end of file
+}