Merge pull request #119 from simonlnu/master
preliminary dispy-dark theme. WIP! did i say "WIP!"? yes, i did. WIP!
35
view/theme/dispy-dark/comment_item.tpl
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
|
||||||
|
<form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||||
|
<input type="hidden" name="type" value="$type" />
|
||||||
|
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||||
|
<input type="hidden" name="parent" value="$parent" />
|
||||||
|
<input type="hidden" name="return" value="$return_path" />
|
||||||
|
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||||
|
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||||
|
|
||||||
|
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
|
||||||
|
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||||
|
</div>
|
||||||
|
<div class="comment-edit-photo-end"></div>
|
||||||
|
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
|
||||||
|
|
||||||
|
{{ if $qcomment }}
|
||||||
|
<ul class="qcomment-wrapper">
|
||||||
|
{{ for $qcomment as $qc }}
|
||||||
|
<li class="fakelink qcomment"
|
||||||
|
onclick="commentInsert(this,$id); return false;">$qc</li>
|
||||||
|
{{ endfor }}
|
||||||
|
</ul>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
<div class="comment-edit-text-end"></div>
|
||||||
|
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;">
|
||||||
|
<input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
|
||||||
|
<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="fakelink">$preview</span>
|
||||||
|
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="comment-edit-end"></div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
BIN
view/theme/dispy-dark/connect.png
Normal file
After Width: | Height: | Size: 443 B |
28
view/theme/dispy-dark/contact_template.tpl
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
|
||||||
|
<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
|
||||||
|
<div class="contact-entry-photo-wrapper">
|
||||||
|
<div class="contact-entry-photo mframe" id="contact-entry-photo-$contact.id"
|
||||||
|
onmouseover="if (typeof t$contact.id != 'undefined') clearTimeout(t$contact.id); openMenu('contact-photo-menu-button-$contact.id')"
|
||||||
|
onmouseout="t$contact.id=setTimeout('closeMenu(\'contact-photo-menu-button-$contact.id\'); closeMenu(\'contact-photo-menu-$contact.id\');',200)">
|
||||||
|
|
||||||
|
<a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>
|
||||||
|
|
||||||
|
{{ if $contact.photo_menu }}
|
||||||
|
<span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
|
||||||
|
<div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
|
||||||
|
<ul>
|
||||||
|
$contact.photo_menu
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="contact-entry-photo-end" ></div>
|
||||||
|
<div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div>
|
||||||
|
<div class="contact-entry-details" id="contact-entry-url-$contact.id" >
|
||||||
|
<a href="$contact.itemurl" title="$contact.itemurl">Profile URL</a></div>
|
||||||
|
<div class="contact-entry-details" id="contact-entry-network-$contact.id" >$contact.network</div>
|
||||||
|
|
||||||
|
<div class="contact-entry-end" ></div>
|
||||||
|
</div>
|
23
view/theme/dispy-dark/conversation.tpl
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{{ for $threads as $thread }}
|
||||||
|
<div id="tread-wrapper-$thread.id" class="tread-wrapper">
|
||||||
|
{{ for $thread.items as $item }}
|
||||||
|
{{if $item.comment_firstcollapsed}}
|
||||||
|
<div class="hide-comments-outer">
|
||||||
|
<span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
|
||||||
|
</div>
|
||||||
|
<div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
|
||||||
|
{{endif}}
|
||||||
|
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||||
|
|
||||||
|
{{ inc $item.template }}{{ endinc }}
|
||||||
|
|
||||||
|
|
||||||
|
{{ endfor }}
|
||||||
|
</div>
|
||||||
|
{{ endfor }}
|
||||||
|
|
||||||
|
{{ if $dropping }}
|
||||||
|
<div class="delete-checked">
|
||||||
|
<a href="#" onclick="deleteCheckedItems();return false;"><span class="icon delete"></span><span class="s22 text">$dropping</span></a>
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
0
view/theme/dispy-dark/experimental
Normal file
30
view/theme/dispy-dark/group_side.tpl
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<div class="widget" id="group-sidebar">
|
||||||
|
<h3>$title</h3>
|
||||||
|
|
||||||
|
<div id="sidebar-group-list">
|
||||||
|
<ul id="sidebar-group-ul">
|
||||||
|
{{ for $groups as $group }}
|
||||||
|
<li class="sidebar-group-li">
|
||||||
|
<a href="$group.href" class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}">$group.text</a>
|
||||||
|
{{ if $group.edit }}
|
||||||
|
<a
|
||||||
|
class="groupsideedit"
|
||||||
|
href="$group.edit.href" title="$edittext"><span class="icon small-pencil"></span></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $group.cid }}
|
||||||
|
<input type="checkbox"
|
||||||
|
class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action"
|
||||||
|
onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"
|
||||||
|
{{ if $group.ismember }}checked="checked"{{ endif }}
|
||||||
|
/>
|
||||||
|
{{ endif }}
|
||||||
|
</li>
|
||||||
|
{{ endfor }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="sidebar-new-group">
|
||||||
|
<a href="group/new" title="$createtext"><span class="action text add">$createtext</span></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
99
view/theme/dispy-dark/head.tpl
Normal file
|
@ -0,0 +1,99 @@
|
||||||
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
|
<base href="$baseurl/" />
|
||||||
|
<meta name="generator" content="$generator" />
|
||||||
|
<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
||||||
|
<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" />
|
||||||
|
|
||||||
|
<link rel="shortcut icon" href="$baseurl/images/friendika-32.png" />
|
||||||
|
<link rel="search"
|
||||||
|
href="$baseurl/opensearch"
|
||||||
|
type="application/opensearchdescription+xml"
|
||||||
|
title="Search in Friendica" />
|
||||||
|
|
||||||
|
<!--[if IE]>
|
||||||
|
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
<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>
|
||||||
|
<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>
|
||||||
|
<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
|
||||||
|
<script type="text/javascript" src="$baseurl/js/acl.js" ></script>
|
||||||
|
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script>
|
||||||
|
<script type="text/javascript" src="$baseurl/js/main.js" ></script>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
var updateInterval = $update_interval;
|
||||||
|
|
||||||
|
function confirmDelete() { return confirm("$delitem"); }
|
||||||
|
function commentOpen(obj,id) {
|
||||||
|
if(obj.value == '$comment') {
|
||||||
|
obj.value = '';
|
||||||
|
obj.className = "comment-edit-text-full";
|
||||||
|
openMenu("comment-edit-submit-wrapper-" + id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function commentClose(obj,id) {
|
||||||
|
if(obj.value == '') {
|
||||||
|
obj.value = '$comment';
|
||||||
|
obj.className="comment-edit-text-empty";
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
var ins = $(obj).html();
|
||||||
|
ins = ins.replace('<','<');
|
||||||
|
ins = ins.replace('>','>');
|
||||||
|
ins = ins.replace('&','&');
|
||||||
|
ins = ins.replace('"','"');
|
||||||
|
$("#comment-edit-text-" + id).val(tmpStr + ins);
|
||||||
|
}
|
||||||
|
|
||||||
|
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');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
function toggleToolbar() {
|
||||||
|
if ( $('#nav-floater').is(':visible') ) {
|
||||||
|
$('#nav-floater').slideUp('fast');
|
||||||
|
$('.floaterflip').css({
|
||||||
|
backgroundPosition: '-210px -60px'
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
$('#nav-floater').slideDown('fast');
|
||||||
|
$('.floaterflip').css({
|
||||||
|
backgroundPosition: '-190px -60px'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
$('.floaterflip').click(function() {
|
||||||
|
toggleToolbar();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
BIN
view/theme/dispy-dark/icons.png
Normal file
After Width: | Height: | Size: 28 KiB |
2096
view/theme/dispy-dark/icons.svg
Normal file
After Width: | Height: | Size: 117 KiB |
312
view/theme/dispy-dark/jot-header.tpl
Normal file
|
@ -0,0 +1,312 @@
|
||||||
|
<script type="text/javascript">
|
||||||
|
var editor = false;
|
||||||
|
var textlen = 0;
|
||||||
|
var plaintext = '$editselect';
|
||||||
|
|
||||||
|
function initEditor(cb) {
|
||||||
|
if (editor==false) {
|
||||||
|
$("#profile-jot-text-loading").show();
|
||||||
|
if(plaintext == 'none') {
|
||||||
|
$("#profile-jot-text-loading").hide();
|
||||||
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||||
|
editor = true;
|
||||||
|
$("a#jot-perms-icon").fancybox({
|
||||||
|
'transitionIn' : 'elastic',
|
||||||
|
'transitionOut' : 'elastic'
|
||||||
|
});
|
||||||
|
$(".jothidden").show();
|
||||||
|
if (typeof cb!="undefined") cb();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
tinyMCE.init({
|
||||||
|
theme : "advanced",
|
||||||
|
mode : "specific_textareas",
|
||||||
|
editor_selector: $editselect,
|
||||||
|
auto_focus: "profile-jot-text",
|
||||||
|
plugins : "bbcode,paste,fullscreen,autoresize",
|
||||||
|
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
|
||||||
|
theme_advanced_buttons2 : "",
|
||||||
|
theme_advanced_buttons3 : "",
|
||||||
|
theme_advanced_toolbar_location : "top",
|
||||||
|
theme_advanced_toolbar_align : "center",
|
||||||
|
theme_advanced_blockformats : "blockquote,code",
|
||||||
|
paste_text_sticky : true,
|
||||||
|
entity_encoding : "raw",
|
||||||
|
add_unload_trigger : false,
|
||||||
|
remove_linebreaks : false,
|
||||||
|
force_p_newlines : false,
|
||||||
|
force_br_newlines : true,
|
||||||
|
forced_root_block : '',
|
||||||
|
convert_urls: false,
|
||||||
|
content_css: "$baseurl/view/custom_tinymce.css",
|
||||||
|
theme_advanced_path : false,
|
||||||
|
setup : function(ed) {
|
||||||
|
cPopup = null;
|
||||||
|
ed.onKeyDown.add(function(ed,e) {
|
||||||
|
if(cPopup !== null)
|
||||||
|
cPopup.onkey(e);
|
||||||
|
});
|
||||||
|
|
||||||
|
ed.onKeyUp.add(function(ed, e) {
|
||||||
|
var txt = tinyMCE.activeEditor.getContent();
|
||||||
|
match = txt.match(/@([^ \n]+)$/);
|
||||||
|
if(match!==null) {
|
||||||
|
if(cPopup === null) {
|
||||||
|
cPopup = new ACPopup(this,baseurl+"/acl");
|
||||||
|
}
|
||||||
|
if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
|
||||||
|
if(! cPopup.ready) cPopup = null;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if(cPopup !== null) { cPopup.close(); cPopup = null; }
|
||||||
|
}
|
||||||
|
|
||||||
|
textlen = txt.length;
|
||||||
|
if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
|
||||||
|
$('#profile-jot-desc').html(ispublic);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$('#profile-jot-desc').html(' ');
|
||||||
|
}
|
||||||
|
|
||||||
|
//Character count
|
||||||
|
|
||||||
|
if(textlen <= 140) {
|
||||||
|
$('#character-counter').removeClass('red');
|
||||||
|
$('#character-counter').removeClass('orange');
|
||||||
|
$('#character-counter').addClass('grey');
|
||||||
|
}
|
||||||
|
if((textlen > 140) && (textlen <= 420)) {
|
||||||
|
$('#character-counter').removeClass('grey');
|
||||||
|
$('#character-counter').removeClass('red');
|
||||||
|
$('#character-counter').addClass('orange');
|
||||||
|
}
|
||||||
|
if(textlen > 420) {
|
||||||
|
$('#character-counter').removeClass('grey');
|
||||||
|
$('#character-counter').removeClass('orange');
|
||||||
|
$('#character-counter').addClass('red');
|
||||||
|
}
|
||||||
|
$('#character-counter').text(textlen);
|
||||||
|
});
|
||||||
|
|
||||||
|
ed.onInit.add(function(ed) {
|
||||||
|
ed.pasteAsPlainText = true;
|
||||||
|
$("#profile-jot-text-loading").hide();
|
||||||
|
$(".jothidden").show();
|
||||||
|
if (typeof cb!="undefined") cb();
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
editor = true;
|
||||||
|
// setup acl popup
|
||||||
|
$("a#jot-perms-icon").fancybox({
|
||||||
|
'transitionIn' : 'elastic',
|
||||||
|
'transitionOut' : 'elastic'
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
if (typeof cb!="undefined") cb();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function enableOnUser(){
|
||||||
|
if (editor) return;
|
||||||
|
$(this).val("");
|
||||||
|
initEditor();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="$baseurl/js/ajaxupload.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var ispublic = '$ispublic';
|
||||||
|
var addtitle = '$addtitle';
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
/* enable tinymce on focus and click */
|
||||||
|
$("#profile-jot-text").focus(enableOnUser);
|
||||||
|
$("#profile-jot-text").click(enableOnUser);
|
||||||
|
/* enable character counter */
|
||||||
|
$("#profile-jot-text").focus(charCounter);
|
||||||
|
$("#profile-jot-text").click(charCounter);
|
||||||
|
|
||||||
|
var uploader = new window.AjaxUpload(
|
||||||
|
'wall-image-upload',
|
||||||
|
{ action: 'wall_upload/$nickname',
|
||||||
|
name: 'userfile',
|
||||||
|
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||||
|
onComplete: function(file,response) {
|
||||||
|
addeditortext(response);
|
||||||
|
$('#profile-rotator').hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
var file_uploader = new window.AjaxUpload(
|
||||||
|
'wall-file-upload',
|
||||||
|
{ action: 'wall_attach/$nickname',
|
||||||
|
name: 'userfile',
|
||||||
|
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||||
|
onComplete: function(file,response) {
|
||||||
|
addeditortext(response);
|
||||||
|
$('#profile-rotator').hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
function deleteCheckedItems() {
|
||||||
|
var checkedstr = '';
|
||||||
|
|
||||||
|
$('.item-select').each( function() {
|
||||||
|
if($(this).is(':checked')) {
|
||||||
|
if(checkedstr.length != 0) {
|
||||||
|
checkedstr = checkedstr + ',' + $(this).val();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
checkedstr = $(this).val();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$.post('item', { dropitems: checkedstr }, function(data) {
|
||||||
|
window.location.reload();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function jotGetLink() {
|
||||||
|
reply = prompt("$linkurl");
|
||||||
|
if(reply && reply.length) {
|
||||||
|
reply = bin2hex(reply);
|
||||||
|
$('#profile-rotator').show();
|
||||||
|
$.get('parse_url?binurl=' + reply, function(data) {
|
||||||
|
addeditortext(data);
|
||||||
|
$('#profile-rotator').hide();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function jotVideoURL() {
|
||||||
|
reply = prompt("$vidurl");
|
||||||
|
if(reply && reply.length) {
|
||||||
|
addeditortext('[video]' + reply + '[/video]');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function jotAudioURL() {
|
||||||
|
reply = prompt("$audurl");
|
||||||
|
if(reply && reply.length) {
|
||||||
|
addeditortext('[audio]' + reply + '[/audio]');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function jotGetLocation() {
|
||||||
|
reply = prompt("$whereareu", $('#jot-location').val());
|
||||||
|
if(reply && reply.length) {
|
||||||
|
$('#jot-location').val(reply);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function jotShare(id) {
|
||||||
|
if ($('#jot-popup').length != 0) $('#jot-popup').show();
|
||||||
|
|
||||||
|
$('#like-rotator-' + id).show();
|
||||||
|
$.get('share/' + id, function(data) {
|
||||||
|
if (!editor) $("#profile-jot-text").val("");
|
||||||
|
initEditor(function(){
|
||||||
|
addeditortext(data);
|
||||||
|
$('#like-rotator-' + id).hide();
|
||||||
|
$(window).scrollTop(0);
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function linkdropper(event) {
|
||||||
|
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||||
|
if(linkFound)
|
||||||
|
event.preventDefault();
|
||||||
|
}
|
||||||
|
|
||||||
|
function linkdrop(event) {
|
||||||
|
var reply = event.dataTransfer.getData("text/uri-list");
|
||||||
|
event.target.textContent = reply;
|
||||||
|
event.preventDefault();
|
||||||
|
if(reply && reply.length) {
|
||||||
|
reply = bin2hex(reply);
|
||||||
|
$('#profile-rotator').show();
|
||||||
|
$.get('parse_url?binurl=' + reply, function(data) {
|
||||||
|
if (!editor) $("#profile-jot-text").val("");
|
||||||
|
initEditor(function(){
|
||||||
|
addeditortext(data);
|
||||||
|
$('#profile-rotator').hide();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function itemTag(id) {
|
||||||
|
reply = prompt("$term");
|
||||||
|
if(reply && reply.length) {
|
||||||
|
reply = reply.replace('#','');
|
||||||
|
if(reply.length) {
|
||||||
|
|
||||||
|
commentBusy = true;
|
||||||
|
$('body').css('cursor', 'wait');
|
||||||
|
|
||||||
|
$.get('tagger/' + id + '?term=' + reply);
|
||||||
|
if(timer) clearTimeout(timer);
|
||||||
|
timer = setTimeout(NavUpdate,3000);
|
||||||
|
liking = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function jotClearLocation() {
|
||||||
|
$('#jot-coord').val('');
|
||||||
|
$('#profile-nolocation-wrapper').hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
function addeditortext(data) {
|
||||||
|
if(plaintext == 'none') {
|
||||||
|
var currentText = $("#profile-jot-text").val();
|
||||||
|
$("#profile-jot-text").val(currentText + data);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||||
|
}
|
||||||
|
|
||||||
|
$geotag
|
||||||
|
|
||||||
|
function charCounter() {
|
||||||
|
// character count part deux
|
||||||
|
//$(this).val().length is not a function Line 282(3)
|
||||||
|
$('#profile-jot-text').keyup(function() {
|
||||||
|
var textlen = 0;
|
||||||
|
var maxLen1 = 140;
|
||||||
|
var maxLen2 = 420;
|
||||||
|
|
||||||
|
$('#character-counter').removeClass('jothidden');
|
||||||
|
|
||||||
|
textLen = $(this).val().length;
|
||||||
|
if(textLen <= maxLen1) {
|
||||||
|
$('#character-counter').removeClass('red');
|
||||||
|
$('#character-counter').removeClass('orange');
|
||||||
|
$('#character-counter').addClass('grey');
|
||||||
|
}
|
||||||
|
if((textLen > maxLen1) && (textlen <= maxLen2)) {
|
||||||
|
$('#character-counter').removeClass('grey');
|
||||||
|
$('#character-counter').removeClass('red');
|
||||||
|
$('#character-counter').addClass('orange');
|
||||||
|
}
|
||||||
|
if(textLen > maxLen2) {
|
||||||
|
$('#character-counter').removeClass('grey');
|
||||||
|
$('#character-counter').removeClass('orange');
|
||||||
|
$('#character-counter').addClass('red');
|
||||||
|
}
|
||||||
|
$('#character-counter').text( textLen );
|
||||||
|
});
|
||||||
|
$('#profile-jot-text').keyup();
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
72
view/theme/dispy-dark/jot.tpl
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
<form id="profile-jot-form" action="$action" method="post">
|
||||||
|
<div id="jot">
|
||||||
|
<div id="profile-jot-desc" class="jothidden"> </div>
|
||||||
|
<input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none" />
|
||||||
|
<div id="character-counter" class="grey jothidden"></div>
|
||||||
|
|
||||||
|
<input type="hidden" name="type" value="$ptyp" />
|
||||||
|
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||||
|
<input type="hidden" name="return" value="$return_path" />
|
||||||
|
<input type="hidden" name="location" id="jot-location" value="$defloc" />
|
||||||
|
<input type="hidden" name="coord" id="jot-coord" value="" />
|
||||||
|
<input type="hidden" name="post_id" value="$post_id" />
|
||||||
|
<input type="hidden" name="preview" id="jot-preview" value="0" />
|
||||||
|
|
||||||
|
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body">{{ if $content }}$content{{ else }}$share{{ endif }}
|
||||||
|
</textarea>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="jot-tools" class="jothidden" style="display:none">
|
||||||
|
<div id="profile-jot-submit-wrapper" class="jothidden">
|
||||||
|
|
||||||
|
<div id="profile-upload-wrapper" style="display: $visitor;">
|
||||||
|
<div id="wall-image-upload-div"><a class="icon border camera" href="#" onclick="return false;" id="wall-image-upload" title="$upload"></a></div>
|
||||||
|
</div>
|
||||||
|
<div id="profile-attach-wrapper" style="display: $visitor;">
|
||||||
|
<div id="wall-file-upload-div"><a class="icon border attach" href="#" onclick="return false;" id="wall-file-upload" title="$attach"></a></div>
|
||||||
|
</div>
|
||||||
|
<div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);">
|
||||||
|
<a class="icon border link" id="profile-link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="$weblink"></a>
|
||||||
|
</div>
|
||||||
|
<div id="profile-video-wrapper" style="display: $visitor;">
|
||||||
|
<a class="icon border video" id="profile-video" onclick="jotVideoURL();return false;" title="$video"></a>
|
||||||
|
</div>
|
||||||
|
<div id="profile-audio-wrapper" style="display: $visitor;">
|
||||||
|
<a class="icon border audio" id="profile-audio" onclick="jotAudioURL();return false;" title="$audio"></a>
|
||||||
|
</div>
|
||||||
|
<div id="profile-location-wrapper" style="display: $visitor;">
|
||||||
|
<a class="icon border globe" id="profile-location" onclick="jotGetLocation();return false;" title="$setloc"></a>
|
||||||
|
</div>
|
||||||
|
<div id="profile-nolocation-wrapper" style="display: none;">
|
||||||
|
<a class="icon border noglobe" id="profile-nolocation" onclick="jotClearLocation();return false;" title="$noloc"></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="profile-jot-plugin-wrapper">
|
||||||
|
$jotplugins
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a class="icon-text-preview pointer"></a><a id="jot-preview-link" class="pointer" onclick="preview_post(); return false;" title="$preview">$preview</a>
|
||||||
|
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
|
||||||
|
<div id="profile-jot-perms" class="profile-jot-perms">
|
||||||
|
<a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon $lockstate $bang" title="$permset"></a>
|
||||||
|
</div>
|
||||||
|
<span id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="$wait" title="$wait" /></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- /#profile-jot-submit-wrapper -->
|
||||||
|
</div> <!-- /#jot-tools -->
|
||||||
|
|
||||||
|
<div id="jot-preview-content" style="display:none;"></div>
|
||||||
|
<div style="display: none;">
|
||||||
|
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
|
||||||
|
$acl
|
||||||
|
<hr style="clear:both" />
|
||||||
|
<div id="profile-jot-email-label">$emailcc</div>
|
||||||
|
<input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
|
||||||
|
<div id="profile-jot-email-end"></div>
|
||||||
|
$jotnets
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
{{ if $content }}<script>initEditor();</script>{{ endif }}
|
BIN
view/theme/dispy-dark/login-bg.gif
Normal file
After Width: | Height: | Size: 237 B |
5
view/theme/dispy-dark/mail_head.tpl
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<h3>$messages</h3>
|
||||||
|
|
||||||
|
<div class="tabs-wrapper">
|
||||||
|
$tab_content
|
||||||
|
</div>
|
BIN
view/theme/dispy-dark/menu-user-pin.jpg
Normal file
After Width: | Height: | Size: 385 B |
123
view/theme/dispy-dark/nav.tpl
Normal file
|
@ -0,0 +1,123 @@
|
||||||
|
<nav>
|
||||||
|
$langselector
|
||||||
|
|
||||||
|
<span id="banner">$banner</span>
|
||||||
|
|
||||||
|
<!-- yes, they're going the other way. seems that's how the template renderer
|
||||||
|
works -->
|
||||||
|
|
||||||
|
<div id="nav-floater">
|
||||||
|
<div id="nav-buttons">
|
||||||
|
{{ if $nav.help }}
|
||||||
|
<a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0" title="$nav.help.1">$nav.help.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.community }}
|
||||||
|
<a id="nav-community-link" class="nav-link $nav.community.2"
|
||||||
|
href="$nav.community.0" title="$nav.community.1">$nav.community.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.apps }}
|
||||||
|
<a id="nav-apps-link" class="nav-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.1">$nav.apps.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
<a id="nav-directory-link" class="nav-link $nav.directory.2" href="$nav.directory.0" title="$nav.directory.1">$nav.directory.1</a>
|
||||||
|
<a id="nav-search-link" class="nav-link $nav.search.2" href="$nav.search.0" title="$nav.search.1">$nav.search.1</a>
|
||||||
|
{{ if $nav.messages }}
|
||||||
|
<a id="nav-messages-link" class="nav-link $nav.messages.2"
|
||||||
|
href="$nav.messages.0" title="$nav.messages.1">$nav.messages.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.notifications }}
|
||||||
|
<a id="nav-notifications-linkmenu" class="nav-link $nav.notifications.2" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a>
|
||||||
|
<ul id="nav-notifications-menu" class="menu-popup">
|
||||||
|
<li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
|
||||||
|
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
|
||||||
|
<li class="empty">$emptynotifications</li>
|
||||||
|
</ul>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.network }}
|
||||||
|
<a id="nav-network-link" class="nav-link $nav.network.2"
|
||||||
|
href="$nav.network.0" title="$nav.network.1">$nav.network.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.home }}
|
||||||
|
<a id="nav-home-link" class="nav-link $nav.home.2"
|
||||||
|
href="$nav.home.0" title="$nav.home.1">$nav.home.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.login }}
|
||||||
|
<a id="nav-login-link" class="nav-login-link $nav.login.2"
|
||||||
|
href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="user-menu">
|
||||||
|
<a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="$nav.home.0">$sitelocation</a>
|
||||||
|
<ul id="user-menu-popup"
|
||||||
|
onmouseover="if (typeof tmenu != 'undefined') clearTimeout(tmenu); openMenu('user-menu-popup')"
|
||||||
|
onmouseout="tmenu=setTimeout('closeMenu(\'user-menu-popup\');',200)">
|
||||||
|
|
||||||
|
{{ if $nav.register }}
|
||||||
|
<li>
|
||||||
|
<a id="nav-register-link" class="nav-commlink $nav.register.2" href="$nav.register.0" title="$nav.register.1"></a>
|
||||||
|
</li>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $userinfo }}
|
||||||
|
<ul id="nav-user-menu" class="menu-popup">
|
||||||
|
{{ for $nav.usermenu as $usermenu }}
|
||||||
|
<li><a class="$usermenu.2" href="$usermenu.0" title="$usermenu.3">$usermenu.1</a></li>
|
||||||
|
{{ endfor }}
|
||||||
|
</ul>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $nav.contacts }}
|
||||||
|
<li><a id="nav-contacts-link" class="nav-commlink $nav.contacts.2" href="$nav.contacts.0" title="$nav.contacts.1">$nav.contacts.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.introductions }}
|
||||||
|
<li><a id="nav-intro-link" class="nav-commlink $nav.introductions.2 $sel.introductions" href="$nav.introductions.0" title="$nav.introductions.3" >$nav.introductions.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.profiles }}
|
||||||
|
<li><a id="nav-profiles-link" class="nav-commlink $nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.1">$nav.profiles.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.settings }}
|
||||||
|
<li><a id="nav-settings-link" class="nav-commlink $nav.settings.2" href="$nav.settings.0" title="$nav.settings.1">$nav.settings.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.manage }}
|
||||||
|
<li><a id="nav-manage-link" class="nav-commlink $nav.manage.2" href="$nav.manage.0" title="$nav.manage.1">$nav.manage.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.admin }}
|
||||||
|
<li><a id="nav-admin-link" class="nav-commlink $nav.admin.2" href="$nav.admin.0" title="$nav.admin.1">$nav.admin.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $nav.login }}
|
||||||
|
<li><a id="nav-login-link" class="nav-commlink $nav.login.2" href="$nav.login.0" title="$nav.login.1">$nav.login.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $nav.logout }}
|
||||||
|
<li><a id="nav-logout-link" class="nav-commlink $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="notifications">
|
||||||
|
{{ if $nav.home }}
|
||||||
|
<a id="home-update" class="nav-ajax-left" href="$nav.home.0" title="$nav.home.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.network }}
|
||||||
|
<a id="net-update" class="nav-ajax-left" href="$nav.network.0" title="$nav.network.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.notifications }}
|
||||||
|
<a id="notify-update" class="nav-ajax-left" href="$nav.notifications.0" title="$nav.notifications.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $nav.messages }}
|
||||||
|
<a id="mail-update" class="nav-ajax-left" href="$nav.messages.0" title="$nav.messages.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{if $nav.introductions }}
|
||||||
|
<a id="intro-update" class="nav-ajax-left" href="$nav.introductions.0"></a>
|
||||||
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<a href="#" class="floaterflip"></a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<ul id="nav-notifications-template" style="display:none;" rel="template">
|
||||||
|
<li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
|
||||||
|
</ul>
|
||||||
|
|
10
view/theme/dispy-dark/nets.tpl
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<div id="nets-sidebar" class="widget">
|
||||||
|
<h3>$title</h3>
|
||||||
|
<div id="nets-desc">$desc</div>
|
||||||
|
<a href="$base" class="nets-link{{ if $sel_all }} nets-selected{{ endif }} nets-all">$all</a>
|
||||||
|
<ul class="nets-ul">
|
||||||
|
{{ for $nets as $net }}
|
||||||
|
<li><a href="$base?nets=$net.ref" class="nets-link{{ if $net.selected }} nets-selected{{ endif }}">$net.name</a></li>
|
||||||
|
{{ endfor }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
BIN
view/theme/dispy-dark/next.png
Normal file
After Width: | Height: | Size: 590 B |
BIN
view/theme/dispy-dark/notifications.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
273
view/theme/dispy-dark/notifications.svg
Normal file
|
@ -0,0 +1,273 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
id="svg3486"
|
||||||
|
version="1.1"
|
||||||
|
inkscape:version="0.48+devel r"
|
||||||
|
width="148"
|
||||||
|
height="19"
|
||||||
|
sodipodi:docname="notifications.svg"
|
||||||
|
inkscape:export-filename="/var/www3/kisikew.org/portal/pub/fd/view/theme/dispy-dark/notifications.png"
|
||||||
|
inkscape:export-xdpi="90"
|
||||||
|
inkscape:export-ydpi="90">
|
||||||
|
<metadata
|
||||||
|
id="metadata3492">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs3490" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1041"
|
||||||
|
inkscape:window-height="643"
|
||||||
|
id="namedview3488"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="4.2687885"
|
||||||
|
inkscape:cx="64.235788"
|
||||||
|
inkscape:cy="18.27268"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="48"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg3486"
|
||||||
|
width="0px"
|
||||||
|
height="0px"
|
||||||
|
fit-margin-top="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-bottom="0" />
|
||||||
|
<g
|
||||||
|
id="g4437"
|
||||||
|
transform="translate(0,-44)">
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="ccccc"
|
||||||
|
transform="translate(0,44)"
|
||||||
|
style="fill:#6c99c9"
|
||||||
|
d="M 34.398531,19 30.225818,10.411298 47.864407,1.3368391 57.625819,19.010154 z"
|
||||||
|
id="path3506"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="ccccccccccccccc"
|
||||||
|
transform="translate(0,44)"
|
||||||
|
style="fill:#4e7db5"
|
||||||
|
d="m 45.148088,5.1797115 -9.353484,4.7866764 6.895762,1.5144501 z m -2.0018,7.2466465 -8.105899,-1.97793 3.232895,6.44678 11.074578,-5.648894 -3.366977,-6.4432724 z M 46.4192,3.6690997 50.56253,11.552848 38.044003,18.006578 33.98857,10.057271 z"
|
||||||
|
id="path3502"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g4441"
|
||||||
|
transform="translate(0,-44)">
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="ccccc"
|
||||||
|
transform="translate(0,44)"
|
||||||
|
style="fill:#aa7ca5"
|
||||||
|
d="M 64.398531,19 60.225818,10.411298 77.725,2.013353 87.084493,18.988196 z"
|
||||||
|
id="path3504"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="sssssccccc"
|
||||||
|
transform="translate(-0.88048036,44.641441)"
|
||||||
|
style="fill:#75507b"
|
||||||
|
d="m 75,16 c -0.55,0 -1,-0.45 -1,-1 0,-0.55 0.45,-1 1,-1 0.55,0 1,0.45 1,1 0,0.55 -0.45,1 -1,1 z m -1.441718,-2.172038 c 0,0 -2.448135,-3.9460956 -3.558282,-6.0504682 0,-0.4276216 1.043961,-0.9072067 1.57461,-0.9072067 1.48457,2.2735627 3.276272,6.3043659 3.276272,6.3043659 -0.823179,-0.104873 -0.90154,-0.01483 -1.2926,0.653309 z"
|
||||||
|
id="path3498"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g4453"
|
||||||
|
transform="translate(0,-24)">
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="ccccc"
|
||||||
|
transform="translate(0,24)"
|
||||||
|
style="fill:#f4ac42;fill-opacity:1"
|
||||||
|
d="M 4.3985314,19 0.19544564,10.348783 18,1.8695178 27,19 z"
|
||||||
|
id="path3508"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<g
|
||||||
|
transform="translate(0,-20)"
|
||||||
|
id="g4361">
|
||||||
|
<path
|
||||||
|
sodipodi:type="arc"
|
||||||
|
style="fill:#e98007;fill-opacity:1;stroke:none"
|
||||||
|
id="path274"
|
||||||
|
sodipodi:cx="559.67499"
|
||||||
|
sodipodi:cy="21.754047"
|
||||||
|
sodipodi:rx="0.88388348"
|
||||||
|
sodipodi:ry="0.88388348"
|
||||||
|
d="m 560.55887,21.754047 a 0.88388348,0.88388348 0 1 1 -1.76777,0 0.88388348,0.88388348 0 1 1 1.76777,0 z"
|
||||||
|
transform="matrix(1.0481621,1.5589904,-1.5589904,1.0481621,-539.42292,-838.01094)" />
|
||||||
|
<path
|
||||||
|
transform="matrix(0.78612158,1.1692428,-1.1692428,0.78612158,-396.15077,-611.38593)"
|
||||||
|
d="m 560.55887,21.754047 a 0.88388348,0.88388348 0 1 1 -1.76777,0 0.88388348,0.88388348 0 1 1 1.76777,0 z"
|
||||||
|
sodipodi:ry="0.88388348"
|
||||||
|
sodipodi:rx="0.88388348"
|
||||||
|
sodipodi:cy="21.754047"
|
||||||
|
sodipodi:cx="559.67499"
|
||||||
|
id="path276"
|
||||||
|
style="fill:#e98007;fill-opacity:1;stroke:none"
|
||||||
|
sodipodi:type="arc" />
|
||||||
|
<path
|
||||||
|
sodipodi:type="arc"
|
||||||
|
style="fill:#e98007;fill-opacity:1;stroke:none"
|
||||||
|
id="path279"
|
||||||
|
sodipodi:cx="559.67499"
|
||||||
|
sodipodi:cy="21.754047"
|
||||||
|
sodipodi:rx="0.88388348"
|
||||||
|
sodipodi:ry="0.88388348"
|
||||||
|
d="m 560.55887,21.754047 a 0.88388348,0.88388348 0 1 1 -1.76777,0 0.88388348,0.88388348 0 1 1 1.76777,0 z"
|
||||||
|
transform="matrix(0.8235559,1.224921,-1.224921,0.8235559,-420.44896,-652.37384)" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#e98007;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 563.21055,31.653543 4.41942,-6.187185 -7.6014,-6.187184"
|
||||||
|
id="path281"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
transform="matrix(0.37434361,0.55678228,-0.55678228,0.37434361,-184.9504,-268.16228)" />
|
||||||
|
<path
|
||||||
|
transform="matrix(0.89842466,1.3362775,-1.3362775,0.89842466,-465.66125,-710.18506)"
|
||||||
|
d="m 560.55887,21.754047 a 0.88388348,0.88388348 0 1 1 -1.76777,0 0.88388348,0.88388348 0 1 1 1.76777,0 z"
|
||||||
|
sodipodi:ry="0.88388348"
|
||||||
|
sodipodi:rx="0.88388348"
|
||||||
|
sodipodi:cy="21.754047"
|
||||||
|
sodipodi:cx="559.67499"
|
||||||
|
id="path283"
|
||||||
|
style="fill:#e98007;fill-opacity:1;stroke:none"
|
||||||
|
sodipodi:type="arc" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#e98007;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="m 567.45319,25.466358 7.6014,-4.065864"
|
||||||
|
id="path285"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
transform="matrix(0.37434361,0.55678228,-0.55678228,0.37434361,-184.9504,-268.16228)" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g4566"
|
||||||
|
transform="translate(0,-24)">
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="ccccc"
|
||||||
|
transform="translate(0,24)"
|
||||||
|
style="fill:#6fcb15"
|
||||||
|
d="M 94.398531,19 90.225818,10.411298 108.5,1.9724323 117,19 z"
|
||||||
|
id="path3500"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cccccccc"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
d="m 14.756588,131.15925 0,9.60545 -11.6032194,-0.0118 0,-9.58225 m -0.039261,-0.0651 5.8825232,-3.13423 5.9219702,3.25106 z"
|
||||||
|
style="font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:none;stroke:#428107;stroke-width:0.80000001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;font-family:Verdana;-inkscape-font-specification:Verdana"
|
||||||
|
transform="matrix(0.55727141,-0.25996788,0.2876144,0.61653494,59.024831,-44.715085)"
|
||||||
|
id="path1037" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="g4553"
|
||||||
|
transform="translate(0,-24)">
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4471"
|
||||||
|
d="M 94.398531,19 90.225818,10.411298 108.5,1.9724323 117,19 z"
|
||||||
|
style="fill:#fb7b62;fill-opacity:1"
|
||||||
|
transform="translate(31,24)"
|
||||||
|
sodipodi:nodetypes="ccccc" />
|
||||||
|
<path
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,79.780054,-59.357394)"
|
||||||
|
d="m 7.3250635,194.45924 a 2.0660436,1.5964882 0 1 1 -4.1320873,0 2.0660436,1.5964882 0 1 1 4.1320873,0 z"
|
||||||
|
sodipodi:ry="1.5964882"
|
||||||
|
sodipodi:rx="2.0660436"
|
||||||
|
sodipodi:cy="194.45924"
|
||||||
|
sodipodi:cx="5.2590199"
|
||||||
|
id="path4218"
|
||||||
|
style="fill:#c32405;fill-opacity:1;fill-rule:nonzero;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||||
|
sodipodi:type="arc" />
|
||||||
|
<use
|
||||||
|
height="200"
|
||||||
|
width="250"
|
||||||
|
transform="translate(0.11687856,-8.4237924)"
|
||||||
|
id="use4224"
|
||||||
|
xlink:href="#path4218"
|
||||||
|
y="0"
|
||||||
|
x="0"
|
||||||
|
style="fill:#999999;stroke:#666666" />
|
||||||
|
<use
|
||||||
|
height="200"
|
||||||
|
width="250"
|
||||||
|
transform="translate(6.5982765,5.2049933)"
|
||||||
|
id="use4226"
|
||||||
|
xlink:href="#use4224"
|
||||||
|
y="0"
|
||||||
|
x="0"
|
||||||
|
style="fill:#999999;stroke:#c32405;stroke-opacity:1" />
|
||||||
|
<path
|
||||||
|
sodipodi:type="arc"
|
||||||
|
style="fill:#c32405;fill-opacity:1;fill-rule:nonzero;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||||
|
id="path4228"
|
||||||
|
sodipodi:cx="5.2590199"
|
||||||
|
sodipodi:cy="194.45924"
|
||||||
|
sodipodi:rx="2.0660436"
|
||||||
|
sodipodi:ry="1.5964882"
|
||||||
|
d="m 7.3250635,194.45924 a 2.0660436,1.5964882 0 1 1 -4.1320873,0 2.0660436,1.5964882 0 1 1 4.1320873,0 z"
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,81.644877,-64.113316)" />
|
||||||
|
<path
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,79.780054,-59.357394)"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4230"
|
||||||
|
d="m 10.902837,183.0346 0,3.66687"
|
||||||
|
style="fill:none;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
|
||||||
|
sodipodi:nodetypes="cc" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,79.780054,-59.357394)"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4232"
|
||||||
|
d="m 9.2894123,189.68386 -2.3956906,3.56909"
|
||||||
|
style="fill:none;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,79.780054,-59.357394)"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4234"
|
||||||
|
d="m 12.46737,189.68386 2.493472,3.5202"
|
||||||
|
style="fill:none;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,79.780054,-59.357394)"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4236"
|
||||||
|
d="m 12.467368,182.74125 4.009116,9.925"
|
||||||
|
style="fill:none;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,79.780054,-59.357394)"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4238"
|
||||||
|
d="m 9.4849789,182.83904 -4.2046813,9.87611"
|
||||||
|
style="fill:none;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
transform="matrix(0.59287153,-0.28418321,0.25089012,0.52341448,79.780054,-59.357394)"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
id="path4240"
|
||||||
|
d="m 7.4315299,194.71969 7.0403961,0"
|
||||||
|
style="fill:none;stroke:#c32405;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 12 KiB |
BIN
view/theme/dispy-dark/photo-menu.jpg
Normal file
After Width: | Height: | Size: 459 B |
40
view/theme/dispy-dark/photo_view.tpl
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<div id="live-display"></div>
|
||||||
|
<h3><a href="$album.0">$album.1</a></h3>
|
||||||
|
|
||||||
|
<div id="photo-edit-link-wrap">
|
||||||
|
{{ if $tools }}
|
||||||
|
<a id="photo-edit-link" href="$tools.edit.0">$tools.edit.1</a>
|
||||||
|
-
|
||||||
|
<a id="photo-toprofile-link" href="$tools.profile.0">$tools.profile.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $lock }} - <img src="images/lock_icon.gif" class="lockview" alt="$lock" onclick="lockview(event,'photo$id');" /> {{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="photo-photo">
|
||||||
|
{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }}
|
||||||
|
<a href="$photo.href" title="$photo.title"><img src="$photo.src" /></a>
|
||||||
|
{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="photo-photo-end"></div>
|
||||||
|
<div id="photo-caption" >$desc</div>
|
||||||
|
{{ if $tags }}
|
||||||
|
<div id="in-this-photo-text">$tags.0</div>
|
||||||
|
<div id="in-this-photo">$tags.1</div>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $tags.2 }}<div id="tag-remove"><a href="$tags.2">$tags.3</a></div>{{ endif }}
|
||||||
|
|
||||||
|
{{ if $edit }}$edit{{ endif }}
|
||||||
|
|
||||||
|
{{ if $likebuttons }}
|
||||||
|
<div id="photo-like-div">
|
||||||
|
$likebuttons
|
||||||
|
$like
|
||||||
|
$dislike
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
$comments
|
||||||
|
|
||||||
|
$paginate
|
||||||
|
|
BIN
view/theme/dispy-dark/premium.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
view/theme/dispy-dark/prev.png
Normal file
After Width: | Height: | Size: 593 B |
66
view/theme/dispy-dark/profile_vcard.tpl
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<div class="vcard">
|
||||||
|
|
||||||
|
<div class="fn label">$profile.name</div>
|
||||||
|
|
||||||
|
{{ if $pdesc }}
|
||||||
|
<div class="title">$profile.pdesc</div>
|
||||||
|
{{ endif }}
|
||||||
|
<div id="profile-photo-wrapper">
|
||||||
|
<img class="photo" width="175" height="175" src="$profile.photo" alt="$profile.name" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ if $location }}
|
||||||
|
<div class="location">
|
||||||
|
<span class="location-label">$location</span>
|
||||||
|
<div class="adr">
|
||||||
|
{{ if $profile.address }}
|
||||||
|
<div class="street-address">$profile.address</div>{{ endif }}
|
||||||
|
<span class="city-state-zip">$profile.zip</span>
|
||||||
|
<span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
|
||||||
|
<span class="region">$profile.region</span>
|
||||||
|
<span class="postal-code">$profile.postal-code</span>
|
||||||
|
{{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $gender }}
|
||||||
|
<div class="mf">
|
||||||
|
<span class="gender-label">$gender</span>
|
||||||
|
<span class="x-gender">$profile.gender</span>
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $profile.pubkey }}
|
||||||
|
<div class="key" style="display:none;">$profile.pubkey</div>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $marital }}
|
||||||
|
<div class="marital">
|
||||||
|
<span class="marital-label">
|
||||||
|
<span class="heart">♥</span>$marital</span>
|
||||||
|
<span class="marital-text">$profile.marital</span>
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $homepage }}
|
||||||
|
<div class="homepage">
|
||||||
|
<span class="homepage-label">$homepage</span>
|
||||||
|
<span class="homepage-url"><a href="$profile.homepage"
|
||||||
|
target="external-link">$profile.homepage</a></span>
|
||||||
|
</div>{{ endif }}
|
||||||
|
|
||||||
|
{{ inc diaspora_vcard.tpl }}{{ endinc }}
|
||||||
|
|
||||||
|
<div id="profile-extra-links">
|
||||||
|
<ul>
|
||||||
|
{{ if $connect }}
|
||||||
|
<li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
|
||||||
|
{{ endif }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
$contact_block
|
||||||
|
|
||||||
|
|
14
view/theme/dispy-dark/saved_searches_aside.tpl
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<div class="widget" id="saved-search-list">
|
||||||
|
<h3 id="search">$title</h3>
|
||||||
|
$searchbox
|
||||||
|
|
||||||
|
<ul id="saved-search-ul">
|
||||||
|
{{ for $saved as $search }}
|
||||||
|
<li class="saved-search-li clear">
|
||||||
|
<a onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" class="icon savedsearchdrop drophide" href="network/?f=&remove=1&search=$search.encodedterm"></a>
|
||||||
|
<a class="savedsearchterm" href="network/?f=&search=$search.encodedterm">$search.term</a>
|
||||||
|
</li>
|
||||||
|
{{ endfor }}
|
||||||
|
</ul>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
51
view/theme/dispy-dark/search_item.tpl
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
<div class="wall-item-outside-wrapper$item.indent" id="wall-item-outside-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-info" id="wall-item-info-$item.id">
|
||||||
|
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
||||||
|
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||||
|
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
|
||||||
|
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||||
|
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||||
|
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||||
|
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||||
|
<ul>
|
||||||
|
$item.item_photo_menu
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-photo-end"></div>
|
||||||
|
<div class="wall-item-location" id="wall-item-location-$item.id">{{ if $item.location }}<span class="icon globe"></span>$item.location {{ endif }}</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-lock-wrapper">
|
||||||
|
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||||
|
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||||
|
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
||||||
|
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||||
|
</div>
|
||||||
|
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||||
|
<div class="wall-item-delete-end"></div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||||
|
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||||
|
<div class="wall-item-title-end"></div>
|
||||||
|
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-author">
|
||||||
|
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||||
|
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-wrapper-end"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="wall-item-outside-wrapper-end$item.indent" ></div>
|
||||||
|
<div class="wall-item-conv" id="wall-item-conv-$item.id" >
|
||||||
|
{{ if $item.conv }}
|
||||||
|
<a href='$item.conv.href' id='context-$item.id' title='$item.conv.title'>$item.conv.title</a>
|
||||||
|
{{ endif }}
|
||||||
|
</div>
|
||||||
|
|
BIN
view/theme/dispy-dark/star.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
2631
view/theme/dispy-dark/style.css
Normal file
BIN
view/theme/dispy-dark/tag.png
Normal file
After Width: | Height: | Size: 571 B |
74
view/theme/dispy-dark/theme.php
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
<?php
|
||||||
|
$a->theme_info = array();
|
||||||
|
|
||||||
|
$a->page['htmlhead'] .= <<< EOT
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('.group-edit-icon').hover(
|
||||||
|
function() {
|
||||||
|
$(this).addClass('icon');
|
||||||
|
$(this).removeClass('iconspacer'); },
|
||||||
|
|
||||||
|
function() {
|
||||||
|
$(this).removeClass('icon');
|
||||||
|
$(this).addClass('iconspacer'); }
|
||||||
|
);
|
||||||
|
|
||||||
|
$('.sidebar-group-element').hover(
|
||||||
|
function() {
|
||||||
|
id = $(this).attr('id');
|
||||||
|
$('#edit-' + id).addClass('icon');
|
||||||
|
$('#edit-' + id).removeClass('iconspacer'); },
|
||||||
|
|
||||||
|
function() {
|
||||||
|
id = $(this).attr('id');
|
||||||
|
$('#edit-' + id).removeClass('icon');
|
||||||
|
$('#edit-' + id).addClass('iconspacer'); }
|
||||||
|
);
|
||||||
|
|
||||||
|
$('.savedsearchdrop').hover(
|
||||||
|
function() {
|
||||||
|
$(this).addClass('drop');
|
||||||
|
$(this).addClass('icon');
|
||||||
|
$(this).removeClass('iconspacer'); },
|
||||||
|
|
||||||
|
function() {
|
||||||
|
$(this).removeClass('drop');
|
||||||
|
$(this).removeClass('icon');
|
||||||
|
$(this).addClass('iconspacer'); }
|
||||||
|
);
|
||||||
|
|
||||||
|
$('.savedsearchterm').hover(
|
||||||
|
function() {
|
||||||
|
id = $(this).attr('id');
|
||||||
|
$('#drop-' + id).addClass('icon');
|
||||||
|
$('#drop-' + id).addClass('drophide');
|
||||||
|
$('#drop-' + id).removeClass('iconspacer'); },
|
||||||
|
|
||||||
|
function() {
|
||||||
|
id = $(this).attr('id');
|
||||||
|
$('#drop-' + id).removeClass('icon');
|
||||||
|
$('#drop-' + id).removeClass('drophide');
|
||||||
|
$('#drop-' + id).addClass('iconspacer'); }
|
||||||
|
);
|
||||||
|
|
||||||
|
function toggleToolbar() {
|
||||||
|
if ( $('#nav-floater').is(':visible') ) {
|
||||||
|
$('#nav-floater').slideUp('fast');
|
||||||
|
$('.floaterflip').css({
|
||||||
|
backgroundPosition: '-210px -60px'
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
$('#nav-floater').slideDown('fast');
|
||||||
|
$('.floaterflip').css({
|
||||||
|
backgroundPosition: '-190px -60px'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
$('.floaterflip').click(function() {
|
||||||
|
toggleToolbar();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
EOT;
|
77
view/theme/dispy-dark/wall_item.tpl
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
<div class="wall-item-outside-wrapper$item.indent" id="wall-item-outside-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-info" id="wall-item-info-$item.id">
|
||||||
|
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
||||||
|
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||||
|
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
|
||||||
|
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||||
|
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" />
|
||||||
|
</a>
|
||||||
|
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||||
|
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||||
|
<ul>
|
||||||
|
$item.item_photo_menu
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-photo-end"></div>
|
||||||
|
<div class="wall-item-location" id="wall-item-location-$item.id">{{ if $item.location }}<span class="icon globe"></span>$item.location {{ endif }}</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-lock-wrapper">
|
||||||
|
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||||
|
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||||
|
{{ if $item.star }}
|
||||||
|
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
|
||||||
|
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.vote }}
|
||||||
|
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
|
||||||
|
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||||
|
<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
|
||||||
|
{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
|
||||||
|
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.plink }}
|
||||||
|
<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link"></a></div>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.edpost }}
|
||||||
|
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
||||||
|
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||||
|
</div>
|
||||||
|
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||||
|
<div class="wall-item-delete-end"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||||
|
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||||
|
<div class="wall-item-title-end"></div>
|
||||||
|
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||||
|
<div class="body-tag">
|
||||||
|
{{ for $item.tags as $tag }}
|
||||||
|
<span class='tag'>$tag</span>
|
||||||
|
{{ endfor }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-author">
|
||||||
|
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||||
|
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-wrapper-end"></div>
|
||||||
|
<div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
|
||||||
|
<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
|
<div class="wall-item-comment-wrapper">
|
||||||
|
$item.comment
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="wall-item-outside-wrapper-end$item.indent"></div>
|
||||||
|
|
81
view/theme/dispy-dark/wallwall_item.tpl
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
<div class="wall-item-outside-wrapper$item.indent wallwall" id="wall-item-outside-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-info wallwall" id="wall-item-info-$item.id">
|
||||||
|
<div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
|
||||||
|
<a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
|
||||||
|
<img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
|
||||||
|
<div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id"
|
||||||
|
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||||
|
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
|
||||||
|
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||||
|
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||||
|
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||||
|
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||||
|
<ul>
|
||||||
|
$item.item_photo_menu
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-photo-end"></div>
|
||||||
|
<div class="wall-item-location" id="wall-item-location-$item.id">{{ if $item.location }}<span class="icon globe"></span>$item.location {{ endif }}</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-lock-wrapper">
|
||||||
|
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||||
|
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||||
|
{{ if $item.star }}
|
||||||
|
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
|
||||||
|
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.vote }}
|
||||||
|
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
|
||||||
|
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||||
|
<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
|
||||||
|
{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
|
||||||
|
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.plink }}
|
||||||
|
<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link"></a></div>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.edpost }}
|
||||||
|
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
||||||
|
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||||
|
</div>
|
||||||
|
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||||
|
<div class="wall-item-delete-end"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||||
|
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||||
|
<div class="wall-item-title-end"></div>
|
||||||
|
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||||
|
<div class="body-tag">
|
||||||
|
{{ for $item.tags as $tag }}
|
||||||
|
<span class="tag">$tag</span>
|
||||||
|
{{ endfor }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-author">
|
||||||
|
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||||
|
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-wrapper-end"></div>
|
||||||
|
<div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
|
||||||
|
<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
|
<div class="wall-item-comment-wrapper">
|
||||||
|
$item.comment
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="wall-item-outside-wrapper-end$item.indent" ></div>
|
||||||
|
|
|
@ -57,6 +57,7 @@ select {
|
||||||
}
|
}
|
||||||
option {
|
option {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
/* remember to define focus styles! */
|
/* remember to define focus styles! */
|
||||||
:focus {
|
:focus {
|
||||||
|
@ -75,17 +76,6 @@ mark {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
ins {
|
|
||||||
background: #ff9;
|
|
||||||
color: #000;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
mark {
|
|
||||||
background: #ff0;
|
|
||||||
color: #000;
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
/* Redeclare monospace font family: h5bp.com/j */
|
/* Redeclare monospace font family: h5bp.com/j */
|
||||||
pre, code, kbd, samp, .wall-item-body code {
|
pre, code, kbd, samp, .wall-item-body code {
|
||||||
font-family: monospace, monospace;
|
font-family: monospace, monospace;
|
||||||
|
@ -1302,7 +1292,7 @@ section {
|
||||||
**/
|
**/
|
||||||
.wall-item-body code {
|
.wall-item-body code {
|
||||||
display: block;
|
display: block;
|
||||||
padding-left: 10px;
|
padding: 0 0 10px 5px;
|
||||||
border-color: #ccc;
|
border-color: #ccc;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px 1px 1px 10px;
|
border-width: 1px 1px 1px 10px;
|
||||||
|
@ -1768,9 +1758,10 @@ div[id$="wrapper"] br {
|
||||||
* contacts selector
|
* contacts selector
|
||||||
*/
|
*/
|
||||||
.group-delete-wrapper {
|
.group-delete-wrapper {
|
||||||
margin: -28px 150px 0 0;
|
margin: -31px 122px 0 0;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#group-edit-submit-wrapper {
|
#group-edit-submit-wrapper {
|
||||||
margin: 0 0 10px 0;
|
margin: 0 0 10px 0;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|