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" />
16 <link rel="shortcut icon" href="{{$baseurl}}/images/friendica-32.png" />
18 <link rel="apple-touch-icon" href="{{$baseurl}}/images/friendica-128.png"/>
19 <meta name="apple-mobile-web-app-capable" content="yes" />
23 href="{{$baseurl}}/opensearch"
24 type="application/opensearchdescription+xml"
25 title="Search in Friendica" />
28 <script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
30 <script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
31 <script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
32 <script type="text/javascript" src="{{$baseurl}}/js/fk.autocomplete.js" ></script>
33 {{*<!--<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox.pack.js"></script>-->*}}
34 <script type="text/javascript" src="{{$baseurl}}/library/colorbox/jquery.colorbox-min.js"></script>
35 <script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
36 <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
37 <script type="text/javascript" src="{{$baseurl}}/js/acl.js" ></script>
38 <script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.js" ></script>
39 <script type="text/javascript" src="{{$baseurl}}/js/main.js" ></script>
42 var updateInterval = {{$update_interval}};
43 var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
45 function confirmDelete() { return confirm("{{$delitem}}"); }
46 function commentExpand(id) {
47 $("#comment-edit-text-" + id).value = '';
48 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
49 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
50 $("#mod-cmnt-wrap-" + id).show();
51 openMenu("comment-edit-submit-wrapper-" + id);
54 function commentOpen(obj,id) {
55 if(obj.value == '{{$comment}}') {
57 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
58 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
59 $("#mod-cmnt-wrap-" + id).show();
60 openMenu("comment-edit-submit-wrapper-" + id);
65 function commentClose(obj,id) {
67 obj.value = '{{$comment}}';
68 $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
69 $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
70 $("#mod-cmnt-wrap-" + id).hide();
71 closeMenu("comment-edit-submit-wrapper-" + id);
78 function commentInsert(obj,id) {
79 var tmpStr = $("#comment-edit-text-" + id).val();
80 if(tmpStr == '{{$comment}}') {
82 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
83 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
84 openMenu("comment-edit-submit-wrapper-" + id);
86 var ins = $(obj).html();
87 ins = ins.replace('<','<');
88 ins = ins.replace('>','>');
89 ins = ins.replace('&','&');
90 ins = ins.replace('"','"');
91 $("#comment-edit-text-" + id).val(tmpStr + ins);
94 function qCommentInsert(obj,id) {
95 var tmpStr = $("#comment-edit-text-" + id).val();
96 if(tmpStr == '{{$comment}}') {
98 $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
99 $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
100 openMenu("comment-edit-submit-wrapper-" + id);
102 var ins = $(obj).val();
103 ins = ins.replace('<','<');
104 ins = ins.replace('>','>');
105 ins = ins.replace('&','&');
106 ins = ins.replace('"','"');
107 $("#comment-edit-text-" + id).val(tmpStr + ins);
111 window.showMore = "{{$showmore}}";
112 window.showFewer = "{{$showfewer}}";
114 function showHideCommentBox(id) {
115 if( $('#comment-edit-form-' + id).is(':visible')) {
116 $('#comment-edit-form-' + id).hide();
119 $('#comment-edit-form-' + id).show();