mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Plugin Builder upgrade. xxxx_sql.php may now be auto-generated by selecting the sql table.
This commit is contained in:
@@ -2454,6 +2454,18 @@ class e_form
|
||||
{
|
||||
$btype = 'submit';
|
||||
if(strpos($action, 'action') === 0) $btype = 'button';
|
||||
|
||||
|
||||
if(isset($options['loading']) && ($options['loading'] == false))
|
||||
{
|
||||
unset($options['loading']);
|
||||
$include = '';
|
||||
}
|
||||
else
|
||||
{
|
||||
$include = (deftrue("FONTAWESOME")) ? "data-loading-icon='fa-spinner' data-disable='true'" : "";
|
||||
}
|
||||
|
||||
$options = $this->format_options('admin_button', $name, $options);
|
||||
|
||||
$options['class'] = vartrue($options['class']);
|
||||
@@ -2516,7 +2528,6 @@ class e_form
|
||||
break;
|
||||
}
|
||||
|
||||
$include = (deftrue("FONTAWESOME")) ? "data-loading-icon='fa-spinner' data-disable='true'" : "";
|
||||
|
||||
|
||||
return "
|
||||
|
Reference in New Issue
Block a user