1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 07:21:03 +02:00

More Tinymce and form tweaks

This commit is contained in:
Cameron
2013-03-09 00:22:26 -08:00
parent 177d705509
commit 2682d9b872
5 changed files with 49 additions and 11 deletions

View File

@@ -1417,6 +1417,23 @@ class e_form
return $this->admin_button('etrigger_'.$name, $value, $action, $label, $options);
}
/**
* Generic Button Element.
* @param string $name
* @param string $value
* @param string $action [optional] default is submit
* @param string $label [optional]
* @param string|array $options [optional]
* @return string
*/
public function button($name, $value, $action = 'submit', $label = '', $options = array())
{
return $this->admin_button($name, $value, $action, $label, $options);
}
/**
*
* @param string $name