Ignore:
Timestamp:
Jun 21, 2013, 12:37:11 PM (11 years ago)
Author:
mistic100
Message:

make it compatible with Piwigo 2.5

Location:
extensions/plugin_lang_analysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/plugin_lang_analysis/main.inc.php

    r23421 r23427  
    3131function pla_add_menu_item($content, &$smarty)
    3232{
    33   $search = '<li><a class="icon-arrows-cw" href="{$U_UPDATES}">{\'Updates\'|@translate}</a></li>';
     33  $search = 'href="{$U_UPDATES}">{\'Updates\'|@translate}</a></li>';
    3434  $add = '<li><a class="icon-language" href="'.PLA_ADMIN.'">Plugin Language Analysis</a></li>';
    3535  return str_replace($search, $search."\n".$add, $content);
  • extensions/plugin_lang_analysis/template/main.tpl

    r23421 r23427  
    8181
    8282{* <!-- configure --> *}
    83 {else if $PLA_STEP=='config'}
     83{elseif $PLA_STEP=='config'}
    8484{footer_script}{literal}
    8585$('.type-button span').click(function() {
     
    118118
    119119{* <!-- analysis --> *}
    120 {else if $PLA_STEP=='analysis'}
     120{elseif $PLA_STEP=='analysis'}
    121121{footer_script}{literal}
    122122$('.strings tr td:first-child').click(function() {
Note: See TracChangeset for help on using the changeset viewer.