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