Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions template.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ function open_framework_breadcrumb(&$variables) {
$output = '';
$breadcrumb = $variables['breadcrumb'];
$show_breadcrumb = theme_get_setting('breadcrumb_classes');
if ($show_breadcrumb == 'show-breadcrumb ') {
if ($show_breadcrumb == 'show-breadcrumb') {
if (!empty($breadcrumb)) {
// Provide a navigational heading to give context for breadcrumb links to
// screen-reader users. Make the heading invisible with .element-invisible.
Expand All @@ -556,4 +556,4 @@ function open_framework_breadcrumb(&$variables) {
}
}
return $output;
}
}
4 changes: 2 additions & 2 deletions theme-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function open_framework_form_system_theme_settings_alter(&$form, &$form_state) {
'#default_value' => theme_get_setting('breadcrumb_classes'),
'#options' => array(
'' => t('Hide breadcrumbs - <strong><em>Default</em></strong>'),
'show-breadcrumb ' => t('Show breadcrumbs'),
'show-breadcrumb' => t('Show breadcrumbs'),
),
);

Expand Down Expand Up @@ -174,4 +174,4 @@ function open_framework_settings_validate($form, &$form_state) {
form_set_error('body_bg_upload', t('The background image could not be uploaded.'));
}
}
}
}