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:
parent
d79d1c41aa
commit
c935211e17
@ -2507,6 +2507,8 @@ class e107
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Generic PREF retrieval Method for use by theme and plugin developers.
|
* 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)
|
public static function pref($type = 'core', $pname = null, $default = null)
|
||||||
{
|
{
|
||||||
|
@ -115,6 +115,10 @@ class e_form
|
|||||||
{
|
{
|
||||||
$class = "class='".$options['class']."'";
|
$class = "class='".$options['class']."'";
|
||||||
}
|
}
|
||||||
|
else // default
|
||||||
|
{
|
||||||
|
$class= "class='form-horizontal'";
|
||||||
|
}
|
||||||
|
|
||||||
if(isset($options['autocomplete'])) // leave as isset()
|
if(isset($options['autocomplete'])) // leave as isset()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user