mirror of
https://github.com/friendica/friendica
synced 2025-04-23 22:30:10 +00:00
theme description with preview (non-translatable unfortunately)
This commit is contained in:
parent
b5d0315d55
commit
4c585f759f
3 changed files with 13 additions and 2 deletions
|
@ -591,7 +591,7 @@ Array.prototype.remove = function(item) {
|
|||
function previewTheme(elm) {
|
||||
theme = $(elm).val();
|
||||
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
|
||||
$('#theme-preview').html('<a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
$('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
});
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue