From 1421ee6da8c75371f6ed399ad5aba31b6fe8adb4 Mon Sep 17 00:00:00 2001 From: quix0r Date: Tue, 8 Jun 2010 00:03:43 +0000 Subject: [PATCH] CSS classes do not need _css suffix/prefix --- inc/functions.php | 8 ++++---- theme/business/css/general.css | 6 +++--- theme/default/css/general.css | 6 +++--- theme/desert/css/general.css | 6 +++--- theme/org/css/general.css | 6 +++--- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 5a5507bab8..2a9a94bc21 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -877,8 +877,8 @@ function translateMenuVisibleLocked ($content, $prefix = '') { // Translate 'visible' and keep an eye on the prefix switch ($content[$prefix . 'visible']) { // Should be visible - case 'Y': $content[$prefix . 'visible_css'] = $prefix . 'menu_visible_css' ; break; - case 'N': $content[$prefix . 'visible_css'] = $prefix . 'menu_invisible_css'; break; + case 'Y': $content[$prefix . 'visible_css'] = $prefix . 'menu_visible' ; break; + case 'N': $content[$prefix . 'visible_css'] = $prefix . 'menu_invisible'; break; default: // Please report this debug_report_bug('Unsupported visible value detected. content=
'.print_r($content, true).'
'); @@ -888,8 +888,8 @@ function translateMenuVisibleLocked ($content, $prefix = '') { // Translate 'locked' and keep an eye on the prefix switch ($content[$prefix . 'locked']) { // Should be locked - case 'Y': $content[$prefix . 'locked_css'] = $prefix . 'menu_locked_css' ; break; - case 'N': $content[$prefix . 'locked_css'] = $prefix . 'menu_unlocked_css'; break; + case 'Y': $content[$prefix . 'locked_css'] = $prefix . 'menu_locked' ; break; + case 'N': $content[$prefix . 'locked_css'] = $prefix . 'menu_unlocked'; break; default: // Please report this debug_report_bug('Unsupported locked value detected. content=
'.print_r($content, true).'
'); diff --git a/theme/business/css/general.css b/theme/business/css/general.css index 486f5c5828..5fc5e98124 100644 --- a/theme/business/css/general.css +++ b/theme/business/css/general.css @@ -710,16 +710,16 @@ td { padding-bottom: 2px; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; } diff --git a/theme/default/css/general.css b/theme/default/css/general.css index e16d8fe3bf..8be9ce6fdc 100644 --- a/theme/default/css/general.css +++ b/theme/default/css/general.css @@ -769,16 +769,16 @@ td { text-align: center; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; } diff --git a/theme/desert/css/general.css b/theme/desert/css/general.css index 1aa982cf4d..609a682cc9 100644 --- a/theme/desert/css/general.css +++ b/theme/desert/css/general.css @@ -694,16 +694,16 @@ td { padding-bottom: 2px; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; } diff --git a/theme/org/css/general.css b/theme/org/css/general.css index 14542836e9..c90aba46e2 100644 --- a/theme/org/css/general.css +++ b/theme/org/css/general.css @@ -581,16 +581,16 @@ ul, ol { padding-bottom : 2px; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; } -- 2.39.5