Version Description
- New: Improved default Style template,
[mla_gallery]
parameters "mla_itemwidth" and "mla_margin" added to allow control of gallery item spacing. - Fix: Quick edit support of WordPress standard Categories taxonomy fixed.
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 0.81 |
Comparing to | |
See all releases |
Code changes from version 0.80 to 0.81
- includes/class-mla-main.php +12 -1
- includes/class-mla-shortcodes.php +23 -16
- index.php +2 -2
- phpDocs/classes/MLA.html +1 -28
- phpDocs/classes/MLAData.html +28 -1
- phpDocs/classes/MLAEdit.html +1 -1
- phpDocs/classes/MLAObjects.html +1 -1
- phpDocs/classes/MLASettings.html +1 -1
- phpDocs/classes/MLAShortcodes.html +1 -1
- phpDocs/classes/MLATest.html +1 -1
- phpDocs/classes/MLA_List_Table.html +1 -1
- phpDocs/deprecated.html +1 -1
- phpDocs/errors.html +1 -1
- phpDocs/graph_class.html +1 -1
- phpDocs/index.html +1 -1
- phpDocs/markers.html +1 -1
- phpDocs/namespaces/global.html +1 -1
- phpDocs/packages/Media Library Assistant.html +1 -1
- phpDocs/structure.xml +100 -100
- readme.txt +24 -3
- tpls/admin-display-settings-page.tpl +37 -4
- tpls/mla-gallery-templates.tpl +2 -1
includes/class-mla-main.php
CHANGED
@@ -38,7 +38,7 @@ class MLA {
|
|
38 |
*
|
39 |
* @var string
|
40 |
*/
|
41 |
-
const CURRENT_MLA_VERSION = '0.
|
42 |
|
43 |
/**
|
44 |
* Minimum version of PHP required for this plugin
|
@@ -823,6 +823,17 @@ class MLA {
|
|
823 |
if ( ! current_user_can( 'edit_post', $post_id ) )
|
824 |
wp_die( __( 'You are not allowed to edit this Attachment.' ) );
|
825 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
826 |
if ( ! empty( $_REQUEST['tax_input'] ) ) {
|
827 |
/*
|
828 |
* Flat taxonomy strings must be cleaned up and duplicates removed
|
38 |
*
|
39 |
* @var string
|
40 |
*/
|
41 |
+
const CURRENT_MLA_VERSION = '0.81';
|
42 |
|
43 |
/**
|
44 |
* Minimum version of PHP required for this plugin
|
823 |
if ( ! current_user_can( 'edit_post', $post_id ) )
|
824 |
wp_die( __( 'You are not allowed to edit this Attachment.' ) );
|
825 |
|
826 |
+
/*
|
827 |
+
* The category taxonomy is a special case because post_categories_meta_box() changes the input name
|
828 |
+
*/
|
829 |
+
if ( !isset( $_REQUEST['tax_input'] ) )
|
830 |
+
$_REQUEST['tax_input'] = array ();
|
831 |
+
|
832 |
+
if ( isset( $_REQUEST['post_category'] ) ) {
|
833 |
+
$_REQUEST['tax_input']['category'] = $_REQUEST['post_category'];
|
834 |
+
unset ( $_REQUEST['post_category'] );
|
835 |
+
}
|
836 |
+
|
837 |
if ( ! empty( $_REQUEST['tax_input'] ) ) {
|
838 |
/*
|
839 |
* Flat taxonomy strings must be cleaned up and duplicates removed
|
includes/class-mla-shortcodes.php
CHANGED
@@ -171,6 +171,8 @@ class MLAShortcodes {
|
|
171 |
// MLA-specific
|
172 |
'mla_style' => 'default',
|
173 |
'mla_markup' => 'default',
|
|
|
|
|
174 |
'mla_link_text' => NULL,
|
175 |
'mla_rollover_text' => NULL,
|
176 |
'mla_caption' => NULL,
|
@@ -215,16 +217,33 @@ class MLAShortcodes {
|
|
215 |
// $instance supports multiple galleries in one page/post
|
216 |
static $instance = 0;
|
217 |
$instance++;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
$style_values = array(
|
220 |
'mla_style' => $arguments['mla_style'],
|
|
|
221 |
'instance' => $instance,
|
222 |
'id' => $post->ID,
|
223 |
'itemtag' => tag_escape( $arguments['itemtag'] ),
|
224 |
'icontag' => tag_escape( $arguments['icontag'] ),
|
225 |
'captiontag' => tag_escape( $arguments['captiontag'] ),
|
226 |
'columns' => intval( $arguments['columns']),
|
227 |
-
'itemwidth' => $
|
|
|
228 |
'float' => is_rtl() ? 'right' : 'left',
|
229 |
'selector' => "mla_gallery-{$instance}",
|
230 |
'size_class' => sanitize_html_class( $size_class )
|
@@ -244,21 +263,9 @@ class MLAShortcodes {
|
|
244 |
} // use_mla_gallery_style
|
245 |
|
246 |
$upload_dir = wp_upload_dir();
|
247 |
-
$markup_values =
|
248 |
-
|
249 |
-
|
250 |
-
'id' => $post->ID,
|
251 |
-
'itemtag' => tag_escape( $arguments['itemtag'] ),
|
252 |
-
'icontag' => tag_escape( $arguments['icontag'] ),
|
253 |
-
'captiontag' => tag_escape( $arguments['captiontag'] ),
|
254 |
-
'columns' => intval( $arguments['columns']),
|
255 |
-
'itemwidth' => $arguments['columns'] > 0 ? floor(100/$arguments['columns']) : 100,
|
256 |
-
'float' => is_rtl() ? 'right' : 'left',
|
257 |
-
'selector' => "mla_gallery-{$instance}",
|
258 |
-
'size_class' => sanitize_html_class( $size_class ),
|
259 |
-
'base_url' => $upload_dir['baseurl'],
|
260 |
-
'base_dir' => $upload_dir['basedir']
|
261 |
-
);
|
262 |
|
263 |
$markup_template = MLASettings::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
|
264 |
if ( empty( $markup_template ) ) {
|
171 |
// MLA-specific
|
172 |
'mla_style' => 'default',
|
173 |
'mla_markup' => 'default',
|
174 |
+
'mla_itemwidth' => NULL,
|
175 |
+
'mla_margin' => '1.5',
|
176 |
'mla_link_text' => NULL,
|
177 |
'mla_rollover_text' => NULL,
|
178 |
'mla_caption' => NULL,
|
217 |
// $instance supports multiple galleries in one page/post
|
218 |
static $instance = 0;
|
219 |
$instance++;
|
220 |
+
|
221 |
+
/*
|
222 |
+
* The default style template includes "margin: 1.5%" to put a bit of
|
223 |
+
* minimum space between the columns. "mla_margin" can be used to increase
|
224 |
+
* this. "mla_itemwidth" can be used with "columns=0" to achieve a "responsive"
|
225 |
+
* layout.
|
226 |
+
*/
|
227 |
+
|
228 |
+
$margin = absint( 2 * (float) $arguments['mla_margin'] );
|
229 |
+
if ( isset ( $arguments['mla_itemwidth'] ) ) {
|
230 |
+
$itemwidth = absint( $arguments['mla_itemwidth'] );
|
231 |
+
}
|
232 |
+
else {
|
233 |
+
$itemwidth = $arguments['columns'] > 0 ? (floor(100/$arguments['columns']) - $margin) : 100 - $margin;
|
234 |
+
}
|
235 |
|
236 |
$style_values = array(
|
237 |
'mla_style' => $arguments['mla_style'],
|
238 |
+
'mla_markup' => $arguments['mla_markup'],
|
239 |
'instance' => $instance,
|
240 |
'id' => $post->ID,
|
241 |
'itemtag' => tag_escape( $arguments['itemtag'] ),
|
242 |
'icontag' => tag_escape( $arguments['icontag'] ),
|
243 |
'captiontag' => tag_escape( $arguments['captiontag'] ),
|
244 |
'columns' => intval( $arguments['columns']),
|
245 |
+
'itemwidth' => intval( $itemwidth ),
|
246 |
+
'margin' => $arguments['mla_margin'],
|
247 |
'float' => is_rtl() ? 'right' : 'left',
|
248 |
'selector' => "mla_gallery-{$instance}",
|
249 |
'size_class' => sanitize_html_class( $size_class )
|
263 |
} // use_mla_gallery_style
|
264 |
|
265 |
$upload_dir = wp_upload_dir();
|
266 |
+
$markup_values = $style_values;
|
267 |
+
$markup_values['base_url'] = $upload_dir['baseurl'];
|
268 |
+
$markup_values['base_dir'] = $upload_dir['basedir'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
$markup_template = MLASettings::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
|
271 |
if ( empty( $markup_template ) ) {
|
index.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
-
* @version 0.
|
10 |
*/
|
11 |
|
12 |
/*
|
@@ -14,7 +14,7 @@ Plugin Name: Media Library Assistant
|
|
14 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
15 |
Description: Provides several enhancements to the handling of images and files held in the WordPress Media Library.
|
16 |
Author: David Lingren
|
17 |
-
Version: 0.
|
18 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
19 |
*/
|
20 |
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
+
* @version 0.81
|
10 |
*/
|
11 |
|
12 |
/*
|
14 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
15 |
Description: Provides several enhancements to the handling of images and files held in the WordPress Media Library.
|
16 |
Author: David Lingren
|
17 |
+
Version: 0.81
|
18 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
19 |
*/
|
20 |
|
phpDocs/classes/MLA.html
CHANGED
@@ -74,7 +74,6 @@
|
|
74 |
<li class="method private "><a href="#_display_single_item" title="_display_single_item :: Display a single item sub page; prepare the form to
|
75 |
change the meta data for a single attachment."><span class="description">Display a single item sub page; prepare the form to
|
76 |
change the meta data for a single attachment.</span><pre>_display_single_item()</pre></a></li>
|
77 |
-
<li class="method private "><a href="#_remove_tags" title="_remove_tags :: Remove tags from a term ids list"><span class="description">Remove tags from a term ids list</span><pre>_remove_tags()</pre></a></li>
|
78 |
<li class="method private "><a href="#_restore_single_item" title="_restore_single_item :: Restore a single item from the Trash"><span class="description">Restore a single item from the Trash</span><pre>_restore_single_item()</pre></a></li>
|
79 |
<li class="method private "><a href="#_trash_single_item" title="_trash_single_item :: Move a single item to Trash"><span class="description">Move a single item to Trash</span><pre>_trash_single_item()</pre></a></li>
|
80 |
<li class="nav-header">
|
@@ -448,32 +447,6 @@ change the meta data for a single attachment.</h2>
|
|
448 |
<code>array</code>message and/or HTML content</div>
|
449 |
</div></div>
|
450 |
</div>
|
451 |
-
<a name="_remove_tags" id="_remove_tags"></a><div class="element clickable method private _remove_tags" data-toggle="collapse" data-target="._remove_tags .collapse">
|
452 |
-
<h2>Remove tags from a term ids list</h2>
|
453 |
-
<pre>_remove_tags(array $terms_before, array $tags, object $taxonomy_obj) : array</pre>
|
454 |
-
<div class="labels"></div>
|
455 |
-
<div class="row collapse"><div class="detail-description">
|
456 |
-
<p class="long_description"></p>
|
457 |
-
<table class="table table-bordered"><tr>
|
458 |
-
<th>since</th>
|
459 |
-
<td>0.40</td>
|
460 |
-
</tr></table>
|
461 |
-
<h3>Parameters</h3>
|
462 |
-
<div class="subelement argument">
|
463 |
-
<h4>$terms_before</h4>
|
464 |
-
<code>array</code><p>The term ids currently assigned</p></div>
|
465 |
-
<div class="subelement argument">
|
466 |
-
<h4>$tags</h4>
|
467 |
-
<code>array</code><p>| string The term ids (array) or names (string) to remove</p>
|
468 |
-
</div>
|
469 |
-
<div class="subelement argument">
|
470 |
-
<h4>$taxonomy_obj</h4>
|
471 |
-
<code>object</code><p>The taxonomy object</p></div>
|
472 |
-
<h3>Returns</h3>
|
473 |
-
<div class="subelement response">
|
474 |
-
<code>array</code>Term ids of the surviving tags</div>
|
475 |
-
</div></div>
|
476 |
-
</div>
|
477 |
<a name="_restore_single_item" id="_restore_single_item"></a><div class="element clickable method private _restore_single_item" data-toggle="collapse" data-target="._restore_single_item .collapse">
|
478 |
<h2>Restore a single item from the Trash</h2>
|
479 |
<pre>_restore_single_item(array $post_id) : array</pre>
|
@@ -727,7 +700,7 @@ change the meta data for a single attachment.</h2>
|
|
727 |
<div class="row"><footer class="span12">
|
728 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
729 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
730 |
-
generated on 2012-11-
|
731 |
</div>
|
732 |
</body>
|
733 |
</html>
|
74 |
<li class="method private "><a href="#_display_single_item" title="_display_single_item :: Display a single item sub page; prepare the form to
|
75 |
change the meta data for a single attachment."><span class="description">Display a single item sub page; prepare the form to
|
76 |
change the meta data for a single attachment.</span><pre>_display_single_item()</pre></a></li>
|
|
|
77 |
<li class="method private "><a href="#_restore_single_item" title="_restore_single_item :: Restore a single item from the Trash"><span class="description">Restore a single item from the Trash</span><pre>_restore_single_item()</pre></a></li>
|
78 |
<li class="method private "><a href="#_trash_single_item" title="_trash_single_item :: Move a single item to Trash"><span class="description">Move a single item to Trash</span><pre>_trash_single_item()</pre></a></li>
|
79 |
<li class="nav-header">
|
447 |
<code>array</code>message and/or HTML content</div>
|
448 |
</div></div>
|
449 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
<a name="_restore_single_item" id="_restore_single_item"></a><div class="element clickable method private _restore_single_item" data-toggle="collapse" data-target="._restore_single_item .collapse">
|
451 |
<h2>Restore a single item from the Trash</h2>
|
452 |
<pre>_restore_single_item(array $post_id) : array</pre>
|
700 |
<div class="row"><footer class="span12">
|
701 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
702 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
703 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
704 |
</div>
|
705 |
</body>
|
706 |
</html>
|
phpDocs/classes/MLAData.html
CHANGED
@@ -72,6 +72,7 @@ for a single attachment.</span><pre>mla_update_single_item()</pre></a></li>
|
|
72 |
<li class="method private "><a href="#_build_mla_galleries" title="_build_mla_galleries :: Builds the $mla_galleries or $galleries array"><span class="description">Builds the $mla_galleries or $galleries array</span><pre>_build_mla_galleries()</pre></a></li>
|
73 |
<li class="method private "><a href="#_execute_list_table_query" title="_execute_list_table_query :: Add filters, run query, remove filters"><span class="description">Add filters, run query, remove filters</span><pre>_execute_list_table_query()</pre></a></li>
|
74 |
<li class="method private "><a href="#_prepare_list_table_query" title="_prepare_list_table_query :: Sanitize and expand query arguments from request variables"><span class="description">Sanitize and expand query arguments from request variables</span><pre>_prepare_list_table_query()</pre></a></li>
|
|
|
75 |
<li class="method private "><a href="#_search_mla_galleries" title="_search_mla_galleries :: Search the $mla_galleries or $galleries array"><span class="description">Search the $mla_galleries or $galleries array</span><pre>_search_mla_galleries()</pre></a></li>
|
76 |
<li class="nav-header">
|
77 |
<i class="icon-custom icon-property"></i> Properties</li>
|
@@ -487,6 +488,32 @@ Modeled after wp_edit_attachments_query in wp-admin/post.php</p></p>
|
|
487 |
<code>array</code>revised arguments suitable for WP_Query</div>
|
488 |
</div></div>
|
489 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
490 |
<a name="_search_mla_galleries" id="_search_mla_galleries"></a><div class="element clickable method private _search_mla_galleries" data-toggle="collapse" data-target="._search_mla_galleries .collapse">
|
491 |
<h2>Search the $mla_galleries or $galleries array</h2>
|
492 |
<pre>_search_mla_galleries(array $galleries_array, int $attachment_id) : array</pre>
|
@@ -567,7 +594,7 @@ any further logic required to translate those values is contained in the filters
|
|
567 |
<div class="row"><footer class="span12">
|
568 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
569 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
570 |
-
generated on 2012-11-
|
571 |
</div>
|
572 |
</body>
|
573 |
</html>
|
72 |
<li class="method private "><a href="#_build_mla_galleries" title="_build_mla_galleries :: Builds the $mla_galleries or $galleries array"><span class="description">Builds the $mla_galleries or $galleries array</span><pre>_build_mla_galleries()</pre></a></li>
|
73 |
<li class="method private "><a href="#_execute_list_table_query" title="_execute_list_table_query :: Add filters, run query, remove filters"><span class="description">Add filters, run query, remove filters</span><pre>_execute_list_table_query()</pre></a></li>
|
74 |
<li class="method private "><a href="#_prepare_list_table_query" title="_prepare_list_table_query :: Sanitize and expand query arguments from request variables"><span class="description">Sanitize and expand query arguments from request variables</span><pre>_prepare_list_table_query()</pre></a></li>
|
75 |
+
<li class="method private "><a href="#_remove_tags" title="_remove_tags :: Remove tags from a term ids list"><span class="description">Remove tags from a term ids list</span><pre>_remove_tags()</pre></a></li>
|
76 |
<li class="method private "><a href="#_search_mla_galleries" title="_search_mla_galleries :: Search the $mla_galleries or $galleries array"><span class="description">Search the $mla_galleries or $galleries array</span><pre>_search_mla_galleries()</pre></a></li>
|
77 |
<li class="nav-header">
|
78 |
<i class="icon-custom icon-property"></i> Properties</li>
|
488 |
<code>array</code>revised arguments suitable for WP_Query</div>
|
489 |
</div></div>
|
490 |
</div>
|
491 |
+
<a name="_remove_tags" id="_remove_tags"></a><div class="element clickable method private _remove_tags" data-toggle="collapse" data-target="._remove_tags .collapse">
|
492 |
+
<h2>Remove tags from a term ids list</h2>
|
493 |
+
<pre>_remove_tags(array $terms_before, array $tags, object $taxonomy_obj) : array</pre>
|
494 |
+
<div class="labels"></div>
|
495 |
+
<div class="row collapse"><div class="detail-description">
|
496 |
+
<p class="long_description"></p>
|
497 |
+
<table class="table table-bordered"><tr>
|
498 |
+
<th>since</th>
|
499 |
+
<td>0.40</td>
|
500 |
+
</tr></table>
|
501 |
+
<h3>Parameters</h3>
|
502 |
+
<div class="subelement argument">
|
503 |
+
<h4>$terms_before</h4>
|
504 |
+
<code>array</code><p>The term ids currently assigned</p></div>
|
505 |
+
<div class="subelement argument">
|
506 |
+
<h4>$tags</h4>
|
507 |
+
<code>array</code><p>| string The term ids (array) or names (string) to remove</p>
|
508 |
+
</div>
|
509 |
+
<div class="subelement argument">
|
510 |
+
<h4>$taxonomy_obj</h4>
|
511 |
+
<code>object</code><p>The taxonomy object</p></div>
|
512 |
+
<h3>Returns</h3>
|
513 |
+
<div class="subelement response">
|
514 |
+
<code>array</code>Term ids of the surviving tags</div>
|
515 |
+
</div></div>
|
516 |
+
</div>
|
517 |
<a name="_search_mla_galleries" id="_search_mla_galleries"></a><div class="element clickable method private _search_mla_galleries" data-toggle="collapse" data-target="._search_mla_galleries .collapse">
|
518 |
<h2>Search the $mla_galleries or $galleries array</h2>
|
519 |
<pre>_search_mla_galleries(array $galleries_array, int $attachment_id) : array</pre>
|
594 |
<div class="row"><footer class="span12">
|
595 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
596 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
597 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
598 |
</div>
|
599 |
</body>
|
600 |
</html>
|
phpDocs/classes/MLAEdit.html
CHANGED
@@ -289,7 +289,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
|
|
289 |
<div class="row"><footer class="span12">
|
290 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
291 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
292 |
-
generated on 2012-11-
|
293 |
</div>
|
294 |
</body>
|
295 |
</html>
|
289 |
<div class="row"><footer class="span12">
|
290 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
291 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
292 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
293 |
</div>
|
294 |
</body>
|
295 |
</html>
|
phpDocs/classes/MLAObjects.html
CHANGED
@@ -167,7 +167,7 @@ which replaces the "Posts" column with an equivalent "Attachments" column.</h2>
|
|
167 |
<div class="row"><footer class="span12">
|
168 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
169 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
170 |
-
generated on 2012-11-
|
171 |
</div>
|
172 |
</body>
|
173 |
</html>
|
167 |
<div class="row"><footer class="span12">
|
168 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
169 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
170 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
171 |
</div>
|
172 |
</body>
|
173 |
</html>
|
phpDocs/classes/MLASettings.html
CHANGED
@@ -780,7 +780,7 @@ each page load and cached for subsequent use.</p></p>
|
|
780 |
<div class="row"><footer class="span12">
|
781 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
782 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
783 |
-
generated on 2012-11-
|
784 |
</div>
|
785 |
</body>
|
786 |
</html>
|
780 |
<div class="row"><footer class="span12">
|
781 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
782 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
783 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
784 |
</div>
|
785 |
</body>
|
786 |
</html>
|
phpDocs/classes/MLAShortcodes.html
CHANGED
@@ -211,7 +211,7 @@ Defined as public because it's a filter.</p></p>
|
|
211 |
<div class="row"><footer class="span12">
|
212 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
213 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
214 |
-
generated on 2012-11-
|
215 |
</div>
|
216 |
</body>
|
217 |
</html>
|
211 |
<div class="row"><footer class="span12">
|
212 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
213 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
214 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
215 |
</div>
|
216 |
</body>
|
217 |
</html>
|
phpDocs/classes/MLATest.html
CHANGED
@@ -160,7 +160,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
|
|
160 |
<div class="row"><footer class="span12">
|
161 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
162 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
163 |
-
generated on 2012-11-
|
164 |
</div>
|
165 |
</body>
|
166 |
</html>
|
160 |
<div class="row"><footer class="span12">
|
161 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
162 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
163 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
164 |
</div>
|
165 |
</body>
|
166 |
</html>
|
phpDocs/classes/MLA_List_Table.html
CHANGED
@@ -986,7 +986,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
|
|
986 |
<div class="row"><footer class="span12">
|
987 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
988 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
989 |
-
generated on 2012-11-
|
990 |
</div>
|
991 |
</body>
|
992 |
</html>
|
986 |
<div class="row"><footer class="span12">
|
987 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
988 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
989 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
990 |
</div>
|
991 |
</body>
|
992 |
</html>
|
phpDocs/deprecated.html
CHANGED
@@ -62,7 +62,7 @@
|
|
62 |
<div class="row"><footer class="span12">
|
63 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
64 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
65 |
-
generated on 2012-11-
|
66 |
</div>
|
67 |
</body>
|
68 |
</html>
|
62 |
<div class="row"><footer class="span12">
|
63 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
64 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
65 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
66 |
</div>
|
67 |
</body>
|
68 |
</html>
|
phpDocs/errors.html
CHANGED
@@ -75,7 +75,7 @@
|
|
75 |
<div class="row"><footer class="span12">
|
76 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
77 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
78 |
-
generated on 2012-11-
|
79 |
</div>
|
80 |
</body>
|
81 |
</html>
|
75 |
<div class="row"><footer class="span12">
|
76 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
77 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
78 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
79 |
</div>
|
80 |
</body>
|
81 |
</html>
|
phpDocs/graph_class.html
CHANGED
@@ -59,7 +59,7 @@
|
|
59 |
</script><div class="row"><footer class="span12">
|
60 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
61 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
62 |
-
generated on 2012-11-
|
63 |
</div>
|
64 |
</body>
|
65 |
</html>
|
59 |
</script><div class="row"><footer class="span12">
|
60 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
61 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
62 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
63 |
</div>
|
64 |
</body>
|
65 |
</html>
|
phpDocs/index.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79 |
<div class="row"><footer class="span12">
|
80 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
81 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
82 |
-
generated on 2012-11-
|
83 |
</div>
|
84 |
</body>
|
85 |
</html>
|
79 |
<div class="row"><footer class="span12">
|
80 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
81 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
82 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
83 |
</div>
|
84 |
</body>
|
85 |
</html>
|
phpDocs/markers.html
CHANGED
@@ -64,7 +64,7 @@
|
|
64 |
<div class="row"><footer class="span12">
|
65 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
66 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
67 |
-
generated on 2012-11-
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
64 |
<div class="row"><footer class="span12">
|
65 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
66 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
67 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
phpDocs/namespaces/global.html
CHANGED
@@ -166,7 +166,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
|
|
166 |
<div class="row"><footer class="span12">
|
167 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
168 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
169 |
-
generated on 2012-11-
|
170 |
</div>
|
171 |
</body>
|
172 |
</html>
|
166 |
<div class="row"><footer class="span12">
|
167 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
168 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
169 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
170 |
</div>
|
171 |
</body>
|
172 |
</html>
|
phpDocs/packages/Media Library Assistant.html
CHANGED
@@ -187,7 +187,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
|
|
187 |
<div class="row"><footer class="span12">
|
188 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
189 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
190 |
-
generated on 2012-11-
|
191 |
</div>
|
192 |
</body>
|
193 |
</html>
|
187 |
<div class="row"><footer class="span12">
|
188 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
189 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
190 |
+
generated on 2012-11-25T17:41:22-08:00.<br></footer></div>
|
191 |
</div>
|
192 |
</body>
|
193 |
</html>
|
phpDocs/structure.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
<project version="2.0.0a8" title="Media Library Assistant">
|
3 |
-
<file path="includes\class-mla-data.php" hash="
|
4 |
<docblock line="2">
|
5 |
<description><![CDATA[Database and template file access for MLA needs]]></description>
|
6 |
<long-description><![CDATA[]]></long-description>
|
@@ -543,6 +543,42 @@ for a single attachment.]]></description>
|
|
543 |
<type/>
|
544 |
</argument>
|
545 |
</method>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
546 |
</class>
|
547 |
</file>
|
548 |
<file path="includes\class-mla-edit-media.php" hash="b54afde032b42b5d2fbfdc62e3e592c1" package="Media Library Assistant">
|
@@ -1646,7 +1682,7 @@ $this->set_pagination_args().</p>]]></long-description>
|
|
1646 |
</method>
|
1647 |
</class>
|
1648 |
</file>
|
1649 |
-
<file path="includes\class-mla-main.php" hash="
|
1650 |
<docblock line="2">
|
1651 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
1652 |
<long-description><![CDATA[]]></long-description>
|
@@ -1683,7 +1719,7 @@ of images and files held in the WordPress Media Library.]]></description>
|
|
1683 |
<constant namespace="global" line="41" package="Media Library Assistant">
|
1684 |
<name>CURRENT_MLA_VERSION</name>
|
1685 |
<full_name>CURRENT_MLA_VERSION</full_name>
|
1686 |
-
<value><![CDATA['0.
|
1687 |
<docblock line="34">
|
1688 |
<description><![CDATA[Current version number]]></description>
|
1689 |
<long-description><![CDATA[]]></long-description>
|
@@ -2127,188 +2163,152 @@ going to the Edit Media screen.</p>]]></long-description>
|
|
2127 |
</tag>
|
2128 |
</docblock>
|
2129 |
</method>
|
2130 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2131 |
<name>_build_inline_edit_form</name>
|
2132 |
<full_name>_build_inline_edit_form</full_name>
|
2133 |
-
<docblock line="
|
2134 |
<description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
|
2135 |
<long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
|
2136 |
-
<tag line="
|
2137 |
-
<tag line="
|
2138 |
<type by_reference="false">object</type>
|
2139 |
</tag>
|
2140 |
-
<tag line="
|
2141 |
<type by_reference="false">string</type>
|
2142 |
</tag>
|
2143 |
</docblock>
|
2144 |
-
<argument line="
|
2145 |
<name>$MLAListTable</name>
|
2146 |
<default><![CDATA[]]></default>
|
2147 |
<type/>
|
2148 |
</argument>
|
2149 |
</method>
|
2150 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2151 |
<name>_authors_dropdown</name>
|
2152 |
<full_name>_authors_dropdown</full_name>
|
2153 |
-
<docblock line="
|
2154 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
2155 |
<long-description><![CDATA[]]></long-description>
|
2156 |
-
<tag line="
|
2157 |
-
<tag line="
|
2158 |
<type by_reference="false">integer</type>
|
2159 |
</tag>
|
2160 |
-
<tag line="
|
2161 |
<type by_reference="false">string</type>
|
2162 |
</tag>
|
2163 |
-
<tag line="
|
2164 |
<type by_reference="false">string</type>
|
2165 |
</tag>
|
2166 |
-
<tag line="
|
2167 |
<type by_reference="false">string</type>
|
2168 |
<type by_reference="false">false</type>
|
2169 |
</tag>
|
2170 |
</docblock>
|
2171 |
-
<argument line="
|
2172 |
<name>$author</name>
|
2173 |
<default><![CDATA[0]]></default>
|
2174 |
<type/>
|
2175 |
</argument>
|
2176 |
-
<argument line="
|
2177 |
<name>$name</name>
|
2178 |
<default><![CDATA['post_author']]></default>
|
2179 |
<type/>
|
2180 |
</argument>
|
2181 |
-
<argument line="
|
2182 |
<name>$class</name>
|
2183 |
<default><![CDATA['authors']]></default>
|
2184 |
<type/>
|
2185 |
</argument>
|
2186 |
</method>
|
2187 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2188 |
<name>_current_bulk_action</name>
|
2189 |
<full_name>_current_bulk_action</full_name>
|
2190 |
-
<docblock line="
|
2191 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
2192 |
<long-description><![CDATA[]]></long-description>
|
2193 |
-
<tag line="
|
2194 |
-
<tag line="
|
2195 |
<type by_reference="false">string</type>
|
2196 |
<type by_reference="false">false</type>
|
2197 |
</tag>
|
2198 |
</docblock>
|
2199 |
</method>
|
2200 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2201 |
<name>_delete_single_item</name>
|
2202 |
<full_name>_delete_single_item</full_name>
|
2203 |
-
<docblock line="
|
2204 |
<description><![CDATA[Delete a single item permanently]]></description>
|
2205 |
<long-description><![CDATA[]]></long-description>
|
2206 |
-
<tag line="
|
2207 |
-
<tag line="
|
2208 |
<type by_reference="false">array</type>
|
2209 |
</tag>
|
2210 |
-
<tag line="
|
2211 |
<type by_reference="false">array</type>
|
2212 |
</tag>
|
2213 |
</docblock>
|
2214 |
-
<argument line="
|
2215 |
<name>$post_id</name>
|
2216 |
<default><![CDATA[]]></default>
|
2217 |
<type/>
|
2218 |
</argument>
|
2219 |
</method>
|
2220 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2221 |
<name>_display_single_item</name>
|
2222 |
<full_name>_display_single_item</full_name>
|
2223 |
-
<docblock line="
|
2224 |
<description><![CDATA[Display a single item sub page; prepare the form to
|
2225 |
change the meta data for a single attachment.]]></description>
|
2226 |
<long-description><![CDATA[]]></long-description>
|
2227 |
-
<tag line="
|
2228 |
-
<tag line="
|
2229 |
<type by_reference="false">int</type>
|
2230 |
</tag>
|
2231 |
-
<tag line="
|
2232 |
<type by_reference="false">array</type>
|
2233 |
</tag>
|
2234 |
</docblock>
|
2235 |
-
<argument line="
|
2236 |
<name>$post_id</name>
|
2237 |
<default><![CDATA[]]></default>
|
2238 |
<type/>
|
2239 |
</argument>
|
2240 |
</method>
|
2241 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2242 |
-
<name>_remove_tags</name>
|
2243 |
-
<full_name>_remove_tags</full_name>
|
2244 |
-
<docblock line="1340">
|
2245 |
-
<description><![CDATA[Remove tags from a term ids list]]></description>
|
2246 |
-
<long-description><![CDATA[]]></long-description>
|
2247 |
-
<tag line="1340" name="since" description="0.40"/>
|
2248 |
-
<tag line="1340" name="param" description="The term ids currently assigned" type="array" variable="$terms_before">
|
2249 |
-
<type by_reference="false">array</type>
|
2250 |
-
</tag>
|
2251 |
-
<tag line="1340" name="param" description="| string The term ids (array) or names (string) to remove" type="array" variable="$tags">
|
2252 |
-
<type by_reference="false">array</type>
|
2253 |
-
</tag>
|
2254 |
-
<tag line="1340" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
|
2255 |
-
<type by_reference="false">object</type>
|
2256 |
-
</tag>
|
2257 |
-
<tag line="1340" name="return" description="Term ids of the surviving tags" type="array">
|
2258 |
-
<type by_reference="false">array</type>
|
2259 |
-
</tag>
|
2260 |
-
</docblock>
|
2261 |
-
<argument line="1351">
|
2262 |
-
<name>$terms_before</name>
|
2263 |
-
<default><![CDATA[]]></default>
|
2264 |
-
<type/>
|
2265 |
-
</argument>
|
2266 |
-
<argument line="1351">
|
2267 |
-
<name>$tags</name>
|
2268 |
-
<default><![CDATA[]]></default>
|
2269 |
-
<type/>
|
2270 |
-
</argument>
|
2271 |
-
<argument line="1351">
|
2272 |
-
<name>$taxonomy_obj</name>
|
2273 |
-
<default><![CDATA[]]></default>
|
2274 |
-
<type/>
|
2275 |
-
</argument>
|
2276 |
-
</method>
|
2277 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1393" package="Media Library Assistant">
|
2278 |
<name>_restore_single_item</name>
|
2279 |
<full_name>_restore_single_item</full_name>
|
2280 |
-
<docblock line="
|
2281 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
2282 |
<long-description><![CDATA[]]></long-description>
|
2283 |
-
<tag line="
|
2284 |
-
<tag line="
|
2285 |
<type by_reference="false">array</type>
|
2286 |
</tag>
|
2287 |
-
<tag line="
|
2288 |
<type by_reference="false">array</type>
|
2289 |
</tag>
|
2290 |
</docblock>
|
2291 |
-
<argument line="
|
2292 |
<name>$post_id</name>
|
2293 |
<default><![CDATA[]]></default>
|
2294 |
<type/>
|
2295 |
</argument>
|
2296 |
</method>
|
2297 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2298 |
<name>_trash_single_item</name>
|
2299 |
<full_name>_trash_single_item</full_name>
|
2300 |
-
<docblock line="
|
2301 |
<description><![CDATA[Move a single item to Trash]]></description>
|
2302 |
<long-description><![CDATA[]]></long-description>
|
2303 |
-
<tag line="
|
2304 |
-
<tag line="
|
2305 |
<type by_reference="false">array</type>
|
2306 |
</tag>
|
2307 |
-
<tag line="
|
2308 |
<type by_reference="false">array</type>
|
2309 |
</tag>
|
2310 |
</docblock>
|
2311 |
-
<argument line="
|
2312 |
<name>$post_id</name>
|
2313 |
<default><![CDATA[]]></default>
|
2314 |
<type/>
|
@@ -3068,7 +3068,7 @@ settings are being updated or reset.]]></description>
|
|
3068 |
</method>
|
3069 |
</class>
|
3070 |
</file>
|
3071 |
-
<file path="includes\class-mla-shortcodes.php" hash="
|
3072 |
<docblock line="2">
|
3073 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
3074 |
<long-description><![CDATA[]]></long-description>
|
@@ -3155,51 +3155,51 @@ Enhancements include many additional selection parameters and full taxonomy supp
|
|
3155 |
<type/>
|
3156 |
</argument>
|
3157 |
</method>
|
3158 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3159 |
<name>mla_get_shortcode_attachments</name>
|
3160 |
<full_name>mla_get_shortcode_attachments</full_name>
|
3161 |
-
<docblock line="
|
3162 |
<description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
|
3163 |
<long-description><![CDATA[]]></long-description>
|
3164 |
-
<tag line="
|
3165 |
-
<tag line="
|
3166 |
<type by_reference="false">int</type>
|
3167 |
</tag>
|
3168 |
-
<tag line="
|
3169 |
<type by_reference="false">array</type>
|
3170 |
</tag>
|
3171 |
-
<tag line="
|
3172 |
<type by_reference="false">array</type>
|
3173 |
</tag>
|
3174 |
</docblock>
|
3175 |
-
<argument line="
|
3176 |
<name>$post_parent</name>
|
3177 |
<default><![CDATA[]]></default>
|
3178 |
<type/>
|
3179 |
</argument>
|
3180 |
-
<argument line="
|
3181 |
<name>$attr</name>
|
3182 |
<default><![CDATA[]]></default>
|
3183 |
<type/>
|
3184 |
</argument>
|
3185 |
</method>
|
3186 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3187 |
<name>mla_shortcode_query_posts_where_filter</name>
|
3188 |
<full_name>mla_shortcode_query_posts_where_filter</full_name>
|
3189 |
-
<docblock line="
|
3190 |
<description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
|
3191 |
<long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
|
3192 |
phrase to circumvent subsequent Role Scoper modification of the clause.
|
3193 |
Defined as public because it's a filter.</p>]]></long-description>
|
3194 |
-
<tag line="
|
3195 |
-
<tag line="
|
3196 |
<type by_reference="false">string</type>
|
3197 |
</tag>
|
3198 |
-
<tag line="
|
3199 |
<type by_reference="false">string</type>
|
3200 |
</tag>
|
3201 |
</docblock>
|
3202 |
-
<argument line="
|
3203 |
<name>$where_clause</name>
|
3204 |
<default><![CDATA[]]></default>
|
3205 |
<type/>
|
@@ -3249,13 +3249,13 @@ This file is only loaded if the naming conflict tests in index.php are passed.</
|
|
3249 |
</docblock>
|
3250 |
</constant>
|
3251 |
</file>
|
3252 |
-
<file path="index.php" hash="
|
3253 |
<docblock line="2">
|
3254 |
<description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
|
3255 |
<long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
|
3256 |
will the rest of the plugin be loaded and run.</p>]]></long-description>
|
3257 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
3258 |
-
<tag line="2" name="version" description="0.
|
3259 |
</docblock>
|
3260 |
<include line="103" type="Require Once" package="Media Library Assistant">
|
3261 |
<name>includes/mla-plugin-loader.php</name>
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
<project version="2.0.0a8" title="Media Library Assistant">
|
3 |
+
<file path="includes\class-mla-data.php" hash="7076aa53c1fa1a90b0d4e5a1e0b9a395" package="Media Library Assistant">
|
4 |
<docblock line="2">
|
5 |
<description><![CDATA[Database and template file access for MLA needs]]></description>
|
6 |
<long-description><![CDATA[]]></long-description>
|
543 |
<type/>
|
544 |
</argument>
|
545 |
</method>
|
546 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1305" package="Media Library Assistant">
|
547 |
+
<name>_remove_tags</name>
|
548 |
+
<full_name>_remove_tags</full_name>
|
549 |
+
<docblock line="1294">
|
550 |
+
<description><![CDATA[Remove tags from a term ids list]]></description>
|
551 |
+
<long-description><![CDATA[]]></long-description>
|
552 |
+
<tag line="1294" name="since" description="0.40"/>
|
553 |
+
<tag line="1294" name="param" description="The term ids currently assigned" type="array" variable="$terms_before">
|
554 |
+
<type by_reference="false">array</type>
|
555 |
+
</tag>
|
556 |
+
<tag line="1294" name="param" description="| string The term ids (array) or names (string) to remove" type="array" variable="$tags">
|
557 |
+
<type by_reference="false">array</type>
|
558 |
+
</tag>
|
559 |
+
<tag line="1294" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
|
560 |
+
<type by_reference="false">object</type>
|
561 |
+
</tag>
|
562 |
+
<tag line="1294" name="return" description="Term ids of the surviving tags" type="array">
|
563 |
+
<type by_reference="false">array</type>
|
564 |
+
</tag>
|
565 |
+
</docblock>
|
566 |
+
<argument line="1305">
|
567 |
+
<name>$terms_before</name>
|
568 |
+
<default><![CDATA[]]></default>
|
569 |
+
<type/>
|
570 |
+
</argument>
|
571 |
+
<argument line="1305">
|
572 |
+
<name>$tags</name>
|
573 |
+
<default><![CDATA[]]></default>
|
574 |
+
<type/>
|
575 |
+
</argument>
|
576 |
+
<argument line="1305">
|
577 |
+
<name>$taxonomy_obj</name>
|
578 |
+
<default><![CDATA[]]></default>
|
579 |
+
<type/>
|
580 |
+
</argument>
|
581 |
+
</method>
|
582 |
</class>
|
583 |
</file>
|
584 |
<file path="includes\class-mla-edit-media.php" hash="b54afde032b42b5d2fbfdc62e3e592c1" package="Media Library Assistant">
|
1682 |
</method>
|
1683 |
</class>
|
1684 |
</file>
|
1685 |
+
<file path="includes\class-mla-main.php" hash="85b8d34f91624ab3cf6ec0f5bb717de5" package="Media Library Assistant">
|
1686 |
<docblock line="2">
|
1687 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
1688 |
<long-description><![CDATA[]]></long-description>
|
1719 |
<constant namespace="global" line="41" package="Media Library Assistant">
|
1720 |
<name>CURRENT_MLA_VERSION</name>
|
1721 |
<full_name>CURRENT_MLA_VERSION</full_name>
|
1722 |
+
<value><![CDATA['0.81']]></value>
|
1723 |
<docblock line="34">
|
1724 |
<description><![CDATA[Current version number]]></description>
|
1725 |
<long-description><![CDATA[]]></long-description>
|
2163 |
</tag>
|
2164 |
</docblock>
|
2165 |
</method>
|
2166 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="891" package="Media Library Assistant">
|
2167 |
<name>_build_inline_edit_form</name>
|
2168 |
<full_name>_build_inline_edit_form</full_name>
|
2169 |
+
<docblock line="880">
|
2170 |
<description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
|
2171 |
<long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
|
2172 |
+
<tag line="880" name="since" description="0.20"/>
|
2173 |
+
<tag line="880" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
|
2174 |
<type by_reference="false">object</type>
|
2175 |
</tag>
|
2176 |
+
<tag line="880" name="return" description="HTML <form> markup for hidden rows" type="string">
|
2177 |
<type by_reference="false">string</type>
|
2178 |
</tag>
|
2179 |
</docblock>
|
2180 |
+
<argument line="891">
|
2181 |
<name>$MLAListTable</name>
|
2182 |
<default><![CDATA[]]></default>
|
2183 |
<type/>
|
2184 |
</argument>
|
2185 |
</method>
|
2186 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1028" package="Media Library Assistant">
|
2187 |
<name>_authors_dropdown</name>
|
2188 |
<full_name>_authors_dropdown</full_name>
|
2189 |
+
<docblock line="1017">
|
2190 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
2191 |
<long-description><![CDATA[]]></long-description>
|
2192 |
+
<tag line="1017" name="since" description="0.20"/>
|
2193 |
+
<tag line="1017" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
|
2194 |
<type by_reference="false">integer</type>
|
2195 |
</tag>
|
2196 |
+
<tag line="1017" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
|
2197 |
<type by_reference="false">string</type>
|
2198 |
</tag>
|
2199 |
+
<tag line="1017" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
|
2200 |
<type by_reference="false">string</type>
|
2201 |
</tag>
|
2202 |
+
<tag line="1017" name="return" description="HTML markup for the dropdown field or False" type="string|false">
|
2203 |
<type by_reference="false">string</type>
|
2204 |
<type by_reference="false">false</type>
|
2205 |
</tag>
|
2206 |
</docblock>
|
2207 |
+
<argument line="1028">
|
2208 |
<name>$author</name>
|
2209 |
<default><![CDATA[0]]></default>
|
2210 |
<type/>
|
2211 |
</argument>
|
2212 |
+
<argument line="1028">
|
2213 |
<name>$name</name>
|
2214 |
<default><![CDATA['post_author']]></default>
|
2215 |
<type/>
|
2216 |
</argument>
|
2217 |
+
<argument line="1028">
|
2218 |
<name>$class</name>
|
2219 |
<default><![CDATA['authors']]></default>
|
2220 |
<type/>
|
2221 |
</argument>
|
2222 |
</method>
|
2223 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1062" package="Media Library Assistant">
|
2224 |
<name>_current_bulk_action</name>
|
2225 |
<full_name>_current_bulk_action</full_name>
|
2226 |
+
<docblock line="1055">
|
2227 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
2228 |
<long-description><![CDATA[]]></long-description>
|
2229 |
+
<tag line="1055" name="since" description="0.1"/>
|
2230 |
+
<tag line="1055" name="return" description="The action name or False if no action was selected" type="string|false">
|
2231 |
<type by_reference="false">string</type>
|
2232 |
<type by_reference="false">false</type>
|
2233 |
</tag>
|
2234 |
</docblock>
|
2235 |
</method>
|
2236 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1092" package="Media Library Assistant">
|
2237 |
<name>_delete_single_item</name>
|
2238 |
<full_name>_delete_single_item</full_name>
|
2239 |
+
<docblock line="1083">
|
2240 |
<description><![CDATA[Delete a single item permanently]]></description>
|
2241 |
<long-description><![CDATA[]]></long-description>
|
2242 |
+
<tag line="1083" name="since" description="0.1"/>
|
2243 |
+
<tag line="1083" name="param" description="The form POST data" type="array" variable="$post_id">
|
2244 |
<type by_reference="false">array</type>
|
2245 |
</tag>
|
2246 |
+
<tag line="1083" name="return" description="success/failure message and NULL content" type="array">
|
2247 |
<type by_reference="false">array</type>
|
2248 |
</tag>
|
2249 |
</docblock>
|
2250 |
+
<argument line="1092">
|
2251 |
<name>$post_id</name>
|
2252 |
<default><![CDATA[]]></default>
|
2253 |
<type/>
|
2254 |
</argument>
|
2255 |
</method>
|
2256 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1121" package="Media Library Assistant">
|
2257 |
<name>_display_single_item</name>
|
2258 |
<full_name>_display_single_item</full_name>
|
2259 |
+
<docblock line="1111">
|
2260 |
<description><![CDATA[Display a single item sub page; prepare the form to
|
2261 |
change the meta data for a single attachment.]]></description>
|
2262 |
<long-description><![CDATA[]]></long-description>
|
2263 |
+
<tag line="1111" name="since" description="0.1"/>
|
2264 |
+
<tag line="1111" name="param" description="The WordPress Post ID of the attachment item" type="int" variable="$post_id">
|
2265 |
<type by_reference="false">int</type>
|
2266 |
</tag>
|
2267 |
+
<tag line="1111" name="return" description="message and/or HTML content" type="array">
|
2268 |
<type by_reference="false">array</type>
|
2269 |
</tag>
|
2270 |
</docblock>
|
2271 |
+
<argument line="1121">
|
2272 |
<name>$post_id</name>
|
2273 |
<default><![CDATA[]]></default>
|
2274 |
<type/>
|
2275 |
</argument>
|
2276 |
</method>
|
2277 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1360" package="Media Library Assistant">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2278 |
<name>_restore_single_item</name>
|
2279 |
<full_name>_restore_single_item</full_name>
|
2280 |
+
<docblock line="1351">
|
2281 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
2282 |
<long-description><![CDATA[]]></long-description>
|
2283 |
+
<tag line="1351" name="since" description="0.1"/>
|
2284 |
+
<tag line="1351" name="param" description="The form POST data" type="array" variable="$post_id">
|
2285 |
<type by_reference="false">array</type>
|
2286 |
</tag>
|
2287 |
+
<tag line="1351" name="return" description="success/failure message and NULL content" type="array">
|
2288 |
<type by_reference="false">array</type>
|
2289 |
</tag>
|
2290 |
</docblock>
|
2291 |
+
<argument line="1360">
|
2292 |
<name>$post_id</name>
|
2293 |
<default><![CDATA[]]></default>
|
2294 |
<type/>
|
2295 |
</argument>
|
2296 |
</method>
|
2297 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1396" package="Media Library Assistant">
|
2298 |
<name>_trash_single_item</name>
|
2299 |
<full_name>_trash_single_item</full_name>
|
2300 |
+
<docblock line="1387">
|
2301 |
<description><![CDATA[Move a single item to Trash]]></description>
|
2302 |
<long-description><![CDATA[]]></long-description>
|
2303 |
+
<tag line="1387" name="since" description="0.1"/>
|
2304 |
+
<tag line="1387" name="param" description="The form POST data" type="array" variable="$post_id">
|
2305 |
<type by_reference="false">array</type>
|
2306 |
</tag>
|
2307 |
+
<tag line="1387" name="return" description="success/failure message and NULL content" type="array">
|
2308 |
<type by_reference="false">array</type>
|
2309 |
</tag>
|
2310 |
</docblock>
|
2311 |
+
<argument line="1396">
|
2312 |
<name>$post_id</name>
|
2313 |
<default><![CDATA[]]></default>
|
2314 |
<type/>
|
3068 |
</method>
|
3069 |
</class>
|
3070 |
</file>
|
3071 |
+
<file path="includes\class-mla-shortcodes.php" hash="945204e528911ac54ffe89daaec6bdc9" package="Media Library Assistant">
|
3072 |
<docblock line="2">
|
3073 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
3074 |
<long-description><![CDATA[]]></long-description>
|
3155 |
<type/>
|
3156 |
</argument>
|
3157 |
</method>
|
3158 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="534" package="Media Library Assistant">
|
3159 |
<name>mla_get_shortcode_attachments</name>
|
3160 |
<full_name>mla_get_shortcode_attachments</full_name>
|
3161 |
+
<docblock line="524">
|
3162 |
<description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
|
3163 |
<long-description><![CDATA[]]></long-description>
|
3164 |
+
<tag line="524" name="since" description=".50"/>
|
3165 |
+
<tag line="524" name="param" description="Post ID of the parent" type="int" variable="$post_parent">
|
3166 |
<type by_reference="false">int</type>
|
3167 |
</tag>
|
3168 |
+
<tag line="524" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
|
3169 |
<type by_reference="false">array</type>
|
3170 |
</tag>
|
3171 |
+
<tag line="524" name="return" description="List of attachments returned from WP_Query" type="array">
|
3172 |
<type by_reference="false">array</type>
|
3173 |
</tag>
|
3174 |
</docblock>
|
3175 |
+
<argument line="534">
|
3176 |
<name>$post_parent</name>
|
3177 |
<default><![CDATA[]]></default>
|
3178 |
<type/>
|
3179 |
</argument>
|
3180 |
+
<argument line="534">
|
3181 |
<name>$attr</name>
|
3182 |
<default><![CDATA[]]></default>
|
3183 |
<type/>
|
3184 |
</argument>
|
3185 |
</method>
|
3186 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="854" package="Media Library Assistant">
|
3187 |
<name>mla_shortcode_query_posts_where_filter</name>
|
3188 |
<full_name>mla_shortcode_query_posts_where_filter</full_name>
|
3189 |
+
<docblock line="841">
|
3190 |
<description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
|
3191 |
<long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
|
3192 |
phrase to circumvent subsequent Role Scoper modification of the clause.
|
3193 |
Defined as public because it's a filter.</p>]]></long-description>
|
3194 |
+
<tag line="841" name="since" description="0.70"/>
|
3195 |
+
<tag line="841" name="param" description="query clause before modification" type="string" variable="$where_clause">
|
3196 |
<type by_reference="false">string</type>
|
3197 |
</tag>
|
3198 |
+
<tag line="841" name="return" description="query clause after modification" type="string">
|
3199 |
<type by_reference="false">string</type>
|
3200 |
</tag>
|
3201 |
</docblock>
|
3202 |
+
<argument line="854">
|
3203 |
<name>$where_clause</name>
|
3204 |
<default><![CDATA[]]></default>
|
3205 |
<type/>
|
3249 |
</docblock>
|
3250 |
</constant>
|
3251 |
</file>
|
3252 |
+
<file path="index.php" hash="bbe1528cf6dd4f3c6982265e91bfc59a" package="Media Library Assistant">
|
3253 |
<docblock line="2">
|
3254 |
<description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
|
3255 |
<long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
|
3256 |
will the rest of the plugin be loaded and run.</p>]]></long-description>
|
3257 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
3258 |
+
<tag line="2" name="version" description="0.81"/>
|
3259 |
</docblock>
|
3260 |
<include line="103" type="Require Once" package="Media Library Assistant">
|
3261 |
<name>includes/mla-plugin-loader.php</name>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://fairtradejudaica.org/make-a-difference/donate/
|
|
4 |
Tags: attachments, documents, gallery, image, images, media, library, media library, media-tags, media tags, tags, media categories, categories
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.4.2
|
7 |
-
Stable tag: 0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -104,6 +104,10 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
104 |
|
105 |
== Changelog ==
|
106 |
|
|
|
|
|
|
|
|
|
107 |
= 0.80 =
|
108 |
* New: MLA Gllery Style and Markup Templates, for control over CSS styles, HTML markup and data content of `[mla_gallery]` shortcode output.
|
109 |
* New: The `[mla_gallery]` "mla_link_text", "mla_rollover_text" and "mla_caption", parameters allow easy customization of gallery display.
|
@@ -188,6 +192,9 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
188 |
|
189 |
== Upgrade Notice ==
|
190 |
|
|
|
|
|
|
|
191 |
= 0.80 =
|
192 |
Get the MLA Gallery Style and Markup Templates for control over CSS styles, HTML markup and data content of `[mla_gallery]` shortcode output. Eight other enhancements and four fixes.
|
193 |
|
@@ -262,6 +269,16 @@ Three `[mla_gallery]` parameters provide an easy way to control the contents of
|
|
262 |
|
263 |
All three of these parameters support the Markup and Attachment-specific substitution arguments defined for Markup Templates. For example, if you code `mla_rollover_text="{+date+} : {+description+}"`, the rollover text will contain the upload date, a colon, and the full description of each gallery item. Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the shortcode parser reserves square brackets ("[" and "]") for its own use.
|
264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
<h4>Order, Orderby</h4>
|
266 |
|
267 |
To order the gallery randomly, use "orderby=rand". To suppress gallery ordering you can use "orderby=none" or "order=rand".
|
@@ -371,17 +388,20 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
|
|
371 |
</p>
|
372 |
<h4>Substitution parameters for style templates</h4>
|
373 |
* `mla_style`: shortcode parameter, default = 'default'
|
|
|
374 |
* `instance`: starts at '1', incremented for each additional shortcode in the post/page
|
375 |
* `id`: post_ID of the post/page in which the gallery appears
|
376 |
* `itemtag`: shortcode parameter, default = 'dl'
|
377 |
* `icontag`: shortcode parameter, default = 'dt'
|
378 |
* `captiontag`: shortcode parameter, default = 'dd'
|
379 |
* `columns`: shortcode parameter, default = '3'
|
380 |
-
* `itemwidth`: '
|
|
|
381 |
* `float`: 'right' if current locale is RTL, 'left' if not
|
382 |
* `selector`: "mla_gallery-{$instance}", e.g., mla_gallery-1
|
383 |
* `size_class`: shortcode 'size' parameter, default = 'thumbnail'</td>
|
384 |
<h4>Substitution parameters for markup templates</h4>
|
|
|
385 |
* `mla_markup`: shortcode parameter, default = 'default'
|
386 |
* `instance`: starts at '1', incremented for each additional shortcode in the post/page
|
387 |
* `id`: post_ID of the post/page in which the gallery appears
|
@@ -389,7 +409,8 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
|
|
389 |
* `icontag`: shortcode parameter, default = 'dt'
|
390 |
* `captiontag`: shortcode parameter, default = 'dd'
|
391 |
* `columns`: shortcode parameter, default = '3'
|
392 |
-
* `itemwidth`: '
|
|
|
393 |
* `float`: 'right' if current locale is RTL, 'left' if not
|
394 |
* `selector`: "mla_gallery-{$instance}", e.g., mla_gallery-1
|
395 |
* `size_class`: shortcode 'size' parameter, default = 'thumbnail'. If this parameter contains "none" or an empty string (size="") the attachment title will be displayed instead of the image/icon.
|
4 |
Tags: attachments, documents, gallery, image, images, media, library, media library, media-tags, media tags, tags, media categories, categories
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.4.2
|
7 |
+
Stable tag: 0.81
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
104 |
|
105 |
== Changelog ==
|
106 |
|
107 |
+
= 0.81 =
|
108 |
+
* New: Improved default Style template, `[mla_gallery]` parameters "mla_itemwidth" and "mla_margin" added to allow control of gallery item spacing.
|
109 |
+
* Fix: Quick edit support of WordPress standard Categories taxonomy fixed.
|
110 |
+
|
111 |
= 0.80 =
|
112 |
* New: MLA Gllery Style and Markup Templates, for control over CSS styles, HTML markup and data content of `[mla_gallery]` shortcode output.
|
113 |
* New: The `[mla_gallery]` "mla_link_text", "mla_rollover_text" and "mla_caption", parameters allow easy customization of gallery display.
|
192 |
|
193 |
== Upgrade Notice ==
|
194 |
|
195 |
+
= 0.81 =
|
196 |
+
* Get improved default Style template, `[mla_gallery]` parameters "mla_itemwidth" and "mla_margin" for control of gallery item spacing. Quick edit support of WordPress standard Categories taxonomy has been fixed.
|
197 |
+
|
198 |
= 0.80 =
|
199 |
Get the MLA Gallery Style and Markup Templates for control over CSS styles, HTML markup and data content of `[mla_gallery]` shortcode output. Eight other enhancements and four fixes.
|
200 |
|
269 |
|
270 |
All three of these parameters support the Markup and Attachment-specific substitution arguments defined for Markup Templates. For example, if you code `mla_rollover_text="{+date+} : {+description+}"`, the rollover text will contain the upload date, a colon, and the full description of each gallery item. Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the shortcode parser reserves square brackets ("[" and "]") for its own use.
|
271 |
|
272 |
+
<h4>Gallery Display Style</h4>
|
273 |
+
|
274 |
+
Two `[mla_gallery]` parameters provide control over the size and spacing of gallery items without requiring the use of custom Style templates.
|
275 |
+
|
276 |
+
* `mla_margin`: specifies the margin attribute (in percent) of the ".gallery-item" style. The default value is "1.5" percent.
|
277 |
+
|
278 |
+
* `mla_itemwidth`: specifies the width attribute (in percent) of the ".gallery-item" style. The default value is calculated by subtracting twice the margin from 100%, then dividing by the number of gallery columns. For example, the default value is "32", or (100 - (2 * 1.5)) / 3.
|
279 |
+
|
280 |
+
These parameters are only important if the gallery thumbnails are too large to fit within the width of the page on which they appear. For example, if you code `[mla_gallery size=full]`, the browser will automatically scale down large images to fit within the width attribute (in percent) of the ".gallery-item" style. The default 1.5% margin will ensure that the images do not overlap; you can increase it to add more space between the gallery items. You can also reduce the itemwidth parameter to increase the left and right space between the items.
|
281 |
+
|
282 |
<h4>Order, Orderby</h4>
|
283 |
|
284 |
To order the gallery randomly, use "orderby=rand". To suppress gallery ordering you can use "orderby=none" or "order=rand".
|
388 |
</p>
|
389 |
<h4>Substitution parameters for style templates</h4>
|
390 |
* `mla_style`: shortcode parameter, default = 'default'
|
391 |
+
* `mla_markup`: shortcode parameter, default = 'default'
|
392 |
* `instance`: starts at '1', incremented for each additional shortcode in the post/page
|
393 |
* `id`: post_ID of the post/page in which the gallery appears
|
394 |
* `itemtag`: shortcode parameter, default = 'dl'
|
395 |
* `icontag`: shortcode parameter, default = 'dt'
|
396 |
* `captiontag`: shortcode parameter, default = 'dd'
|
397 |
* `columns`: shortcode parameter, default = '3'
|
398 |
+
* `itemwidth`: shortcode parameter, default = '97' if 'columns' is zero, or 97/columns, e.g., '32' if columns is '3'
|
399 |
+
* `margin`: shortcode parameter, default = '1.5' (percent)
|
400 |
* `float`: 'right' if current locale is RTL, 'left' if not
|
401 |
* `selector`: "mla_gallery-{$instance}", e.g., mla_gallery-1
|
402 |
* `size_class`: shortcode 'size' parameter, default = 'thumbnail'</td>
|
403 |
<h4>Substitution parameters for markup templates</h4>
|
404 |
+
* `mla_style`: shortcode parameter, default = 'default'
|
405 |
* `mla_markup`: shortcode parameter, default = 'default'
|
406 |
* `instance`: starts at '1', incremented for each additional shortcode in the post/page
|
407 |
* `id`: post_ID of the post/page in which the gallery appears
|
409 |
* `icontag`: shortcode parameter, default = 'dt'
|
410 |
* `captiontag`: shortcode parameter, default = 'dd'
|
411 |
* `columns`: shortcode parameter, default = '3'
|
412 |
+
* `itemwidth`: shortcode parameter, default = '97' if 'columns' is zero, or 97/columns, e.g., '32' if columns is '3'
|
413 |
+
* `margin`: shortcode parameter, default = '1.5' (percent)
|
414 |
* `float`: 'right' if current locale is RTL, 'left' if not
|
415 |
* `selector`: "mla_gallery-{$instance}", e.g., mla_gallery-1
|
416 |
* `size_class`: shortcode 'size' parameter, default = 'thumbnail'. If this parameter contains "none" or an empty string (size="") the attachment title will be displayed instead of the image/icon.
|
tpls/admin-display-settings-page.tpl
CHANGED
@@ -263,7 +263,7 @@ All of the options/parameters documented for the [gallery] shortcode are support
|
|
263 |
</p>
|
264 |
<h4>Gallery Display Content</h4>
|
265 |
<p>
|
266 |
-
Three
|
267 |
</p>
|
268 |
<table>
|
269 |
<tr>
|
@@ -272,7 +272,7 @@ Three `[mla_gallery]` parameters provide an easy way to control the contents of
|
|
272 |
</tr>
|
273 |
<tr>
|
274 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_rollover_text</td>
|
275 |
-
<td>replaces the attachment title text displayed when the mouse rolls or hovers over the gallery
|
276 |
</tr>
|
277 |
<tr>
|
278 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_caption</td>
|
@@ -282,6 +282,23 @@ Three `[mla_gallery]` parameters provide an easy way to control the contents of
|
|
282 |
<p>
|
283 |
All three of these parameters support the Markup and Attachment-specific substitution arguments defined for Markup Templates. For example, if you code `mla_rollover_text="{+date+} : {+description+}"`, the rollover text will contain the upload date, a colon, and the full description of each gallery item. Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the shortcode parser reserves square brackets ("[" and "]") for its own use.
|
284 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
<h4>Order, Orderby</h4>
|
286 |
<p>
|
287 |
To order the gallery randomly, use "orderby=rand". To suppress gallery ordering you can use "orderby=none" or "order=rand".
|
@@ -417,6 +434,10 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
|
|
417 |
<td>shortcode parameter, default = 'default'</td>
|
418 |
</tr>
|
419 |
<tr>
|
|
|
|
|
|
|
|
|
420 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">instance</td>
|
421 |
<td>starts at '1', incremented for each additional shortcode in the post/page</td>
|
422 |
</tr>
|
@@ -442,7 +463,11 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
|
|
442 |
</tr>
|
443 |
<tr>
|
444 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemwidth</td>
|
445 |
-
<td>'
|
|
|
|
|
|
|
|
|
446 |
</tr>
|
447 |
<tr>
|
448 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">float</td>
|
@@ -460,6 +485,10 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
|
|
460 |
<h4>Substitution parameters for markup templates</h4>
|
461 |
<table>
|
462 |
<tr>
|
|
|
|
|
|
|
|
|
463 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_markup</td>
|
464 |
<td>shortcode parameter, default = 'default'</td>
|
465 |
</tr>
|
@@ -489,7 +518,11 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
|
|
489 |
</tr>
|
490 |
<tr>
|
491 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemwidth</td>
|
492 |
-
<td>'
|
|
|
|
|
|
|
|
|
493 |
</tr>
|
494 |
<tr>
|
495 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">float</td>
|
263 |
</p>
|
264 |
<h4>Gallery Display Content</h4>
|
265 |
<p>
|
266 |
+
Three [mla_gallery] parameters provide an easy way to control the contents of gallery items without requiring the use of custom Markup templates.
|
267 |
</p>
|
268 |
<table>
|
269 |
<tr>
|
272 |
</tr>
|
273 |
<tr>
|
274 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_rollover_text</td>
|
275 |
+
<td>replaces the attachment title text displayed when the mouse rolls or hovers over the gallery thumbnail</td>
|
276 |
</tr>
|
277 |
<tr>
|
278 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_caption</td>
|
282 |
<p>
|
283 |
All three of these parameters support the Markup and Attachment-specific substitution arguments defined for Markup Templates. For example, if you code `mla_rollover_text="{+date+} : {+description+}"`, the rollover text will contain the upload date, a colon, and the full description of each gallery item. Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the shortcode parser reserves square brackets ("[" and "]") for its own use.
|
284 |
</p>
|
285 |
+
<h4>Gallery Display Style</h4>
|
286 |
+
<p>
|
287 |
+
Two [mla_gallery] parameters provide control over the size and spacing of gallery items without requiring the use of custom Style templates.
|
288 |
+
</p>
|
289 |
+
<table>
|
290 |
+
<tr>
|
291 |
+
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_margin</td>
|
292 |
+
<td>specifies the margin attribute (in percent) of the ".gallery-item" style. The default value is "1.5" percent.</td>
|
293 |
+
</tr>
|
294 |
+
<tr>
|
295 |
+
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_itemwidth</td>
|
296 |
+
<td>specifies the width attribute (in percent) of the ".gallery-item" style. The default value is calculated by subtracting twice the margin from 100%, then dividing by the number of gallery columns. For example, the default value is "32", or (100 - (2 * 1.5)) / 3.</td>
|
297 |
+
</tr>
|
298 |
+
</table>
|
299 |
+
<p>
|
300 |
+
These parameters are only important if the gallery thumbnails are too large to fit within the width of the page on which they appear. For example, if you code [mla_gallery size=full], the browser will automatically scale down large images to fit within the width attribute (in percent) of the ".gallery-item" style. The default 1.5% margin will ensure that the images do not overlap; you can increase it to add more space between the gallery items. You can also reduce the itemwidth parameter to increase the left and right space between the items.
|
301 |
+
</p>
|
302 |
<h4>Order, Orderby</h4>
|
303 |
<p>
|
304 |
To order the gallery randomly, use "orderby=rand". To suppress gallery ordering you can use "orderby=none" or "order=rand".
|
434 |
<td>shortcode parameter, default = 'default'</td>
|
435 |
</tr>
|
436 |
<tr>
|
437 |
+
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_markup</td>
|
438 |
+
<td>shortcode parameter, default = 'default'</td>
|
439 |
+
</tr>
|
440 |
+
<tr>
|
441 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">instance</td>
|
442 |
<td>starts at '1', incremented for each additional shortcode in the post/page</td>
|
443 |
</tr>
|
463 |
</tr>
|
464 |
<tr>
|
465 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemwidth</td>
|
466 |
+
<td>shortcode parameter, default = '97' if 'columns' is zero, or 97/columns, e.g., '32' if columns is '3'</td>
|
467 |
+
</tr>
|
468 |
+
<tr>
|
469 |
+
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">margin</td>
|
470 |
+
<td>shortcode parameter, default = '1.5' (percent)</td>
|
471 |
</tr>
|
472 |
<tr>
|
473 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">float</td>
|
485 |
<h4>Substitution parameters for markup templates</h4>
|
486 |
<table>
|
487 |
<tr>
|
488 |
+
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_style</td>
|
489 |
+
<td>shortcode parameter, default = 'default'</td>
|
490 |
+
</tr>
|
491 |
+
<tr>
|
492 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_markup</td>
|
493 |
<td>shortcode parameter, default = 'default'</td>
|
494 |
</tr>
|
518 |
</tr>
|
519 |
<tr>
|
520 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemwidth</td>
|
521 |
+
<td>shortcode parameter, default = '97' if 'columns' is zero, or 97/columns, e.g., '32' if columns is '3'</td>
|
522 |
+
</tr>
|
523 |
+
<tr>
|
524 |
+
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">margin</td>
|
525 |
+
<td>shortcode parameter, default = '1.5' (percent)</td>
|
526 |
</tr>
|
527 |
<tr>
|
528 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">float</td>
|
tpls/mla-gallery-templates.tpl
CHANGED
@@ -2,10 +2,11 @@
|
|
2 |
<style type='text/css'>
|
3 |
#[+selector+] {
|
4 |
margin: auto;
|
|
|
5 |
}
|
6 |
#[+selector+] .gallery-item {
|
7 |
float: [+float+];
|
8 |
-
margin
|
9 |
text-align: center;
|
10 |
width: [+itemwidth+]%;
|
11 |
}
|
2 |
<style type='text/css'>
|
3 |
#[+selector+] {
|
4 |
margin: auto;
|
5 |
+
width: 100%;
|
6 |
}
|
7 |
#[+selector+] .gallery-item {
|
8 |
float: [+float+];
|
9 |
+
margin: [+margin+]%;
|
10 |
text-align: center;
|
11 |
width: [+itemwidth+]%;
|
12 |
}
|