diff -r 53cff4b4a802 -r bde1974c263b web/wp-content/plugins/exec-php/js/common.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/exec-php/js/common.js Wed Feb 03 15:37:20 2010 +0000 @@ -0,0 +1,13 @@ +function ExecPhp_setMessage(heading, text) +{ + var message = '

' + heading + ' ' + text + '

'; + var parent = document.getElementById(execphpCommonL10n.messageContainer); + try + { + container = document.createElement("div"); + container.className = "updated fade"; + container.innerHTML = container.innerHTML + message; + parent.appendChild(container); + } + catch(e) {;} +}