web/wp-content/plugins/exec-php/js/common.js
changeset 136 bde1974c263b
--- /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 = '<p><strong>' + heading + '</strong> ' + text + '</p>';
+	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) {;}
+}