]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/duepuntozero/theme.php
Normalize App parameter declaration (view folder)
[friendica.git] / view / theme / duepuntozero / theme.php
index bf1d031def9367c1d5128315313fab16e1ab1c66..7d3c22469fba8d09996350d580099c2834fc08d6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-function duepuntozero_init(App &$a) {
+function duepuntozero_init(App $a) {
 
 set_template_engine($a, 'smarty3');
 
@@ -24,7 +24,7 @@ set_template_engine($a, 'smarty3');
 $a->page['htmlhead'] .= <<< EOT
 <script>
 function insertFormatting(comment,BBcode,id) {
-       
+
                var tmpStr = $("#comment-edit-text-" + id).val();
                if(tmpStr == comment) {
                        tmpStr = "";
@@ -40,7 +40,7 @@ function insertFormatting(comment,BBcode,id) {
                selected = document.selection.createRange();
                if (BBcode == "url"){
                        selected.text = "["+BBcode+"]" + "http://" +  selected.text + "[/"+BBcode+"]";
-                       } else                  
+                       } else
                selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
        } else if (textarea.selectionStart || textarea.selectionStart == "0") {
                var start = textarea.selectionStart;