Changeset 24720


Ignore:
Timestamp:
Oct 1, 2013, 8:53:36 PM (11 years ago)
Author:
rvelices
Message:

menu tree uses css in a file instead of inline (avoid sending it too many times to the browser)

Location:
extensions/rv_menutree/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_menutree/trunk/main.inc.php

    r23994 r24720  
    77Author URI: http://www.modusoptimus.com
    88*/
     9
     10
     11add_event_handler('loc_begin_page_header', 'rv_mt_begin_page_header');
     12function rv_mt_begin_page_header()
     13{
     14        global $template;
     15        $template->func_combine_css( array('path'=>'plugins/rv_menutree/menutree.css') );
     16}
    917
    1018add_event_handler('get_categories_menu_sql_where', 'rv_mt_get_categories_menu_sql_where', EVENT_HANDLER_PRIORITY_NEUTRAL, 3 );
  • extensions/rv_menutree/trunk/template/rv_menutree_categories.tpl

    r23477 r24720  
    1 {html_style}
    2 li .bullet{ldelim}padding-left:14px;margin-left:0;background:url({$ROOT_URL}plugins/{$RVMT_BASE_NAME}/img/bpm.gif) no-repeat scroll}
    3 .liOpen .bullet{ldelim}cursor:pointer;background-position:-38px center}
    4 .liClosed .bullet{ldelim}cursor:pointer;background-position:-19px center}
    5 .liBullet .bullet{ldelim}cursor:default;background-position:0 center}
    6 .liClosed ul{ldelim}display:none}
    7 {/html_style}
    81<dt>
    92        {if isset($U_START_FILTER)}
Note: See TracChangeset for help on using the changeset viewer.