]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
CSS classes do not need _css suffix/prefix
[mailer.git] / inc / functions.php
index 5a5507bab8f13d8c8a12b519fba444de03eaf2f8..2a9a94bc21a5a9d19db3ddb3a786ebf4d57b719e 100644 (file)
@@ -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=<pre>'.print_r($content, true).'</pre>');
@@ -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=<pre>'.print_r($content, true).'</pre>');