Changeset 688471
- Timestamp:
- 03/28/2013 03:30:15 PM (13 years ago)
- Location:
- piwigomedia
- Files:
-
- 4 added
- 6 edited
- 1 copied
-
tags/1.1.0 (copied) (copied from piwigomedia/trunk)
-
tags/1.1.0/css/piwigomedia.css (modified) (1 diff)
-
tags/1.1.0/piwigomedia.php (modified) (3 diffs)
-
tags/1.1.0/readme.txt (modified) (5 diffs)
-
tags/1.1.0/shortcode.php (added)
-
tags/1.1.0/widget.php (added)
-
trunk/css/piwigomedia.css (modified) (1 diff)
-
trunk/piwigomedia.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (5 diffs)
-
trunk/shortcode.php (added)
-
trunk/widget.php (added)
Legend:
- Unmodified
- Added
- Removed
-
piwigomedia/tags/1.1.0/css/piwigomedia.css
r347024 r688471 1 .piwigomedia-single-image { 2 } 3 1 4 .piwigomedia-single-image img { 2 5 padding: 4px; 3 6 border: 1px solid #a0a0a0; 4 7 } 8 9 ul.piwigomedia-category-preview { 10 list-style: none; 11 padding: 0; 12 text-align: center; 13 } 14 15 ul.piwigomedia-category-preview li { 16 display: inline; 17 } 18 19 #sidebar ul.piwigomedia-category-widget { 20 width: 100% ! important; 21 margin-top: 10px; 22 } 23 24 #sidebar ul.piwigomedia-category-widget li { 25 list-style: none ! important; 26 float: left !important; 27 padding: 0; 28 width: 50%; 29 border: 0px solid red; 30 text-align: center; 31 } 32 33 ul.piwigomedia-category-widget .piwigomedia-single-image img { 34 padding: 2px; 35 border: 1px solid #a0a0a0; 36 max-height: 80px; 37 } -
piwigomedia/tags/1.1.0/piwigomedia.php
r607084 r688471 4 4 Plugin URI: http://joaoubaldo.com 5 5 Description: This plugins allows media from a Piwigo site to be inserted into WordPress posts. 6 Version: 1. 0.16 Version: 1.1.0 7 7 Author: João C. 8 8 Author URI: http://joaoubaldo.com 9 9 License: GPL2 (see attached LICENSE file) 10 10 */ 11 12 require_once("shortcode.php"); 13 require_once("widget.php"); 11 14 12 15 … … 29 32 30 33 load_plugin_textdomain('piwigomedia', null, 'piwigomedia/languages/'); 34 31 35 add_filter('mce_buttons', 'register_piwigomedia_tinymce_button'); 32 36 add_filter('mce_external_plugins', 'register_piwigomedia_tinymce_plugin'); 37 38 add_shortcode('pwg-image', 'pwg_image'); 39 add_shortcode('pwg-category', 'pwg_category'); 40 41 wp_register_sidebar_widget("piwigomedia-images", "Piwigo Images", "piwigomedia_widget", 42 array("description" => __("Display Piwigo media on a sidebar widget", "piwigomedia"), 43 "site" => "s", "category" => "cate")); 44 45 wp_enqueue_style('piwigomedia', WP_PLUGIN_URL.'/piwigomedia/css/piwigomedia.css', false, '1.0', 'all'); 33 46 } 34 47 … … 39 52 40 53 add_action('init', 'register_piwigomedia_plugin'); 54 add_action('widgets_init', function() { return register_widget( "PiwigoMediaWidget" ); }); 41 55 42 56 require_once('piwigomedia_admin.php'); -
piwigomedia/tags/1.1.0/readme.txt
r607084 r688471 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.3.1 7 Stable tag: 1. 0.17 Stable tag: 1.1.0 8 8 9 9 This plugins allows media from a Piwigo site to be inserted into WordPress posts. … … 31 31 == Frequently Asked Questions == 32 32 33 = How to use shortcodes? = 34 35 pwg-image - display a single image: 36 [pwg-image site="http://..." id="IMAGE_ID"] 37 38 pwg-category - display any number of images from a category: 39 [pwg-category site="http://..." id="IMAGE_ID" images="NUMBER_OF_IMAGES_TO_DISPLAY" page="PAGE_INDEX"] 40 33 41 = How do I add images to a post? = 34 42 … … 39 47 5. Insert image selection into the post. 40 48 49 or use shortcodes. 50 41 51 = Which versions of Piwigo are supported? = 42 52 … … 45 55 = Which browsers are supported? = 46 56 47 Only Firefox 14 and Chrome 2 1were tested but there should be compatibility for browsers that support jQuery.57 Only Firefox 14 and Chrome 23 were tested but there should be compatibility for browsers that support jQuery. 48 58 49 59 == Screenshots == … … 52 62 53 63 == Changelog == 64 = 1.1.0 = 65 * new: WP shortcodes are now available: pwg-image and pwg-category. 66 * new: PiwigoMedia Widget. Display Piwigo images inside a widget. This is an EXPERIMENTAL feature and it's very basic at the moment. 67 54 68 = 1.0.1 = 55 69 * update: fix to pwm_curl_get(). Some users were experiencing problems with the query built inside this function. -
piwigomedia/trunk/css/piwigomedia.css
r347024 r688471 1 .piwigomedia-single-image { 2 } 3 1 4 .piwigomedia-single-image img { 2 5 padding: 4px; 3 6 border: 1px solid #a0a0a0; 4 7 } 8 9 ul.piwigomedia-category-preview { 10 list-style: none; 11 padding: 0; 12 text-align: center; 13 } 14 15 ul.piwigomedia-category-preview li { 16 display: inline; 17 } 18 19 #sidebar ul.piwigomedia-category-widget { 20 width: 100% ! important; 21 margin-top: 10px; 22 } 23 24 #sidebar ul.piwigomedia-category-widget li { 25 list-style: none ! important; 26 float: left !important; 27 padding: 0; 28 width: 50%; 29 border: 0px solid red; 30 text-align: center; 31 } 32 33 ul.piwigomedia-category-widget .piwigomedia-single-image img { 34 padding: 2px; 35 border: 1px solid #a0a0a0; 36 max-height: 80px; 37 } -
piwigomedia/trunk/piwigomedia.php
r607084 r688471 4 4 Plugin URI: http://joaoubaldo.com 5 5 Description: This plugins allows media from a Piwigo site to be inserted into WordPress posts. 6 Version: 1. 0.16 Version: 1.1.0 7 7 Author: João C. 8 8 Author URI: http://joaoubaldo.com 9 9 License: GPL2 (see attached LICENSE file) 10 10 */ 11 12 require_once("shortcode.php"); 13 require_once("widget.php"); 11 14 12 15 … … 29 32 30 33 load_plugin_textdomain('piwigomedia', null, 'piwigomedia/languages/'); 34 31 35 add_filter('mce_buttons', 'register_piwigomedia_tinymce_button'); 32 36 add_filter('mce_external_plugins', 'register_piwigomedia_tinymce_plugin'); 37 38 add_shortcode('pwg-image', 'pwg_image'); 39 add_shortcode('pwg-category', 'pwg_category'); 40 41 wp_register_sidebar_widget("piwigomedia-images", "Piwigo Images", "piwigomedia_widget", 42 array("description" => __("Display Piwigo media on a sidebar widget", "piwigomedia"), 43 "site" => "s", "category" => "cate")); 44 45 wp_enqueue_style('piwigomedia', WP_PLUGIN_URL.'/piwigomedia/css/piwigomedia.css', false, '1.0', 'all'); 33 46 } 34 47 … … 39 52 40 53 add_action('init', 'register_piwigomedia_plugin'); 54 add_action('widgets_init', function() { return register_widget( "PiwigoMediaWidget" ); }); 41 55 42 56 require_once('piwigomedia_admin.php'); -
piwigomedia/trunk/readme.txt
r607084 r688471 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.3.1 7 Stable tag: 1. 0.17 Stable tag: 1.1.0 8 8 9 9 This plugins allows media from a Piwigo site to be inserted into WordPress posts. … … 31 31 == Frequently Asked Questions == 32 32 33 = How to use shortcodes? = 34 35 pwg-image - display a single image: 36 [pwg-image site="http://..." id="IMAGE_ID"] 37 38 pwg-category - display any number of images from a category: 39 [pwg-category site="http://..." id="IMAGE_ID" images="NUMBER_OF_IMAGES_TO_DISPLAY" page="PAGE_INDEX"] 40 33 41 = How do I add images to a post? = 34 42 … … 39 47 5. Insert image selection into the post. 40 48 49 or use shortcodes. 50 41 51 = Which versions of Piwigo are supported? = 42 52 … … 45 55 = Which browsers are supported? = 46 56 47 Only Firefox 14 and Chrome 2 1were tested but there should be compatibility for browsers that support jQuery.57 Only Firefox 14 and Chrome 23 were tested but there should be compatibility for browsers that support jQuery. 48 58 49 59 == Screenshots == … … 52 62 53 63 == Changelog == 64 = 1.1.0 = 65 * new: WP shortcodes are now available: pwg-image and pwg-category. 66 * new: PiwigoMedia Widget. Display Piwigo images inside a widget. This is an EXPERIMENTAL feature and it's very basic at the moment. 67 54 68 = 1.0.1 = 55 69 * update: fix to pwm_curl_get(). Some users were experiencing problems with the query built inside this function.
Note: See TracChangeset
for help on using the changeset viewer.