finished uploading
This commit is contained in:
parent
598081b2a8
commit
f7f2163df5
7 changed files with 28 additions and 7 deletions
8
public/script/admin.js
Normal file
8
public/script/admin.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
function adminPageInsertImage(type, img) {
|
||||
if(type == 'header') {
|
||||
opener.document.forms[0].header_image.value = img;
|
||||
} else {
|
||||
opener.document.forms[0].content.value += '<img src="{plugin=image ' + img + '}" alt="">';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue