Changeset 4125 for extensions/piwigopress
- Timestamp:
- Oct 26, 2009, 11:46:57 PM (15 years ago)
- Location:
- extensions/piwigopress
- Files:
-
- 1 added
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piwigopress/PiwigoPress_code.php
r4101 r4125 1 1 <?php 2 if (defined('PHPWG_ROOT_PATH')) return; /* Avoid Automatic installunder Piwigo */3 if (!defined('PWGP_NAME')) return; /* Avoid Direct call*/2 if (defined('PHPWG_ROOT_PATH')) return; /* Avoid direct usage under Piwigo */ 3 if (!defined('PWGP_NAME')) return; /* Avoid unpredicted access */ 4 4 5 5 global $wpdb; /* Need for recent thumbnail access */ … … 39 39 echo $before_widget; 40 40 echo $title; 41 if (!function_exists('pwg_get_contents')) include 'PiwigoPress_get.php'; 41 42 42 43 if ($thumbnail == 'true') { 43 44 // Make the Piwigo link 44 $response = file_get_contents( $piwigo_url45 $response = pwg_get_contents( $piwigo_url 45 46 . 'ws.php?method=pwg.categories.getImages&format=php' 46 47 . $options . '&recursive=true&order=random&f_with_thumbnail=true'); … … 58 59 if ($mbcategories == 'true') { 59 60 // Make the Piwigo category list 60 $response = file_get_contents( $piwigo_url61 $response = pwg_get_contents( $piwigo_url 61 62 . 'ws.php?method=pwg.categories.getList&format=php&public=true'); 62 63 $cats = unserialize($response); -
extensions/piwigopress/PiwigoPress_options.php
r4101 r4125 1 1 <?php 2 if (defined('PHPWG_ROOT_PATH')) return; /* Avoid Automatic installunder Piwigo */3 if (!defined('PWGP_NAME')) return; /* Avoid Direct call*/2 if (defined('PHPWG_ROOT_PATH')) return; /* Avoid direct usage under Piwigo */ 3 if (!defined('PWGP_NAME')) return; /* Avoid unpredicted access */ 4 4 5 5 // Defaults -
extensions/piwigopress/piwigopress.php
r4109 r4125 4 4 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=316 5 5 Description: PiwigoPress is a WordPress 2.8 widget, it links a public picture in your Piwigo gallery (<a href="http://piwigo.org/">Piwigo</a>). In other words, it's a WordPress Sidebar Widget with some available public pictures in your Piwigo gallery as a prereq. 6 Version: 1.0 36 Version: 1.04 7 7 Author: vpiwigo ( for The Piwigo Team ) 8 8 Author URI: http://www.vdigital.org/sharing/ -
extensions/piwigopress/readme.txt
r4109 r4125 73 73 == Changelog == 74 74 75 = 1.04 = 76 * Alternate pwg_get_contents (file_get_contents, fsockopen, ...) 77 * cURL is coming 78 75 79 = 1.03 = 76 80 * Project rename: Directory name changed for WordPress constraints
Note: See TracChangeset
for help on using the changeset viewer.