web/wp-content/plugins/exec-php/js/common.js
author hurons@caf4f556-3d62-0410-8435-a86758001935
Mon, 01 Feb 2010 09:51:57 +0000
branchwordpress
changeset 123 561aa6d282f6
permissions -rw-r--r--
pre production version : ****************************** Template evolution : - css ( so much things) - js ( new navigation tools ...) - lib for php ZIp - function.php (for download LDT and other litle function) - page (header, home, footer, single, search, searchform, post ...) ****************************** New plug in : - wp touch - wp explorer - TextCutter - ultimate-google-analytics - nice titles ****************************** Plug in customization : - related-posts-by-category - posts-of-current-category - order-categories - event-calendar - translation wp explorer - exec-php ****************************** Road map for next version : - cleaning php code put template function to new plugin - cleaning Css code - re organize Js code - all new correction ask

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) {;}
}