mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
Renamed bootstrap flag e_BOOTSTRAP to BOOTSTRAP. Set e_BOOTSTRAP as path of bootstrap folder.
This commit is contained in:
@@ -825,7 +825,7 @@ class e_form
|
||||
*/
|
||||
public function progressBar($name,$value,$options=array())
|
||||
{
|
||||
if(!deftrue('e_BOOTSTRAP'))
|
||||
if(!deftrue('BOOTSTRAP'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -1537,7 +1537,7 @@ class e_form
|
||||
*/
|
||||
public function button($name, $value, $action = 'submit', $label = '', $options = array())
|
||||
{
|
||||
if(deftrue('e_BOOTSTRAP') && $action == 'dropdown' && is_array($value))
|
||||
if(deftrue('BOOTSTRAP') && $action == 'dropdown' && is_array($value))
|
||||
{
|
||||
// $options = $this->format_options('admin_button', $name, $options);
|
||||
$options['class'] = vartrue($options['class']);
|
||||
|
Reference in New Issue
Block a user