|
@@ 70-72 (lines=3) @@
|
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
// bootstrap options |
| 70 |
|
if ( isset($options["size"]) && in_array(strtolower($options["size"]), $component->getSizes()) ) { |
| 71 |
|
$component->addClass('btn-'.strtolower($options["size"]).' '.strtolower($this->_foundations_sizes["size"])); |
| 72 |
|
} |
| 73 |
|
if ( isset($options["type"]) && in_array(strtolower($options["type"]), $component->getTypes()) ) { |
| 74 |
|
$component->addClass('btn-'.strtolower($options["type"]).' '.strtolower($options["type"])); |
| 75 |
|
} else { |
|
@@ 73-77 (lines=5) @@
|
| 70 |
|
if ( isset($options["size"]) && in_array(strtolower($options["size"]), $component->getSizes()) ) { |
| 71 |
|
$component->addClass('btn-'.strtolower($options["size"]).' '.strtolower($this->_foundations_sizes["size"])); |
| 72 |
|
} |
| 73 |
|
if ( isset($options["type"]) && in_array(strtolower($options["type"]), $component->getTypes()) ) { |
| 74 |
|
$component->addClass('btn-'.strtolower($options["type"]).' '.strtolower($options["type"])); |
| 75 |
|
} else { |
| 76 |
|
$component->addClass('btn-default'); |
| 77 |
|
} |
| 78 |
|
if ( isset($options["drop"]) ) { |
| 79 |
|
$component->setDrop($options["drop"]); |
| 80 |
|
} |