1
0
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:
Cameron
2013-06-17 16:03:33 -07:00
parent d10dbc443a
commit a0aec4b210
25 changed files with 51 additions and 44 deletions

View File

@@ -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']);