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" />
8 <link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
10 <link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
12 href="$baseurl/opensearch"
13 type="application/opensearchdescription+xml"
14 title="Search in Friendica" />
17 <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
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>
31 var updateInterval = $update_interval;
32 var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};
34 function confirmDelete() { return confirm("$delitem"); }
35 function commentOpen(obj,id) {
36 if(obj.value == '$comment') {
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);
46 function commentClose(obj,id) {
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);
59 function commentInsert(obj,id) {
60 var tmpStr = $("#comment-edit-text-" + id).val();
61 if(tmpStr == '$comment') {
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);
67 var ins = $(obj).html();
68 ins = ins.replace('<','<');
69 ins = ins.replace('>','>');
70 ins = ins.replace('&','&');
71 ins = ins.replace('"','"');
72 $("#comment-edit-text-" + id).val(tmpStr + ins);
75 function qCommentInsert(obj,id) {
76 var tmpStr = $("#comment-edit-text-" + id).val();
77 if(tmpStr == '$comment') {
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);
83 var ins = $(obj).val();
84 ins = ins.replace('<','<');
85 ins = ins.replace('>','>');
86 ins = ins.replace('&','&');
87 ins = ins.replace('"','"');
88 $("#comment-edit-text-" + id).val(tmpStr + ins);
92 window.showMore = "$showmore";
93 window.showFewer = "$showfewer";
95 function showHideCommentBox(id) {
96 if( $('#comment-edit-form-' + id).is(':visible')) {
97 $('#comment-edit-form-' + id).hide();
100 $('#comment-edit-form-' + id).show();