Ignore:
Timestamp:
Apr 30, 2010, 2:26:18 AM (14 years ago)
Author:
patdenice
Message:

Lot of corrections...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/luciano/themeconf.inc.php

    r6007 r6019  
    1717);
    1818
    19 $conf['show_thumbnail_caption'] = false;
     19$conf['show_thumbnail_caption']  = false;
     20$conf['index_posted_date_icon']  = false;
     21$conf['index_created_date_icon'] = false;
    2022$conf['top_number'] = 12;
    2123
    22 // Remove comments link in Menu
    23 add_event_handler('blockmanager_apply' , 'remove_comments_link');
    24 function remove_comments_link($menu_ref_arr)
     24// Remove comments and calendar links in menubar
     25add_event_handler('blockmanager_apply' , 'remove_comments_and_calendar_links');
     26function remove_comments_and_calendar_links($menu_ref_arr)
    2527{
    2628  $menu = & $menu_ref_arr[0];
    2729  if (($block = $menu->get_block('mbMenu')) != null )
    2830    unset($block->data['comments']);
     31  if (($block = $menu->get_block('mbSpecials')) != null )
     32    unset($block->data['calendar']);
    2933}
    3034
Note: See TracChangeset for help on using the changeset viewer.