<?php
/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
//
// $Id: sub.inc.php,v 1.0 2003/06/25 00:00:00 reimy Exp $
//

function plugin_sub_inline()
{
	if (func_num_args() != 1)
	{
		return FALSE;
	}
	
	list($body) = func_get_args();
	
	if ($body == '')
	{
		return FALSE;
	}

	return '<span style="font-size:60%;vertical-align:sub;">'.$body.'</span>';
}
/* End of file sub.inc.php */
/* Location: ./wiki-common/plugin/sub.inc.php */
