1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Added default form class to $frm->open() method.

This commit is contained in:
Cameron 2014-07-01 18:24:40 -07:00
parent d79d1c41aa
commit c935211e17
2 changed files with 6 additions and 0 deletions

View File

@ -2507,6 +2507,8 @@ class e107
/**
* Generic PREF retrieval Method for use by theme and plugin developers.
* @param $type : 'core', 'theme', plugin-name
* @param $pname : name of specific preference, or leave blank for full array.
*/
public static function pref($type = 'core', $pname = null, $default = null)
{

View File

@ -115,6 +115,10 @@ class e_form
{
$class = "class='".$options['class']."'";
}
else // default
{
$class= "class='form-horizontal'";
}
if(isset($options['autocomplete'])) // leave as isset()
{