WordPress.org

Make WordPress Core

Ticket #8472: ru_RU.php

File ru_RU.php, 436 bytes (added by azaozz, 5 years ago)

Example of a locale function that overwrites menu width

Line 
1<?php
2
3// Make the menu 10px wider
4function ru_extend_menu() { ?>
5       
6<style type="text/css">
7        #adminmenu {
8                width: 155px; /* default 145px + 10px */
9                margin-left: -170px; /* default 160px + 10px */
10        }
11        #wpbody {
12                margin-left: 185px; /* default 175px + 10px */
13        }
14        * html #adminmenu { /* for IE6 only */
15                margin-left: -85px; /* default 80px + 5px */
16        }
17</style>
18<?php
19}
20add_action('admin_head', 'ru_extend_menu');