diff options
author | friendica <info@friendica.com> | 2012-08-09 16:26:44 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-09 16:26:44 -0700 |
commit | 0292d46e5de06529012ebb14ce934fb476d595d0 (patch) | |
tree | 16208e490a8e2d6d90996c936c6f467533aaf612 /view/tpl/head.tpl | |
parent | 432595314affa179bdce439d6e90955cee99cd9e (diff) | |
download | volse-hubzilla-0292d46e5de06529012ebb14ce934fb476d595d0.tar.gz volse-hubzilla-0292d46e5de06529012ebb14ce934fb476d595d0.tar.bz2 volse-hubzilla-0292d46e5de06529012ebb14ce934fb476d595d0.zip |
merge comment threading, provide plugin/theme functions to handle css/js includes
Diffstat (limited to 'view/tpl/head.tpl')
-rw-r--r-- | view/tpl/head.tpl | 41 |
1 files changed, 28 insertions, 13 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index 34efa1bd8..7853361d9 100644 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -20,22 +20,28 @@ title="Search in Friendica" /> <!--[if IE]> -<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> +<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> -<script type="text/javascript" src="$baseurl/js/jquery.js" ></script> -<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script> -<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script> -<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script> -<script type="text/javascript" src="$baseurl/library/jquery.timeago.js"></script> -<script type="text/javascript" src="$baseurl/library/jquery.divgrow/jquery.divgrow-1.3.1.js"></script> -<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script> -<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script> -<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script> -<script type="text/javascript" src="$baseurl/js/acl.js" ></script> -<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script> -<script type="text/javascript" src="$baseurl/js/main.js" ></script> +<script src="$baseurl/js/jquery.js" ></script> +<script src="$baseurl/js/jquery.textinputs.js" ></script> +<script src="$baseurl/js/fk.autocomplete.js" ></script> +<script src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script> +<script src="$baseurl/library/jquery.timeago.js"></script> +<script src="$baseurl/library/jquery.divgrow/jquery.divgrow-1.3.1.js"></script> +<script src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script> +<script src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script> +<script src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script> +<script src="$baseurl/js/acl.js" ></script> +<script src="$baseurl/js/webtoolkit.base64.js" ></script> +<script src="$baseurl/js/main.js" ></script> + +{{ if $module_js }} +<script src="$module_js" ></script> +{{ endif }} <script src="$baseurl/library/jslider/bin/jquery.slider.min.js"></script> + + <script> var updateInterval = $update_interval; @@ -61,6 +67,15 @@ } } + function showHideCommentBox(id) { + if( $('#comment-edit-form-' + id).is(':visible')) { + $('#comment-edit-form-' + id).hide(); + } + else { + $('#comment-edit-form-' + id).show(); + } + } + function commentInsert(obj,id) { var tmpStr = $("#comment-edit-text-" + id).val(); |