]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/theme.php
Merge pull request #555 from annando/master
[friendica.git] / view / theme / vier / theme.php
index 5e483c5adc9cf04e0b8ca28d98991ddf4c1bc0dd..7c0f3d3f8d1b6fa3f3136230564047319179b2c4 100644 (file)
@@ -1,18 +1,21 @@
 <?php
 /**
  * Name: Vier
- * Version: 0.1
+ * Version: 0.9
  * Author: Fabio <http://kirgroup.com/profile/fabrixxm>
  * Author: Ike <http://pirati.ca/profile/heluecht>
  * Maintainer: Ike <http://pirati.ca/profile/heluecht>
+ * Description: "Vier" uses the font awesome font library: http://fortawesome.github.com/Font-Awesome/
  */
 
+set_template_engine($a, 'smarty3');
+
 $a->theme_info = array();
 
 function vier_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
 <script>
-/*function insertFormatting(comment,BBcode,id) {
+function insertFormatting(comment,BBcode,id) {
 
                var tmpStr = $("#comment-edit-text-" + id).val();
                if(tmpStr == comment) {
@@ -41,7 +44,7 @@ $a->page['htmlhead'] .= <<< EOT
        }
        return true;
 }
-*/
+
 
 function showThread(id) {
        $("#collapsed-comments-" + id).show()
@@ -52,13 +55,15 @@ function hideThread(id) {
        $("#collapsed-comments-" + id + " .collapsed-comments").hide()
 }
 
-/*
+
 function cmtBbOpen(id) {
        $("#comment-edit-bb-" + id).show();
 }
 function cmtBbClose(id) {
        $("#comment-edit-bb-" + id).hide();
 }
+
+/*
 $(document).ready(function() {
 
 $('html').click(function() { $("#nav-notifications-menu" ).hide(); });
@@ -104,3 +109,4 @@ $('.savedsearchterm').hover(
 </script>
 EOT;
 }
+