* add 'class' parameter for function 'commonButton'.

This commit is contained in:
Catouse
2013-09-17 13:59:18 +08:00
parent d05c0235d2
commit f5826c1315

View File

@@ -457,9 +457,9 @@ EOT;
* @access public
* @return string the common button tag.
*/
public static function commonButton($label = '', $misc = '')
public static function commonButton($label = '', $misc = '', $class = '')
{
return " <input type='button' value='$label' $misc class='button-c' /> ";
return " <input type='button' value='$label' $misc class='button-c $class' /> ";
}
/**