Skip to content

Commit

Permalink
* Adjustements for the menu icon rewrites... Oh my, I really need to …
Browse files Browse the repository at this point in the history
…make this simpler...!!!!!!!!111111 (calendar/CalendarMenu.php)

Signed-off-by: Nao <nao@wedge>
  • Loading branch information
Nao committed May 26, 2014
1 parent 33aabe5 commit 04ab427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/CalendarMenu.php
Expand Up @@ -41,7 +41,7 @@ function calendarMenu(&$items)

// An array_merge on $items['home']['items'] would be simpler, but I wanted to show off.
$items = array_insert($items, 'home items media', $menu_item, true);
add_css('#m_' . (SKIN_SHORTMENU ? 'home_' : '') . 'calendar { float: left; width: 16px; height: 16px; padding: 0; margin: ' . (SKIN_SHORTMENU ? '6px 4px 0 12px' : '4px 4px 0 2px') . '; background: url(' . $context['plugins_url']['Wedge:Calendar'] . '/img/calendar.gif) 0 2px no-repeat; }');
add_css('#m_' . (SKIN_SHORTMENU ? 'home_' : '') . 'calendar { display: inline-block; width: 16px; height: 16px; padding: 0; margin: ' . (SKIN_SHORTMENU ? '-2px 0 0 8px; vertical-align: middle' : '4px 4px 0 2px') . '; background: url(' . $context['plugins_url']['Wedge:Calendar'] . '/img/calendar.gif) 0 2px no-repeat; }');
}

// Remove these permissions if post-banned.
Expand Down

0 comments on commit 04ab427

Please sign in to comment.