2 * AUTOMATICALLY GENERATED TEMPLATE
3 * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 <base href="{{$baseurl}}/" />
8 <meta name="generator" content="{{$generator}}" />
9 <link rel="stylesheet" href="{{$baseurl}}/view/global.css" type="text/css" media="all" />
10 {{*<!--<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox.css" type="text/css" media="screen" />-->*}}
11 <link rel="stylesheet" href="{{$baseurl}}/library/colorbox/colorbox.css" type="text/css" media="screen" />
12 <link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
14 <link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
17 <link rel="shortcut icon" href="{{$baseurl}}/images/friendica-32.png" />
18 <link rel="apple-touch-icon" href="{{$baseurl}}/images/friendica-128.png"/>
20 <link rel="shortcut icon" href="{{$shortcut_icon}}" />
21 <link rel="apple-touch-icon" href="{{$touch_icon}}"/>
23 <meta name="apple-mobile-web-app-capable" content="yes" />
27 href="{{$baseurl}}/opensearch"
28 type="application/opensearchdescription+xml"
29 title="Search in Friendica" />
32 <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
34 <script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
35 <script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
36 <script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
37 {{*<!--<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox.pack.js"></script>-->*}}
38 <script type="text/javascript" src="{{$baseurl}}/library/colorbox/jquery.colorbox-min.js"></script>
39 <script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
40 <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
41 <script type="text/javascript" src="{{$baseurl}}/js/acl.js" ></script>
42 <script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.js" ></script>
43 <script type="text/javascript" src="{{$baseurl}}/js/main.js" ></script>
46 var updateInterval = {{$update_interval}};
47 var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
49 function confirmDelete() { return confirm("{{$delitem}}"); }
50 function commentExpand(id) {
51 $("#comment-edit-text-" + id).value = '';
52 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
53 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
54 $("#comment-edit-text-" + id).focus();
55 $("#mod-cmnt-wrap-" + id).show();
56 openMenu("comment-edit-submit-wrapper-" + id);
59 function commentOpen(obj,id) {
60 if(obj.value == '{{$comment}}') {
62 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
63 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
64 $("#mod-cmnt-wrap-" + id).show();
65 openMenu("comment-edit-submit-wrapper-" + id);
70 function commentClose(obj,id) {
72 obj.value = '{{$comment}}';
73 $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
74 $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
75 $("#mod-cmnt-wrap-" + id).hide();
76 closeMenu("comment-edit-submit-wrapper-" + id);
83 function commentInsert(obj,id) {
84 var tmpStr = $("#comment-edit-text-" + id).val();
85 if(tmpStr == '{{$comment}}') {
87 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
88 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
89 openMenu("comment-edit-submit-wrapper-" + id);
91 var ins = $(obj).html();
92 ins = ins.replace('<','<');
93 ins = ins.replace('>','>');
94 ins = ins.replace('&','&');
95 ins = ins.replace('"','"');
96 $("#comment-edit-text-" + id).val(tmpStr + ins);
99 function qCommentInsert(obj,id) {
100 var tmpStr = $("#comment-edit-text-" + id).val();
101 if(tmpStr == '{{$comment}}') {
103 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
104 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
105 openMenu("comment-edit-submit-wrapper-" + id);
107 var ins = $(obj).val();
108 ins = ins.replace('<','<');
109 ins = ins.replace('>','>');
110 ins = ins.replace('&','&');
111 ins = ins.replace('"','"');
112 $("#comment-edit-text-" + id).val(tmpStr + ins);
116 window.showMore = "{{$showmore}}";
117 window.showFewer = "{{$showfewer}}";
119 function showHideCommentBox(id) {
120 if( $('#comment-edit-form-' + id).is(':visible')) {
121 $('#comment-edit-form-' + id).hide();
124 $('#comment-edit-form-' + id).show();