fix /display bug; oembed audio bug; other tweaks
This commit is contained in:
parent
b522ffeea5
commit
885bb50f0d
15 changed files with 45 additions and 3681 deletions
|
@ -16,15 +16,7 @@ function display_content(&$a) {
|
|||
|
||||
$o = '<div id="live-display"></div>' . "\r\n";
|
||||
|
||||
$a->page['htmlhead'] .= <<<EOT
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
$(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
});
|
||||
</script>
|
||||
EOT;
|
||||
$a->page['htmlhead'] .= get_markup_template('display-head.tpl');
|
||||
|
||||
|
||||
$nick = (($a->argc > 1) ? $a->argv[1] : '');
|
||||
|
|
8
view/display-head.tpl
Normal file
8
view/display-head.tpl
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
$(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
});
|
||||
</script>
|
||||
|
4
view/theme/frost-mobile/display-head.tpl
Normal file
4
view/theme/frost-mobile/display-head.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
<script>
|
||||
window.autoCompleteType = 'display-head';
|
||||
</script>
|
||||
|
|
@ -93,6 +93,13 @@ $j(document).ready(function() {
|
|||
$j('#drop-' + id).removeClass('icon');$j('#drop-' + id).removeClass('drophide'); $j('#drop-' + id).addClass('iconspacer');}
|
||||
);*/
|
||||
|
||||
if(window.autoCompleteType == "display-head") {
|
||||
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
if(window.aclType == "event_head") {
|
||||
$j('#events-calendar').fullCalendar({
|
||||
events: baseurl + '/events/json/',
|
||||
|
|
2
view/theme/frost-mobile/js/theme.min.js
vendored
2
view/theme/frost-mobile/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3462,7 +3462,7 @@ aside input[type='text'] {
|
|||
background-image: url('../../../images/icons.png');
|
||||
}
|
||||
.article { background-position: 0px 0px;}
|
||||
.audio { display: none; background-position: -16px 0px;}
|
||||
.icon.audio { display: none; background-position: -16px 0px;}
|
||||
.block { background-position: -32px 0px;}
|
||||
/*.drop { background-position: -48px 0px;}
|
||||
.drophide { background-position: -64px 0px;}*/
|
||||
|
@ -3635,9 +3635,9 @@ aside input[type='text'] {
|
|||
margin: 20px 10px 0 0;
|
||||
visibility: none;
|
||||
}
|
||||
[class^="comment-edit-bb-end"] {
|
||||
/*[class^="comment-edit-bb-end"] {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
.editicon {
|
||||
display: inline-block;
|
||||
background-size: 100% 100%;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
{{ endif }}
|
||||
{{ if $item.plink }}
|
||||
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||
<!--<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a></div>-->
|
||||
{{ endif }}
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
|
|
|
@ -78,9 +78,9 @@
|
|||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
<div class="wall-item-comment-separator"></div>
|
||||
<!-- <div class="wall-item-comment-wrapper">-->
|
||||
<!--<div class="wall-item-comment-wrapper">-->
|
||||
$item.comment
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
|
|
4
view/theme/frost/display-head.tpl
Normal file
4
view/theme/frost/display-head.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
<script>
|
||||
window.autoCompleteType = 'display-head';
|
||||
</script>
|
||||
|
|
@ -78,6 +78,13 @@ $j(document).ready(function() {
|
|||
return false;
|
||||
});*/
|
||||
|
||||
if(window.autoCompleteType == "display-head") {
|
||||
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
// make auto-complete work in more places
|
||||
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||
}
|
||||
|
||||
if(window.aclType == "event_head") {
|
||||
$j('#events-calendar').fullCalendar({
|
||||
events: baseurl + '/events/json/',
|
||||
|
|
2
view/theme/frost/js/theme.min.js
vendored
2
view/theme/frost/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3525,9 +3525,9 @@ aside input[type='text'] {
|
|||
margin: 10px 10px 0 0;
|
||||
visibility: none;
|
||||
}
|
||||
[class^="comment-edit-bb-end"] {
|
||||
/*[class^="comment-edit-bb-end"] {
|
||||
clear: both;
|
||||
}
|
||||
}*/
|
||||
.editicon {
|
||||
display: inline-block;
|
||||
/* background-image: url(bbedit.png);
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -71,9 +71,9 @@
|
|||
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
<!-- <div class="wall-item-comment-wrapper" >-->
|
||||
<!--<div class="wall-item-comment-wrapper" >-->
|
||||
$item.comment
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
|
|
|
@ -77,9 +77,9 @@
|
|||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||
<div class="wall-item-comment-separator"></div>
|
||||
<!-- <div class="wall-item-comment-wrapper">-->
|
||||
<!--<div class="wall-item-comment-wrapper">-->
|
||||
$item.comment
|
||||
<!-- </div>-->
|
||||
<!--</div>-->
|
||||
|
||||
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||
<!--</div>-->
|
||||
|
|
Loading…
Reference in a new issue