Merge pull request #519 from fermionic/20121029-delete-duplicate-template-files
delete template files that are identical to the defaults
This commit is contained in:
commit
400d91a8b4
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
<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-end" ></div>
|
|
||||||
</div>
|
|
|
@ -1,29 +0,0 @@
|
||||||
$live_update
|
|
||||||
|
|
||||||
{{ 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 }}
|
|
||||||
|
|
||||||
<div id="conversation-end"></div>
|
|
||||||
|
|
||||||
{{ if $dropping }}
|
|
||||||
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
|
|
||||||
<div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
|
||||||
<div id="item-delete-selected-desc" >$dropping</div>
|
|
||||||
</div>
|
|
||||||
<div id="item-delete-selected-end"></div>
|
|
||||||
{{ endif }}
|
|
|
@ -1,10 +0,0 @@
|
||||||
<div id="nets-sidebar" class="widget">
|
|
||||||
<h3>$title</h3>
|
|
||||||
<div id="nets-desc">$desc</div>
|
|
||||||
<a href="$base?nets=all" 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>
|
|
|
@ -1,14 +0,0 @@
|
||||||
<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 title="$search.delete" onclick="return confirmDelete();" id="drop-saved-search-term-$search.id" class="iconspacer savedsearchdrop " href="network/?f=&remove=1&search=$search.encodedterm"></a>
|
|
||||||
<a id="saved-search-term-$search.id" class="savedsearchterm" href="network/?f=&search=$search.encodedterm">$search.term</a>
|
|
||||||
</li>
|
|
||||||
{{ endfor }}
|
|
||||||
</ul>
|
|
||||||
<div class="clear"></div>
|
|
||||||
</div>
|
|
|
@ -1,4 +0,0 @@
|
||||||
<a href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); return false;' style='float:left; margin: 1em; position: relative;'>
|
|
||||||
<img width='$tw' height='$th' src='$turl' >
|
|
||||||
<div style='position: absolute; top: 0px; left: 0px; width: $twpx; height: $thpx; background: url($baseurl/images/icons/48/play.png) no-repeat center center;'></div>
|
|
||||||
</a>
|
|
|
@ -1,4 +0,0 @@
|
||||||
<a href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); return false;' style='float:left; margin: 1em; position: relative;'>
|
|
||||||
<img width='$tw' height='$th' src='$turl' >
|
|
||||||
<div style='position: absolute; top: 0px; left: 0px; width: $twpx; height: $thpx; background: url($baseurl/images/icons/48/play.png) no-repeat center center;'></div>
|
|
||||||
</a>
|
|
|
@ -1,97 +0,0 @@
|
||||||
|
|
||||||
<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
|
||||||
<script language="javascript" type="text/javascript">
|
|
||||||
|
|
||||||
var plaintext = '$editselect';
|
|
||||||
|
|
||||||
if(plaintext != 'none') {
|
|
||||||
tinyMCE.init({
|
|
||||||
theme : "advanced",
|
|
||||||
mode : "specific_textareas",
|
|
||||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
|
||||||
plugins : "bbcode,paste",
|
|
||||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
|
||||||
theme_advanced_buttons2 : "",
|
|
||||||
theme_advanced_buttons3 : "",
|
|
||||||
theme_advanced_toolbar_location : "top",
|
|
||||||
theme_advanced_toolbar_align : "center",
|
|
||||||
theme_advanced_blockformats : "blockquote,code",
|
|
||||||
gecko_spellcheck : true,
|
|
||||||
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",
|
|
||||||
//Character count
|
|
||||||
theme_advanced_path : false,
|
|
||||||
setup : function(ed) {
|
|
||||||
ed.onInit.add(function(ed) {
|
|
||||||
ed.pasteAsPlainText = true;
|
|
||||||
var editorId = ed.editorId;
|
|
||||||
var textarea = $('#'+editorId);
|
|
||||||
if (typeof(textarea.attr('tabindex')) != "undefined") {
|
|
||||||
$('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
|
|
||||||
textarea.attr('tabindex', null);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
else
|
|
||||||
$("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="js/ajaxupload.js" ></script>
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
var uploader = new window.AjaxUpload(
|
|
||||||
'prvmail-upload',
|
|
||||||
{ action: 'wall_upload/$nickname',
|
|
||||||
name: 'userfile',
|
|
||||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
|
||||||
onComplete: function(file,response) {
|
|
||||||
tinyMCE.execCommand('mceInsertRawHTML',false,response);
|
|
||||||
$('#profile-rotator').hide();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
function jotGetLink() {
|
|
||||||
reply = prompt("$linkurl");
|
|
||||||
if(reply && reply.length) {
|
|
||||||
$('#profile-rotator').show();
|
|
||||||
$.get('parse_url?url=' + reply, function(data) {
|
|
||||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
|
||||||
$('#profile-rotator').hide();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
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) {
|
|
||||||
$('#profile-rotator').show();
|
|
||||||
$.get('parse_url?url=' + reply, function(data) {
|
|
||||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
|
||||||
$('#profile-rotator').hide();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
$live_update
|
||||||
|
|
||||||
{{ for $threads as $item }}
|
{{ for $threads as $item }}
|
||||||
|
|
||||||
<div id="tread-wrapper-$item.id" class="tread-wrapper {{ if $item.threaded }}threaded{{ endif }} $item.toplevel">
|
<div id="tread-wrapper-$item.id" class="tread-wrapper {{ if $item.threaded }}threaded{{ endif }} $item.toplevel">
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
<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-end" ></div>
|
|
||||||
</div>
|
|
|
@ -1,3 +0,0 @@
|
||||||
<h3>$messages</h3>
|
|
||||||
|
|
||||||
$tab_content
|
|
|
@ -1,10 +0,0 @@
|
||||||
<div id="nets-sidebar" class="widget">
|
|
||||||
<h3>$title</h3>
|
|
||||||
<div id="nets-desc">$desc</div>
|
|
||||||
<a href="$base?nets=all" 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>
|
|
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
<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-end" ></div>
|
|
||||||
</div>
|
|
Loading…
Reference in a new issue