* Add MIME types for file attachments
* Restore translatability to mood phrases * Prevent casting of "false" in html2plain * Allow attachments with a comma in the filename * Fix/optimize ACL img data-src jQuery search * Fix bug when uploading files with a comma in the name using Chrome/Chromium * Babel nicer output formatting * Remove obsolete "plaintext" check in mod/parse_url * Restore TinyMCE live insertion of images * Smarty conversion script: add --no-header option to suppress warning headers in Smarty template files
This commit is contained in:
parent
d62483f526
commit
74caf1a4a7
29 changed files with 75 additions and 62 deletions
|
@ -253,9 +253,9 @@ ACL.prototype.populate = function(data){
|
|||
//console.log(html);
|
||||
that.list_content.append(html);
|
||||
});
|
||||
$(".acl-list-item[rel!=acl-template] img[data-src]").each(function(i, el){
|
||||
$j(".acl-list-item img[data-src]", that.list_content).each(function(i, el){
|
||||
// Add src attribute for images with a data-src attribute
|
||||
$(el).attr('src', $(el).data("src"));
|
||||
$j(el).attr('src', $j(el).data("src"));
|
||||
});
|
||||
that.update_view();
|
||||
}
|
||||
|
|
2
view/theme/frost-mobile/js/acl.min.js
vendored
2
view/theme/frost-mobile/js/acl.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -188,9 +188,9 @@
|
|||
nnm.append(html);
|
||||
});
|
||||
|
||||
$("img[data-src]", nnm).each(function(i, el){
|
||||
$j("img[data-src]", nnm).each(function(i, el){
|
||||
// Add src attribute for images with a data-src attribute
|
||||
$(el).attr('src', $(el).data("src"));
|
||||
$j(el).attr('src', $j(el).data("src"));
|
||||
});
|
||||
}
|
||||
notif = eNotif.attr('count');
|
||||
|
|
2
view/theme/frost-mobile/js/main.min.js
vendored
2
view/theme/frost-mobile/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3,5 +3,4 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<span class="fakelink-wrapper" id={{$vote_id}}-wrapper><span class="fakelink" onclick="openClose('{{$vote_id}}');">{{$count}} {{$people}}</span> {{$vote_mood}}</span>
|
||||
|
||||
<span class="fakelink-wrapper" id="{{$type}}list-{{$id}}-wrapper">{{$phrase}}</span>
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
<span class="fakelink-wrapper" id=$vote_id-wrapper><span class="fakelink" onclick="openClose('$vote_id');">$count $people</span> $vote_mood</span>
|
||||
|
||||
<span class="fakelink-wrapper" id="$[type]list-$id-wrapper">$phrase</span>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
</div>
|
||||
|
||||
<div class="acl-list-item" rel="acl-template" style="display:none">
|
||||
<img data-src="{0}"><p>{1}</p>
|
||||
<a href="#" class='acl-button-show'>$show</a>
|
||||
<a href="#" class='acl-button-hide'>$hide</a>
|
||||
</div>
|
||||
|
|
|
@ -253,9 +253,9 @@ ACL.prototype.populate = function(data){
|
|||
//console.log(html);
|
||||
that.list_content.append(html);
|
||||
});
|
||||
$(".acl-list-item[rel!=acl-template] img[data-src]").each(function(i, el){
|
||||
$j(".acl-list-item img[data-src]", that.list_content).each(function(i, el){
|
||||
// Add src attribute for images with a data-src attribute
|
||||
$(el).attr('src', $(el).data("src"));
|
||||
$j(el).attr('src', $j(el).data("src"));
|
||||
});
|
||||
that.update_view();
|
||||
}
|
||||
|
|
2
view/theme/frost/js/acl.min.js
vendored
2
view/theme/frost/js/acl.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -180,9 +180,9 @@
|
|||
nnm.append(html);
|
||||
});
|
||||
|
||||
$("img[data-src]", nnm).each(function(i, el){
|
||||
$j("img[data-src]", nnm).each(function(i, el){
|
||||
// Add src attribute for images with a data-src attribute
|
||||
$(el).attr('src', $(el).data("src"));
|
||||
$j(el).attr('src', $j(el).data("src"));
|
||||
});
|
||||
}
|
||||
notif = eNotif.attr('count');
|
||||
|
|
2
view/theme/frost/js/main.min.js
vendored
2
view/theme/frost/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -14,6 +14,7 @@
|
|||
</div>
|
||||
|
||||
<div class="acl-list-item" rel="acl-template" style="display:none">
|
||||
<img data-src="{0}"><p>{1}</p>
|
||||
<a href="#" class='acl-button-show'>{{$show}}</a>
|
||||
<a href="#" class='acl-button-hide'>{{$hide}}</a>
|
||||
</div>
|
||||
|
|
|
@ -3,5 +3,4 @@
|
|||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||
*
|
||||
*}}
|
||||
<span class="fakelink-wrapper" id={{$vote_id}}-wrapper><span class="fakelink" onclick="openClose('{{$vote_id}}');">{{$count}} {{$people}}</span> {{$vote_mood}}</span>
|
||||
|
||||
<span class="fakelink-wrapper" id="{{$type}}list-{{$id}}-wrapper">{{$phrase}}</span>
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
<span class="fakelink-wrapper" id=$vote_id-wrapper><span class="fakelink" onclick="openClose('$vote_id');">$count $people</span> $vote_mood</span>
|
||||
|
||||
<span class="fakelink-wrapper" id="$[type]list-$id-wrapper">$phrase</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue