Changeset 8308


Ignore:
Timestamp:
Dec 26, 2010, 8:26:51 PM (10 years ago)
Author:
rvelices
Message:

rv_menutree compatible with piwigo trunk (future 2.2)

Location:
extensions/rv_menutree/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_menutree/trunk/changelog.txt

    r7956 r8308  
     12.2.a
     2        - compatible piwigo 2.2
     3
    142.1.c
    25        - javascript async stuff
  • extensions/rv_menutree/trunk/main.inc.php

    r7814 r8308  
    11<?php /*
    22Plugin Name: RV Menu Tree
    3 Version: 2.1.b
     3Version: 2.2.a
    44Plugin URI: http://piwigo.org/ext/extension_view.php?eid=238
    55Description: Replaces the categories in the menu bar with a nicer one (javascript).
  • extensions/rv_menutree/trunk/template/rv_menutree_categories.tpl

    r7956 r8308  
    11{html_head}
    22<style type="text/css">
    3 .rvTree li .bullet {ldelim}padding-left:14px;margin-left:0;background:url({$ROOT_URL}plugins/{$RVMT_BASE_NAME}/img/bpm.gif) no-repeat scroll;}
    4 .rvTree li.liOpen .bullet {ldelim}cursor:pointer;background-position:-38px center;}
    5 .rvTree li.liClosed .bullet {ldelim}cursor:pointer;background-position:-19px center;}
    6 .rvTree li.liBullet .bullet {ldelim}cursor:default;background-position:0 center;}
    7 .rvTree li.liClosed ul {ldelim}display:none;}
     3/*.rvTree */li .bullet {ldelim}padding-left:14px;margin-left:0;background:url({$ROOT_URL}plugins/{$RVMT_BASE_NAME}/img/bpm.gif) no-repeat scroll;}
     4/*.rvTree */.liOpen .bullet {ldelim}cursor:pointer;background-position:-38px center;}
     5/*.rvTree */.liClosed .bullet {ldelim}cursor:pointer;background-position:-19px center;}
     6/*.rvTree */.liBullet .bullet {ldelim}cursor:default;background-position:0 center;}
     7/*.rvTree */.liClosed ul {ldelim}display:none;}
    88</style>
    99{/html_head}
     
    1515  <a href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
    1616  {/if}
    17         <a href="{$block->data.U_CATEGORIES}">{'Categories'|@translate}</a>
     17        <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
    1818</dt>
    1919<dd>
     
    3737        {if $cat.count_categories > 0}
    3838                {if isset($U_STOP_FILTER) or isset($RVMT_UPPER_IDS[$cat.id])}
    39                         {assign var=liclass value=$liclass|@cat:'liOpen'}
     39                        {assign var=liclass value="`$liclass`liOpen"}
    4040                {else}
    41                         {assign var=liclass value=$liclass|@cat:'liClosed'}
     41                        {assign var=liclass value="`$liclass`liClosed"}
    4242                {/if}
    4343        {/if}
Note: See TracChangeset for help on using the changeset viewer.