finished uploading

This commit is contained in:
Logsol 2013-07-17 16:05:00 +02:00
parent 598081b2a8
commit f7f2163df5
7 changed files with 28 additions and 7 deletions

8
public/script/admin.js Normal file
View 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="">';
}
}