friendica/view/head.tpl

101 lines
3.8 KiB
Smarty
Raw Normal View History

2011-03-11 14:12:32 -05:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
2011-05-10 05:18:39 -04:00
<base href="$baseurl/" />
2011-03-11 14:12:32 -05:00
<meta name="generator" content="$generator" />
<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
2011-09-05 05:15:30 -04:00
<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
<meta name="viewport" content="width=800, initial-scale=1, maximum-scale=3">
2012-03-21 03:35:33 -04:00
<link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
2011-04-08 04:40:04 -04:00
<link rel="search"
href="$baseurl/opensearch"
type="application/opensearchdescription+xml"
title="Search in Friendica" />
2011-03-11 14:12:32 -05:00
<!--[if IE]>
2012-02-27 02:54:04 -05:00
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
2011-03-11 14:12:32 -05:00
<![endif]-->
2011-09-05 05:15:30 -04:00
<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
<script type="text/javascript" src="$baseurl/js/fk.autocomplete.js" ></script>
<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
2011-09-05 05:15:30 -04:00
<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>
<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
2011-07-19 10:17:58 -04:00
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
2011-09-05 05:15:30 -04:00
<script type="text/javascript" src="$baseurl/js/acl.js" ></script>
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script>
2011-09-05 05:15:30 -04:00
<script type="text/javascript" src="$baseurl/js/main.js" ></script>
2011-03-11 14:12:32 -05:00
<script>
var updateInterval = $update_interval;
2011-03-29 18:27:14 -04:00
function confirmDelete() { return confirm("$delitem"); }
2011-03-11 14:12:32 -05:00
function commentOpen(obj,id) {
2011-03-29 18:27:14 -04:00
if(obj.value == '$comment') {
2011-03-11 14:12:32 -05:00
obj.value = '';
2012-03-21 09:48:04 -04:00
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
2011-03-11 14:12:32 -05:00
openMenu("comment-edit-submit-wrapper-" + id);
}
}
function commentClose(obj,id) {
if(obj.value == '') {
2011-03-29 18:27:14 -04:00
obj.value = '$comment';
2012-03-21 09:48:04 -04:00
$("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
$("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
2011-03-11 14:12:32 -05:00
closeMenu("comment-edit-submit-wrapper-" + id);
}
}
function commentInsert(obj,id) {
var tmpStr = $("#comment-edit-text-" + id).val();
if(tmpStr == '$comment') {
tmpStr = '';
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
openMenu("comment-edit-submit-wrapper-" + id);
}
2012-02-15 21:13:41 -05:00
var ins = $(obj).html();
ins = ins.replace('&lt;','<');
ins = ins.replace('&gt;','>');
ins = ins.replace('&amp;','&');
ins = ins.replace('&quot;','"');
$("#comment-edit-text-" + id).val(tmpStr + ins);
}
2012-03-26 23:13:03 -04:00
function qCommentInsert(obj,id) {
var tmpStr = $("#comment-edit-text-" + id).val();
if(tmpStr == '$comment') {
tmpStr = '';
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
openMenu("comment-edit-submit-wrapper-" + id);
}
var ins = $(obj).val();
ins = ins.replace('&lt;','<');
ins = ins.replace('&gt;','>');
ins = ins.replace('&amp;','&');
ins = ins.replace('&quot;','"');
$("#comment-edit-text-" + id).val(tmpStr + ins);
2012-04-27 00:53:40 -04:00
$(obj).val('');
2012-03-26 23:13:03 -04:00
}
2011-11-22 19:00:05 -05:00
function showHideComments(id) {
if( $('#collapsed-comments-' + id).is(':visible')) {
$('#collapsed-comments-' + id).hide();
$('#hide-comments-' + id).html('$showmore');
}
else {
$('#collapsed-comments-' + id).show();
$('#hide-comments-' + id).html('$showfewer');
}
}
2011-03-11 14:12:32 -05:00
</script>
2011-03-29 18:27:14 -04:00