]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/head.tpl
Merge git://github.com/friendica/friendica
[friendica.git] / view / theme / dispy / head.tpl
1 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
2 <meta charset="UTF-8" />
3 <base href="$baseurl/" />
4 <meta name="generator" content="$generator" />
5 <link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
6 <link rel="search" href="$baseurl/opensearch"
7         type="application/opensearchdescription+xml" title="Search in Friendica" />
8 <link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
9 <link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />
10 <link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
11 <link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
12 <!--[if IE]>
13 <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14 <![endif]-->
15 <script type="text/javascript" src="$baseurl/js/jquery.js"></script>
16 <script type="text/javascript" src="$baseurl/js/acl.js"></script>
17 <script type="text/javascript" src="$baseurl/js/main.js"></script>
18 <script type="text/javascript" src="$baseurl/js/jquery.textinputs.js"></script>
19 <script type="text/javascript" src="$baseurl/js/fk.autocomplete.js"></script>
20 <script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
21 <script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>
22 <script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
23 <script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
24 <script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js"></script>
25 <!-- in dispy-dark -->
26 <script>
27         var updateInterval = $update_interval;
28
29         function confirmDelete() { return confirm("$delitem"); }
30         function commentOpen(obj,id) {
31                 if(obj.value == '$comment') {
32                         obj.value = '';
33                         $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
34                         $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
35                         openMenu("comment-edit-submit-wrapper-" + id);
36                 }
37         }
38         function commentClose(obj,id) {
39                 if(obj.value == '') {
40                         obj.value = '$comment';
41                         $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
42                         $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
43                         closeMenu("comment-edit-submit-wrapper-" + id);
44                 }
45         }
46
47         function commentInsert(obj,id) {
48                 var tmpStr = $("#comment-edit-text-" + id).val();
49                 if(tmpStr == '$comment') {
50                         tmpStr = '';
51                         $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
52                         $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
53                         openMenu("comment-edit-submit-wrapper-" + id);
54                 }
55                 var ins = $(obj).html();
56                 ins = ins.replace('&lt;','<');
57                 ins = ins.replace('&gt;','>');
58                 ins = ins.replace('&amp;','&');
59                 ins = ins.replace('&quot;','"');
60                 $("#comment-edit-text-" + id).val(tmpStr + ins);
61         }
62
63         function qCommentInsert(obj,id) {
64                 var tmpStr = $("#comment-edit-text-" + id).val();
65                 if(tmpStr == '$comment') {
66                         tmpStr = '';
67                         $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
68                         $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
69                         openMenu("comment-edit-submit-wrapper-" + id);
70                 }
71                 var ins = $(obj).val();
72                 ins = ins.replace('&lt;','<');
73                 ins = ins.replace('&gt;','>');
74                 ins = ins.replace('&amp;','&');
75                 ins = ins.replace('&quot;','"');
76                 $("#comment-edit-text-" + id).val(tmpStr + ins);
77         }
78
79         function showHideComments(id) {
80                 if( $('#collapsed-comments-' + id).is(':visible')) {
81                         $('#collapsed-comments-' + id).hide();
82                         $('#hide-comments-' + id).html('$showmore');
83                 }
84                 else {
85                         $('#collapsed-comments-' + id).show();
86                         $('#hide-comments-' + id).html('$showfewer');
87                 }
88         }
89 </script>