Changeset 6850


Ignore:
Timestamp:
Sep 6, 2010, 9:10:49 PM (10 years ago)
Author:
nikrou
Message:

Add IT thanks to sergix
Add CZ thanks to webprostor-hosting
Bug fix : Flash animation didn't work when category used a permanink.
Update FSF address
Remove configuration when plugin is uninstalled.

Location:
extensions/photoWidget
Files:
23 edited
1 copied

Legend:

Unmodified
Added
Removed
  • extensions/photoWidget/CHANGELOG

    r5647 r6850  
     1photoWidget 0.2.1 - 2010-09-06
     2================================
     3* Add IT thanks to sergix
     4* Add CZ thanks to webprostor-hosting
     5* Bug fix : Flash animation didn't work when category used a permanink.
     6* Update FSF address
     7* Remove configuration when plugin is uninstalled.
     8
    19photoWidget 0.2.0 - 2010-04-04
    210================================
  • extensions/photoWidget/MANIFEST

    r5613 r6850  
    99photoWidget/main.inc.php
    1010photoWidget/default_values.inc.php
     11photoWidget/language/fr_FR/index.php
    1112photoWidget/language/fr_FR/description.txt
    1213photoWidget/language/fr_FR/plugin.lang.php
     14photoWidget/language/de_DE/index.php
     15photoWidget/language/de_DE/description.txt
     16photoWidget/language/de_DE/plugin.lang.php
     17photoWidget/language/templates/index.php
    1318photoWidget/language/templates/plugin.lang.php
     19photoWidget/language/en_UK/index.php
     20photoWidget/language/en_UK/description.txt
    1421photoWidget/language/en_UK/plugin.lang.php
     22photoWidget/language/it_IT/index.php
     23photoWidget/language/it_IT/description.txt
     24photoWidget/language/it_IT/plugin.lang.php
     25photoWidget/language/es_ES/index.php
     26photoWidget/language/es_ES/description.txt
     27photoWidget/language/es_ES/plugin.lang.php
     28photoWidget/language/cs_CZ/index.php
     29photoWidget/language/cs_CZ/description.txt
     30photoWidget/language/cs_CZ/plugin.lang.php
    1531photoWidget/CHANGELOG
    1632photoWidget/modele
  • extensions/photoWidget/admin.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/default_values.inc.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/include/photoWidgetConfig.class.php

    r5611 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/include/photoWidgetContent.class.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
     
    2727    $this->plugin_config = $config;
    2828
    29     $this->fmt_xml = make_index_url() . '/category/%d/pw.xml';
    30     $xml_pattern = '`category/(\d*)/pw\.xml$`';
     29    $this->fmt_xml = make_index_url() . '/category/%s/pw.xml';
     30    $xml_pattern = '`category/([^/]*)/pw\.xml$`';
    3131   
    3232    if (preg_match($xml_pattern, $_SERVER['QUERY_STRING'], $matches)) {
     
    7171
    7272    $template->set_filename('index_thumbnails', PW_TEMPLATE . '/animation.tpl');
    73     $template->assign('PW_XML', sprintf($this->fmt_xml, $page['category']['id']));
     73    if (!empty($page['category']['permalink'])) {
     74      $template->assign('PW_XML', sprintf($this->fmt_xml, $page['category']['permalink']));
     75    } else {
     76      $template->assign('PW_XML', sprintf($this->fmt_xml, $page['category']['id']));
     77    }
    7478    $template->assign('PW_BGCOLOR', $this->plugin_config->pw_bgcolor);
    7579    $template->assign('PW_WIDTH', $this->plugin_config->pw_width);
  • extensions/photoWidget/init.php

    r5611 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/cs_CZ/index.php

    r6834 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/cs_CZ/plugin.lang.php

    r6843 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/de_DE/index.php

    r6003 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/de_DE/plugin.lang.php

    r6003 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/en_UK/index.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/en_UK/plugin.lang.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/es_ES/index.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/es_ES/plugin.lang.php

    r5650 r6850  
    1717// | You should have received a copy of the GNU General Public License     |
    1818// | along with this program; if not, write to the Free Software           |
    19 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    20 // | USA.                                                                  |
     19// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     20// | MA 02110-1301 USA.                                                    |
    2121// +-----------------------------------------------------------------------+
    2222
  • extensions/photoWidget/language/fr_FR/index.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/fr_FR/plugin.lang.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/it_IT/index.php

    r6838 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/it_IT/plugin.lang.php

    r6843 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/templates/index.php

    r6843 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/language/templates/plugin.lang.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
  • extensions/photoWidget/main.inc.php

    r5647 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
    2222/*
    2323Plugin Name: photoWidget
    24 Version: 0.2.0
     24Version: 0.2.1
    2525Description: add an amazing 3D animation for pictures
    2626Plugin URI: http://piwigo.org/ext/extension_view.php?eid=370
  • extensions/photoWidget/maintain.inc.php

    r5611 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
     
    3434
    3535function plugin_uninstall($plugin_id) {
     36  $config_file = $GLOBALS['conf']['local_data_dir'].'/plugins/';
     37  $config_file .= basename(dirname(__FILE__)).'.dat';
     38  unlink($config_file);
    3639}
    3740?>
  • extensions/photoWidget/public.php

    r5611 r6850  
    1616// | You should have received a copy of the GNU General Public License     |
    1717// | along with this program; if not, write to the Free Software           |
    18 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
    19 // | USA.                                                                  |
     18// | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,            |
     19// | MA 02110-1301 USA.                                                    |
    2020// +-----------------------------------------------------------------------+
    2121
Note: See TracChangeset for help on using the changeset viewer.