Changeset 4082
- Timestamp:
- Oct 21, 2009, 8:25:32 PM (15 years ago)
- Location:
- extensions/Public_Piwigo_WordPress_Widget
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Public_Piwigo_WordPress_Widget/Public_WP_Piwigo_Widget.php
r4073 r4082 4 4 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=316 5 5 Description: Public Piwigo WordPress Widget (PW^2) 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 07 Author: VDigital 6 Version: 1.01 7 Author: VDigital, rvelices, Laurent Duretz, ddtddt (The Piwigo Team) 8 8 Author URI: http://www.vdigital.org/sharing/ 9 9 */ -
extensions/Public_Piwigo_WordPress_Widget/Public_WP_Piwigo_code.php
r4073 r4082 25 25 if (!empty($gallery['from'])) $options .= '&f_min_date_created=' . $from; 26 26 27 $ divclass = empty($gallery['divclass']) ? '' : (' class="' . $gallery['divclass'] .'"');28 $ class = empty($gallery['class']) ? '' : (' class="' . $gallery['class'] .'"');27 $PW2_divclass = empty($gallery['divclass']) ? '' : (' class="' . $gallery['divclass'] .'"'); 28 $PW2_class = empty($gallery['class']) ? '' : (' class="' . $gallery['class'] .'"'); 29 29 $mbcategories = empty($gallery['mbcategories']) ? '' : $gallery['mbcategories']; 30 30 $most_visited = empty($gallery['most_visited']) ? '' : $gallery['most_visited']; … … 49 49 $pictures = $thumbc["result"]["images"]["_content"]; 50 50 foreach ($pictures as $picture) { 51 echo '<div' . $ divclass . '><a title="' . $title. '" href="'51 echo '<div' . $PW2_divclass . '><a title="' . htmlspecialchars($picture['name']) . '" href="' 52 52 . $piwigo_url . 'picture.php?/' . $picture['id'] . '"><img ' 53 . $ class . ' src="' . $picture['tn_url'] . '" alt="" /></a></div>';53 . $PW2_class . ' src="' . $picture['tn_url'] . '" alt="" /></a></div>'; 54 54 } 55 55 } -
extensions/Public_Piwigo_WordPress_Widget/readme.txt
r4056 r4082 73 73 == Changelog == 74 74 75 = 1.01 = 76 * I18n version (French, Spanish,...) 77 Link bug with some theme... Solved. 78 75 79 = 1.0 = 76 80 * First version.
Note: See TracChangeset
for help on using the changeset viewer.