1
0
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:
Cameron
2016-04-18 19:14:55 -07:00
parent 2e5f7a17b8
commit adb7d2a472
3 changed files with 128 additions and 49 deletions

View File

@@ -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 "