Ignore:
Timestamp:
Jul 22, 2009, 12:34:42 AM (15 years ago)
Author:
tiico
Message:

Some corrections
Add EN translation (only for the core, not for modules)
Add comment options (%ID)

Location:
extensions/Flash_Gallery/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Flash_Gallery/include/class.inc.php

    r3599 r3663  
    116116            {
    117117                $this->pos = 'end';
    118                 continue;
     118                return;
    119119            }
    120120
     
    122122                {
    123123                $authorized_groups = explode(',', $module['groups']);
    124                 if (array_intersect($this->user_groups, $authorized_groups) == array()) continue;
     124                if (array_intersect($this->user_groups, $authorized_groups) == array()) return;
    125125        }
    126126
     
    169169          $block['BGCOLOR'] = $module['bgcolor'];
    170170
    171           if ((include(FLASHGAL_PATH . 'modules/' . $module['type'] . '/main.inc.php')) === false) continue;
     171          if ((include(FLASHGAL_PATH . 'modules/' . $module['type'] . '/main.inc.php')) === false) return;
    172172         
    173173          $this->set_tpl_block($block, $module);
  • extensions/Flash_Gallery/include/config_param.inc.php

    r3531 r3663  
    4545                                                                                  : '',                                                         
    4646                '%IC'   => isset($row['IMGFILE']) ? $row['IMGFILE'] : ''  ,
     47                '%ID'   => isset($row['IMGID']) ? get_comment($row['IMGID'], $nb_comment) : ''  ,
    4748
    4849                '%G1'   => get_root_url(),
     
    6970        %IB : IMGHIGHFULL       Lien complet vers High
    7071        %IC : IMGFILE           nom_fichier
    71 
     72        %ID : Commentaires
     73   
    7274%Gx Generaux
    7375        %G1 :           root path : URL du piwigo
Note: See TracChangeset for help on using the changeset viewer.