2 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
3 <base href="{{$baseurl}}/" />
4 <meta name="generator" content="{{$generator}}" />
5 <link rel="stylesheet" href="view/global.css" type="text/css" media="all" />
6 <link rel="stylesheet" href="library/colorbox/colorbox.css" type="text/css" media="screen" />
7 <link rel="stylesheet" href="library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
8 <link rel="stylesheet" href="library/datetimepicker/jquery.datetimepicker.css" type="text/css" media="screen" />
9 <link rel="stylesheet" href="library/perfect-scrollbar/perfect-scrollbar.min.css" type="text/css" media="screen" />
11 <link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
14 <link rel="shortcut icon" href="images/friendica-32.png" />
15 <link rel="apple-touch-icon" href="images/friendica-128.png"/>
17 <link rel="shortcut icon" href="{{$shortcut_icon}}" />
18 <link rel="apple-touch-icon" href="{{$touch_icon}}"/>
20 <meta name="apple-mobile-web-app-capable" content="yes" />
24 href="{{$baseurl}}/opensearch"
25 type="application/opensearchdescription+xml"
26 title="Search in Friendica" />
29 <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
31 <script type="text/javascript" src="js/modernizr.js" ></script>
32 <script type="text/javascript" src="js/jquery.js" ></script>
33 <!-- <script type="text/javascript" src="js/jquery-migrate.js" ></script>-->
34 <script type="text/javascript" src="js/jquery-migrate.js" ></script>
35 <script type="text/javascript" src="js/jquery.textinputs.js" ></script>
36 <script type="text/javascript" src="js/fk.autocomplete.js" ></script>
37 <script type="text/javascript" src="library/colorbox/jquery.colorbox-min.js"></script>
38 <script type="text/javascript" src="library/jgrowl/jquery.jgrowl_minimized.js"></script>
39 <script type="text/javascript" src="library/datetimepicker/jquery.datetimepicker.js"></script>
40 <script type="text/javascript" src="library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
41 <script type="text/javascript" src="library/perfect-scrollbar/perfect-scrollbar.jquery.js" ></script>
42 <script type="text/javascript" src="js/acl.js" ></script>
43 <script type="text/javascript" src="js/webtoolkit.base64.js" ></script>
44 <script type="text/javascript" src="js/main.js" ></script>
47 var updateInterval = {{$update_interval}};
48 var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
50 function confirmDelete() { return confirm("{{$delitem}}"); }
51 function commentExpand(id) {
52 $("#comment-edit-text-" + id).value = '';
53 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
54 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
55 $("#comment-edit-text-" + id).focus();
56 $("#mod-cmnt-wrap-" + id).show();
57 openMenu("comment-edit-submit-wrapper-" + id);
60 function commentOpen(obj,id) {
61 if(obj.value == '{{$comment}}') {
63 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
64 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
65 $("#mod-cmnt-wrap-" + id).show();
66 openMenu("comment-edit-submit-wrapper-" + id);
71 function commentClose(obj,id) {
73 obj.value = '{{$comment}}';
74 $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
75 $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
76 $("#mod-cmnt-wrap-" + id).hide();
77 closeMenu("comment-edit-submit-wrapper-" + id);
84 function commentInsert(obj,id) {
85 var tmpStr = $("#comment-edit-text-" + id).val();
86 if(tmpStr == '{{$comment}}') {
88 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
89 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
90 openMenu("comment-edit-submit-wrapper-" + id);
92 var ins = $(obj).html();
93 ins = ins.replace('<','<');
94 ins = ins.replace('>','>');
95 ins = ins.replace('&','&');
96 ins = ins.replace('"','"');
97 $("#comment-edit-text-" + id).val(tmpStr + ins);
100 function qCommentInsert(obj,id) {
101 var tmpStr = $("#comment-edit-text-" + id).val();
102 if(tmpStr == '{{$comment}}') {
104 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
105 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
106 openMenu("comment-edit-submit-wrapper-" + id);
108 var ins = $(obj).val();
109 ins = ins.replace('<','<');
110 ins = ins.replace('>','>');
111 ins = ins.replace('&','&');
112 ins = ins.replace('"','"');
113 $("#comment-edit-text-" + id).val(tmpStr + ins);
117 window.showMore = "{{$showmore}}";
118 window.showFewer = "{{$showfewer}}";
120 function showHideCommentBox(id) {
121 if( $('#comment-edit-form-' + id).is(':visible')) {
122 $('#comment-edit-form-' + id).hide();
125 $('#comment-edit-form-' + id).show();