<?php if (!defined('PmWiki')) exit();
/*
This file is EZTimeStamp.php; you
can redistribute it and/or modify it under the
terms of the GNU General Public License as
published by the Free Software Foundation
http://www.fsf.org either version 2 of the
License, or (at your option) any later version.

Copyright 2007 GNUZoo (guru@gnuzoo.org)

	http://www.pmwiki.org/wiki/Profiles/GNUZoo

Please donate to the author:

	http://gnuzoo.org/GNUZooPayPal/
*/

$RecipeInfo['EZTimeStamp']['Version'] = '1.1';

switch ($action) {
	case "edit"   :
		if (! @$_POST['preview']) break;
	case "browse" :
	case "print"  :
		Markup('EZTimeStamp', 'fulltext', '/\\(:(eztimestamp):\\)/ie', 'time()');
}