refs #149 - remove 1140's container class

This commit is contained in:
Ben Word
2012-01-02 11:21:23 -07:00
parent 8c1f18f3da
commit 331c11d32f

View File

@@ -94,7 +94,7 @@ $roots_css_frameworks = array(
'name' => '1140',
'label' => __('1140', 'roots'),
'classes' => array(
'container' => 'twelvecol',
'container' => '',
'main' => 'eightcol',
'sidebar' => 'fourcol last'
)
@@ -143,7 +143,7 @@ $roots_css_frameworks = array(
'main' => 'span11',
'sidebar' => 'span5'
)
),
),
'none' => array(
'name' => 'none',
'label' => __('None', 'roots'),
@@ -239,7 +239,7 @@ function roots_theme_options_render_page() {
</fieldset>
</td>
</tr>
<?php if($roots_options['css_framework'] == 'bootstrap') { ?>
<tr valign="top"><th scope="row"><?php _e('Bootstrap Javascript Packages', 'roots'); ?></th>
<td>
@@ -250,9 +250,9 @@ function roots_theme_options_render_page() {
</select>
</fieldset>
</td>
</tr>
</tr>
<?php } ?>
<?php if($roots_options['css_framework'] == 'bootstrap_less') { ?>
<tr valign="top"><th scope="row"><?php _e('Bootstrap Javascript Packages', 'roots'); ?></th>
<td>
@@ -263,9 +263,9 @@ function roots_theme_options_render_page() {
</select>
</fieldset>
</td>
</tr>
<?php } ?>
</tr>
<?php } ?>
<tr valign="top"><th scope="row"><?php _e('Google Analytics ID', 'roots'); ?></th>
<td>
<fieldset><legend class="screen-reader-text"><span><?php _e('Google Analytics ID', 'roots'); ?></span></legend>
@@ -371,7 +371,7 @@ function roots_theme_options_validate($input) {
}
$output['fout_b_gone'] = $input['fout_b_gone'];
}
if (isset($input['bootstrap_javascript'])) {
if ($input['bootstrap_javascript'] === 'yes') {
$input['bootstrap_javascript'] = true;
@@ -390,7 +390,7 @@ function roots_theme_options_validate($input) {
$input['bootstrap_less_javascript'] = false;
}
$output['bootstrap_less_javascript'] = $input['bootstrap_less_javascript'];
}
}
return apply_filters('roots_theme_options_validate', $output, $input, $defaults);
}