Changeset 12801


Ignore:
Timestamp:
Dec 28, 2011, 11:44:37 PM (9 years ago)
Author:
rub
Message:

Add upload directory
Fixed site id
Fixed first dir

Update Copyright (C)

Location:
extensions/add_index
Files:
37 edited

Legend:

Unmodified
Added
Removed
  • extensions/add_index/admin/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/admin/main_page.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
     
    5148 * @return array
    5249 */
    53 function get_add_index_directories($path, $recursive = true)
    54 {
    55   $dirs = array();
     50function get_add_index_directories($path)
     51{
     52  $dirs = array($path);
    5653
    5754  if (is_dir($path))
     
    6865           )
    6966        {
    70           array_push($dirs, $path.'/'.$node);
    71           if ($recursive)
    72           {
    73             $dirs = array_merge($dirs, get_add_index_directories($path.'/'.$node));
    74           }
     67          $dirs = array_merge($dirs, get_add_index_directories($path.'/'.$node));
    7568        }
    7669      }
     
    8780$index_file_src=$conf['add_index_source_directory_path'].$conf['add_index_filename'];
    8881$overwrite_file=isset($_GET['overwrite']);
    89 $site_id = (isset($_GET['site_id']) and is_numeric($_GET['site_id'])
    90             ? $_GET['site_id']
    91             : 0);
     82$site_id=((isset($_GET['site_id']) and is_numeric($_GET['site_id'])) ? $_GET['site_id'] : 0);
    9283
    9384// Init values
     
    9687$count_skip = 0;
    9788$count_error = 0;
     89$dir_list=array();
    9890
    9991if (@file_exists($index_file_src))
    10092{
     93  if (empty($site_id))
     94  {
     95    $dir_list[] = $conf['upload_dir'];
     96  }
     97
    10198  $query = '
    10299select
     
    120117    while (list($galleries_url) = mysql_fetch_row($result))
    121118    {
    122       if (!url_is_remote($galleries_url))
     119      $dir_list[] = $galleries_url;
     120    }
     121  }
     122
     123  foreach ($dir_list as $galleries_url)
     124  {
     125    //~ echo $galleries_url.'<BR>';
     126    if (!url_is_remote($galleries_url))
     127    {
     128      foreach (get_add_index_directories($galleries_url) as $dir_galleries)
    123129      {
    124         //echo $galleries_url.'<BR>';
    125         foreach (get_add_index_directories($galleries_url) as $dir_galleries)
     130        $file_dest = str_replace('//', '/', $dir_galleries.'/'.$conf['add_index_filename']);
     131        if ($overwrite_file or !@file_exists($file_dest))
    126132        {
    127           $file_dest = str_replace('//', '/', $dir_galleries.'/'.$conf['add_index_filename']);
    128           if ($overwrite_file or !@file_exists($file_dest))
     133          if (copy($index_file_src, $file_dest))
    129134          {
    130             if (copy($index_file_src, $file_dest))
    131             {
    132               array_push($add_index_results,
    133                 sprintf(l10n('add_index_file_copied'), $file_dest));
    134               $count_copy++;
    135             }
    136             else
    137             {
    138               array_push($page['errors'],
    139                 sprintf(l10n('add_index_file_not_copied'), $file_dest));
    140               $count_error++;
    141             }
     135            array_push($add_index_results,
     136              sprintf(l10n('add_index_file_copied'), $file_dest));
     137            $count_copy++;
    142138          }
    143139          else
    144140          {
    145             $count_skip++;
     141            array_push($page['errors'],
     142              sprintf(l10n('add_index_file_not_copied'), $file_dest));
     143            $count_error++;
    146144          }
    147145        }
     146        else
     147        {
     148          $count_skip++;
     149        }
    148150      }
    149       else
     151    }
     152    else
     153    {
     154      if (!empty($site_id))
    150155      {
    151         if (!empty($site_id))
    152         {
    153           array_push($page['errors'],
    154             sprintf(l10n('add_index_not_local_site'),
    155               $galleries_url, $site_id));
    156         }
     156        array_push($page['errors'],
     157          sprintf(l10n('add_index_not_local_site'),
     158            $galleries_url, $site_id));
    157159      }
    158160    }
  • extensions/add_index/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/cs_CZ/help/index.php

    r7597 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/cs_CZ/index.php

    r7597 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/cs_CZ/plugin.lang.php

    r7977 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/de_DE/help/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/de_DE/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/de_DE/plugin.lang.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/en_UK/help/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/en_UK/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/en_UK/plugin.lang.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/es_ES/help/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/es_ES/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/es_ES/plugin.lang.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
     
    2118// | USA.                                                                  |
    2219// +-----------------------------------------------------------------------+
    23 
    2420$lang['Add_Index'] = 'Adición de los ficheros "index"';
    2521$lang['Advanced_Add_Index'] = 'Adición y aplastamiento de los ficheros "index" para todos los sitios locales';
  • extensions/add_index/language/fr_FR/help/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/fr_FR/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/fr_FR/plugin.lang.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/hu_HU/help/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/hu_HU/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/hu_HU/plugin.lang.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/it_IT/help/index.php

    r11529 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based photo gallery                                    |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2011 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/it_IT/index.php

    r11529 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based photo gallery                                    |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2011 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/it_IT/plugin.lang.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/lv_LV/index.php

    r7889 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/lv_LV/plugin.lang.php

    r7889 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/no_NO/help/index.php

    r9186 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/no_NO/index.php

    r9186 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/no_NO/plugin.lang.php

    r9186 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/pl_PL/help/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/pl_PL/index.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/language/pl_PL/plugin.lang.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/main.admin.inc.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
  • extensions/add_index/main.base.inc.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
     
    2118// | USA.                                                                  |
    2219// +-----------------------------------------------------------------------+
    23 
    2420if (!defined('PHPWG_ROOT_PATH'))
    2521{
  • extensions/add_index/main.inc.php

    r5363 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 Piwigo team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
     
    2421/*
    2522Plugin Name: Add Index
    26 Version: <add by PEM>
     23Version: auto
    2724Description: Add index.php file on all sub-directories of local galleries pictures.
    2825Plugin URI: http://piwigo.org/ext/extension_view.php?eid=284
  • extensions/add_index/main.normal.inc.php

    r5196 r12801  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based picture gallery                                  |
    4 // +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
    6 // | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
    7 // | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
     3// | Add Index - a Piwigo Plugin                                           |
     4// | Copyright (C) 2019-2011 Piwigo team                                   |
    85// +-----------------------------------------------------------------------+
    96// | This program is free software; you can redistribute it and/or modify  |
     
    2118// | USA.                                                                  |
    2219// +-----------------------------------------------------------------------+
     20
    2321
    2422if (!defined('PHPWG_ROOT_PATH'))
Note: See TracChangeset for help on using the changeset viewer.