Changeset 19908


Ignore:
Timestamp:
Jan 6, 2013, 2:56:47 PM (8 years ago)
Author:
nikrou
Message:

Make plugin compatible with piwigo 2.4
Improve selection of albums (auto-complete)

Location:
extensions/photoWidget
Files:
54 edited

Legend:

Unmodified
Added
Removed
  • extensions/photoWidget/CHANGELOG

    r10988 r19908  
     1photoWidget 0.3.0 - 2013-01-06
     2================================
     3* Make plugin compatible with piwigo 2.4
     4* Improve selection of albums (auto-complete)
     5
    16photoWidget 0.3.0 - 2011-05-22
    27================================
  • extensions/photoWidget/MANIFEST

    r10988 r19908  
    1313photoWidget/language/en_UK/index.php
    1414photoWidget/language/en_UK/description.txt
     15photoWidget/language/pt_PT/plugin.lang.php
     16photoWidget/language/pt_PT/index.php
     17photoWidget/language/pt_PT/description.txt
    1518photoWidget/language/de_DE/plugin.lang.php
    1619photoWidget/language/de_DE/index.php
     
    2225photoWidget/language/ru_RU/index.php
    2326photoWidget/language/ru_RU/description.txt
     27photoWidget/language/da_DK/plugin.lang.php
     28photoWidget/language/da_DK/index.php
     29photoWidget/language/da_DK/description.txt
    2430photoWidget/language/tr_TR/plugin.lang.php
    2531photoWidget/language/tr_TR/index.php
     
    3137photoWidget/language/cs_CZ/index.php
    3238photoWidget/language/cs_CZ/description.txt
    33 photoWidget/language/no_NO/plugin.lang.php
    34 photoWidget/language/no_NO/index.php
    35 photoWidget/language/no_NO/description.txt
     39photoWidget/language/nb_NO/plugin.lang.php
     40photoWidget/language/nb_NO/index.php
     41photoWidget/language/nb_NO/description.txt
    3642photoWidget/language/pl_PL/plugin.lang.php
    3743photoWidget/language/pl_PL/index.php
    3844photoWidget/language/pl_PL/description.txt
     45photoWidget/language/uk_UA/plugin.lang.php
     46photoWidget/language/uk_UA/index.php
     47photoWidget/language/el_GR/plugin.lang.php
     48photoWidget/language/el_GR/index.php
     49photoWidget/language/el_GR/description.txt
    3950photoWidget/language/sk_SK/plugin.lang.php
    4051photoWidget/language/sk_SK/index.php
     
    4354photoWidget/language/it_IT/index.php
    4455photoWidget/language/it_IT/description.txt
     56photoWidget/language/sv_SE/plugin.lang.php
     57photoWidget/language/sv_SE/index.php
     58photoWidget/language/sv_SE/description.txt
    4559photoWidget/language/hu_HU/plugin.lang.php
    4660photoWidget/language/hu_HU/index.php
  • extensions/photoWidget/admin.php

    r10988 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
     
    8080
    8181$query = '
    82 SELECT id,name
     82SELECT id,name,global_rank,uppercats
    8383  FROM '.CATEGORIES_TABLE;
    8484
    85 $all_categories = simple_hash_from_query($query, 'id', 'name');
     85display_select_cat_wrapper($query, $me->pw_categories, 'all_categories');
    8686
    8787$template->set_filenames(array('plugin_admin_content' => PW_TEMPLATE . '/admin.tpl'));
    8888$template->assign('PW_CAT_CHOICES', array(1 => l10n('Yes'), 0 => l10n('No')));
    89 $template->assign('ALL_CATEGORIES', $all_categories);
    90 $template->assign('PW_CATEGORIES', $me->pw_categories);
    9189$template->assign('PW_ALL_CATEGORIES', $me->pw_all_categories);
    9290$template->assign('PWG_PHOTO_WIDGET_PLUGIN_CSS', PW_CSS);
  • extensions/photoWidget/css/admin.css

    r5647 r19908  
    3232p.pw-categories select {
    3333  float: left;
     34  width: 700px;
    3435}
    3536
  • extensions/photoWidget/default_values.inc.php

    r6850 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/include/photoWidgetConfig.class.php

    r6850 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
     
    5353
    5454  private function get_config_file_dir() {
    55     return $GLOBALS['conf']['local_data_dir'].'/plugins/';
     55    return $GLOBALS['conf']['data_location'].'/plugins/';
    5656  }
    5757
  • extensions/photoWidget/include/photoWidgetContent.class.php

    r11752 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/init.php

    r6850 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/ar_SA/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/ar_SA/plugin.lang.php

    r11968 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/cs_CZ/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/cs_CZ/plugin.lang.php

    r11968 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/da_DK/index.php

    r18310 r19908  
    11<?php
     2// +-----------------------------------------------------------------------+
     3// | photoWidget  - a plugin for Piwigo                                    |
     4// +-----------------------------------------------------------------------+
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
     6// +-----------------------------------------------------------------------+
     7// | This program is free software; you can redistribute it and/or modify  |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
     10// |                                                                       |
     11// | This program is distributed in the hope that it will be useful, but   |
     12// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
     13// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
     14// | General Public License for more details.                              |
     15// |                                                                       |
     16// | You should have received a copy of the GNU General Public License     |
     17// | along with this program; if not, write to the Free Software           |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
     20// +-----------------------------------------------------------------------+
     21
     22// Recursive call
    223$url = '../';
    324header( 'Request-URI: '.$url );
  • extensions/photoWidget/language/da_DK/plugin.lang.php

    r18310 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based photo gallery                                    |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2012 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 |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    86// +-----------------------------------------------------------------------+
    97// | This program is free software; you can redistribute it and/or modify  |
    10 // | it under the terms of the GNU General Public License as published by  |
    11 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1210// |                                                                       |
    1311// | This program is distributed in the hope that it will be useful, but   |
     
    1816// | You should have received a copy of the GNU General Public License     |
    1917// | along with this program; if not, write to the Free Software           |
    20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    21 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
    2220// +-----------------------------------------------------------------------+
     21
    2322$lang['one category'] = 'et album';
    2423$lang['severals categories'] = 'flere albummer';
  • extensions/photoWidget/language/de_DE/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/de_DE/plugin.lang.php

    r15465 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/el_GR/index.php

    r15537 r19908  
    11<?php
     2// +-----------------------------------------------------------------------+
     3// | photoWidget  - a plugin for Piwigo                                    |
     4// +-----------------------------------------------------------------------+
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
     6// +-----------------------------------------------------------------------+
     7// | This program is free software; you can redistribute it and/or modify  |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
     10// |                                                                       |
     11// | This program is distributed in the hope that it will be useful, but   |
     12// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
     13// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
     14// | General Public License for more details.                              |
     15// |                                                                       |
     16// | You should have received a copy of the GNU General Public License     |
     17// | along with this program; if not, write to the Free Software           |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
     20// +-----------------------------------------------------------------------+
     21
     22// Recursive call
    223$url = '../';
    324header( 'Request-URI: '.$url );
  • extensions/photoWidget/language/el_GR/plugin.lang.php

    r15537 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based photo gallery                                    |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2012 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 |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    86// +-----------------------------------------------------------------------+
    97// | This program is free software; you can redistribute it and/or modify  |
    10 // | it under the terms of the GNU General Public License as published by  |
    11 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1210// |                                                                       |
    1311// | This program is distributed in the hope that it will be useful, but   |
     
    1816// | You should have received a copy of the GNU General Public License     |
    1917// | along with this program; if not, write to the Free Software           |
    20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    21 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
    2220// +-----------------------------------------------------------------------+
     21
    2322$lang['All categories'] = 'Όλα τα λευκώματα';
    2423$lang['Animation background color'] = 'Χρώμα του φόντου στο Animation';
  • extensions/photoWidget/language/en_UK/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/en_UK/plugin.lang.php

    r15385 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/es_ES/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/es_ES/plugin.lang.php

    r15494 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
    6 // | Copyright(C) 2010 ddtddt                                              |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    76// +-----------------------------------------------------------------------+
    87// | This program is free software; you can redistribute it and/or modify  |
    9 // | it under the terms of the GNU General Public License as published by  |
    10 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1110// |                                                                       |
    1211// | This program is distributed in the hope that it will be useful, but   |
     
    1817// | along with this program; if not, write to the Free Software           |
    1918// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    20 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2120// +-----------------------------------------------------------------------+
    2221
  • extensions/photoWidget/language/fr_FR/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/fr_FR/plugin.lang.php

    r15437 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/hu_HU/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/hu_HU/plugin.lang.php

    r11968 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/it_IT/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/it_IT/plugin.lang.php

    r18895 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/lv_LV/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/lv_LV/plugin.lang.php

    r15625 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    21 
    2221
    2322$lang['That plugin display pictures using a flash movie that rotates them in 3D. It works like regulars categories but in a more amazing and exciting way.'] = 'Ar šī spraudņa palīdzību iespējam parādīt attēlus izmantojot animāciju un 3D rotāciju. Tas darbojas kā ierarasto kategoriju gadījumā, bet interesantāk un aizraujošāk.';
  • extensions/photoWidget/language/nb_NO/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/nb_NO/plugin.lang.php

    r15665 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/nl_NL/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/nl_NL/plugin.lang.php

    r12051 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
    2222// translate by magnific0
    23 
    2423$lang['That plugin display pictures using a flash movie that rotates them in 3D. It works like regulars categories but in a more amazing and exciting way.'] = 'De plugin laat de foto\'s zien in 3D rond draaien met behulp van een flashfilmpje. Het werkt precies hetzelfde als normale categoriën, maar dan mooier en beter :).';
    2524$lang['You can choose that mode for displaying one, severals or all categories'] = 'Je kan een modus kiezen voor het weergeven van één, meerdere of alle categoriën.';
     
    4443$lang['Yes'] = 'Ja';
    4544$lang['You must choose at least one category'] = 'U moet minstens één categorie kiezen.';
    46 
    4745?>
  • extensions/photoWidget/language/pl_PL/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/pl_PL/plugin.lang.php

    r11968 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/pt_PT/index.php

    r15519 r19908  
    11<?php
     2// +-----------------------------------------------------------------------+
     3// | photoWidget  - a plugin for Piwigo                                    |
     4// +-----------------------------------------------------------------------+
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
     6// +-----------------------------------------------------------------------+
     7// | This program is free software; you can redistribute it and/or modify  |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
     10// |                                                                       |
     11// | This program is distributed in the hope that it will be useful, but   |
     12// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
     13// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
     14// | General Public License for more details.                              |
     15// |                                                                       |
     16// | You should have received a copy of the GNU General Public License     |
     17// | along with this program; if not, write to the Free Software           |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
     20// +-----------------------------------------------------------------------+
     21
     22// Recursive call
    223$url = '../';
    324header( 'Request-URI: '.$url );
  • extensions/photoWidget/language/pt_PT/plugin.lang.php

    r15530 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based photo gallery                                    |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2012 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 |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    86// +-----------------------------------------------------------------------+
    97// | This program is free software; you can redistribute it and/or modify  |
    10 // | it under the terms of the GNU General Public License as published by  |
    11 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1210// |                                                                       |
    1311// | This program is distributed in the hope that it will be useful, but   |
     
    1816// | You should have received a copy of the GNU General Public License     |
    1917// | along with this program; if not, write to the Free Software           |
    20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    21 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
    2220// +-----------------------------------------------------------------------+
     21
    2322$lang['All categories'] = 'Álbuns';
    2423$lang['Animation background color'] = 'Cor de fundo da animação ';
  • extensions/photoWidget/language/ru_RU/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/ru_RU/plugin.lang.php

    r11968 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/sk_SK/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/sk_SK/plugin.lang.php

    r11968 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/sv_SE/index.php

    r11881 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/sv_SE/plugin.lang.php

    r11881 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/templates/plugin.lang.php

    r10988 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/tr_TR/index.php

    r11752 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | pwgPhotoWidget  - a plugin for Piwigo                                 |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/tr_TR/plugin.lang.php

    r15601 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/uk_UA/index.php

    r16326 r19908  
    11<?php
     2// +-----------------------------------------------------------------------+
     3// | photoWidget  - a plugin for Piwigo                                    |
     4// +-----------------------------------------------------------------------+
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
     6// +-----------------------------------------------------------------------+
     7// | This program is free software; you can redistribute it and/or modify  |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
     10// |                                                                       |
     11// | This program is distributed in the hope that it will be useful, but   |
     12// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
     13// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
     14// | General Public License for more details.                              |
     15// |                                                                       |
     16// | You should have received a copy of the GNU General Public License     |
     17// | along with this program; if not, write to the Free Software           |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
     20// +-----------------------------------------------------------------------+
     21
     22// Recursive call
    223$url = '../';
    324header( 'Request-URI: '.$url );
  • extensions/photoWidget/language/uk_UA/plugin.lang.php

    r18740 r19908  
    11<?php
    22// +-----------------------------------------------------------------------+
    3 // | Piwigo - a PHP based photo gallery                                    |
     3// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2008-2012 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 |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    86// +-----------------------------------------------------------------------+
    97// | This program is free software; you can redistribute it and/or modify  |
    10 // | it under the terms of the GNU General Public License as published by  |
    11 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1210// |                                                                       |
    1311// | This program is distributed in the hope that it will be useful, but   |
     
    1816// | You should have received a copy of the GNU General Public License     |
    1917// | along with this program; if not, write to the Free Software           |
    20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    21 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA                                                     |
    2220// +-----------------------------------------------------------------------+
     21
    2322$lang['All categories'] = 'Всі альбоми';
    2423$lang['severals categories'] = 'декілька ольбомів';
  • extensions/photoWidget/main.inc.php

    r11752 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
    2222/*
    2323Plugin Name: photoWidget
    24 Version: 0.3.1
     24Version: 0.4.0
    2525Description: add an amazing 3D animation for pictures
    2626Plugin URI: http://piwigo.org/ext/extension_view.php?eid=370
  • extensions/photoWidget/maintain.inc.php

    r10988 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010-2011 Nicolas Roudaire        http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/public.php

    r6850 r19908  
    33// | photoWidget  - a plugin for Piwigo                                    |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2010 Nicolas Roudaire             http://www.nikrou.net  |
     5// | Copyright(C) 2010-2013 Nicolas Roudaire        http://www.nikrou.net  |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
    8 // | it under the terms of the GNU General Public License as published by  |
    9 // | the Free Software Foundation                                          |
     8// | it under the terms of the GNU General Public License version 2 as     |
     9// | published by the Free Software Foundation                             |
    1010// |                                                                       |
    1111// | This program is distributed in the hope that it will be useful, but   |
     
    1717// | along with this program; if not, write to the Free Software           |
    1818// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
    19 // | MA 02110-1301 USA.                                                    |
     19// | MA 02110-1301 USA                                                     |
    2020// +-----------------------------------------------------------------------+
    2121
     
    2525
    2626add_event_handler('loc_begin_index_category_thumbnails',
    27                   array($public_content, 'loc_begin_index_category_thumbnails')
    28   );
     27                  array($public_content, 'loc_begin_index_category_thumbnails')
     28                  );
    2929
    3030add_event_handler('loc_begin_index_thumbnails',
    31                   array($public_content, 'loc_begin_index_thumbnails')
    32   );
    33 add_event_handler('loc_begin_index', array($public_content, 'loc_begin_index'));
     31                  array($public_content, 'loc_begin_index_thumbnails')
     32                  );
     33add_event_handler('loc_begin_index',
     34                  array($public_content, 'loc_begin_index')
     35                  );
    3436?>
  • extensions/photoWidget/template/admin.tpl

    r10988 r19908  
    11{combine_css path="$PWG_PHOTO_WIDGET_PLUGIN_CSS/admin.css"}
     2{combine_css path="themes/default/js/plugins/chosen.css"}
    23{combine_css path="$PWG_PHOTO_WIDGET_PLUGIN_CSS/colorpicker.css"}
    34
     5{combine_script id="jquery.chosen" load="footer" path="themes/default/js/plugins/chosen.jquery.min.js"}
    46{combine_script id="colorpicker" require="jquery" path="$PWG_PHOTO_WIDGET_PLUGIN_JS/colorpicker.js"}
    57
     
    79{literal}
    810$(function() {
    9 $('input[name=pw_all_categories]').change(function() {
    10 if ($(this).attr('value')==0) {
    11 $('#pw-select-categories').removeClass('hide');
    12 } else {
    13 $('#pw-select-categories').addClass('hide');
    14 }
     11    $('input.pwg-picker')
     12        .each(function() {
     13            if ($(this).val() !== undefined) {
     14                $(this).css('background-color', '#'+$(this).val());
     15            }
     16        })
     17            .ColorPicker({
     18                onSubmit: function(hsb, hex, rgb, el) {
     19                    $(el).val(hex);
     20                    $(el).ColorPickerHide();
     21                    $(el).css('background-color', '#'+hex);
     22                },
     23                onBeforeShow: function () {
     24                    $(this).ColorPickerSetColor(this.value);
     25                }
     26            })
     27        .bind('keyup', function(){
     28            $(this).ColorPickerSetColor(this.value);
     29        });
    1530});
     31{/literal}
     32{/footer_script}
    1633
    17 $('input.pwg-picker')
    18   .each(function() {
    19       if ($(this).val() !== undefined) {
    20         $(this).css('background-color', '#'+$(this).val());
    21       }
    22     })
    23   .ColorPicker({
    24     onSubmit: function(hsb, hex, rgb, el) {
    25         $(el).val(hex);
    26         $(el).ColorPickerHide();
    27         $(el).css('background-color', '#'+hex);
    28       },
    29     onBeforeShow: function () {
    30         $(this).ColorPickerSetColor(this.value);
    31       }
    32 })
    33 .bind('keyup', function(){
    34         $(this).ColorPickerSetColor(this.value);
    35 });
     34
     35{footer_script require="jquery.chosen"}
     36{literal}
     37$(function() {
     38    $('input[name=pw_all_categories]').change(function() {
     39        if ($(this).attr('value')==0) {
     40            $('#pw-select-categories').removeClass('hide');
     41        } else {
     42            $('#pw-select-categories').addClass('hide');
     43        }
     44    });
     45
     46    $('#pw-select-categories select').chosen();
    3647});
    3748{/literal}
     
    5970  <p class="field pw-categories{if $PW_ALL_CATEGORIES==1} hide{/if}" id="pw-select-categories">
    6071    <label>{'Applicable categorie(s)'|@translate}</label>
    61     <select name="pw_categories[]" multiple="multiple" size="{$pw_categories|@count|@max:3}">
     72    <select data-placeholder="{'Applicable categorie(s)'|@translate}" name="pw_categories[]" multiple="multiple" size="{$pw_categories|@count|@max:3}">
    6273      <option value="__none__"></option>
    63       {html_options options=$ALL_CATEGORIES selected=$PW_CATEGORIES}
     74      {html_options options=$all_categories selected=$all_categories_selected}
    6475    </select>
    6576  </p>
  • extensions/photoWidget/template/liste.xml

    r5613 r19908  
    33  <?php
    44    foreach ($images as $id => $image) {
    5     printf('<image href="%s">%s</image>', $image['url'], $image['path']);
     5    printf('<image href="%s">%s</image>', $image['url'], DerivativeImage::url(IMG_SQUARE, new SrcImage($image)));
    66    }
    77  ?>
Note: See TracChangeset for help on using the changeset viewer.