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="library/jquery-textcomplete/jquery.textcomplete.min.js" ></script>
37 <script type="text/javascript" src="js/autocomplete.js" ></script>
38 <script type="text/javascript" src="library/colorbox/jquery.colorbox-min.js"></script>
39 <script type="text/javascript" src="library/jgrowl/jquery.jgrowl_minimized.js"></script>
40 <script type="text/javascript" src="library/datetimepicker/jquery.datetimepicker.js"></script>
41 <script type="text/javascript" src="library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
42 <script type="text/javascript" src="library/perfect-scrollbar/perfect-scrollbar.jquery.js" ></script>
43 <script type="text/javascript" src="js/acl.js" ></script>
44 <script type="text/javascript" src="js/webtoolkit.base64.js" ></script>
45 <script type="text/javascript" src="js/main.js" ></script>
48 var updateInterval = {{$update_interval}};
49 var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
51 function confirmDelete() { return confirm("{{$delitem}}"); }
52 function commentExpand(id) {
53 $("#comment-edit-text-" + id).value = '';
54 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
55 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
56 $("#comment-edit-text-" + id).focus();
57 $("#mod-cmnt-wrap-" + id).show();
58 openMenu("comment-edit-submit-wrapper-" + id);
61 function commentOpen(obj,id) {
62 if(obj.value == '{{$comment}}') {
64 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
65 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
66 $("#mod-cmnt-wrap-" + id).show();
67 openMenu("comment-edit-submit-wrapper-" + id);
72 function commentClose(obj,id) {
74 obj.value = '{{$comment}}';
75 $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
76 $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
77 $("#mod-cmnt-wrap-" + id).hide();
78 closeMenu("comment-edit-submit-wrapper-" + id);
85 function commentInsert(obj,id) {
86 var tmpStr = $("#comment-edit-text-" + id).val();
87 if(tmpStr == '{{$comment}}') {
89 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
90 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
91 openMenu("comment-edit-submit-wrapper-" + id);
93 var ins = $(obj).html();
94 ins = ins.replace('<','<');
95 ins = ins.replace('>','>');
96 ins = ins.replace('&','&');
97 ins = ins.replace('"','"');
98 $("#comment-edit-text-" + id).val(tmpStr + ins);
101 function qCommentInsert(obj,id) {
102 var tmpStr = $("#comment-edit-text-" + id).val();
103 if(tmpStr == '{{$comment}}') {
105 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
106 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
107 openMenu("comment-edit-submit-wrapper-" + id);
109 var ins = $(obj).val();
110 ins = ins.replace('<','<');
111 ins = ins.replace('>','>');
112 ins = ins.replace('&','&');
113 ins = ins.replace('"','"');
114 $("#comment-edit-text-" + id).val(tmpStr + ins);
118 window.showMore = "{{$showmore}}";
119 window.showFewer = "{{$showfewer}}";
121 function showHideCommentBox(id) {
122 if( $('#comment-edit-form-' + id).is(':visible')) {
123 $('#comment-edit-form-' + id).hide();
126 $('#comment-edit-form-' + id).show();