Add upstream
This commit is contained in:
		| @@ -0,0 +1,15 @@ | ||||
| <h3>[+Language Options+]</h3> | ||||
| <p>[+In this tab+]</p> | ||||
| <p>[+You can find+]</p> | ||||
| [+WPML Status+] | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-general-tab"> | ||||
|     <table class="optiontable"> | ||||
| [+options_list+] | ||||
| 	</table> | ||||
|     <p class="submit mla-settings-submit"> | ||||
|         <input name="mla-language-options-save" type="submit" class="button-primary" value="[+Save Changes+]" />   | ||||
|         <input name="mla-language-options-reset" type="submit" class="button-primary alignright" value="[+Delete Language options+]"/> | ||||
|     </p> | ||||
| [+_wpnonce+] | ||||
| [+_wp_http_referer+] | ||||
| </form> | ||||
| @@ -0,0 +1,540 @@ | ||||
| <!-- template="single-item-edit" --> | ||||
| <div id="ajax-response"></div> | ||||
| <h2>[+Edit Rule+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="validate" id="mla-edit-custom-field"> | ||||
| 	<input name="mla_custom_field[post_ID]" id="mla-custom-field-post-ID" type="hidden" value="[+post_ID+]" /> | ||||
| 	<input name="mla_custom_field[name]" id="mla-custom-field-name" type="hidden" value="[+name+]" /> | ||||
| 	<input name="mla_custom_field[rule_name]" id="mla-custom-field-rule-name" type="hidden" value="[+rule_name+]" /> | ||||
| 	[+_wpnonce+] | ||||
| 	<table class="form-table" id="mla-edit-custom-field-table"> | ||||
| 		<tbody> | ||||
| 			<tr class="form-field custom-field-name-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-display-name">[+Name+]</label> | ||||
| 				</th> | ||||
| 				<td> | ||||
| 					<input name="mla_custom_field[display_name]" id="mla-custom-field-display-name" type="text" readonly="readonly" value="[+display_name+]" /> | ||||
| 					<select name="mla_custom_field[new_name]" id="mla-new-custom-field-name" style="display: none;" > | ||||
| [+new_names+] | ||||
| 					</select> | ||||
| 					<input name="mla_custom_field[new_field]" id="mla-new-custom-field" style="display: none;" type="text" value=""> | ||||
| 					<br /> | ||||
| 					 | ||||
| <a class="hide-if-no-js" id="mla-change-name-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-custom-field-display-name, #mla-new-custom-field, #mla-change-name-link, #mla-cancel-custom-field-link' ).hide(); | ||||
| jQuery( '#mla-new-custom-field-name, #mla-add-custom-field-link, #mla-cancel-name-change-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-custom-field"> | ||||
| [+Change Name+] | ||||
| </a> | ||||
|  | ||||
| <a class="hide-if-no-js hidden" id="mla-add-custom-field-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-custom-field-display-name, #mla-new-custom-field-name, #mla-change-name-link, #mla-add-custom-field-link' ).hide(); | ||||
| jQuery( '#mla-new-custom-field-name' ).val('none'); | ||||
| jQuery( '#mla-new-custom-field, #mla-cancel-custom-field-link, #mla-cancel-name-change-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-custom-field"> | ||||
| [+Enter new field+] | ||||
| </a> | ||||
|  | ||||
| <a class="hide-if-no-js hidden" id="mla-cancel-custom-field-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-custom-field-display-name, #mla-new-custom-field, #mla-cancel-custom-field-link, #mla-change-name-link' ).hide(); | ||||
| jQuery( '#mla-new-custom-field' ).val(''); | ||||
| jQuery( '#mla-new-custom-field-name, #mla-add-custom-field-link, #mla-cancel-name-change-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-custom-field"> | ||||
| [+Cancel new field+] | ||||
| </a> | ||||
|     | ||||
| <a class="hide-if-no-js hidden" id="mla-cancel-name-change-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-new-custom-field-name, #mla-new-custom-field, #mla-add-custom-field-link, #mla-cancel-custom-field-link, #mla-cancel-name-change-link' ).hide(); | ||||
| jQuery( '#mla-new-custom-field-name' ).val('none'); | ||||
| jQuery( '#mla-new-custom-field' ).val(''); | ||||
| jQuery( '#mla-custom-field-display-name, #mla-change-name-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-custom-field"> | ||||
| [+Cancel Name Change+] | ||||
| </a> | ||||
|  | ||||
| 					<p class="description">[+Enter Name+]</p></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-data-source-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-data-source">[+Data Source+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_custom_field[data_source]" id="mla-custom-field-data-source"> | ||||
| 						 | ||||
| [+data_sources+] | ||||
| 						 | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-meta-name-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-meta-name">[+Meta/Template+]</label> | ||||
| 				</th> | ||||
| 				<td><input name="mla_custom_field[meta_name]" id="mla-custom-field-meta-name" type="text" value="[+meta_name+]" size="40" /> | ||||
| 					<p class="description"> [+Enter Meta/Template+]</p></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-mla-column-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-mla-column">[+MLA Column+]</label> | ||||
| 				</th> | ||||
| 				<td><input type="checkbox" name="mla_custom_field[mla_column]" id="mla-custom-field-mla-column" [+mla_column+] value="1" /> | ||||
| 					 [+Check MLA Column+] </td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-quick-edit-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-quick-edit">[+Quick Edit+]</label> | ||||
| 				</th> | ||||
| 				<td><input type="checkbox" name="mla_custom_field[quick_edit]" id="mla-custom-field-quick-edit" [+quick_edit+] value="1" /> | ||||
| 					 [+Check Quick Edit+] </td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-bulk-edit-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-bulk-edit">[+Bulk Edit+]</label> | ||||
| 				</th> | ||||
| 				<td><input type="checkbox" name="mla_custom_field[bulk_edit]" id="mla-custom-field-bulk-edit" [+bulk_edit+] value="1" /> | ||||
| 					 [+Check Bulk Edit+] </td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-existing-text-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-existing-text">[+Existing Text+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_custom_field[keep_existing]" id="mla-custom-field-existing-text"> | ||||
| 						<option [+keep_selected+] value="1">[+Keep+]</option> | ||||
| 						<option [+replace_selected+] value="">[+Replace+]</option> | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-format-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-format">[+Format+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_custom_field[format]" id="mla-custom-field-format"> | ||||
| 						<option [+native_format+] value="native">[+Native+]</option> | ||||
| 						<option [+commas_format+] value="commas">[+Commas+]</option> | ||||
| 						<option [+raw_format+] value="raw">[+Raw+]</option> | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-option-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-option">[+Option+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_custom_field[option]" id="mla-custom-field-option"> | ||||
| 						<option [+text_option+] value="text">[+Text+]</option> | ||||
| 						<option [+single_option+] value="single">[+Single+]</option> | ||||
| 						<option [+export_option+] value="export">[+Export+]</option> | ||||
| 						<option [+array_option+] value="array">[+Array+]</option> | ||||
| 						<option [+multi_option+] value="multi">[+Multi+]</option> | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-no-null-wrap"> | ||||
| 			<th scope="row"> | ||||
| 				<label for="mla-custom-field-no-null">[+Delete NULL+]</label> | ||||
| 			</th> | ||||
| 			<td> | ||||
| 				<input type="checkbox" name="mla_custom_field[no_null]" id="mla-custom-field-no-null" [+no_null+] value="1" /> [+Check Delete NULL+] | ||||
| 			</td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field custom-field-status-wrap"> | ||||
| 				<th scope="row"> <label for="mla-custom-field-status">[+Status+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_custom_field[status]" id="mla-custom-field-status"> | ||||
| 						<option [+active_selected+] value="1">[+Active+]</option> | ||||
| 						<option [+inactive_selected+] value="">[+Inactive+]</option> | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 		</tbody> | ||||
| 	</table> | ||||
| 	<p class="submit mla-settings-submit"> | ||||
| 		<input name="[+cancel+]" class="button-primary" type="submit" value="[+Cancel+]" /> | ||||
| 		  | ||||
| 		<input name="[+submit+]" class="button-primary" [+submit_style+] type="submit" value="[+Update+]" /> | ||||
| 		  </p> | ||||
| </form> | ||||
|  | ||||
| <!-- template="custom-field-disabled" --> | ||||
| <h2>[+Support is disabled+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-custom-field-tab"> | ||||
|     <table class="optiontable"> | ||||
| [+options_list+] | ||||
| 	</table> | ||||
|     <p class="submit mla-settings-submit"> | ||||
|         <input name="mla-custom-field-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
|     </p> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-custom_field" /> | ||||
| 	<input type="hidden" name="mla_tab" value="custom_field" /> | ||||
| 	[+_wpnonce+] | ||||
| </form> | ||||
|  | ||||
| <!-- template="before-table" --> | ||||
| [+mla-progress-div+] | ||||
| <h2>[+Custom Field Options+]</h2> | ||||
| <p>[+In this tab+]</p> | ||||
| <p>[+You can find+]</p> | ||||
| <div id="ajax-response"></div> | ||||
| <form action="[+form_url+]" method="get" id="mla-search-custom-field-form"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-custom_field" /> | ||||
| 	<input type="hidden" name="mla_tab" value="custom_field" /> | ||||
| 	[+view_args+] | ||||
| 	[+_wpnonce+] | ||||
| 	<span style="margin-top: 1em"> | ||||
| 		<input name="mla-search-custom-field-submit" class="button alignright" id="mla-search-custom-field-submit" type="submit" value="[+Search Rules+]" /> | ||||
| 		<label class="screen-reader-text" for="mla-search-custom-field-input">[+Search Rules Text+]:</label> | ||||
| 		<input name="s" class="alignright" id="mla-search-custom-field-input" type="search" value="[+s+]" /> | ||||
| 	[+results+] | ||||
| 	</span> | ||||
| </form> | ||||
| <br class="clear" /> | ||||
| <div id="col-container"> | ||||
| 	<div id="col-right"> | ||||
| 		<div class="col-wrap"> | ||||
| 			<form action="[+form_url+]" method="post" id="mla-search-custom-field-filter"> | ||||
| 				<input type="hidden" name="page" value="mla-settings-menu-custom_field" /> | ||||
| 				<input type="hidden" name="mla_tab" value="custom_field" /> | ||||
| 				[+view_args+] | ||||
| 				[+_wpnonce+] | ||||
|  | ||||
| <!-- template="after-table" --> | ||||
| 			</form><!-- /id=mla-search-custom-field-filter -->  | ||||
| 		</div><!-- /col-wrap -->  | ||||
| 	</div><!-- /col-right --> | ||||
| 	<div id="col-left"> | ||||
| 		<div class="col-wrap"> | ||||
| 		<div class="mla-settings-enable-form"> | ||||
| 		<form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-custom-field-tab"> | ||||
| 			<table class="optiontable"> | ||||
| 		[+options_list+] | ||||
| 			</table> | ||||
| 			<span class="submit mla-settings-submit"> | ||||
| 				<input name="mla-custom-field-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
| 			</span> | ||||
| 			<span class="submit mla-settings-submit"> | ||||
| 				<input name="custom-field-options-map" type="submit" class="alignright button-primary mla-mapping" value="[+Map All+]" /> | ||||
| 			</span> | ||||
| 		[+_wpnonce+] | ||||
| 		</form> | ||||
| 		</div> | ||||
| 			<div class="form-wrap"> | ||||
| 				<h2>[+Add New Rule+]</h2> | ||||
| 				<form action="[+form_url+]" method="post" class="validate" id="mla-add-custom-field"> | ||||
| 					<input type="hidden" name="page" value="mla-settings-menu-custom_field" /> | ||||
| 					<input type="hidden" name="mla_tab" value="custom_field" /> | ||||
| 					[+_wpnonce+] | ||||
| 					<table class="form-table" id="mla-add-custom-field-table"> | ||||
| 					<tbody> | ||||
| 					<tr class="form-field custom-field-name-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-new-custom-field-name">[+Name+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<select name="mla_custom_field[new_name]" id="mla-new-custom-field-name"> | ||||
| [+new_names+] | ||||
| 						</select> | ||||
| 						<input name="mla_custom_field[new_field]" id="mla-new-custom-field" style="display: none;" type="text" value=""> | ||||
| 						<br /> | ||||
| <a class="hide-if-no-js" id="mla-add-custom-field-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-new-custom-field-name, #mla-add-custom-field-link' ).hide(); | ||||
| jQuery( '#mla-new-custom-field-name' ).val('none'); | ||||
| jQuery( '#mla-new-custom-field, #mla-cancel-custom-field-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-custom-field"> | ||||
| [+Enter new field+] | ||||
| </a> | ||||
|  | ||||
| <a class="hide-if-no-js hidden" id="mla-cancel-custom-field-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-new-custom-field, #mla-cancel-custom-field-link' ).hide(); | ||||
| jQuery( '#mla-new-custom-field' ).val(''); | ||||
| jQuery( '#mla-new-custom-field-name, #mla-add-custom-field-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-custom-field"> | ||||
| [+Cancel new field+] | ||||
| </a> | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-data-source-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-data-source">[+Data Source+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<select style="width: 100%" name="mla_custom_field[data_source]" id="mla-custom-field-data-source"> | ||||
| [+data_sources+] | ||||
| 						</select> | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-meta-name-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-meta-name">[+Meta/Template+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<input name="mla_custom_field[meta_name]" id="mla-custom-field-meta-name" type="text" value="[+meta_name+]" size="40" /> | ||||
| 						<p class="description"> [+Enter Meta/Template+]</p> | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-mla-column-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-mla-column">[+MLA Column+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<input type="checkbox" name="mla_custom_field[mla_column]" id="mla-custom-field-mla-column" [+mla_column+] value="1" /> [+Check MLA Column+] | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-quick-edit-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-quick-edit">[+Quick Edit+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<input type="checkbox" name="mla_custom_field[quick_edit]" id="mla-custom-field-quick-edit" [+quick_edit+] value="1" /> [+Check Quick Edit+] | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-bulk-edit-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-bulk-edit">[+Bulk Edit+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<input type="checkbox" name="mla_custom_field[bulk_edit]" id="mla-custom-field-bulk-edit" [+bulk_edit+] value="1" /> [+Check Bulk Edit+] | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-existing-text-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-existing-text">[+Existing Text+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<select name="mla_custom_field[keep_existing]" id="mla-custom-field-existing-text"> | ||||
| 							<option [+keep_selected+] value="1">[+Keep+]</option> | ||||
| 							<option [+replace_selected+] value="">[+Replace+]</option> | ||||
| 						</select> | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-format-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-format">[+Format+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<select name="mla_custom_field[format]" id="mla-custom-field-format"> | ||||
| 							<option [+native_format+] value="native">[+Native+]</option> | ||||
| 							<option [+commas_format+] value="commas">[+Commas+]</option> | ||||
| 							<option [+raw_format+] value="raw">[+Raw+]</option> | ||||
| 						</select> | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-option-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-option">[+Option+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<select name="mla_custom_field[option]" id="mla-custom-field-option"> | ||||
| 							<option [+text_option+] value="text">[+Text+]</option> | ||||
| 							<option [+single_option+] value="single">[+Single+]</option> | ||||
| 							<option [+export_option+] value="export">[+Export+]</option> | ||||
| 							<option [+array_option+] value="array">[+Array+]</option> | ||||
| 							<option [+multi_option+] value="multi">[+Multi+]</option> | ||||
| 						</select> | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-no-null-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-no-null">[+Delete NULL+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 						<input type="checkbox" name="mla_custom_field[no_null]" id="mla-custom-field-no-null" [+no_null+] value="1" /> [+Check Delete NULL+] | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					<tr class="form-field custom-field-status-wrap"> | ||||
| 					<th scope="row"> | ||||
| 						<label for="mla-custom-field-status">[+Status+]</label> | ||||
| 					</th> | ||||
| 					<td> | ||||
| 							<select name="mla_custom_field[status]" id="mla-custom-field-status"> | ||||
| 								<option [+active_selected+] value="1">[+Active+]</option> | ||||
| 								<option [+inactive_selected+] value="">[+Inactive+]</option> | ||||
| 							</select> | ||||
| 					</td> | ||||
| 					</tr> | ||||
| 					</tbody> | ||||
| 					</table> | ||||
| 					<p class="submit mla-settings-submit"> | ||||
| 						<input type="submit" name="mla-add-custom-field-submit" id="mla-add-custom-field-submit" class="button button-primary" value="[+Add Rule+]" /> | ||||
| 					</p> | ||||
| 				</form><!-- /id=mla-add-custom-field -->  | ||||
| 			</div><!-- /form-wrap -->  | ||||
| 		</div><!-- /col-wrap --> | ||||
| 	</div><!-- /col-left -->  | ||||
| </div><!-- /col-container --> | ||||
| <form> | ||||
| 	<table width="99%" style="display: none"> | ||||
| 		<tbody id="inlineedit"> | ||||
| 			<tr id="inline-edit" class="inline-edit-row inline-edit-row-custom inline-edit-custom quick-edit-row quick-edit-row-custom quick-edit-custom" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"> | ||||
| 					<fieldset class="inline-edit-col"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<h4>[+Quick Edit+]: <input name="name" class="ptitle" type="text" readonly="readonly" value="" /></h4> | ||||
| 							<div class="inline-edit-group"> | ||||
| 							<label class="alignleft"> <span class="title">[+Data Source+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="data_source"> | ||||
| [+data_sources+] | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 							<label class="alignleft"> <span class="title">[+Meta/Template+]</span> <span class="input-text-wrap"> | ||||
| 								<input name="meta_name" class="ptitle" type="text" value="" /> | ||||
| 								</span> </label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 								<input name="mla_column" class="ptitle" type="checkbox" checked="checked" value="1" /> | ||||
| 								</span> <span class="checkbox-title">[+MLA Column+]</span> | ||||
| 								</label>  | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 								<input name="quick_edit" class="ptitle" type="checkbox" checked="checked" value="1" /> | ||||
| 								</span> <span class="checkbox-title">[+Quick Edit+]</span> | ||||
| 								</label>  | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 								<input name="bulk_edit" class="ptitle" type="checkbox" checked="checked" value="1" /> | ||||
| 								</span> <span class="checkbox-title">[+Bulk Edit+]</span> | ||||
| 								</label>  | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Existing Text+]</span> <span class="input-dropdown-wrap"> | ||||
| 								<select name="keep_existing"> | ||||
| 									<option value="1">[+Keep+]</option> | ||||
| 									<option value="">[+Replace+]</option> | ||||
| 								</select> | ||||
| 								</span> </label>  | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Format+]</span> <span class="input-dropdown-wrap"> | ||||
| 								<select name="format"> | ||||
| 									<option value="native">[+Native+]</option> | ||||
| 									<option value="commas">[+Commas+]</option> | ||||
| 									<option value="raw">[+Raw+]</option> | ||||
| 								</select> | ||||
| 								</span>	</label>  | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Option+]</span> <span class="input-dropdown-wrap"> | ||||
| 								<select name="option"> | ||||
| 									<option value="text">[+Text+]</option> | ||||
| 									<option value="single">[+Single+]</option> | ||||
| 									<option value="export">[+Export+]</option> | ||||
| 									<option value="array">[+Array+]</option> | ||||
| 									<option value="multi">[+Multi+]</option> | ||||
| 								</select> | ||||
| 								</span> </label>  | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 								<input name="no_null" class="ptitle" type="checkbox" value="1" /> | ||||
| 								</span> <span class="checkbox-title">[+Delete NULL+]</span> | ||||
| 								</label>  | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Status+]</span> <span class="input-dropdown-wrap"> | ||||
| 								<select name="status"> | ||||
| 									<option value="1">[+Active+]</option> | ||||
| 									<option value="">[+Inactive+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="submit inline-edit-save"> | ||||
| 						<a accesskey="c" href="#inline-edit" class="cancel button-secondary alignleft">[+Cancel+]</a> | ||||
| 						<a accesskey="s" href="#inline-edit" class="save button-primary alignright">[+Update+]</a> | ||||
| 						<input type="hidden" name="rule_name" value="" /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-custom_field" /> | ||||
| 						<input type="hidden" name="mla_tab" value="custom_field" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-custom_field" /> | ||||
| 						<span class="spinner"></span> | ||||
| 						<span class="error" style="display: none;"></span> | ||||
| 						<br class="clear" /> | ||||
| 					</p> | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 			<tr id="bulk-edit" class="inline-edit-row inline-edit-row-custom inline-edit-custom bulk-edit-row bulk-edit-row-custom bulk-edit-custom" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"> | ||||
| 					<h4>[+Bulk Edit+]</h4> | ||||
| 					<fieldset class="inline-edit-col-left"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<div id="bulk-title-div"> | ||||
| 								<div id="bulk-titles"></div> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<fieldset class="inline-edit-col-right"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<div class="inline-edit-group"> | ||||
| 							<label class="alignleft inline-edit-mla_column"> <span class="dropdown-title">[+MLA Column+]</span> | ||||
| 							<select name="mla_column"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="1">[+Yes+]</option> | ||||
| 								<option value="">[+No+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							<label class="alignleft inline-edit-quick_edit"> <span class="dropdown-title">[+Quick Edit+]</span> | ||||
| 							<select name="quick_edit"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="1">[+Yes+]</option> | ||||
| 								<option value="">[+No+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 							<label class="alignleft inline-edit-bulk_edit"> <span class="dropdown-title">[+Bulk Edit+]</span> | ||||
| 							<select name="bulk_edit"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="1">[+Yes+]</option> | ||||
| 								<option value="">[+No+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							<label class="alignleft inline-edit-keep_existing"> <span class="dropdown-title">[+Existing Text+]</span>  | ||||
| 							<select name="keep_existing"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="1">[+Keep+]</option> | ||||
| 								<option value="">[+Replace+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 							<label class="alignleft inline-edit-format"> <span class="dropdown-title">[+Format+]</span> | ||||
| 							<select name="format"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="native">[+Native+]</option> | ||||
| 								<option value="commas">[+Commas+]</option> | ||||
| 								<option value="raw">[+Raw+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							<label class="alignleft inline-edit-option"> <span class="dropdown-title">[+Option+]</span> | ||||
| 							<select name="option"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="text">[+Text+]</option> | ||||
| 								<option value="single">[+Single+]</option> | ||||
| 								<option value="export">[+Export+]</option> | ||||
| 								<option value="array">[+Array+]</option> | ||||
| 								<option value="multi">[+Multi+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 							<label class="alignleft inline-edit-no_null"> <span class="dropdown-title">[+Delete NULL+]</span> | ||||
| 							<select name="no_null"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="1">[+Yes+]</option> | ||||
| 								<option value="">[+No+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							<label class="alignleft inline-edit-active"> <span class="dropdown-title">[+Status+]</span> | ||||
| 							<select name="active"> | ||||
| 								<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 								<option value="1">[+Active+]</option> | ||||
| 								<option value="">[+Inactive+]</option> | ||||
| 							</select> | ||||
| 							</label> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="submit inline-edit-save"> | ||||
| 						<a accesskey="c" href="#inline-edit" class="cancel button-secondary alignleft">[+Cancel+]</a> | ||||
| 						<input accesskey="s" type="submit" name="bulk_update" id="bulk_update" class="save button-primary alignright" value="[+Update+]"  /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-custom_field" /> | ||||
| 						<input type="hidden" name="mla_tab" value="custom_field" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-custom_field" /> | ||||
| 						<span class="error" style="display:none"></span> | ||||
| 						<br class="clear" /> | ||||
| 					</p> | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 		</tbody> | ||||
| 	</table> | ||||
| </form> | ||||
| @@ -0,0 +1,48 @@ | ||||
| <!-- template="before-example-table" --> | ||||
| <h2>[+Example Plugins+][+results+]</h2> | ||||
| <p>[+In this tab+]</p> | ||||
| <p>[+You can find+]</p> | ||||
| [+views+] | ||||
| <form action="[+form_url+]" method="get" id="mla-search-example-form"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-documentation" /> | ||||
| 	<input type="hidden" name="mla_tab" value="documentation" /> | ||||
| 	[+_wpnonce+] | ||||
| 	<p class="search-box" style="margin-top: 1em"> | ||||
| 		<label class="screen-reader-text" for="mla-search-example-input">[+Search Example Plugins+]:</label> | ||||
| 		<input type="search" id="mla-search-example-input" name="s" value="[+s+]" /> | ||||
| 		<input type="submit" name="mla-example-search" id="mla-search-example-submit" class="button" value="[+Search Plugins+]" /> | ||||
| 		<span class="description"><br />[+Search help+]</span> | ||||
| 	</p> | ||||
| </form> | ||||
| <br class="clear" /> | ||||
| <div id="col-container"> | ||||
| 	<form action="[+form_url+]" method="post" id="mla-search-example-filter"> | ||||
| 		<input type="hidden" name="page" value="mla-settings-menu-documentation" /> | ||||
| 		<input type="hidden" name="mla_tab" value="documentation" /> | ||||
| 		<input type="hidden" name="mla-example-display" value="true" /> | ||||
| 		[+_wpnonce+] | ||||
|  | ||||
| <!-- template="after-example-table" --> | ||||
| 		<p class="submit mla-settings-submit"> | ||||
| 		<input name="mla-example-cancel" type="submit" class="button-primary" value="Cancel" />  | ||||
| 		</p> | ||||
| 	</form><!-- /id=mla-search-example-filter -->  | ||||
| </div><!-- /col-container --> | ||||
|  | ||||
| <!-- template="view-plugin" --> | ||||
| <h2>[+View Plugin+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-view-plugin"> | ||||
|  <br /> | ||||
|     <table> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <textarea name="" id="mla-view-plugin" rows="30" cols="100" readonly="readonly">[+plugin_text+]</textarea> | ||||
|             </td> | ||||
|         </tr> | ||||
| 	</table> | ||||
|     <p class="submit mla-settings-submit"> | ||||
|         <input name="mla-view-plugin-close" class="button-primary" id="mla-view-plugin-close" type="submit" value="[+Close+]" /> | ||||
|     </p> | ||||
| [+_wpnonce+] | ||||
| [+_wp_http_referer+] | ||||
| </form> | ||||
| @@ -0,0 +1,469 @@ | ||||
| <!-- template="parent-select" --> | ||||
|             <select name="mla_iptc_exif_rule[parent]" id="mla-iptc-exif-parent"> | ||||
| [+options+] | ||||
|             </select> | ||||
|  | ||||
| <!-- template="single-item-edit" --> | ||||
|  | ||||
| <div id="ajax-response"></div> | ||||
| <h2>[+Edit Rule+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="validate" id="mla-edit-iptc-exif"> | ||||
| 	<input name="mla_iptc_exif_rule[post_ID]" id="mla-iptc-exif-post-ID" type="hidden" value="[+post_ID+]" /> | ||||
| 	<input name="mla_iptc_exif_rule[type]" id="mla-iptc-exif-type" type="hidden" value="[+type+]" /> | ||||
| 	<input name="mla_iptc_exif_rule[key]" id="mla-iptc-exif-key" type="hidden" value="[+key+]" /> | ||||
| 	<input name="mla_iptc_exif_rule[name]" id="mla-iptc-exif-name" type="hidden" value="[+name+]" /> | ||||
| 	<input name="mla_iptc_exif_rule[rule_name]" id="mla-iptc-exif-rule-name" type="hidden" value="[+rule_name+]" /> | ||||
| 	<input name="mla_iptc_exif_rule[hierarchical]" id="mla-iptc-exif-hierarchical" type="hidden" value="[+hierarchical+]" /> | ||||
| 	[+_wpnonce+] | ||||
| 	<table class="form-table" id="mla-edit-iptc-exif-table"> | ||||
| 		<tbody> | ||||
| 			<tr class="form-field iptc-exif-name-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-display-name">[+Name+]</label> | ||||
| 				</th> | ||||
| 				<td><input name="mla_iptc_exif_rule[display_name]" id="mla-iptc-exif-display-name" type="text" readonly="readonly" value="[+display_name+]" /> | ||||
| 					<select name="mla_iptc_exif_rule[new_name]" id="mla-new-iptc-exif-name" style="display: none;" > | ||||
| 						 | ||||
| [+new_names+] | ||||
| 					 | ||||
| 					</select> | ||||
| 					<input name="mla_iptc_exif_rule[new_field]" id="mla-new-iptc-exif" style="display: none;" type="text" value=""> | ||||
| 					<br /> | ||||
| 					<a class="hide-if-no-js [+custom_class+]" id="mla-change-name-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-iptc-exif-display-name, #mla-new-iptc-exif, #mla-change-name-link, #mla-cancel-iptc-exif-link' ).hide(); | ||||
| jQuery( '#mla-new-iptc-exif-name, #mla-add-iptc-exif-link, #mla-cancel-name-change-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-iptc-exif"> [+Change Name+] </a> <a class="hide-if-no-js hidden" id="mla-add-iptc-exif-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-iptc-exif-display-name, #mla-new-iptc-exif-name, #mla-change-name-link, #mla-add-iptc-exif-link' ).hide(); | ||||
| jQuery( '#mla-new-iptc-exif-name' ).val('none'); | ||||
| jQuery( '#mla-new-iptc-exif, #mla-cancel-iptc-exif-link, #mla-cancel-name-change-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-iptc-exif"> [+Enter new field+] </a> <a class="hide-if-no-js hidden" id="mla-cancel-iptc-exif-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-iptc-exif-display-name, #mla-new-iptc-exif, #mla-cancel-iptc-exif-link, #mla-change-name-link' ).hide(); | ||||
| jQuery( '#mla-new-iptc-exif' ).val(''); | ||||
| jQuery( '#mla-new-iptc-exif-name, #mla-add-iptc-exif-link, #mla-cancel-name-change-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-iptc-exif"> [+Cancel new field+] </a>     <a class="hide-if-no-js hidden" id="mla-cancel-name-change-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-new-iptc-exif-name, #mla-new-iptc-exif, #mla-add-iptc-exif-link, #mla-cancel-iptc-exif-link, #mla-cancel-name-change-link' ).hide(); | ||||
| jQuery( '#mla-new-iptc-exif-name' ).val('none'); | ||||
| jQuery( '#mla-new-iptc-exif' ).val(''); | ||||
| jQuery( '#mla-iptc-exif-display-name, #mla-change-name-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-iptc-exif"> [+Cancel Name Change+] </a> | ||||
| 					<p class="description [+custom_class+]">[+Enter Name+]</p></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-iptc-value-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-iptc-value">[+IPTC Value+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[iptc_value]" id="mla-iptc-exif-iptc-value"> | ||||
| [+iptc_field_options+] | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-exif-value-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-exif-value">[+EXIF/Template Value+]</label> | ||||
| 				</th> | ||||
| 				<td><input name="mla_iptc_exif_rule[exif_value]" id="mla-iptc-exif-exif-value" type="text" value="[+exif_text+]" size="[+exif_size+]" /> | ||||
| 					<p class="description"> [+Enter EXIF/Template+]</p></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-iptc-first-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-iptc-first">[+Priority+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[iptc_first]" id="mla-iptc-exif-iptc-first"> | ||||
|                 <option [+iptc_selected+] value="1">[+IPTC+]</option> | ||||
|                 <option [+exif_selected+] value="">[+EXIF+]</option> | ||||
|             </select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-keep-existing-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-keep-existing">[+Existing Text+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[keep_existing]" id="mla-iptc-exif-keep-existing"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-delimiters-wrap [+taxonomy_class+]"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-delimiters">[+Delimiters+]</label> | ||||
| 				</th> | ||||
| 				<td><input name="mla_iptc_exif_rule[delimiters]" id="mla-iptc-exif-delimiters" type="text" value="[+delimiters_text+]" size="[+delimiters_size+]" style="width: [+delimiters_size+]em" /></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-parent-wrap [+parent_class+]"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-parent">[+Parent+]</label> | ||||
| 				</th> | ||||
| 				<td>[+parent_select+]</td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-format-wrap [+custom_class+]"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-format">[+Format+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[format]" id="mla-iptc-exif-format"> | ||||
| 						<option [+native_format+] value="native">[+Native+]</option> | ||||
| 						<option [+commas_format+] value="commas">[+Commas+]</option> | ||||
| 						<option [+raw_format+] value="raw">[+Raw+]</option> | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-option-wrap [+custom_class+]"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-option">[+Option+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[option]" id="mla-iptc-exif-option"> | ||||
| 						<option [+text_option+] value="text">[+Text+]</option> | ||||
| 						<option [+single_option+] value="single">[+Single+]</option> | ||||
| 						<option [+export_option+] value="export">[+Export+]</option> | ||||
| 						<option [+array_option+] value="array">[+Array+]</option> | ||||
| 						<option [+multi_option+] value="multi">[+Multi+]</option> | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-no-null-wrap [+custom_class+]"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-no-null">[+Delete NULL+]</label> | ||||
| 				</th> | ||||
| 				<td><input type="checkbox" name="mla_iptc_exif_rule[no_null]" id="mla-iptc-exif-no-null" [+no_null+] value="1" /> | ||||
| 					 [+Check Delete NULL+] </td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-status-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-status">[+Status+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[status]" id="mla-iptc-exif-status"> | ||||
| 						<option [+active_selected+] value="1">[+Active+]</option> | ||||
| 						<option [+inactive_selected+] value="">[+Inactive+]</option> | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 		</tbody> | ||||
| 	</table> | ||||
| 	<p class="submit mla-settings-submit"> | ||||
| 		<input name="[+cancel+]" class="button-primary" type="submit" value="[+Cancel+]" /> | ||||
| 		  | ||||
| 		<input name="[+submit+]" class="button-primary" type="submit" value="[+Update+]" /> | ||||
| 		  </p> | ||||
| </form> | ||||
|  | ||||
| <!-- template="iptc-exif-disabled" --> | ||||
| <h2>[+Support is disabled+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-iptc-exif-tab"> | ||||
|     <table class="optiontable"> | ||||
| [+options_list+] | ||||
| 	</table> | ||||
|     <p class="submit mla-settings-submit"> | ||||
|         <input name="mla-iptc-exif-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
|     </p> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-iptc_exif" /> | ||||
| 	<input type="hidden" name="mla_tab" value="iptc_exif" /> | ||||
| 	[+_wpnonce+] | ||||
| </form> | ||||
|  | ||||
| <!-- template="before-table" -->  | ||||
| [+mla-progress-div+] | ||||
| <h2>[+IPTC EXIF Options+]</h2> | ||||
| <p>[+In this tab+]</p> | ||||
| <p>[+You can find+]</p> | ||||
| <div id="ajax-response"></div> | ||||
| <form action="[+form_url+]" method="get" id="mla-search-iptc-exif-form"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-iptc_exif" /> | ||||
| 	<input type="hidden" name="mla_tab" value="iptc_exif" /> | ||||
| 	[+view_args+] | ||||
| 	[+_wpnonce+] <span style="margin-top: 1em"> | ||||
| 	<input name="mla-search-iptc-exif-submit" class="button alignright" id="mla-search-iptc-exif-submit" type="submit" value="[+Search Rules+]" /> | ||||
| 	<label class="screen-reader-text" for="mla-search-iptc-exif-input">[+Search Rules Text+]:</label> | ||||
| 	<input name="s" class="alignright" id="mla-search-iptc-exif-input" type="search" value="[+s+]" /> | ||||
| 	[+results+] </span> | ||||
| </form> | ||||
| <br class="clear" /> | ||||
| <div id="col-container"> | ||||
| 	<div id="col-right"> | ||||
| 		<div class="col-wrap"> | ||||
| 			<form action="[+form_url+]" method="post" id="mla-search-iptc-exif-filter"> | ||||
| 				<input type="hidden" name="page" value="mla-settings-menu-iptc_exif" /> | ||||
| 				<input type="hidden" name="mla_tab" value="iptc_exif" /> | ||||
| 				[+view_args+] | ||||
| 				[+_wpnonce+]  | ||||
| 				 | ||||
| <!-- template="after-table" --> | ||||
| 			</form> | ||||
| 			<!-- /id=mla-search-iptc-exif-filter -->  | ||||
| 		</div> | ||||
| 		<!-- /col-wrap -->  | ||||
| 	</div> | ||||
| 	<!-- /col-right --> | ||||
| 	<div id="col-left"> | ||||
| 		<div class="col-wrap"> | ||||
| 			<div class="mla-settings-enable-form"> | ||||
| 				<form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-iptc-exif-tab"> | ||||
| 					<table class="optiontable"> | ||||
| 						[+options_list+] | ||||
| 					</table> | ||||
| 					<span class="submit mla-settings-submit"> | ||||
| 					<input name="mla-iptc-exif-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
| 					</span> <span class="submit mla-settings-submit"> | ||||
| 					<input name="iptc-exif-options-map" type="submit" class="alignright button-primary mla-mapping" value="[+Map All+]" /> | ||||
| 					</span> [+_wpnonce+] | ||||
| 				</form> | ||||
| 			</div> | ||||
| 			<div class="form-wrap"> | ||||
| 				<h2>[+Add New Rule+]</h2> | ||||
| 				<form action="[+form_url+]" method="post" class="validate" id="mla-add-iptc-exif"> | ||||
| 					<input type="hidden" name="page" value="mla-settings-menu-iptc_exif" /> | ||||
| 					<input type="hidden" name="mla_tab" value="iptc_exif" /> | ||||
| 					[+_wpnonce+] | ||||
| 					<table class="form-table" id="mla-add-iptc-exif-table"> | ||||
| 						<tbody> | ||||
| 							<tr class="form-field iptc-exif-name-wrap"> | ||||
| 								<th scope="row"> <label for="mla-new-iptc-exif-name">[+Name+]</label> | ||||
| 								</th> | ||||
| 								<td><select name="mla_iptc_exif_rule[new_name]" id="mla-new-iptc-exif-name"> | ||||
| 										 | ||||
| [+new_names+] | ||||
| 						 | ||||
| 									</select> | ||||
| 									<input name="mla_iptc_exif_rule[new_field]" id="mla-new-iptc-exif" style="display: none;" type="text" value=""> | ||||
| 									<br /> | ||||
| 									<a class="hide-if-no-js" id="mla-add-iptc-exif-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-new-iptc-exif-name, #mla-add-iptc-exif-link' ).hide(); | ||||
| jQuery( '#mla-new-iptc-exif-name' ).val('none'); | ||||
| jQuery( '#mla-new-iptc-exif, #mla-cancel-iptc-exif-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-iptc-exif"> [+Enter new field+] </a> <a class="hide-if-no-js hidden" id="mla-cancel-iptc-exif-link"  | ||||
| onclick=" | ||||
| jQuery( '#mla-new-iptc-exif, #mla-cancel-iptc-exif-link' ).hide(); | ||||
| jQuery( '#mla-new-iptc-exif' ).val(''); | ||||
| jQuery( '#mla-new-iptc-exif-name, #mla-add-iptc-exif-link' ).show(); | ||||
| return false;"  | ||||
| href="#mla-new-iptc-exif"> [+Cancel new field+] </a></td> | ||||
| 							</tr> | ||||
| 			<tr class="form-field iptc-exif-iptc-value-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-iptc-value">[+IPTC Value+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[iptc_value]" id="mla-iptc-exif-iptc-value"> | ||||
| [+iptc_field_options+] | ||||
| 					</select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-exif-value-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-exif-value">[+EXIF/Template Value+]</label> | ||||
| 				</th> | ||||
| 				<td><input name="mla_iptc_exif_rule[exif_value]" id="mla-iptc-exif-exif-value" type="text" value="[+exif_text+]" size="[+exif_size+]" /> | ||||
| 					<p class="description"> [+Enter EXIF/Template+]</p></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-iptc-first-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-mla-column">[+Priority+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[iptc_first]" id="mla-iptc-exif-iptc-first"> | ||||
|                 <option [+iptc_selected+] value="1">[+IPTC+]</option> | ||||
|                 <option [+exif_selected+] value="">[+EXIF+]</option> | ||||
|             </select></td> | ||||
| 			</tr> | ||||
| 			<tr class="form-field iptc-exif-keep-existing-wrap"> | ||||
| 				<th scope="row"> <label for="mla-iptc-exif-keep-existing">[+Existing Text+]</label> | ||||
| 				</th> | ||||
| 				<td><select name="mla_iptc_exif_rule[keep_existing]" id="mla-iptc-exif-keep-existing"> | ||||
|                 <option selected="selected" value="1">[+Keep+]</option> | ||||
|                 <option value="">[+Replace+]</option> | ||||
|             </select></td> | ||||
| 			</tr> | ||||
| 							<tr class="form-field iptc-exif-format-wrap"> | ||||
| 								<th scope="row"> <label for="mla-iptc-exif-format">[+Format+]</label> | ||||
| 								</th> | ||||
| 								<td><select name="mla_iptc_exif_rule[format]" id="mla-iptc-exif-format"> | ||||
| 										<option selected="selected" value="native">[+Native+]</option> | ||||
| 										<option value="commas">[+Commas+]</option> | ||||
| 										<option value="raw">[+Raw+]</option> | ||||
| 									</select></td> | ||||
| 							</tr> | ||||
| 							<tr class="form-field iptc-exif-option-wrap"> | ||||
| 								<th scope="row"> <label for="mla-iptc-exif-option">[+Option+]</label> | ||||
| 								</th> | ||||
| 								<td><select name="mla_iptc_exif_rule[option]" id="mla-iptc-exif-option"> | ||||
| 										<option selected="selected" value="text">[+Text+]</option> | ||||
| 										<option value="single">[+Single+]</option> | ||||
| 										<option value="export">[+Export+]</option> | ||||
| 										<option value="array">[+Array+]</option> | ||||
| 										<option value="multi">[+Multi+]</option> | ||||
| 									</select></td> | ||||
| 							</tr> | ||||
| 							<tr class="form-field iptc-exif-no-null-wrap"> | ||||
| 								<th scope="row"> <label for="mla-iptc-exif-no-null">[+Delete NULL+]</label> | ||||
| 								</th> | ||||
| 								<td><input type="checkbox" name="mla_iptc_exif_rule[no_null]" id="mla-iptc-exif-no-null" [+no_null+] value="1" /> | ||||
| 									 [+Check Delete NULL+] </td> | ||||
| 							</tr> | ||||
| 							<tr class="form-field iptc-exif-status-wrap"> | ||||
| 								<th scope="row"> <label for="mla-iptc-exif-status">[+Status+]</label> | ||||
| 								</th> | ||||
| 								<td><select name="mla_iptc_exif_rule[status]" id="mla-iptc-exif-status"> | ||||
| 										<option selected="selected" value="1">[+Active+]</option> | ||||
| 										<option value="">[+Inactive+]</option> | ||||
| 									</select></td> | ||||
| 							</tr> | ||||
| 						</tbody> | ||||
| 					</table> | ||||
| 					<p class="submit mla-settings-submit"> | ||||
| 						<input type="submit" name="mla-add-iptc-exif-submit" id="mla-add-iptc-exif-submit" class="button button-primary" value="[+Add Rule+]" /> | ||||
| 					</p> | ||||
| 				</form> | ||||
| 				<!-- /id=mla-add-iptc-exif -->  | ||||
| 			</div> | ||||
| 			<!-- /form-wrap -->  | ||||
| 		</div> | ||||
| 		<!-- /col-wrap -->  | ||||
| 	</div> | ||||
| 	<!-- /col-left -->  | ||||
| </div> | ||||
| <!-- /col-container --> | ||||
| <form> | ||||
| 	<table width="99%" style="display: none"> | ||||
| 		<tbody id="inlineedit"> | ||||
| 			<tr id="inline-edit" class="inline-edit-row inline-edit-row-custom inline-edit-custom quick-edit-row quick-edit-row-custom quick-edit-custom" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"><fieldset class="inline-edit-col"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<h4>[+Quick Edit+]: | ||||
| 								<input name="name" class="ptitle" type="text" readonly="readonly" value="" /> | ||||
| 							</h4> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft"> <span class="title">[+IPTC Value+]</span> <span class="input-text-wrap"> | ||||
| 									<select name="iptc_value"> | ||||
| 										 | ||||
| [+iptc_field_options+] | ||||
| 								 | ||||
| 									</select> | ||||
| 									</span> </label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft"> <span class="title">[+EXIF/Template Value+]</span> <span class="input-text-wrap"> | ||||
| 									<input name="exif_value" class="ptitle" type="text" value="" /> | ||||
| 									</span> </label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Priority+]</span> <span class="input-dropdown-wrap"> | ||||
| 									<select name="iptc_first"> | ||||
| 										<option value="1">[+IPTC+]</option> | ||||
| 										<option value="">[+EXIF+]</option> | ||||
| 									</select> | ||||
| 									</span> </label> | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Existing Text+]</span> <span class="input-dropdown-wrap"> | ||||
| 									<select name="keep_existing"> | ||||
| 										<option value="1">[+Keep+]</option> | ||||
| 										<option value="">[+Replace+]</option> | ||||
| 									</select> | ||||
| 									</span> </label> | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Status+]</span> <span class="input-dropdown-wrap"> | ||||
| 									<select name="active"> | ||||
| 										<option value="1">[+Active+]</option> | ||||
| 										<option value="">[+Inactive+]</option> | ||||
| 									</select> | ||||
| 									</span> </label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group inline-taxonomy-group"> | ||||
| 								<label class="alignleft"> <span class="title">[+Delimiters+]</span> <span class="input-text-wrap"> | ||||
| 									<input name="delimiters" class="ptitle" type="text" value="" size="[+delimiters_size+]" style="width: [+delimiters_size+]em" /> | ||||
| 									</span> </label> | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Parent+]</span> <span class="input-dropdown-wrap"> | ||||
| 									<select name="parent"> | ||||
| 									</select> | ||||
| 									</span> </label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group inline-custom-group"> | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 									<input name="no_null" class="ptitle" type="checkbox" value="1" /> | ||||
| 									</span> <span class="checkbox-title">[+Delete NULL+]</span> </label> | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Format+]</span> <span class="input-dropdown-wrap"> | ||||
| 									<select name="format"> | ||||
| 										<option value="native">[+Native+]</option> | ||||
| 										<option value="commas">[+Commas+]</option> | ||||
| 										<option value="raw">[+Raw+]</option> | ||||
| 									</select> | ||||
| 									</span> </label> | ||||
| 								<label class="alignleft"> <span class="dropdown-title">[+Option+]</span> <span class="input-dropdown-wrap"> | ||||
| 									<select name="option"> | ||||
| 										<option value="text">[+Text+]</option> | ||||
| 										<option value="single">[+Single+]</option> | ||||
| 										<option value="export">[+Export+]</option> | ||||
| 										<option value="array">[+Array+]</option> | ||||
| 										<option value="multi">[+Multi+]</option> | ||||
| 									</select> | ||||
| 									</span> </label> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="submit inline-edit-save"> <a accesskey="c" href="#inline-edit" class="cancel button-secondary alignleft">[+Cancel+]</a> <a accesskey="s" href="#inline-edit" class="save button-primary alignright">[+Update+]</a> | ||||
| 						<input type="hidden" name="rule_name" value="" /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-iptc_exif" /> | ||||
| 						<input type="hidden" name="mla_tab" value="iptc_exif" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-iptc_exif" /> | ||||
| 						<span class="spinner"></span> <span class="error" style="display: none;"></span> <br class="clear" /> | ||||
| 					</p></td> | ||||
| 			</tr> | ||||
| 			<tr id="bulk-edit" class="inline-edit-row inline-edit-row-custom inline-edit-custom bulk-edit-row bulk-edit-row-custom bulk-edit-custom" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"><h4>[+Bulk Edit+]</h4> | ||||
| 					<fieldset class="inline-edit-col-left"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<div id="bulk-title-div"> | ||||
| 								<div id="bulk-titles"></div> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<fieldset class="inline-edit-col-right"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft inline-edit-iptc-first"> <span class="dropdown-title">[+Priority+]</span> | ||||
| 									<select name="iptc_first"> | ||||
| 										<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 										<option value="1">[+IPTC+]</option> | ||||
| 										<option value="">[+EXIF+]</option> | ||||
| 									</select> | ||||
| 								</label> | ||||
| 								<label class="alignleft inline-edit-keep_existing"> <span class="dropdown-title">[+Existing Text+]</span> | ||||
| 									<select name="keep_existing"> | ||||
| 										<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 										<option value="1">[+Keep+]</option> | ||||
| 										<option value="">[+Replace+]</option> | ||||
| 									</select> | ||||
| 								</label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft inline-edit-format"> <span class="dropdown-title">[+Format+]</span> | ||||
| 									<select name="format"> | ||||
| 										<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 										<option value="native">[+Native+]</option> | ||||
| 										<option value="commas">[+Commas+]</option> | ||||
| 										<option value="raw">[+Raw+]</option> | ||||
| 									</select> | ||||
| 								</label> | ||||
| 								<label class="alignleft inline-edit-option"> <span class="dropdown-title">[+Option+]</span> | ||||
| 									<select name="option"> | ||||
| 										<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 										<option value="text">[+Text+]</option> | ||||
| 										<option value="single">[+Single+]</option> | ||||
| 										<option value="export">[+Export+]</option> | ||||
| 										<option value="array">[+Array+]</option> | ||||
| 										<option value="multi">[+Multi+]</option> | ||||
| 									</select> | ||||
| 								</label> | ||||
| 							</div> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft inline-edit-no_null"> <span class="dropdown-title">[+Delete NULL+]</span> | ||||
| 									<select name="no_null"> | ||||
| 										<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 										<option value="1">[+Yes+]</option> | ||||
| 										<option value="">[+No+]</option> | ||||
| 									</select> | ||||
| 								</label> | ||||
| 								<label class="alignleft inline-edit-active"> <span class="dropdown-title">[+Status+]</span> | ||||
| 									<select name="active"> | ||||
| 										<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 										<option value="1">[+Active+]</option> | ||||
| 										<option value="">[+Inactive+]</option> | ||||
| 									</select> | ||||
| 								</label> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="submit inline-edit-save"> <a accesskey="c" href="#inline-edit" class="cancel button-secondary alignleft">[+Cancel+]</a> | ||||
| 						<input accesskey="s" type="submit" name="bulk_update" id="bulk_update" class="save button-primary alignright" value="[+Update+]"  /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-iptc_exif" /> | ||||
| 						<input type="hidden" name="mla_tab" value="iptc_exif" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-iptc_exif" /> | ||||
| 						<span class="error" style="display:none"></span> <br class="clear" /> | ||||
| 					</p></td> | ||||
| 			</tr> | ||||
| 		</tbody> | ||||
| 	</table> | ||||
| </form> | ||||
| @@ -0,0 +1,151 @@ | ||||
| <!-- template="page" --> | ||||
| <a name="backtotop"></a> | ||||
|   | ||||
| <div class="wrap"> | ||||
| <div id="icon-options-general" class="icon32"><br/></div> | ||||
| <h1>[+Media Library Assistant+] [+version+][+development+] [+Settings+]</h1> | ||||
| [+messages+] | ||||
| [+tablist+] | ||||
| [+tab_content+] | ||||
| </div><!-- wrap --> | ||||
|  | ||||
| <!-- template="checkbox" --> | ||||
|         <tr valign="top"><td class="textright"> | ||||
|             <input type="checkbox" name="[+key+]" id="[+key+]" [+checked+] value="[+value+]" /> | ||||
|         </td><td> | ||||
| 		     <strong>[+value+]</strong> | ||||
|             <div class="mla-settings-help">  [+help+]</div> | ||||
| 		</td></tr> | ||||
| <!-- template="header" --> | ||||
|         <tr><td colspan="2"> | ||||
|             <a href="#backtotop">[+Go to Top+]</a> | <a href="#gotobottom">[+Go to Bottom+]</a> | ||||
|         </td></tr> | ||||
|         <tr><td colspan="2"> | ||||
|             <h3 id="[+key+]">[+value+]</h3> | ||||
|         </td></tr> | ||||
| <!-- template="subheader" --> | ||||
|         <tr><td colspan="2"> | ||||
|             <h4 id="[+key+]">[+value+]</h4> | ||||
|         </td></tr> | ||||
| <!-- template="radio" --> | ||||
|         <tr valign="top"><th scope="row" class="textright"> | ||||
|             [+value+] | ||||
|         </th><td class="textleft"> | ||||
|             <span class="mla-settings-help">  [+help+]</span> | ||||
|         </td></tr> | ||||
| [+options+] | ||||
|         <tr valign="top"><td colspan="2" style="padding-bottom:10px;"> | ||||
|         </td></tr> | ||||
| <!-- template="radio-option" --> | ||||
|         <tr valign="top"><td class="textright"> | ||||
|             <input type="radio" name="[+key+]" [+checked+] value="[+option+]" /> | ||||
|         </td><td> | ||||
|              [+value+] | ||||
|         </td></tr> | ||||
| <!-- template="select" --> | ||||
|         <tr valign="top"><th scope="row" class="textright"> | ||||
|             [+value+] | ||||
|         </th><td class="textleft"> | ||||
|             <select name="[+key+]" id="[+key+]"> | ||||
| [+options+] | ||||
|             </select><div class="mla-settings-help">  [+help+]</div> | ||||
|         </td></tr> | ||||
| <!-- template="select-only" --> | ||||
|             <select name="[+key+]" id="[+key+]"> | ||||
| [+options+] | ||||
|             </select> | ||||
| <!-- template="select-option" --> | ||||
|                 <option [+selected+] value="[+value+]">[+text+]</option> | ||||
| <!-- template="text" --> | ||||
|         <tr valign="top"><th scope="row" class="textright"> | ||||
|             [+value+] | ||||
|         </th><td class="textleft"> | ||||
|             <input name="[+key+]" id="[+key+]" type="text" size="[+size+]" value="[+text+]" /> | ||||
|             <div class="mla-settings-help">  [+help+]</div> | ||||
|         </td></tr> | ||||
| <!-- template="textarea" --> | ||||
|         <tr valign="top"><th scope="row" class="textright"> | ||||
|             [+value+] | ||||
|         </th><td class="textleft"> | ||||
|             <textarea name="[+key+]" id="[+key+]" rows="[+rows+]" cols="[+cols+]"> | ||||
|             [+text+] | ||||
|             </textarea> | ||||
|             <div class="mla-settings-help">  [+help+]</div> | ||||
|         </td></tr> | ||||
| <!-- template="messages" --> | ||||
| <div class="[+mla_messages_class+]"> | ||||
| <p> | ||||
| [+messages+] | ||||
| </p> | ||||
| [+dismiss_button+] | ||||
| </div> | ||||
| <!-- template="shortcode-list" --> | ||||
| <div id="mla-shortcode-list"> | ||||
| <p>[+Shortcodes made available+]:</p> | ||||
| <ol> | ||||
| [+shortcode_list+] | ||||
| </ol> | ||||
| </div> | ||||
| <!-- template="shortcode-item" --> | ||||
| <li><code>[[+name+]]</code> - [+description+]</li> | ||||
| <!-- template="tablist" --> | ||||
| <h2 class="nav-tab-wrapper"> | ||||
| [+tablist+] | ||||
| </h2> | ||||
| <!-- template="tablist-item" --> | ||||
| <a data-tab-id="[+data-tab-id+]" class="nav-tab [+nav-tab-active+]" href="?page=[+settings-page+]&mla_tab=[+data-tab-id+]">[+title+]</a> | ||||
| <!-- template="general-tab" --> | ||||
| <h2>[+General Processing Options+]</h2> | ||||
| <p>[+In this tab+]</p> | ||||
| [+shortcode_list+] | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-general-tab"> | ||||
|     <table class="optiontable"> | ||||
| [+options_list+] | ||||
| 	</table> | ||||
| 	<a name="gotobottom"></a> | ||||
|     <p class="submit mla-settings-submit"> | ||||
|         <input name="mla-general-options-save" type="submit" class="button-primary" value="[+Save Changes+]" />   | ||||
|         <input name="mla-general-options-export" type="submit" class="button-primary" value="[+Export ALL Settings+]" /> | ||||
|         [+import_settings+] | ||||
|         <input name="mla-general-options-reset" type="submit" class="button-primary alignright" value="[+Delete General options+]"/> | ||||
|     </p> | ||||
| [+_wpnonce+] | ||||
| [+_wp_http_referer+] | ||||
| </form> | ||||
| <p> | ||||
| <a href="#backtotop">[+Go to Top+]</a> | ||||
| </p> | ||||
|  | ||||
| <!-- template="debug-tab" --> | ||||
| <h2>[+Debug Options+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-debug-tab"> | ||||
|  <br /> | ||||
|     <table class="optiontable"> | ||||
| [+options_list+] | ||||
| 	</table> | ||||
| <p>[+You can find+]</p> | ||||
| <p class="submit mla-settings-submit"> | ||||
| 	<input name="mla-debug-options-save" class="button-primary" id="mla-debug-options-save" type="submit" value="[+Save Changes+]" /> | ||||
| </p> | ||||
| <div class="mla-settings-help">[+Click Save Changes+]</div> | ||||
| <h3>[+Debug Settings+]</h3> | ||||
|     <table class="optiontable"> | ||||
| [+settings_list+] | ||||
| 	</table> | ||||
| <h3>[+Error Log+]</h3> | ||||
| [+Error Log Name+] ( [+Error Log Size+] ) | ||||
|     <table> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 <textarea name="" id="mla-error-log-display" rows="24" cols="100" readonly="readonly">[+error_log_text+]</textarea> | ||||
|             </td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td> | ||||
|                 [+download_link+] [+reset_link+] | ||||
|             </td> | ||||
|         </tr> | ||||
| 	</table> | ||||
| [+_wpnonce+] | ||||
| [+_wp_http_referer+] | ||||
| </form> | ||||
| @@ -0,0 +1,26 @@ | ||||
| <!-- template="mla-progress-div" --> | ||||
| <div class="wrap" id="mla-progress-div" style="display:none; border-bottom:1px solid #cccccc"> | ||||
| 	<h2>[+Mapping Progress+]</h2> | ||||
| 	<p style="font-weight:bold">[+DO NOT+]:</p> | ||||
| 	<ol> | ||||
| 		<li>[+DO NOT Close+]</li> | ||||
| 		<li>[+DO NOT Reload+]</li> | ||||
| 		<li>[+DO NOT Click+]</li> | ||||
| 	</ol> | ||||
| 	<p style="font-weight:bold">[+Progress+]:</p> | ||||
| 	<div id="mla-progress-meter-div" style="padding: 3px; border: 1px solid rgb(101, 159, 255); border-image: none; width: 80%; height: 11px;"> | ||||
| 		<div id="mla-progress-meter" style="width: 100%; height: 11px; text-align: center; color: rgb(255, 255, 255); line-height: 11px; font-size: 6pt; background-color: rgb(101, 159, 255);">100% | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<div id="mla-progress-message"> </div> | ||||
| 	<p class="submit inline-edit-save"> | ||||
| 		<a title="[+Pause+]" class="button-secondary alignleft" id="mla-progress-pause" accesskey="p" href="#mla-progress">[+Pause+]</a> | ||||
| 		<a title="[+Cancel+]" class="button-secondary alignleft" id="mla-progress-cancel" accesskey="c" href="#mla-progress">[+Cancel+]</a> | ||||
| 		<a title="[+Resume+]" class="button-secondary alignleft" id="mla-progress-resume" accesskey="r" href="#mla-progress">[+Resume+]</a> | ||||
| 		<input name="mla_resume_offset" id="mla-progress-offset" type="text" size="3" /> | ||||
| 		<a title="[+Close+]" class="button-primary alignright" id="mla-progress-close" accesskey="x" href="#mla-progress">[+Close+]</a> | ||||
| 		<a title="[+Refresh+]" class="button-primary alignright" id="mla-progress-refresh" accesskey="f" href="[+refresh_href+]">[+Refresh+]</a> | ||||
| 		<span class="spinner"></span> | ||||
| 		<span id="mla-progress-error" style="display:inline"></span><br class="clear" /> | ||||
| 	</p> | ||||
| </div> | ||||
| @@ -0,0 +1,94 @@ | ||||
| <!-- template="single-item-controls" --> | ||||
| 	<tr class="form-field form-required"> | ||||
| 	<th scope="row" valign="top"> </th> | ||||
| 	<td> | ||||
| 		<select name="mla_template_type" id="mla-template-type"> | ||||
| 			<option selected="selected" value="any">[+Select a type+]</option> | ||||
| 			<option value="style">Style</option> | ||||
| 			<option value="markup">Markup</option> | ||||
| 		</select> | ||||
| 		<select name="mla_template_shortcode" id="mla-template-shortcode"> | ||||
| 			<option selected="selected" value="any">[+Select a shortcode+]</option> | ||||
| 			[+shortcode_options+] | ||||
| 		</select> | ||||
| 		<p class="description">[+controls_help+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
|  | ||||
| <!-- template="single-item-section" --> | ||||
| 	<tr class="form-field [+class+]"[+style+]> | ||||
| 	<th scope="row" valign="top"><label for="mla-template-[+section_slug+]">[+section_name+]</label></th> | ||||
| 	<td> | ||||
| 		<textarea name="mla_template_item[sections][[+section_slug+]]" id="mla-template-[+section_slug+]" rows="[+section_rows+]" [+readonly+]>[+section_value+]</textarea> | ||||
| 		<p class="description">[+section_help+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
|  | ||||
| <!-- template="single-item-edit" --> | ||||
| <div id="ajax-response"></div> | ||||
| <h2>[+Edit Template+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="validate" id="mla-edit-template"> | ||||
| 	<input name="mla_template_item[post_ID]" id="mla-template-item-post-ID" type="hidden" value="[+ID+]" /> | ||||
| 	<input name="mla_template_item[type]" id="mla-template-item-type" type="hidden" value="[+type+]" /> | ||||
| 	<input name="mla_template_item[shortcode]" id="mla-template-item-shortcode" type="hidden" value="[+shortcode+]" /> | ||||
| 	[+_wpnonce+] | ||||
| 	<table class="form-table"> | ||||
| 	[+controls+] | ||||
| 	<tr class="form-field form-required"> | ||||
| 	<th scope="row" valign="top"><label for="mla-template-slug">[+Name+]</label></th> | ||||
| 	<td> | ||||
| 	<input name="mla_template_item[name]" id="mla-template-slug" type="text" value="[+name+]" size="40" [+readonly+] aria-required="true" /> | ||||
| 	<p class="description">[+The name is+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	[+section_list+] | ||||
| </table> | ||||
| <p class="submit mla-settings-submit"> | ||||
| <input name="[+cancel+]" class="button-primary" type="submit" value="[+Cancel+]" />  | ||||
| <input name="[+submit+]" class="button-primary" [+submit_style+] type="submit" value="[+Update+]" />  | ||||
| <a class="button-primary" [+copy_style+] href="[+copy_href+]">[+Copy+]</a> | ||||
| </p> | ||||
| </form> | ||||
|  | ||||
| <!-- template="before-table" --> | ||||
| <h2>[+MLA Shortcode Options+]</h2> | ||||
| <p>[+In this tab+]</p> | ||||
| <p>[+You can find+]</p> | ||||
| <div id="ajax-response"></div> | ||||
| <div id="col-container"> | ||||
| 	<div id="col-right"> | ||||
| 		<div class="col-wrap"> | ||||
| 			<form action="[+form_url+]" method="post" id="mla-search-templates-filter"> | ||||
| 				[+view_args+] | ||||
| 				[+_wpnonce+] | ||||
| 				<span style="margin-top: 1em"> | ||||
| 					<label class="screen-reader-text" for="mla-search-templates-input">[+Search Templates+]:</label> | ||||
| 					<input name="mla-search-templates-submit" class="button alignright" id="mla-search-templates-submit" type="submit" value="[+Search Templates+]" /> | ||||
| 					<input name="s" class="alignright" id="mla-search-templates-input" type="search" value="[+s+]" /> | ||||
| 					<input name="mla-add-new-template-submit" class="button-primary alignleft" type="submit" value="[+Add New Template+]" /> | ||||
| 					[+results+] | ||||
| 				</span> | ||||
| <!-- template="after-table" --> | ||||
| 			</form><!-- /id=mla-search-templates-filter -->  | ||||
| 		</div><!-- /col-wrap -->  | ||||
| 	</div><!-- /col-right --> | ||||
|  | ||||
| 	<div id="col-left"> | ||||
| 		<div class="col-wrap"> | ||||
| 			<div class="form-wrap"> | ||||
| 				<form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-shortcodes-tab"> | ||||
| 				[+options_list+] | ||||
| 					<a name="gotobottom"></a> | ||||
| 					<p class="submit mla-settings-submit"> | ||||
| 						<input name="mla-shortcodes-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
| 					</p> | ||||
| 				[+_wpnonce+] | ||||
| 				[+_wp_http_referer+] | ||||
| 				</form> | ||||
| 			</div><!-- /form-wrap -->  | ||||
| 		</div><!-- /col-wrap --> | ||||
| 	</div><!-- /col-left -->  | ||||
| </div><!-- /col-container --> | ||||
| <script type="text/javascript"> | ||||
| try{document.forms.addtag['mla-search-templates-input'].focus();}catch(e){} | ||||
| </script>  | ||||
| @@ -0,0 +1,258 @@ | ||||
| <!-- template="icon-type-select-option" --> | ||||
|                 <option [+selected+] value="[+value+]">[+text+]</option> | ||||
|  | ||||
| <!-- template="icon-type-select" --> | ||||
|             <select name="[+name+]" class="ptitle" id="mla-upload-icon-type"> | ||||
| [+options+] | ||||
|             </select> | ||||
|  | ||||
| <!-- template="single-item-edit" --> | ||||
| <h2>[+Edit Upload MIME+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="validate" id="mla-edit-upload"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 	<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 	<input type="hidden" name="mla_admin_action" value="[+action+]" /> | ||||
| 	<input type="hidden" name="mla_upload_item[original_slug]" value="[+original_slug+]" /> | ||||
| 	[+_wpnonce+] | ||||
| 	<table class="form-table"> | ||||
| 	<tr class="form-field form-required"> | ||||
| 	<th scope="row" valign="top"><label for="mla-upload-slug">[+Extension+]</label></th> | ||||
| 	<td> | ||||
| 	<input name="mla_upload_item[slug]" id="mla-upload-slug" type="text" value="[+slug+]" size="40" aria-required="true" /> | ||||
| 	<p class="description">[+The extension is+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field form-required"> | ||||
| 	<th scope="row" valign="top"><label for="mla-upload-mime-type">[+MIME Type+]</label></th> | ||||
| 	<td> | ||||
| 	<input name="mla_upload_item[mime_type]" id="mla-upload-mime-type" type="text" value="[+mime_type+]" size="40" /> | ||||
| 	<p class="description">[+The MIME Type+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field"> | ||||
| 	<th scope="row" valign="top"><label for="mla-upload-icon-type">[+Icon Type+]</label></th> | ||||
| 	<td> | ||||
| [+icon_types+] | ||||
| 	<p class="description">[+The Icon Type+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<th scope="row" valign="top"><label for="mla-upload-disabled">[+Inactive+]</label></th> | ||||
| 	<td> | ||||
| 	<input type="checkbox" name="mla_upload_item[disabled]" id="mla-upload-post-disabled" [+disabled+] value="1" /> | ||||
| 	<span class="description"> [+Check this box+]</span> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field"> | ||||
| 	<th scope="row" valign="top"><label for="mla-upload-description">[+Description+]</label></th> | ||||
| 	<td> | ||||
| 						<textarea name="mla_upload_item[description]" id="mla-upload-description" rows="5" cols="40">[+description+]</textarea> | ||||
| 						<p class="description">[+The description can+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| </table> | ||||
| <p class="submit mla-settings-submit"> | ||||
| <input name="cancel" type="submit" class="button-primary" value="[+Cancel+]" />  | ||||
| <input name="update" type="submit" class="button-primary" value="[+Update+]" />  | ||||
| </p> | ||||
| </form> | ||||
| <!-- template="upload-disabled" --> | ||||
| <h2>[+Support is disabled+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-upload-tab"> | ||||
|     <table class="optiontable"> | ||||
| [+options_list+] | ||||
| 	</table> | ||||
|     <p class="submit mla-settings-submit"> | ||||
|         <input name="mla-upload-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
|     </p> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 	<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 	[+_wpnonce+] | ||||
| </form> | ||||
|  | ||||
| <!-- template="before-optional-uploads-table" --> | ||||
| <h2>[+Known File Extension+]</h2> | ||||
| <form action="[+form_url+]" method="get" id="mla-search-optional-uploads-form"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 	<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 	[+_wpnonce+] | ||||
| 	[+results+] | ||||
| 	<p class="search-box" style="margin-top: 1em"> | ||||
| 		<label class="screen-reader-text" for="mla-search-optional-uploads-input">[+Search Known MIME+]:</label> | ||||
| 		<input type="search" id="mla-search-optional-uploads-input" name="s" value="[+s+]" /> | ||||
| 		<input type="submit" name="mla-optional-uploads-search" id="mla-search-optional-uploads-submit" class="button" value="[+Search Types+]" /> | ||||
| 		<span class="description"><br />[+To search by+]</span> | ||||
| 	</p> | ||||
| </form> | ||||
| <br class="clear" /> | ||||
| <div id="col-container"> | ||||
| 	<form action="[+form_url+]" method="post" id="mla-search-optional-uploads-filter"> | ||||
| 		<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 		<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 		[+_wpnonce+] | ||||
|  | ||||
| <!-- template="after-optional-uploads-table" --> | ||||
| 		<p class="submit mla-settings-submit"> | ||||
| 		<input name="mla-optional-uploads-cancel" type="submit" class="button-primary" value="Cancel" />  | ||||
| 		</p> | ||||
| 	</form><!-- /id=mla-search-uploads-filter -->  | ||||
| </div><!-- /col-container --> | ||||
|  | ||||
| <!-- template="before-table" --> | ||||
| <h2>[+File Extension Processing+]</h2> | ||||
| <p>[+In this tab+]</p> | ||||
| <p>[+You can find+]</p> | ||||
| <div id="ajax-response"></div> | ||||
| <form action="[+form_url+]" method="get" id="mla-search-uploads-form"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 	<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 	[+_wpnonce+] | ||||
| 	[+results+] | ||||
| 	<p class="search-box" style="margin-top: 1em"> | ||||
| 		<label class="screen-reader-text" for="mla-search-uploads-input">Search Upload MIME Types:</label> | ||||
| 		<input type="search" id="mla-search-uploads-input" name="s" value="[+s+]" /> | ||||
| 		<input type="submit" name="" id="mla-search-uploads-submit" class="button" value="[+Search Uploads+]" /> | ||||
| 		<span class="description"><br />[+To search by+]</span> | ||||
| 	</p> | ||||
| </form> | ||||
| <br class="clear" /> | ||||
| <div id="col-container"> | ||||
| 	<div id="col-right"> | ||||
| 		<div class="col-wrap"> | ||||
| 			<form action="[+form_url+]" method="post" id="mla-search-uploads-filter"> | ||||
| 				<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 				<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 				[+_wpnonce+] | ||||
|  | ||||
| <!-- template="after-table" --> | ||||
| 			</form><!-- /id=mla-search-uploads-filter -->  | ||||
| 		</div><!-- /col-wrap -->  | ||||
| 	</div><!-- /col-right --> | ||||
| 	<div id="col-left"> | ||||
| 		<div class="col-wrap"> | ||||
| 		<div class="mla-settings-enable-form"> | ||||
| 		<form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-upload-tab"> | ||||
| 			<table class="optiontable"> | ||||
| 		[+options_list+] | ||||
| 			</table> | ||||
| 			<span class="submit mla-settings-submit"> | ||||
| 				<input name="mla-upload-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
| 			</span> | ||||
| 		[+_wpnonce+] | ||||
| 		</form> | ||||
| 		</div> | ||||
| 			<div class="form-wrap"> | ||||
| 				<h2>[+Add New Upload+]</h2> | ||||
| 						<p class="description">[+To search database+]</p> | ||||
| 				<form action="[+form_url+]" method="post" class="validate" id="mla-add-upload"> | ||||
| 					<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 					<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 					[+_wpnonce+] | ||||
| 					<div class="form-field form-required"> | ||||
| 						<label for="mla-upload-slug">[+Extension+]</label> | ||||
| 						<input name="mla_upload_item[slug]" id="mla-upload-slug" type="text" value="[+slug+]" size="40" /> | ||||
| 						<p class="description">[+The extension is+]</p> | ||||
| 					</div> | ||||
| 					<div class="form-field form-required"> | ||||
| 						<label for="mla-upload-mime-type">[+MIME Type+]</label> | ||||
| 						<input name="mla_upload_item[mime_type]" id="mla-upload-mime-type" type="text" value="[+mime_type+]" size="40" /> | ||||
| 						<p class="description">[+The MIME Type+]</p> | ||||
| 					</div> | ||||
| 					<div class="form-field"> | ||||
| 						<label for="mla-upload-mime-type">[+Icon Type+]</label> | ||||
| [+icon_types+] | ||||
| 						<p class="description">[+The Icon Type+]</p> | ||||
| 					</div> | ||||
| 					<div> | ||||
| 						<input type="checkbox" name="mla_upload_item[disabled]" id="mla-upload-disabled" [+disabled+] value="1" /> | ||||
| 						[+Inactive+] | ||||
| 						<p class="description"> [+Check this box+]</p> | ||||
| 					</div> | ||||
| 					<div class="form-field"> | ||||
| 						<label for="mla-upload-description">[+Description+]</label> | ||||
| 						<textarea name="mla_upload_item[description]" id="mla-upload-description" rows="5" cols="40">[+description+]</textarea> | ||||
| 						<p class="description">[+The description can+]</p> | ||||
| 					</div> | ||||
| 					<p class="submit mla-settings-submit"> | ||||
| 						<input type="submit" name="mla-add-upload-submit" id="mla-add-upload-submit" class="button button-primary" value="[+Add Upload MIME+]" /> <a href="[+search_url+]" class="button">[+Search Known Types+]</a> | ||||
| 					</p> | ||||
| 				</form><!-- /id=mla-add-upload -->  | ||||
| 			</div><!-- /form-wrap -->  | ||||
| 		</div><!-- /col-wrap --> | ||||
| 	</div><!-- /col-left -->  | ||||
| </div><!-- /col-container --> | ||||
| <script type="text/javascript"> | ||||
| try{document.forms.addtag['mla-upload-slug'].focus();}catch(e){} | ||||
| </script>  | ||||
| <form> | ||||
| 	<table width="99%" style="display: none"> | ||||
| 		<tbody id="inlineedit"> | ||||
| 			<tr id="inline-edit" class="inline-edit-row inline-edit-row-upload inline-edit-upload quick-edit-row quick-edit-row-upload quick-edit-upload" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"> | ||||
| 					<fieldset class="inline-edit-col"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<h4>[+Quick Edit+]</h4> | ||||
| 							<label class="alignleft"> <span class="title">[+Extension+]</span> <span class="input-text-wrap"> | ||||
| 								<input type="text" name="slug" class="ptitle" value="" /> | ||||
| 								</span> </label> | ||||
| 							<label class="alignleft"> <span class="title">[+MIME Type+]</span> <span class="input-text-wrap"> | ||||
| 								<input type="text" name="mime_type" class="ptitle" value="" /> | ||||
| 								</span> </label> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 								<input type="checkbox" name="disabled" class="ptitle" checked="checked" value="1" /> | ||||
| 								</span> <span class="checkbox-title">[+Inactive+]</span> | ||||
| 								</label>  | ||||
| 								<label class="alignleft"> <span class="title">[+Icon Type+]</span> <span class="input-text-wrap"> | ||||
| [+inline_icon_types+] | ||||
| 								</span> </label> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="inline-edit-save submit"> <a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="cancel button-secondary alignleft">[+Cancel+]</a> <a accesskey="s" href="#inline-edit" title="[+Update Upload MIME+]" class="save button-primary alignright">[+Update+]</a> | ||||
| 						<input type="hidden" name="original_slug" value="" /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 						<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-upload" /> | ||||
| 						<span class="spinner"></span> | ||||
| 						<span class="error" style="display: none;"></span> | ||||
| 						<br class="clear" /> | ||||
| 					</p> | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 			<tr id="bulk-edit" class="inline-edit-row inline-edit-row-upload inline-edit-upload bulk-edit-row bulk-edit-row-upload bulk-edit-upload" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"> | ||||
| 					<h4>[+Bulk Edit+]</h4> | ||||
| 					<fieldset class="inline-edit-col-left"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<div id="bulk-title-div"> | ||||
| 								<div id="bulk-titles"></div> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<fieldset class="inline-edit-col-right"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<label class="inline-edit-disabled"> <span class="title">[+Status+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="disabled"> | ||||
| 									<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 									<option value="0">[+Active+]</option> | ||||
| 									<option value="1">[+Inactive+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
| 							<label class="title"> <span class="title">[+Icon Type+]</span> <span class="input-text-wrap"> | ||||
| [+bulk_icon_types+] | ||||
| 								</span> </label> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="submit inline-edit-save"> <a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
| 						<input accesskey="s" type="submit" name="bulk_edit" id="bulk_edit" class="button-primary alignright" value="[+Update+]"  /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-upload" /> | ||||
| 						<input type="hidden" name="mla_tab" value="upload" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-upload" /> | ||||
| 						<span class="error" style="display:none"></span> <br class="clear" /> | ||||
| 					</p> | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 		</tbody> | ||||
| 	</table> | ||||
| </form> | ||||
| @@ -0,0 +1,274 @@ | ||||
| <!-- template="single-item-edit" --> | ||||
| <div id="ajax-response"></div> | ||||
| <h2>[+Edit View+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="validate" id="mla-edit-view"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-view" /> | ||||
| 	<input type="hidden" name="mla_tab" value="view" /> | ||||
| 	<input type="hidden" name="mla_admin_action" value="[+action+]" /> | ||||
| 	<input type="hidden" name="mla_view_item[original_slug]" value="[+original_slug+]" /> | ||||
| 	[+_wpnonce+] | ||||
| 	<table class="form-table"> | ||||
| 	<tr class="form-field form-required"> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-slug">[+Slug+]</label></th> | ||||
| 	<td> | ||||
| 	<input name="mla_view_item[slug]" id="mla-view-slug" type="text" value="[+slug+]" size="40" aria-required="true" /> | ||||
| 	<p class="description">[+The slug is+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field"> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-singular">[+Singular Label+]</label></th> | ||||
| 	<td> | ||||
| 						<input name="mla_view_item[singular]" id="mla-view-singular" type="text" value="[+singular+]" size="40" /> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field"> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-plural">[+Plural Label+]</label></th> | ||||
| 	<td> | ||||
| 						<input name="mla_view_item[plural]" id="mla-view-plural" type="text" value="[+plural+]" size="40" /> | ||||
| 						<p class="description">[+The labels+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field"> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-specification">[+Specification+]</label></th> | ||||
| 	<td> | ||||
| 						<input name="mla_view_item[specification]" id="mla-view-specification" type="text" value="[+specification+]" size="40" /> | ||||
| 						<p class="description">[+If the specification+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-post-mime-type">[+Post MIME Type+]</label></th> | ||||
| 	<td> | ||||
| 						<input type="checkbox" name="mla_view_item[post_mime_type]" id="mla-view-post-mime-type" [+post_mime_type+] value="1" /> | ||||
| 						<span class="description"> [+Check Post MIME+]</span> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-table-view">[+Table View+]</label></th> | ||||
| 	<td> | ||||
| 						<input type="checkbox" name="mla_view_item[table_view]" id="mla-view-table-view" [+table_view+] value="1" /> | ||||
| 						<span class="description"> [+Check Table View+]</span> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field"> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-menu-order">[+Menu Order+]</label></th> | ||||
| 	<td> | ||||
| 						<input name="mla_view_item[menu_order]" id="mla-view-menu-order" type="text" value="[+menu_order+]" size="10" /> | ||||
| 						<p class="description">[+You can choose+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| 	<tr class="form-field"> | ||||
| 	<th scope="row" valign="top"><label for="mla-view-description">[+Description+]</label></th> | ||||
| 	<td> | ||||
| 						<textarea name="mla_view_item[description]" id="mla-view-description" rows="5" cols="40">[+description+]</textarea> | ||||
| 						<p class="description">[+The description can+]</p> | ||||
| 	</td> | ||||
| 	</tr> | ||||
| </table> | ||||
| <p class="submit mla-settings-submit"> | ||||
| <input name="cancel" type="submit" class="button-primary" value="[+Cancel+]" />  | ||||
| <input name="update" type="submit" class="button-primary" value="[+Update+]" />  | ||||
| </p> | ||||
| </form> | ||||
| <!-- template="view-disabled" --> | ||||
| <h2>[+Support is disabled+]</h2> | ||||
| <form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-view-tab"> | ||||
|     <table class="optiontable"> | ||||
| [+options_list+] | ||||
| 	</table> | ||||
|     <p class="submit mla-settings-submit"> | ||||
|         <input name="mla-view-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
|     </p> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-view" /> | ||||
| 	<input type="hidden" name="mla_tab" value="view" /> | ||||
| 	[+_wpnonce+] | ||||
| </form> | ||||
|  | ||||
| <!-- template="before-table" --> | ||||
| <h2>[+Library Views Processing+]</h2> | ||||
| <p>[+In this tab+]</p> | ||||
| <p>[+You can find+]</p> | ||||
| <div id="ajax-response"></div> | ||||
| <form action="[+form_url+]" method="get" id="mla-search-views-form"> | ||||
| 	<input type="hidden" name="page" value="mla-settings-menu-view" /> | ||||
| 	<input type="hidden" name="mla_tab" value="view" /> | ||||
| 	[+_wpnonce+] | ||||
| 	[+results+] | ||||
| 	<p class="search-box" style="margin-top: 1em"> | ||||
| 		<label class="screen-reader-text" for="mla-search-views-input">[+Search Views+]:</label> | ||||
| 		<input type="search" id="mla-search-views-input" name="s" value="[+s+]" /> | ||||
| 		<input type="submit" name="" id="mla-search-views-submit" class="button" value="[+Search Views+]" /> | ||||
| 	</p> | ||||
| </form> | ||||
| <br class="clear" /> | ||||
| <div id="col-container"> | ||||
| 	<div id="col-right"> | ||||
| 		<div class="col-wrap"> | ||||
| 			<form action="[+form_url+]" method="post" id="mla-search-views-filter"> | ||||
| 				<input type="hidden" name="page" value="mla-settings-menu-view" /> | ||||
| 				<input type="hidden" name="mla_tab" value="view" /> | ||||
| 				[+_wpnonce+] | ||||
|  | ||||
| <!-- template="after-table" --> | ||||
| 			</form><!-- /id=mla-search-views-filter -->  | ||||
| 		</div><!-- /col-wrap -->  | ||||
| 	</div><!-- /col-right --> | ||||
|  | ||||
| 	<div id="col-left"> | ||||
| 		<div class="col-wrap"> | ||||
| 		<div class="mla-settings-enable-form"> | ||||
| 		<form action="[+form_url+]" method="post" class="mla-display-settings-page" id="mla-display-settings-view-tab"> | ||||
| 			<table class="optiontable"> | ||||
| 		[+options_list+] | ||||
| 			</table> | ||||
| 			<span class="submit mla-settings-submit"> | ||||
| 				<input name="mla-view-options-save" type="submit" class="button-primary" value="[+Save Changes+]" /> | ||||
| 			</span> | ||||
| 		[+_wpnonce+] | ||||
| 		</form> | ||||
| 		</div> | ||||
| 			<div class="form-wrap"> | ||||
| 				<h2>[+Add New View+]</h2> | ||||
| 				<form action="[+form_url+]" method="post" class="validate" id="mla-add-view"> | ||||
| 					<input type="hidden" name="page" value="mla-settings-menu-view" /> | ||||
| 					<input type="hidden" name="mla_tab" value="view" /> | ||||
| 					[+_wpnonce+] | ||||
| 					<div class="form-field form-required"> | ||||
| 						<label for="mla-view-slug">[+Slug+]</label> | ||||
| 						<input name="mla_view_item[slug]" id="mla-view-slug" type="text" value="[+slug+]" size="40" /> | ||||
| 						<p class="description">[+The slug is+]</p> | ||||
| 					</div> | ||||
| 					<div class="form-field"> | ||||
| 						<label for="mla-view-singular">[+Singular Label+]</label> | ||||
| 						<input name="mla_view_item[singular]" id="mla-view-singular" type="text" value="[+singular+]" size="40" /> | ||||
| 						<label for="mla-view-plural">[+Plural Label+]</label> | ||||
| 						<input name="mla_view_item[plural]" id="mla-view-singular" type="text" value="[+plural+]" size="40" /> | ||||
| 						<p class="description">[+The labels+]</p> | ||||
| 					</div> | ||||
| 					<div class="form-field"> | ||||
| 						<label for="mla-view-specification">[+Specification+]</label> | ||||
| 						<input name="mla_view_item[specification]" id="mla-view-specification" type="text" value="[+specification+]" size="40" /> | ||||
| 						<p class="description">[+If the specification+]</p> | ||||
| 					</div> | ||||
| 					<div> | ||||
| 						<input type="checkbox" name="mla_view_item[post_mime_type]" id="mla-view-post-mime-type" [+post_mime_type+] value="1" /> | ||||
| 						[+Post MIME Type+] | ||||
| 						<p class="description">[+Check Post MIME+]</p> | ||||
| 					</div> | ||||
| 					<div> | ||||
| 						<input type="checkbox" name="mla_view_item[table_view]" id="mla-view-table-view" [+table_view+] value="1" /> | ||||
| 						[+Table View+] | ||||
| 						<p class="description">[+Check Table View+]</p> | ||||
| 					</div> | ||||
| 					<div class="form-field"> | ||||
| 						<label for="mla-view-menu-order">[+Menu Order+]</label> | ||||
| 						<input name="mla_view_item[menu_order]" id="mla-view-menu-order" type="text" value="[+menu_order+]" size="10" /> | ||||
| 						<p class="description">[+You can choose+]</p> | ||||
| 					</div> | ||||
| 					<div class="form-field"> | ||||
| 						<label for="mla-view-description">[+Description+]</label> | ||||
| 						<textarea name="mla_view_item[description]" id="mla-view-description" rows="5" cols="40">[+description+]</textarea> | ||||
| 						<p class="description">[+The description can+]</p> | ||||
| 					</div> | ||||
| 					<p class="submit mla-settings-submit"> | ||||
| 						<input type="submit" name="mla-add-view-submit" id="mla-add-view-submit" class="button button-primary" value="[+Add View+]" /> | ||||
| 					</p> | ||||
| 				</form><!-- /id=mla-add-view -->  | ||||
| 			</div><!-- /form-wrap -->  | ||||
| 		</div><!-- /col-wrap --> | ||||
| 	</div><!-- /col-left -->  | ||||
| </div><!-- /col-container --> | ||||
| <script type="text/javascript"> | ||||
| try{document.forms.addtag['mla-view-slug'].focus();}catch(e){} | ||||
| </script>  | ||||
| <form> | ||||
| 	<table width="99%" style="display: none"> | ||||
| 		<tbody id="inlineedit"> | ||||
| 			<tr id="inline-edit" class="inline-edit-row inline-edit-row-view inline-edit-view quick-edit-row quick-edit-row-view quick-edit-view" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"> | ||||
| 					<fieldset class="inline-edit-col"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<h4>[+Quick Edit+]</h4> | ||||
| 							<label class="alignleft"> <span class="title">[+Slug+]</span> <span class="input-text-wrap"> | ||||
| 								<input type="text" name="slug" class="ptitle" value="" /> | ||||
| 								</span> </label> | ||||
| 							<label class="alignleft"> <span class="title">[+Specification+]</span> <span class="input-text-wrap"> | ||||
| 								<input type="text" name="specification" class="ptitle" value="" /> | ||||
| 								</span> </label> | ||||
| 							<label class="alignleft"> <span class="title">[+Singular Label+]</span> <span class="input-text-wrap"> | ||||
| 								<input type="text" name="singular" class="ptitle" value="" /> | ||||
| 								</span> </label> | ||||
| 							<label class="alignleft"> <span class="title">[+Plural Label+]</span> <span class="input-text-wrap"> | ||||
| 								<input type="text" name="plural" class="ptitle" value="" /> | ||||
| 								</span> </label> | ||||
| 							<div class="inline-edit-group"> | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 									<input type="checkbox" name="post_mime_type" class="ptitle" checked="checked" value="1" /> | ||||
| 									<span class="checkbox-title">[+Post MIME Type+]</span> | ||||
| 								</label> | ||||
| 								<label class="alignleft checkbox-label"> | ||||
| 									<input type="checkbox" name="table_view" class="ptitle" checked="checked" value="1" /> | ||||
| 									<span class="checkbox-title">[+Table View+]</span>  | ||||
| 								</label> | ||||
| 								<label class="alignleft"> | ||||
| 									<span class="title">[+Menu Order+]</span> | ||||
| 									<span class="input-text-wrap"><input type="text" name="menu_order" class="ptitle inline-edit-menu-order" value="" /></span> | ||||
| 								</label> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="inline-edit-save submit"> <a accesskey="c" href="#inline-edit" title="Cancel" class="cancel button-secondary alignleft">[+Cancel+]</a> <a accesskey="s" href="#inline-edit" title="[+Update+]" class="save button-primary alignright">[+Update+]</a> | ||||
| 						<input type="hidden" name="original_slug" value="" /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-view" /> | ||||
| 						<input type="hidden" name="mla_tab" value="view" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-view" /> | ||||
| 						<span class="spinner"></span> | ||||
| 						<span class="error" style="display: none;"></span> | ||||
| 						<br class="clear" /> | ||||
| 					</p> | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 			<tr id="bulk-edit" class="inline-edit-row inline-edit-row-view inline-edit-view bulk-edit-row bulk-edit-row-view bulk-edit-view" style="display: none"> | ||||
| 				<td colspan="[+colspan+]" class="colspanchange"> | ||||
| 					<h4>[+Bulk Edit+]</h4> | ||||
| 					<fieldset class="inline-edit-col-left"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<div id="bulk-title-div"> | ||||
| 								<div id="bulk-titles"></div> | ||||
| 							</div> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<fieldset class="inline-edit-col-right"> | ||||
| 						<div class="inline-edit-col"> | ||||
| 							<label class="inline-edit-post-mime-type"> <span class="title">[+Post MIME Type+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="post_mime_type"> | ||||
| 									<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 									<option value="0">[+No+]</option> | ||||
| 									<option value="1">[+Yes+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
| 							<br /> | ||||
| 							<label class="inline-edit-table-view"> <span class="title">[+Table View+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="table_view"> | ||||
| 									<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 									<option value="0">[+No+]</option> | ||||
| 									<option value="1">[+Yes+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
| 							<br /> | ||||
| 							<label class="inline-edit-menu-order"> <span class="title">[+Menu Order+]</span> <span class="input-text-wrap"> | ||||
| 								<input type="text" name="menu_order" value="" /> | ||||
| 								</span> </label> | ||||
| 						</div> | ||||
| 					</fieldset> | ||||
| 					<p class="submit inline-edit-save"> <a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
| 						<input accesskey="s" type="submit" name="bulk_edit" id="bulk_edit" class="button-primary alignright" value="[+Update+]"  /> | ||||
| 						<input type="hidden" name="page" value="mla-settings-menu-view" /> | ||||
| 						<input type="hidden" name="mla_tab" value="view" /> | ||||
| 						<input type="hidden" name="screen" value="settings_page_mla-settings-menu-view" /> | ||||
| 						<span class="error" style="display:none"></span> <br class="clear" /> | ||||
| 					</p> | ||||
| 				</td> | ||||
| 			</tr> | ||||
| 		</tbody> | ||||
| 	</table> | ||||
| </form> | ||||
| @@ -0,0 +1,297 @@ | ||||
| <!-- template="category_fieldset" --> | ||||
|           <fieldset class="inline-edit-col-center inline-edit-categories"> | ||||
|             <div class="inline-edit-col"> | ||||
| [+category_blocks+] | ||||
|             </div> | ||||
|           </fieldset> | ||||
|  | ||||
| <!-- template="category_block" --> | ||||
|               <div id="taxonomy-[+tax_attr+]" class="categorydiv"> | ||||
|                 <span class="title inline-edit-categories-label">[+tax_html+]</span> | ||||
|                 <input type="hidden" name="tax_input[[+tax_attr+]][]" value="0" /> | ||||
|                 <ul class="cat-checklist [+tax_attr+]checklist form-no-clear" id="[+tax_attr+]checklist" data-wp-lists="list:[+tax_attr+]"> | ||||
| [+tax_checklist+] | ||||
|                 </ul> | ||||
| [+category_add_link+] | ||||
| 				<span><a class="hide-if-no-js" id="[+tax_attr+]-search-toggle" href="#[+tax_attr+]-search">[+Search+]</a></span> | ||||
| [+category_adder+] | ||||
|                 <div id="[+tax_attr+]-searcher" class="wp-hidden-children"> | ||||
|                   <p id="[+tax_attr+]-search" class="category-add wp-hidden-child"> | ||||
|                     <label class="screen-reader-text" for="search-category">[+Search Reader+]</label> | ||||
|                     <input type="text" name="search-[+tax_attr+]" id="search-[+tax_attr+]" class="form-required form-input-tip" value="[+Search Reader+]" aria-required="true"> | ||||
|                   </p> | ||||
|                 </div> | ||||
|               </div> | ||||
|  | ||||
| <!-- template="category_add_link" --> | ||||
| 		<span><a class="hide-if-no-js" id="[+tax_attr+]-add-toggle" href="#[+tax_attr+]-add">[+Add New Term+]</a></span> | ||||
| 		    | ||||
|  | ||||
| <!-- template="category_adder" --> | ||||
| 		<div id="[+tax_attr+]-adder" class="wp-hidden-children"> | ||||
| 		  <p id="[+tax_attr+]-add" class="category-add wp-hidden-child"> | ||||
| 			<label class="screen-reader-text" for="new[+tax_attr+]">[+Add Reader+]</label> | ||||
| 			<input name="new[+tax_attr+]" class="form-required form-input-tip" id="new[+tax_attr+]" aria-required="true" type="text" value="[+Add Reader+]"> | ||||
| [+tax_parents+] | ||||
| 			<input class="button category-add-submit mla-taxonomy-add-submit" id="[+tax_attr+]-add-submit" type="button"  data-wp-lists="add:[+tax_attr+]checklist:[+tax_attr+]-add"value="[+Add Button+]"> | ||||
| 			[+ajax_nonce_field+] | ||||
| 			<span id="[+tax_attr+]-ajax-response"></span> | ||||
| 		  </p> | ||||
| 		</div> | ||||
|  | ||||
| <!-- template="tag_fieldset" --> | ||||
|           <fieldset class="inline-edit-col-right inline-edit-tags"> | ||||
|             <div class="inline-edit-col"> | ||||
| [+tag_blocks+] | ||||
|             </div> | ||||
|           </fieldset> | ||||
|  | ||||
| <!-- template="tag_block" --> | ||||
|             <label class="inline-edit-tags"> | ||||
|               <span class="title">[+tax_html+]</span> | ||||
|               <textarea cols="22" rows="1" name="tax_input[[+tax_attr+]]" class="tax_input_[+tax_attr+] mla_tags"></textarea> | ||||
|             </label> | ||||
|  | ||||
| <!-- template="taxonomy_options" --> | ||||
| 			<div class="mla_bulk_taxonomy_options"> | ||||
|             <input type="radio" name="tax_action[[+tax_attr+]]" id="tax_add_[+tax_attr+]" checked="checked" value="add" /> [+Add+]  | ||||
|             <input type="radio" name="tax_action[[+tax_attr+]]" id="tax_remove_[+tax_attr+]" value="remove" /> [+Remove+]  | ||||
|             <input type="radio" name="tax_action[[+tax_attr+]]" id="tax_reset_[+tax_attr+]" value="replace" /> [+Replace+]  | ||||
|             </div> | ||||
| <!-- template="custom_field" --> | ||||
|               <label class="inline-edit-[+slug+]" style="clear:both"> <span class="title">[+label+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="[+slug+]" value="" /> | ||||
|                 </span> </label> | ||||
| <!-- template="page" --> | ||||
| <form> | ||||
|   <table width="99%" style="display: none"> | ||||
|     <tbody id="inlineedit"> | ||||
|       <tr id="inline-edit" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment quick-edit-row quick-edit-row-attachment quick-edit-attachment" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
| 		<div class="edit-fields-div" id="inline-edit-fields-div"> | ||||
|           <fieldset class="inline-edit-col-left"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <h4>[+Quick Edit+]</h4> | ||||
| 			  <div id="item_thumbnail"></div> | ||||
|               <label> <span class="title">[+Title+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_title" class="ptitle" value="" /> | ||||
|                 </span> </label> | ||||
|               <label> <span class="title">[+Name/Slug+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_name" value="" /> | ||||
|                 </span> </label> | ||||
|               <label> <span class="title">[+Caption+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_excerpt" value="" /> | ||||
|                 </span> </label> | ||||
|               <label> <span class="title">[+Description+]</span> <span class="input-text-wrap"> | ||||
|                 <textarea class="widefat" name="post_content"></textarea> | ||||
|                 </span> </label> | ||||
|               <label class="inline-edit-image-alt"> <span class="title">[+ALT Text+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="image_alt" value="" /> | ||||
|                 </span> </label> | ||||
|               <div class="inline-edit-group"> | ||||
| [+Uploaded on+] | ||||
|               </div> | ||||
|               <div class="inline-edit-group"> | ||||
|                 <label class="inline-edit-post-parent alignleft"> <span class="title">[+Parent ID+]</span> <span class="input-text-wrap"> | ||||
|                   <input type="text" name="post_parent" value="" /> | ||||
|                   </span> </label> | ||||
|                 <label class="inline-edit-post-parent-title"> <span class=""> | ||||
|                   <input type="text" readonly="readonly" disabled="disabled" name="post_parent_title" value="" /> | ||||
|                   </span> </label> | ||||
|                   <input id="inline-edit-post-set-parent" title="[+Select+]" class="button-primary parent" type="button" name="post_parent_set" value="[+Select+]" /> | ||||
|               </div> | ||||
|               <div class="inline-edit-group"> | ||||
|                 <label class="inline-edit-menu-order alignleft"> <span class="title">[+Menu Order+]</span> <span class="input-text-wrap"> | ||||
|                   <input type="text" name="menu_order" value="" /> | ||||
|                   </span> </label> | ||||
| [+authors+] | ||||
|               </div> | ||||
|             </div> | ||||
|           </fieldset> | ||||
| [+quick_middle_column+] | ||||
| [+quick_right_column+] | ||||
|           <fieldset class="inline-edit-col-right"> | ||||
|             <div class="inline-edit-col"> | ||||
| [+custom_fields+] | ||||
|             </div> | ||||
|           </fieldset> | ||||
| 		  </div> <!-- inline-edit-fields-div --> | ||||
|           <p class="submit inline-edit-save"> | ||||
| 		  	<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
| 		  	<a accesskey="s" href="#inline-edit" title="[+Update+]" class="button-primary save alignright">[+Update+]</a> | ||||
| 			<span class="spinner"></span> | ||||
|             <input type="hidden" name="page" value="mla-menu" /> | ||||
|             <input type="hidden" name="screen" value="media_page_mla-menu" /> | ||||
| 			<br class="clear" /> | ||||
|             <span class="error" style="display:none"></span> | ||||
|           </p> | ||||
|         </td> | ||||
|       </tr> | ||||
|       <tr id="blank-bulk-edit" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment bulk-edit-row bulk-edit-row-attachment bulk-edit-attachment" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
| 		<div class="edit-fields-div" id="blank-bulk-edit-fields-div"> | ||||
| [+bulk_middle_column+] | ||||
| [+bulk_right_column+] | ||||
|           <fieldset class="inline-edit-col-right inline-edit-fields"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <label> <span class="title">[+Title+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_title" class="ptitle" value="" /> | ||||
|                 </span> </label> | ||||
|               <label> <span class="title">[+Caption+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_excerpt" value="" /> | ||||
|                 </span> </label> | ||||
|               <label class="inline-edit-post-content"> <span class="title">[+Description+]</span> <span class="input-text-wrap"> | ||||
|                 [+description_field+] | ||||
|                 </span> </label> | ||||
|               <label class="inline-edit-image-alt"> <span class="title">[+ALT Text+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="image_alt" value="" /> | ||||
|                 </span> </label> | ||||
|               <label class="inline-edit-post-date"><span class="title">[+Bulk Uploaded on+]</span><span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_date" value="" /> | ||||
|                 </span></label> | ||||
|               <div class="inline-edit-group"> | ||||
|                 <label class="inline-edit-post-parent alignleft"> <span class="title">[+Parent ID+]</span> <span class="input-text-wrap"> | ||||
|                   <input type="text" name="post_parent" value="" /> | ||||
|                   </span> </label> | ||||
|                   <input id="bulk-edit-set-parent" title="[+Select+]" class="button-primary parent" type="button" name="post_parent_set" value="[+Select+]" /> | ||||
| [+bulk_authors+] | ||||
|               </div> | ||||
|               <div class="inline-edit-group"> | ||||
| 							<label class="inline-edit-comments alignleft"> <span class="title">[+Comments+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="comment_status"> | ||||
| 									<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 									<option value="open">[+Allow+]</option> | ||||
| 									<option value="closed">[+Do not allow+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
| 							<label class="inline-edit-pings alignright"> <span class="title">[+Pings+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="ping_status"> | ||||
| 									<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 									<option value="open">[+Allow+]</option> | ||||
| 									<option value="closed">[+Do not allow+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
|               </div> | ||||
| [+bulk_custom_fields+] | ||||
|             </div> | ||||
|           </fieldset> | ||||
| 		</div> <!-- blank-bulk-edit-fields-div --> | ||||
|         </td> | ||||
|       </tr> | ||||
|       <tr id="bulk-edit" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment bulk-edit-row bulk-edit-row-attachment bulk-edit-attachment" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
| 		<div class="edit-fields-div" id="bulk-edit-fields-div"> | ||||
|           <fieldset class="inline-edit-col-left"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <h4>[+Bulk Edit+]</h4> | ||||
|               <div id="bulk-title-div"> | ||||
|                 <div id="bulk-titles"></div> | ||||
|               </div> | ||||
| 		  	<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
| 		  	<a accesskey="r" href="#inline-edit" title="[+Reset+]" class="button-secondary reset alignleft">[+Reset+]</a> | ||||
|             </div> | ||||
|           </fieldset> | ||||
| [+bulk_middle_column+] | ||||
| [+bulk_right_column+] | ||||
|           <fieldset class="inline-edit-col-right inline-edit-fields"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <label> <span class="title">[+Title+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_title" class="ptitle" value="" /> | ||||
|                 </span> </label> | ||||
|               <label> <span class="title">[+Caption+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_excerpt" value="" /> | ||||
|                 </span> </label> | ||||
|               <label class="inline-edit-post-content"> <span class="title">[+Description+]</span> <span class="input-text-wrap"> | ||||
|                 [+description_field+] | ||||
|                 </span> </label> | ||||
|               <label class="inline-edit-image-alt"> <span class="title">[+ALT Text+]</span> <span class="input-text-wrap"> | ||||
|                 <input type="text" name="image_alt" value="" /> | ||||
|                 </span> </label> | ||||
|               <label class="inline-edit-post-date"><span class="title">[+Bulk Uploaded on+]</span><span class="input-text-wrap"> | ||||
|                 <input type="text" name="post_date" value="" /> | ||||
|                 </span></label> | ||||
|               <div class="inline-edit-group"> | ||||
|                 <label class="inline-edit-post-parent alignleft"> <span class="title">[+Parent ID+]</span> <span class="input-text-wrap"> | ||||
|                   <input type="text" name="post_parent" value="" /> | ||||
|                   </span> </label> | ||||
|                   <input id="bulk-edit-set-parent" title="[+Select+]" class="button-primary parent" type="button" name="post_parent_set" value="[+Select+]" /> | ||||
| [+bulk_authors+] | ||||
|               </div> | ||||
|               <div class="inline-edit-group"> | ||||
| 							<label class="inline-edit-comments alignleft"> <span class="title">[+Comments+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="comment_status"> | ||||
| 									<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 									<option value="open">[+Allow+]</option> | ||||
| 									<option value="closed">[+Do not allow+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
| 							<label class="inline-edit-pings alignright"> <span class="title">[+Pings+]</span> <span class="input-text-wrap"> | ||||
| 								<select name="ping_status"> | ||||
| 									<option selected="selected" value="-1">— [+No Change+] —</option> | ||||
| 									<option value="open">[+Allow+]</option> | ||||
| 									<option value="closed">[+Do not allow+]</option> | ||||
| 								</select> | ||||
| 								</span> </label> | ||||
|               </div> | ||||
| [+bulk_custom_fields+] | ||||
|             </div> | ||||
|           </fieldset> | ||||
| 		</div> <!-- bulk-edit-fields-div --> | ||||
|           <p class="submit inline-edit-save"> | ||||
| 		  	<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
|             <input accesskey="s" type="submit" name="bulk_edit" id="bulk_edit" class="button-primary alignright" value="[+Update+]"  /> | ||||
|             <input style="[+bulk_map_style+]" accesskey="i" type="submit" name="bulk_map" id="bulk_map" class="button-secondary alignright" value="[+Map IPTC/EXIF metadata+]" /> | ||||
|             <input style="[+bulk_custom_field_map_style+]" accesskey="m" type="submit" name="bulk_custom_field_map" id="bulk_custom_field_map" class="button-secondary alignright" value="[+Map Custom Field metadata+]" /> | ||||
|             <input type="hidden" name="page" value="mla-menu" /> | ||||
|             <input type="hidden" name="screen" value="media_page_mla-menu" /> | ||||
|             <span class="error" style="display:none"></span> <br class="clear" /> | ||||
|           </p> | ||||
|         </td> | ||||
|       </tr> | ||||
|       <tr id="bulk-progress" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment bulk-edit-row bulk-edit-row-attachment bulk-edit-attachment" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
|           <fieldset class="inline-edit-col-left"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <h4>[+Bulk Edit+] [+Bulk Waiting+]</h4> | ||||
|               <div id="bulk-progress-waiting-div"> | ||||
|                 <div class="bulk-progress-titles" id="bulk-progress-waiting"></div> | ||||
|               </div> | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <fieldset class="inline-edit-col-center"> | ||||
| 		    <div class="inline-edit-col"> | ||||
|               <h4>[+Bulk Running+]</h4> | ||||
|               <div id="bulk-progress-running-div"> | ||||
|                 <div class="bulk-progress-titles" id="bulk-progress-running"></div> | ||||
|               </div> | ||||
| 		    </div> | ||||
| 		  </fieldset> | ||||
|           <fieldset class="inline-edit-col-right"> | ||||
|             <div class="inline-edit-col"> | ||||
| 		    <div class="inline-edit-col"> | ||||
|               <h4>[+Bulk Complete+]</h4> | ||||
|               <div id="bulk-progress-complete-div"> | ||||
|                 <div class="bulk-progress-titles" id="bulk-progress-complete"></div> | ||||
|               </div> | ||||
| 		    </div> | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <p class="submit inline-edit-save"> | ||||
| 		  	<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
|             <input accesskey="r" type="submit" name="bulk_refresh" id="bulk_refresh" class="button-primary alignright" value="[+Refresh+]"  /> | ||||
| 			<span class="spinner"></span> | ||||
|             <input type="hidden" name="page" value="mla-menu" /> | ||||
|             <input type="hidden" name="screen" value="media_page_mla-menu" /> | ||||
|             <span class="error" style="display:none"></span> <br class="clear" /> | ||||
|           </p> | ||||
|         </td> | ||||
|       </tr> | ||||
| 	  <tr id="add-term-ajax" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
|           <span id="add-term-ajax-response"></span> | ||||
| 		</td> | ||||
| 	  </tr> | ||||
|     </tbody> | ||||
|   </table> | ||||
| </form> | ||||
| [+set_parent_form+] | ||||
| @@ -0,0 +1,79 @@ | ||||
| <!-- template="post-type-select-option" --> | ||||
|                 <option [+selected+] value="[+value+]">[+text+]</option> | ||||
|  | ||||
| <!-- template="post-type-select" --> | ||||
|             <select name="mla_set_parent_post_type" id="mla-set-parent-post-type"> | ||||
| [+options+] | ||||
|             </select> | ||||
|  | ||||
| <!-- template="mla-set-parent-div" --> | ||||
| 	<div id="mla-set-parent-div" style="display: none;"> | ||||
| 		<input name="parent" id="mla-set-parent-parent" type="hidden" value=""> | ||||
| 		<input name="children[]" id="mla-set-parent-children" type="hidden" value=""> | ||||
| 		[+mla_find_posts_nonce+] | ||||
| 		<div id="mla-set-parent-head-div"> [+Select Parent+] | ||||
| 			<div id="mla-set-parent-close-div"></div> | ||||
| 		</div> | ||||
| 		<div id="mla-set-parent-inside-div"> | ||||
| 			<div id="mla-set-parent-search-div"> | ||||
| 				<label class="screen-reader-text" for="mla-set-parent-input">[+Search+]</label> | ||||
| 				<input name="mla_set_parent_search_text" id="mla-set-parent-input" type="text" value=""> | ||||
| 				<span class="spinner"></span> | ||||
| 				<input class="button" id="mla-set-parent-search" type="button" value="[+Search+]"> | ||||
| 				 [+post_type_dropdown+] | ||||
| 				<div class="clear"></div> | ||||
| 			</div> | ||||
| 			<div id="mla-set-parent-titles-div"> | ||||
| 				<div id="mla-set-parent-current-title-div"> | ||||
| 				[+For+]: <span id="mla-set-parent-titles"></span> | ||||
| 				</div> | ||||
| 				<div id="mla-set-parent-pagination-div"> | ||||
| 					<input class="button" id="mla-set-parent-previous" type="button" value="[+Previous+]"> | ||||
| 					<input class="button" id="mla-set-parent-next" type="button" value="[+Next+]"> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 			<div class="clear"></div> | ||||
| 			<div id="mla-set-parent-response-div"> | ||||
| 				<input name="mla_set_parent_count" id="mla-set-parent-count" type="hidden" value="[+count+]"> | ||||
| 				<input name="mla_set_parent_paged" id="mla-set-parent-paged" type="hidden" value="[+paged+]"> | ||||
| 				<input name="mla_set_parent_found" id="mla-set-parent-found" type="hidden" value="[+found+]"> | ||||
| 				<table class="widefat"> | ||||
| 					<thead><tr> | ||||
| 						<th class="found-radio"><br /></th> | ||||
| 						<th>[+Title+]</th> | ||||
| 						<th class="no-break">[+Type+]</th> | ||||
| 						<th class="no-break">[+Date+]</th> | ||||
| 						<th class="no-break">[+Status+]</th> | ||||
| 					</tr></thead> | ||||
| 					<tbody></tbody> | ||||
| 				</table> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 		<div id="mla-set-parent-buttons-div"> | ||||
| 			[+mla_set_parent_cancel+] | ||||
| 			[+mla_set_parent_update+] | ||||
| 			<div class="clear"></div> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- mla-set-parent-div --> | ||||
| 	<table id="found-0-table" style="display: none"> | ||||
| 		<tbody> | ||||
| 			<tr id="found-0-row" class="found-posts"> | ||||
| 				<td class="found-radio"> | ||||
| 					<input name="found_post_id" id="found-0" type="radio" value="0"> | ||||
| 				</td> | ||||
| 				<td> | ||||
| 					<label for="found-0">([+Unattached+])</label> | ||||
| 				</td> | ||||
| 				<td class="no-break">—</td> | ||||
| 				<td class="no-break">—</td> | ||||
| 				<td class="no-break">—</td> | ||||
| 			</tr> | ||||
| 		</tbody> | ||||
| 	</table> | ||||
| <!-- template="mla-set-parent-form" --> | ||||
| <form id="mla-set-parent-form" action="[+mla_set_parent_url+]" method="post"> | ||||
| 	<input name="mla_admin_action" id="mla-set-parent-action" type="hidden" value="[+mla_set_parent_action+]"> | ||||
| 	[+wpnonce+] | ||||
| 	[+mla_set_parent_div+] | ||||
| </form> | ||||
| @@ -0,0 +1,76 @@ | ||||
| <!-- template="mla-terms-search-taxonomy" --> | ||||
| 						<li> | ||||
| 							<input name="mla_terms_search[taxonomies][]" type="checkbox" [+taxonomy_checked+] value="[+taxonomy_slug+]" /> [+taxonomy_label+] | ||||
| 						</li> | ||||
| <!-- template="mla-terms-search-empty-div" --> | ||||
| 	<div id="mla-terms-search-div" style="display: none;"> | ||||
| 		<div id="mla-terms-search-head-div"> [+Search Terms+] | ||||
| 			<div id="mla-terms-search-close-div"></div> | ||||
| 		</div> | ||||
| 		<div id="mla-terms-search-inside-div"> | ||||
| 		[+message+] | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- mla-terms-search-div --> | ||||
| <!-- template="mla-terms-search-div" --> | ||||
| 	<div id="mla-terms-search-div" style="display: none;"> | ||||
| 		<div id="mla-terms-search-head-div"> [+Search Terms+] | ||||
| 			<div id="mla-terms-search-close-div"></div> | ||||
| 		</div> | ||||
| 		<div id="mla-terms-search-inside-div"> | ||||
| 			<div id="mla-terms-search-search-div"> | ||||
| 				<label class="screen-reader-text" for="mla-terms-search-input">[+Search+]</label> | ||||
| 				<input name="mla_terms_search[phrases]" id="mla-terms-search-input" type="text" value=""> | ||||
| 				<span class="spinner"></span> | ||||
| 				<input name="mla_terms_search[submit]" class="button" id="mla-terms-search-submit" type="submit" value="[+Search+]"> | ||||
| 				<div class="clear"></div> | ||||
| 			</div> | ||||
| 			<div id="mla-terms-search-radio-div"> | ||||
| 				<div id="mla-terms-search-radio-phrases-div"> | ||||
| 					<ul class="mla-terms-search-options"> | ||||
| 						<li> | ||||
| 							<input name="mla_terms_search[radio_phrases]" id="mla-terms-search-radio-phrases-and" type="radio" value="AND" [+phrases_and_checked+] /> | ||||
| 							[+All phrases+] | ||||
| 						</li> | ||||
| 						<li> | ||||
| 							<input name="mla_terms_search[radio_phrases]" id="mla-terms-search-radio-phrases-or" type="radio" value="OR" [+phrases_or_checked+] /> | ||||
| 							[+Any phrase+] | ||||
| 						</li> | ||||
| 					</ul> | ||||
| 				</div> | ||||
| 				<div id="mla-terms-search-radio-terms-div"> | ||||
| 					<ul class="mla-terms-search-options"> | ||||
| 						<li> | ||||
| 							<input name="mla_terms_search[radio_terms]" id="mla-terms-search-radio-terms-and" type="radio" value="AND" [+terms_and_checked+] /> | ||||
| 							[+All terms+] | ||||
| 						</li> | ||||
| 						<li> | ||||
| 							<input name="mla_terms_search[radio_terms]" id="mla-terms-search-radio-terms-or" type="radio" value="OR" [+terms_or_checked+] /> | ||||
| 							[+Any term+] | ||||
| 						</li> | ||||
| 					</ul> | ||||
| 				</div> | ||||
| 				<div id="mla-terms-search-exact-div"> | ||||
| 					<ul class="mla-terms-search-options"> | ||||
| 						<li> | ||||
| 							<input name="mla_terms_search[exact]" id="mla-terms-search-exact" type="checkbox" value="exact" [+exact_checked+] /> | ||||
| 							[+Exact+] | ||||
| 						</li> | ||||
| 					</ul> | ||||
| 				</div> | ||||
| 			</div> | ||||
| 			<div class="clear"></div> | ||||
| 			<div id="mla-terms-search-taxonomies-div"> | ||||
| 				<ul class="mla-terms-search-taxonomies"> | ||||
| [+mla_terms_search_taxonomies+] | ||||
| 				</ul> | ||||
| 			</div> | ||||
| 		</div> | ||||
| 	</div> | ||||
| 	<!-- mla-terms-search-div --> | ||||
| <!-- template="mla-terms-search-form" --> | ||||
| <form id="mla-terms-search-form" action="[+mla_terms_search_url+]" method="post"> | ||||
| 	<input name="mla_admin_action" id="mla-terms-search-action" type="hidden" value="[+mla_terms_search_action+]"> | ||||
| [+wpnonce+] | ||||
| [+mla_terms_search_div+] | ||||
| </form> | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -0,0 +1,23 @@ | ||||
| <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Att. Category submenu screen --> | ||||
| <!-- invoked as /wp-admin/edit-tags.php?taxonomy=attachment_category&post_type=attachment --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>You can use Attachment Categories to define sections of your site and group related attachments. The default is “none”, i.e., the attachment is not associated with any category.</p> | ||||
| <p>What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information about your attachment (names, subjects, etc) that may or may not apply to other attachments, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.</p> | ||||
| <p>You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.</p> | ||||
| <!-- template="mla-adding-categories" --> | ||||
| <!-- title="Adding Categories" order="20" --> | ||||
| <p>When adding a new category on this screen, you’ll fill in the following fields:</p> | ||||
| <ul> | ||||
| <li><strong>Name</strong> - The name is how it appears on your site.</li> | ||||
| <li><strong>Slug</strong> - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers and hyphens.</li> | ||||
| <li><strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might for example have a Landscape category, and under that have children categories for Mountains and Seashore. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.</li> | ||||
| <li><strong>Description</strong> - The description is not prominent by default; however, some themes may display it.</li> | ||||
| </ul> | ||||
| <!-- template="mla-attachments-column" --> | ||||
| <!-- title="Attachments Column" order="30" --> | ||||
| <p>The “Attachments” column at the right of the table gives you the number of attachments associated with each category. You can click on the number to get a list of all the attachments with that category. The heading on the list page(s) will display the category value you’ve selected.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="http://codex.wordpress.org/Posts_Categories_Screen" target="_blank">Documentation on Categories</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,22 @@ | ||||
| <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Att. Tag submenu screen --> | ||||
| <!-- invoked as /wp-admin/edit-tags.php?taxonomy=attachment_tag&post_type=attachment --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>You can assign keywords to your attachments using <strong>Attachment Tags</strong>. Unlike categories, tags have no hierarchy, meaning there’s no relationship from one tag to another.</p> | ||||
| <p>What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information about your attachment (names, subjects, etc.) that may or may not apply to other attachments, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.</p> | ||||
| <p>You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.</p> | ||||
| <!-- template="mla-adding-tags" --> | ||||
| <!-- title="Adding Tags" order="20" --> | ||||
| <p>When adding a new tag on this screen, you’ll fill in the following fields:</p> | ||||
| <ul> | ||||
| <li><strong>Name</strong> - The name is how it appears on your site.</li> | ||||
| <li><strong>Slug</strong> - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers and hyphens.</li> | ||||
| <li><strong>Description</strong> - The description is not prominent by default; however, some themes may display it.</li> | ||||
| </ul> | ||||
| <!-- template="mla-attachments-column" --> | ||||
| <!-- title="Attachments Column" order="30" --> | ||||
| <p>The “Attachments” column at the right of the table gives you the number of attachments associated with each tag. You can click on the number to get a list of all the attachments with that tag. The heading on the list page(s) will display the tag value you’ve selected.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="http://codex.wordpress.org/Posts_Tags_Screen" target="_blank">Documentation on Tags</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,22 @@ | ||||
| <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Tags submenu screen --> | ||||
| <!-- invoked as /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=attachment --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>You can assign keywords to your attachments using <strong>tags</strong>. Unlike categories, tags have no hierarchy, meaning there’s no relationship from one tag to another.</p> | ||||
| <p>What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information about your attachment (names, subjects, etc.) that may or may not apply to other attachments, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.</p> | ||||
| <p>You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.</p> | ||||
| <!-- template="mla-adding-tags" --> | ||||
| <!-- title="Adding Tags" order="20" --> | ||||
| <p>When adding a new tag on this screen, you’ll fill in the following fields:</p> | ||||
| <ul> | ||||
| <li><strong>Name</strong> - The name is how it appears on your site.</li> | ||||
| <li><strong>Slug</strong> - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers and hyphens.</li> | ||||
| <li><strong>Description</strong> - The description is not prominent by default; however, some themes may display it.</li> | ||||
| </ul> | ||||
| <!-- template="mla-attachments-column" --> | ||||
| <!-- title="Attachments Column" order="30" --> | ||||
| <p>The “Attachments” column at the right of the table gives you the number of attachments associated with each tag. You can click on the number to get a list of all the attachments with that tag. The heading on the list page(s) will display the tag value you’ve selected.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="http://codex.wordpress.org/Posts_Tags_Screen" target="_blank">Documentation on Tags</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,23 @@ | ||||
| <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Categories submenu screen --> | ||||
| <!-- invoked as /wp-admin/edit-tags.php?taxonomy=category&post_type=attachment --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>You can use <strong>categories</strong> to define sections of your site and group related attachments. The default is “none”, i.e., the attachment is not associated with any category.</p> | ||||
| <p>What’s the difference between categories and tags? Normally, tags are ad-hoc keywords that identify important information about your attachment (names, subjects, etc) that may or may not apply to other attachments, while categories are pre-determined sections. If you think of your site like a book, the categories are like the Table of Contents and the tags are like the terms in the index.</p> | ||||
| <p>You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.</p> | ||||
| <!-- template="mla-adding-categories" --> | ||||
| <!-- title="Adding Categories" order="20" --> | ||||
| <p>When adding a new category on this screen, you’ll fill in the following fields:</p> | ||||
| <ul> | ||||
| <li><strong>Name</strong> - The name is how it appears on your site.</li> | ||||
| <li><strong>Slug</strong> - The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers and hyphens.</li> | ||||
| <li><strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might for example have a Landscape category, and under that have children categories for Mountains and Seashore. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.</li> | ||||
| <li><strong>Description</strong> - The description is not prominent by default; however, some themes may display it.</li> | ||||
| </ul> | ||||
| <!-- template="mla-attachments-column" --> | ||||
| <!-- title="Attachments Column" order="30" --> | ||||
| <p>The “Attachments” column at the right of the table gives you the number of attachments associated with each category. You can click on the number to get a list of all the attachments with that category. The heading on the list page(s) will display the category value you’ve selected.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="http://codex.wordpress.org/Posts_Categories_Screen" target="_blank">Documentation on Categories</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,37 @@ | ||||
| <!-- loaded in class-mla-edit-media.php function mla_edit_add_help_tab for the Media/Edit Media submenu screen --> | ||||
| <!-- invoked as /wp-admin/post.php?post=3446&action=edit&mla_source=edit (for example) --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="MLA Enhancements" order="10" --> | ||||
| <p>Media Library Assistant adds several enhancements to the Edit Media screen:</p> | ||||
| <ul> | ||||
| <li> | ||||
| Displays Last Modified date and time | ||||
| </li> | ||||
| <li> | ||||
| Supports mapping of Custom Field and IPTC/EXIF metadata for this attachment | ||||
| </li> | ||||
| <li> | ||||
| Supports Custom fields, which <code>[mla_gallery]</code> can use for query and display | ||||
| </li> | ||||
| <li> | ||||
| Supports Parent Info and Menu Order | ||||
| </li> | ||||
| <li> | ||||
| Displays Image Metadata | ||||
| </li> | ||||
| <li> | ||||
| Displays where-used information; Featured in, Inserted in, Gallery in and MLA Gallery in | ||||
| </li> | ||||
| </ul> | ||||
| <p>Remember to click the “Update” button to save your work.</p> | ||||
| <!-- template="mla-taxonomies" --> | ||||
| <!-- title="Taxonomies" order="20" --> | ||||
| <p>If there are custom taxonomies, such as “Attachment Categories” or “Attachment Tags”, registered for attachments they will appear in the right-hand column on this screen. You can add or remove terms from any of the taxonomies displayed. Changes will not be saved until you click the “Update” button for the attachment.</p> | ||||
| <!-- template="mla-parent-info" --> | ||||
| <!-- title="Parent Info" order="30" --> | ||||
| <p>The “Parent Info” field displays the Post ID, type and title of the post or page to which the item is attached. It will display “0 (unattached)” if there is no parent post or page.</p> | ||||
| <p>You can change the post or page to which the item is attached by changing the Post ID value and clicking the “Update” button. Changing the Post ID value to zero (0) will “unattach” the item.</p> | ||||
| <!-- template="mla-mapping-actions" --> | ||||
| <!-- title="Metadata Mapping" order="40" --> | ||||
| <p>The “Map Custom Field Metadata” and “Map IPTC/EXIF Metadata” links let you create or update attachment values by applying the rules you define on the Media Library Assistant Settings page. The links are located in the “Save” meta box in the upper-right part of the screen, just below the Last Modified date and time.</p> | ||||
| <p>When you click on one of the two links, all of the mapping rules for that type of metadata will be applied to the attachment you are editing. The updates are immediate; you do not need to click the “Update” button to make them permanent.</p> | ||||
| @@ -0,0 +1,87 @@ | ||||
| <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Assistant submenu screen --> | ||||
| <!-- invoked as /wp-admin/upload.php?page=mla-menu --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>All the files you’ve uploaded are listed in the Media/Assistant submenu table, ordered by the Date field in descending order. You can change the sort order by clicking on one of the blue column names. You can change the default sort order on the Settings screen.</p> | ||||
| <p>You can use the Screen Options tab to customize the display of this screen. You can choose any combination of the columns available for display. You can also choose how many items appear on each page of the display.</p> | ||||
| <p>You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by month using the dropdown menu above the media table.</p> | ||||
| <p>If you have selected taxonomy support, e.g., “Att. Categories”, you can filter the list by selecting “All Categories”, “No Categories” or a specific category from the drop down list. If you select a category that has child categories beneath it, attachments in any of the child categories will also appear in the filtered list. You can select the taxonomy you want to filter by on the Settings page.</p> | ||||
| <p><strong>NOTE:</strong> Month and category filters are “sticky”, i.e., they will persist as you resort the display or change the file type/status view.</p> | ||||
| <!-- template="mla-where-used" --> | ||||
| <!-- title="Where-used Reporting" order="20" --> | ||||
| <p>The “where-used” columns (Featured in, Inserted in, Gallery in, MLA Gallery in) are a powerful tool for managing your attachments. They help you identify Media Library items that are obsolete or, well, unused. | ||||
| </p> | ||||
| <p> | ||||
| The "<strong>(INVALID PARENT)</strong>" notation means that the item is attached (i.e., the <code>post_parent</code> database field is not zero), but either the parent ID is for a post or page which has been deleted or the parent ID exists but the attachment is not used as the Featured Image, not inserted in the body of the post/page and is not used in a <code>[gallery]</code> or <code>[mla_gallery]</code> shortcode on that post/page. There are some problems with the <code>post_parent</code> field; for example, if you change the "Featured Image" for a post the <code>post_parent</code> doesn't always get updated. There are some ways to use an item that MLA is not yet searching for. For example, some other plugin that uses the item in a shortcode other than [gallery] or [mla_gallery]. | ||||
| </p> | ||||
| <p> | ||||
| The "<strong>(UNUSED)</strong>" notation means that the MLA search found a valid parent for the item but the parent does not use the item as a Featured Image, it is not inserted in the body of the parent and it is not used in a <code>[gallery]</code> or <code>[mla_gallery]</code> shortcode in the parent. | ||||
| </p> | ||||
| <p> | ||||
| The "<strong>(ORPHAN)</strong>" notation means that the MLA search did not find <strong>any</strong> post or page which uses the item as a Featured Image, it is not inserted in the body of <strong>any</strong> post/page and is not used in <strong>any</strong> <code>[gallery]</code> or <code>[mla_gallery]</code> shortcode. | ||||
| </p> | ||||
| <p> | ||||
| There are four where-used reporting categories and you can turn them on or off with options on the Settings/Media Library Assistant General tab. If one or more of the categories is turned off, you will see "<strong>(UNUSED?)</strong>" or "<strong>(ORPHAN?)</strong>" in the where-used results. The question mark means that the item may be used in a way you are not testing for. If all of the categories are turned off you will see "<strong>(NO REFERENCE TESTS)</strong>" as a reminder. | ||||
| </p> | ||||
| <!-- template="mla-featured-inserted" --> | ||||
| <!-- title="Featured/Inserted" order="30" --> | ||||
| <p>The “Featured in” and “Inserted in” columns are a powerful tool for managing your attachments. They show you where each attachment is used in a post or page as a “Featured Image” or as an embedded image or link.</p> | ||||
| <p>You can also use the information in the “Title/Name” column to identify “Orphan” items that are not used in any post or page and items with a “Bad Parent” (a parent that does not contain any reference to the item) or an “Invalid Parent” (a parent that does not exist).</p> | ||||
| <p>If performance is a concern, you can go to the Settings page and disable either or both of these columns.</p> | ||||
| <!-- template="mla-gallery-in" --> | ||||
| <!-- title="Gallery/MLA Gallery" order="40" --> | ||||
| <p>The “Gallery in” and “MLA Gallery in” columns are a powerful tool for managing your attachments. They show you where each attachment is returned by a <code>[gallery]</code> or <code>[mla_gallery]</code> shortcode in a post or page. These columns do <strong>not</strong> use the post_parent (attached to) status of the item; they actually execute each shortcode and tabulate the attachments they return.</p> | ||||
| <p>You can also use the information in the “Title/Name” column to identify “Orphan” items that are not used in any post or page and items with a “Bad Parent” (a parent that does not contain any reference to the item) or an “Invalid Parent” (a parent that does not exist).</p> | ||||
| <p>If performance is a concern, you can go to the Settings page and disable either or both of these columns. You can also adjust the settings to cache the results for fifteen minutes between updates. Results are automatically updated after a post, page or attachment is added or updated.</p> | ||||
| <!-- template="mla-categories-tags" --> | ||||
| <!-- title="Taxonomy Support" order="50" --> | ||||
| <p>The “taxonomy” columns help you to group attachments by subject and keyword values. The columns list any categories and tags associated with the item. You can click on one of the displayed values to get a list of all items associated with that value.</p> | ||||
| <p>The Media Library Assistant provides two pre-defined taxonomies, “Att. Categories” and “Att. Tags” which are enabled by default. You can add or remove support for any registered taxonomy on the Settings screen. The standard WordPress Categories and Tags as well as any custom taxonomies can be supported.</p> | ||||
| <p>When you add support for a taxonomy it is visible on the main screen. If you want to hide the column simply use the Screen Options to uncheck the Show on screen box.</p> | ||||
| <p>Supported taxonomies also appear as submenus below the Media menu at the left of the screen. You can edit the taxonomy terms by clicking these submenus. The taxonomy edit screens include an “Attachments” column which displays the number of attachment objects for each term. You can display a filtered list of the attachments by clicking on the number in this column.</p> | ||||
| <!-- template="mla-custom-fields" --> | ||||
| <!-- title="Custom Fields" order="60" --> | ||||
| <p>You can add sortable columns to the Media/Assistant submenu table by visiting the Custom Fields tab on the Settings page. There you define rules that map attachment metadata such as file size to WordPress custom fields. The “MLA Column” checkbox for each rule lets you select which rules will appear on this screen.</p> | ||||
| <!-- template="mla-search-media" --> | ||||
| <!-- title="Search Media" order="70" --> | ||||
| <p>The “Search Media” box supports a keyword search of several attachment fields; enter words and/or phrases in the box, separated by spaces. Click the Search Media button for a case-insensitive “SQL LIKE” search. Each keyword in the search phrase is matched independently, so the order of search words does not have to match the order in the text. For example, searching on “friend” and “best” will match “Best Friend”. If you put quotes around a search phrase then word order is required for a match (and spaces between words must match as well). You can match on partial words, e.g., “rien” will match “friend”.</p> | ||||
| <p>You can also do wildcard searches using an asterisk (“*”) as the wildcard placeholder. For example, “friend*” will match fields beginning with “friend”, and “best*friend*” will match “Best Friend” and “Best of frends” but not “The best of friends”. The pattern “*best*friend*” will match all three of the previous examples. If you want to match an asterisk explicitly, put it in quotes. Note that wildcard searches are not supported in the Terms field.</p> | ||||
| <p>If you want to <strong><em>exclude</em></strong> items that match a search phrase, enclose the phrase in slash (“/”) delimiters. For example, to exclude your friends, enter “/friend/”. To exclude only your best friends, enter “/best/ friend”.</p> | ||||
| <p>You can also exclude items by prepending a word or quoted phrase with a hyphen, e.g., “pillow -sofa” will select terms containing “pillow” but not “sofa”.</p> | ||||
| <p>If you enter one or more (comma-separated) numeric values (only) in the search box, they are interpreted as a search by attachment ID or parent ID (post_parent). This is in addition to the normal search in the text fields, e.g., title.</p> | ||||
| <p>Once you’ve entered the search phrases you want, use the options below the box to tailor your search. You can pick the connector used between search phrases; “or” means any of the phrases will match, “and” means all of the phrases must match. Use the checkboxes to extend your search to more fields in the database. The “Terms” checkbox will extend the search to the name field of the taxonomies you set on the Settings/Media Library Assistant General tab. See the “Terms Search” section in the Settings/Media Library Assistant <a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#terms_search" target="_blank">Documentation tab</a> for details.</p> | ||||
| <!-- template="mla-terms-search" --> | ||||
| <!-- title="Terms Search" order="80" --> | ||||
| <p>The “Terms Search” features let you filter the Media/Assistant submenu table and the Media Manager Modal Window by matching one or more phrases in the Name field of taxonomy terms. There are two ways to access this feature: | ||||
| </p> | ||||
| <ol> | ||||
| <li>Check the "Terms" box under the "Search Media" button on the Media/Assistant submenu table or the Media Manager toolbar. The phrase(s) you enter in the search box will match taxonomy term names as well as any other search fields you have checked.</li> | ||||
| <li>Click the "Terms Search" button beside the terms filter dropdown. This will bring up the "Search Terms" popup window with several additional controls to refine your search. They are described in the Settings/Media Library Assistant <a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#terms_search" target="_blank">Documentation tab</a>.</li> | ||||
| </ol> | ||||
| <p>You can select which taxonomies participate in the search by entering your choice(s) in the Settings/Media Library Assistant General tab.</p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="90" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you make changes to many items at once. Click the check box in the column title row to select all items on the page, or click the check box in a row to select items individually.</p> | ||||
| <p>Once you’ve selected the items you want, pick an action from the dropdown list and click Apply to perform the action on the selected items. The available actions will vary depending on the file type/status view you have picked.</p> | ||||
| <p>If you have enabled Trash support (define MEDIA_TRASH in wp-config.php) you can use bulk actions to move items to and from the Trash or delete them permanently.</p> | ||||
| <p>The "Download" action (available if your server has ZIP archive support) lets you prepare a ZIP archive containing the selected items and transfer it to your browser.</p> | ||||
| <p>When using Bulk Edit, you can change the metadata (author, parent, taxonomy terms) for all selected attachments at once. To remove an attachment from the grouping, just click the x next to its name in the left column of the Bulk Edit area.</p> | ||||
| <p>Bulk Edit support for taxonomy terms allows you to <strong>add, remove or completely replace</strong> terms for the selected attachments. Below each taxonomy edit box are three radio buttons that let you select the action you’d like to perform.</p> | ||||
| <p>The taxonomies that appear in the Bulk Edit area can be a subset of the taxonomies supported on the single item edit screen. You can select which taxonomies appear by entering your choice(s) in the Settings/Media Library Assistant General tab.</p> | ||||
| <p>You can update the Title, Caption, Description and ALT Text values for all of the selected attachments. You can use a <a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_template_parameters" target="_blank">Content Template</a> to customize the values based on attachment-specific data sources. You can also delete the content of a field by entering the special <code>template:[+empty+]</code> value.</p> | ||||
| <p>You can update the "Uploaded on" date/time values for all the selected attachments, using a Content Template for attachment-specific data sources. More information on this powerful feature is in the <a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#date_iptc_exif_mapping" target="_blank">IPTC/EXIF Mapping and Bulk Editing for the "Uploaded on" Standard Field</a> section of the Documentation tab.</p> | ||||
| <p>In the Bulk Edit area two additional substitution parameter values are available. The <code>[+index+]</code> value starts at one and is incremented for each item processed. You can add an offset, e.g., <code>[+index,99+]</code> will give a starting value of 100. The <code>[+found_rows+]</code> value contains the total number of items that will be processed.</p> | ||||
| <!-- template="mla-available-actions" --> | ||||
| <!-- title="Available Actions" order="100" --> | ||||
| <p>Hovering over a row reveals action links such as Edit, Quick Edit, Move to Trash and Delete Permanently. Clicking Edit displays a simple screen to edit that individual file’s metadata. Clicking Move to Trash will assign the file to the Trash pile but will not affect pages or posts to which it is attached. Clicking Delete Permanently will delete the file from the media library (as well as from any posts to which it is currently attached). Clicking Quick Edit displays an inline form to edit the file's metadata without leaving the menu screen.</p> | ||||
| <p>The taxonomies that appear in the Quick Edit area can be a subset of the taxonomies supported on the single item edit screen. You can select which taxonomies appear by entering your choice(s) on the Media Libray Assistant Settings screen.</p> | ||||
| <!-- template="mla-attaching-files" --> | ||||
| <!-- title="Attaching Files" order="110" --> | ||||
| <p>If a media file has not been attached to any post, you will see (unattached) in the Attached To column. You can click on "Set Parent" in the "Attached to" column, or click the Edit or Quick Edit action to attach the file by assigning a value to the Parent ID field. The "Select Parent" popup window makes it easy to find the right home for your attachment.</p> | ||||
| <p>You can find more information about the Select Parent popup window in the Settings/Media Library Assistant <a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#select_parent" target="_blank">Documentation tab</a>. | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="http://codex.wordpress.org/Media_Library_Screen" target="_blank">Codex documentation on Media Library</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p><p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#terms_search" target="_blank">MLA Documentation for Terms Search</a></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#select_parent" target="_blank">MLA Documentation for the Select Parent popup window</a></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_template_parameters" target="_blank">MLA Documentation for Content Templates</a></p> | ||||
| @@ -0,0 +1,11 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the SettingsMedia Library Assistant submenu Uploads/Edit Upload MIME Type tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?mla_admin_action=single_item_edit_display&mla_admin_nonce=303a441dcb&page=mla-settings-menu-upload&mla_tab=upload&mla_item_slug=3g2 --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>This screen allows you to view all of the fields associated with a custom field mapping rule and to edit them. Hints and helpful information appear below some fields.</p> | ||||
| <p>You can change the "Name" field to apply the rule to a different custom field. Note that only one rule per custom field is allowed. If the "Name" field contains two names separated by a slash, this is an invalid rule left over from an old MLA bug. You should delete the rule or give it the name of a valid custom field.</p> | ||||
| <p>Remember to click the “Update” button to save your work. You may instead click the “Cancel” button to discard any changes.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_custom_field_mapping" target="_blank">Documentation on Custom Field Mapping Rules</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,72 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Custom Fields tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-upload&mla_tab=custom_field --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>The Custom Fields tab lets you manage the rules used to map metadata values to custom fields and to add custom fields to the Media/Assistant admin submenu including its Bulk Edit and Quick Edit areas.</p> | ||||
| <p>All the existing rules are listed in the table on the right, ordered by the custom field name. You can change the sort order by clicking on one of the blue column names.</p> | ||||
| <p>You can use the Screen Options tab to customize the display of this screen. You can choose any combination of the columns available for display. You can also choose how many rules appear on each page of the display.</p> | ||||
| <p>The table can be filtered by clicking one of the "views" listed above the Bulk Actions selector. You can select All rules, a visibility category or the "Read Only" rules that may be left over from an old MLA bug.</p> | ||||
| <p>You can also narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Rules". <strong>NOTE:</strong> The "Search Rules" filter is “sticky”, i.e., it will persist as you resort the display, edit rules, etc. To clear it, delete the text and click "Search Rules" or simply click on the "Custom Fields" tab.</p> | ||||
| <!-- template="mla-enable-custom-mapping" --> | ||||
| <!-- title="Enable custom field mapping" order="20" --> | ||||
| <p>Three checkbox options control the custom field mapping when new items are added to the Media Library: | ||||
| <ul> | ||||
| <li><strong>Enable custom field mapping</strong> - Check this option to enable the mapping rules and display the "Map" buttons on the Media/Edit Media and Media/Assistant Bulk Edit screens.</li> | ||||
| <li><strong>Enable custom field mapping when adding new media</strong> - Check this option to enable mapping when uploading new items (attachments) to the Media Library.</li> | ||||
| <li><strong>Enable custom field mapping when updating media metadata</strong> - Check this option to enable mapping when item (attachment) metadata is regenerated, | ||||
|  e.g., when the Media/Edit Media "Edit Image" functions are used.</li> | ||||
| </ul> | ||||
| The "when adding" and "when updating" options do <strong>NOT</strong> affect the operation of the "Map" buttons on the bulk edit or single edit screens, nor do they affect any of the "Execute" mapping functions On this Settings screen.</p> | ||||
| <p>Check one or more options to enable these features, then click the "Save Changes" button to record your new setting(s).</p> | ||||
| <!-- template="mla-execute-rules" --> | ||||
| <!-- title="Execute Rule(s)" order="30" --> | ||||
| <p>In this tab there are three ways to execute one or more custom field mapping rules for <strong>ALL</strong> of your Media Library items: | ||||
| <ul> | ||||
| <li><strong>Execute All Rules button</strong> - just below the "Enable" checkbox controls in the upper-left portion of the tab. Click this button to immediately run <strong>ALL</strong> of the active rules. Rules marked as inactive will not be executed.</li> | ||||
| <li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li> | ||||
| <li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li> | ||||
| </ul> | ||||
| These commands process your items in "chunks" to prevent timeout errors. You can pause/resume or cancel the operation between chunks. Note that rules with a Data Source of "none" are ignored because they can't change the custom field value.</p> | ||||
| <p>There are two other ways you can perform custom field mapping for one or more existing attachments:  | ||||
| <ul> | ||||
| <li><strong>Edit Media screen</strong> - You can click the "Map Custom Field metadata" link in the "Image Metadata" postbox to apply the existing mapping rules to a single attachment.</li> | ||||
| <li><strong>Bulk Action edit area</strong> - To perform mapping for a group of attachments you can use the Bulk Action facility on the Media/Assistant screen.</li> | ||||
| </ul> | ||||
| </p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="40" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you make changes to many rules at once. Click the check box in the column title row to select all rules on the page, or click the check box in a row to select rules individually.</p> | ||||
| <p>Once you’ve selected the rules you want, pick an action from the dropdown list and click Apply to perform the action on the selected rules: | ||||
| <ul> | ||||
| <li><strong>Edit</strong> - changes one or more rule parameters for all selected rules at once. To remove an rule from the grouping, just click the x next to its name in the left column of the Bulk Edit area.</li> | ||||
| <li><strong>Delete Permanently</strong> - deletes the rules you have selected. There is no "trash" area or "undo" feature, so proceed with caution. This action does <strong>NOT</strong> delete any custom field values associated with your items; see "Purge Values" below for that.</li> | ||||
| <li><strong>Execute</strong> - runs the rules for all items. See the "Execute Rule(s)" section of this Help menu.</li> | ||||
| <li><strong>Purge Values</strong> - deletes <strong>ALL</strong> of the values associated with your items for the custom field named in the rule(s). There is no "trash" area or "undo" feature, so proceed with caution. This action does <strong>NOT</strong> delete the mapping rule itself; see "Delete Permanently" above for that.</li> | ||||
| </ul> | ||||
| </p> | ||||
| <!-- template="mla-rollover-actions" --> | ||||
| <!-- title="Rollover Actions" order="50" --> | ||||
| <p>Hovering over a row in the Name column reveals action links that apply to that specific rule: | ||||
| <ul> | ||||
| <li><strong>Edit</strong> - displays a simple screen to edit that individual rule’s elements. You can also change the custom field to which the rule applies on this screen.</li> | ||||
| <li><strong>Quick Edit</strong> - displays an inline form to edit the rule's elements without leaving the menu screen.</li> | ||||
| <li><strong>Execute</strong> - runs the rule for all items. See the "Execute Rule(s)" section of this Help menu.</li> | ||||
| <li><strong>Purge Values</strong> - deletes <strong>ALL</strong> of the values associated with your items for the custom field named in the rule.  This action does <strong>NOT</strong> delete the mapping rule itself.</li> | ||||
| <li><strong>Delete Permanently</strong> - deletes the rule. This action does <strong>NOT</strong> delete any custom field values associated with your items.</li> | ||||
| </ul> | ||||
| There is no "trash" area or "undo" feature, so use the "Purge Values" and "Delete Permanently" actions with caution.</p> | ||||
| <!-- template="mla-add-new" --> | ||||
| <!-- title="Add New Rule" order="60" --> | ||||
| <p>The left-hand side of the screen contains all the fields you need to define a new custom field rule. Name is required, and must not have a rule already defined for it; the other fields are not or have default values. There is more information about each field in the text under the value area.</p> | ||||
| <p>You can pick from a list of the custom fields already associated with one or more items. If you want to define a new custom field, click "Enter new field" and type the new field's name in the text box. If you want to display or update an "attachment metadata" field, click "Enter new field" and prefix the metadata element name with "meta:"</p> | ||||
| <p><strong>NOTE:</strong> To save your work and add the rule, you must scroll down to the bottom of the form and click "Add Rule".</p> | ||||
| <p>You can find complete information on each of the custom field mapping rule fields in the "The custom field rule elements" portion of the "Documentation on Custom Field Mapping Rules" section of the Documentation tab (see the "For more information" link in the sidebar at the right).</p> | ||||
| <!-- template="mla-read-only" --> | ||||
| <!-- title="Read Only Rules" order="70" --> | ||||
| <p>Long ago in an MLA version far away there was a bug that caused some custom field mapping rule names to be mis-interpreted. This added multiple rules for the same custom field to the table.</p> | ||||
| <p>If you have any of these damaged rules they are detected and marked "Read Only" in the submenu table. You can delete them, or edit them and change the name to some other custom field. Have a look at any other rules with a similar name and decide which one you want to keep.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_custom_field_mapping" target="_blank">Documentation on Custom Field Mapping Rules</a></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#attachment_metadata_mapping" target="_blank">Documentation on displaying and/or updating WordPress "attachment metadata"</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,25 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Documentation Example Plugins tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-documentation&mla_tab=documentation&mla-example-search=Search&mla_admin_nonce=a57f576f74 --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>The Example Plugins table lets you find and install optional plugins that extend MLA features and provide examples you can adapt to your own application requirements.</p> | ||||
| <p>All the example plugins are listed in the table, ordered by the plugin name. You can change the sort order by clicking on one of the blue column names.</p> | ||||
| <p>You can use the Screen Options tab to choose which columns are displayed and how many items appear on each page of the display.</p> | ||||
| <p>You can narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Plugins". <strong>NOTE:</strong> The "Search Plugins" filter is “sticky”, i.e., it will persist as you resort the display or move from page to page. To clear it, delete the text and click "Search Plugins".</p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="30" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you select many items at once. Click the check box in the column title row to select all items on the page, or click the check box in a row to select items individually.</p> | ||||
| <p>Once you’ve selected the items you want, pick an action from the dropdown list and click Apply to perform the action on the selected items.</p> | ||||
| <p>Note that the "Install" action is ignored if the plugin already exists in the Plugins area, and "Update" is ignored for plugins that are not already installed.</p> | ||||
| <p>For "Update", <strong>any changes you have made to the installed version will be lost.</strong></p> | ||||
| <!-- template="mla-available-actions" --> | ||||
| <!-- title="Available Actions" order="40" --> | ||||
| <p>Hovering over a row in the Extension column reveals action links such as Install.</p> | ||||
| <p>Clicking "Install" will copy the plugin to the WordPress Plugins/Installed Plugins area. Install is not available if the plugin is already in the Plugins area.</p> | ||||
| <p>Clicking "Update" will replace the plugin already in the WordPress Plugins/Installed Plugins area. <strong>Any changes you have made to the installed version will be lost.</strong> Update is not available if the plugin is not already in the Plugins area.</p> | ||||
| <p>Clicking "Download" will copy the plugin to your local system so you can inspect and modify it to meet your appication needs.</p> | ||||
| <p>Clicking "View" will display the plugin file content. Many of the plugins have notes and user information at the top of the file.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_example_plugins" target="_blank">MLA Documentation on Example Plugins</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,73 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu IPTC/EXIF tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-upload&mla_tab=iptc_exif --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>The IPTC/EXIF tab lets you manage the rules for mapping IPTC (International Press Telecommunications Council), EXIF (EXchangeable Image File) and Extensible Metadata Platform (XMP) metadata to WordPress standard attachment fields, taxonomy terms and custom fields.</p> | ||||
| <p>All the existing rules are listed in the table on the right, ordered by type (standard, taxonomy, custom) and the field/taxonomy name. You can change the sort order by clicking on one of the blue column names.</p> | ||||
| <p>You can use the Screen Options tab to customize the display of this screen. You can choose any combination of the columns available for display. You can also choose how many rules appear on each page of the display.</p> | ||||
| <p>The table can be filtered by clicking one of the "views" listed above the Bulk Actions selector. You can select All rules, a rule type or the "Read Only" rules that may be left over from an old MLA bug.</p> | ||||
| <p>You can also narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Rules". <strong>NOTE:</strong> The "Search Rules" filter is “sticky”, i.e., it will persist as you resort the display, edit rules, etc. To clear it, delete the text and click "Search Rules" or simply click on the "IPTC/EXIF" tab title.</p> | ||||
| <!-- template="mla-enable-mapping" --> | ||||
| <!-- title="Enable IPTC/EXIF mapping" order="20" --> | ||||
| <p>Three checkbox options control the IPTC/EXIF mapping when new items are added to the Media Library: | ||||
| <ul> | ||||
| <li><strong>Enable IPTC/EXIF Mapping</strong> - Check this option to enable the mapping rules and display the "Map" buttons on the Media/Edit Media and Media/Assistant Bulk Edit screens.</li> | ||||
| <li><strong>Enable IPTC/EXIF Mapping when adding new media</strong> - Check this option to enable mapping when uploading new items (attachments) to the Media Library.</li> | ||||
| <li><strong>Enable IPTC/EXIF Mapping when updating media metadata</strong> - Check this option to enable mapping when item (attachment) metadata is regenerated, | ||||
|  e.g., when the Media/Edit Media "Edit Image" functions are used.</li> | ||||
| </ul> | ||||
| The "when adding" and "when updating" options do <strong>NOT</strong> affect the operation of the "Map" buttons on the bulk edit or single edit screens, nor do they affect any of the "Execute" mapping functions On this Settings screen.</p> | ||||
| <p>Check one or more options to enable these features, then click the "Save Changes" button to record your new setting(s).</p> | ||||
| <!-- template="mla-execute-rules" --> | ||||
| <!-- title="Execute Rule(s)" order="30" --> | ||||
| <p>In this tab there are three ways to execute one or more IPTC/EXIF mapping rules for <strong>ALL</strong> of your Media Library items: | ||||
| <ul> | ||||
| <li><strong>Execute All Rules button</strong> - just below the "Enable" checkbox controls in the upper-left portion of the tab. Click this button to immediately run <strong>ALL</strong> of the active rules. Rules marked as inactive will not be executed.</li> | ||||
| <li><strong>Bulk Actions "Execute"</strong> - Runs the rules you select by checking the box to the left of one or more rule names. Pull down the "Bulk Actions" control and select "Execute", then click the "Apply" button. <strong>Inactive rules will be executed</strong>; do not select them unless you want to execute them!</li> | ||||
| <li><strong>"Execute" rollover action</strong> - Runs the single rule you select by clicking the rule's "Execute" rollover action. <strong>Inactive rules will be executed</strong>.</li> | ||||
| </ul> | ||||
| These commands process your items in "chunks" to prevent timeout errors. You can pause/resume or cancel the operation between chunks.</p> | ||||
| <p>There are two other ways you can perform IPTC/EXIF mapping for one or more existing attachments:  | ||||
| <ul> | ||||
| <li><strong>Edit Media screen</strong> - You can click the "Map IPTC/EXIF metadata" link in the "Image Metadata" postbox to apply the existing mapping rules to a single attachment.</li> | ||||
| <li><strong>Bulk Action edit area</strong> - To perform mapping for a group of attachments you can use the Bulk Action facility on the Media/Assistant screen.</li> | ||||
| </ul> | ||||
| </p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="40" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you make changes to many rules at once. Click the check box in the column title row to select all rules on the page, or click the check box in a row to select rules individually.</p> | ||||
| <p>Once you’ve selected the rules you want, pick an action from the dropdown list and click Apply to perform the action on the selected rules: | ||||
| <ul> | ||||
| <li><strong>Edit</strong> - changes one or more rule parameters for all selected rules at once. To remove an rule from the grouping, just click the x next to its name in the left column of the Bulk Edit area.</li> | ||||
| <li><strong>Delete Permanently</strong> - deletes the rules you have selected. There is no "trash" area or "undo" feature, so proceed with caution. This action does <strong>NOT</strong> delete any custom field values associated with your items; see "Purge Values" below for that.</li> | ||||
| <li><strong>Execute</strong> - runs the rules for all items. See the "Execute Rule(s)" section of this Help menu.</li> | ||||
| <li><strong>Purge Values</strong> - deletes <strong>ALL</strong> of the values associated with your items for the custom field named in the "Custom"-type rule(s). There is no "trash" area or "undo" feature, so proceed with caution. This action does <strong>NOT</strong> delete the mapping rule itself; see "Delete Permanently" above for that. Note that "Standard" and "Taxonomy" rules are ignored for this action.</li> | ||||
| </ul> | ||||
| </p> | ||||
| <!-- template="mla-rollover-actions" --> | ||||
| <!-- title="Rollover Actions" order="50" --> | ||||
| <p>Hovering over a row in the Name column reveals action links that apply to that specific rule: | ||||
| <ul> | ||||
| <li><strong>Edit</strong> - displays a simple screen to edit that individual rule’s elements. For "Custom" rules you can also change the custom field to which the rule applies on this screen.</li> | ||||
| <li><strong>Quick Edit</strong> - displays an inline form to edit the rule's elements without leaving the menu screen.</li> | ||||
| <li><strong>Execute</strong> - runs the rule for all items. See the "Execute Rule(s)" section of this Help menu.</li> | ||||
| <li><strong>Purge Values</strong> - for "Custom" rules, deletes <strong>ALL</strong> of the values associated with your items for the custom field named in the rule.  This action does <strong>NOT</strong> delete the mapping rule itself.</li> | ||||
| <li><strong>Delete Permanently</strong> - deletes the rule. This action does <strong>NOT</strong> delete any custom field values associated with your items.</li> | ||||
| </ul> | ||||
| There is no "trash" area or "undo" feature, so use the "Purge Values" and "Delete Permanently" actions with caution.</p> | ||||
| <!-- template="mla-add-new" --> | ||||
| <!-- title="Add New Rule" order="60" --> | ||||
| <p>The left-hand side of the screen contains all the fields you need to define a new "Custom Field" rule. Name is required, and must not have a rule already defined for it; the other fields are not or have default values. There is more information about each field in the text under the value area.</p> | ||||
| <p>You can pick from a list of the custom fields already associated with one or more items. If you want to define a new custom field, click "Enter new field" and type the new field's name in the text box.</p> | ||||
| <p><strong>NOTE:</strong> To save your work and add the rule, you must scroll down to the bottom of the form and click "Add Rule".</p> | ||||
| <p>The add rule facility is only used for "Custom" rules; the "Standard" and "Taxonomy" rules are always present in the table on the right-hand side.</p> | ||||
| <p>You can find complete information on each of the custom field mapping rule fields in the "The IPTC/EXIF rule elements" portion of the "Documentation on IPTC/EXIF Mapping Rules" section of the Documentation tab (see the "For more information" link in the sidebar at the right).</p> | ||||
| <!-- template="mla-read-only" --> | ||||
| <!-- title="Read Only Rules" order="70" --> | ||||
| <p>Long ago in an MLA version far away there was a bug that caused some custom field mapping rule names to be mis-interpreted. This added multiple rules for the same custom field to the table.</p> | ||||
| <p>If you have any of these damaged rules they are detected and marked "Read Only" in the submenu table. You can delete them, or edit them and change the name to some other custom field. Have a look at any other rules with a similar name and decide which one you want to keep.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_iptc_exif_mapping" target="_blank">Documentation on IPTC/EXIF Mapping Rules</a></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#date_iptc_exif_mapping" target="_blank">IPTC/EXIF Mapping and Bulk Editing for the "Uploaded on" Standard Field</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,11 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Views/Edit View tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?mla_admin_action=single_item_edit_display&mla_admin_nonce=303a441dcb&page=mla-settings-menu-view&mla_tab=view&mla_item_slug=all --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>This screen allows you to view all of the fields associated with a View and (for custom templates) to edit them. Hints and helpful information appear below some fields.</p> | ||||
| <p>For a default template you can click the “Close” button to return to the submenu table. You may instead click the “Copy” button to make a copy of the default template as a custom template you can edit as needed.</p> | ||||
| <p>For a custom template, remember to click the “Update” button to save your work. You may instead click the “Cancel” button to discard any changes.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_views" target="_blank">MLA Documentation on MIME Type Views</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,41 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Shortcodes tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-shortcodes&mla_tab=shortcodes --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>The Shortcdodes tab lets you view the default style and markup templates used by the <code>[mla_gallery]</code>, <code>[mla_tag_cloud]</code> and <code>[mla_term_list]</code> shortcodes. You can also define and edit custom templates for your application.</p> | ||||
| <p>All the templates are listed in the table on the right, ordered by the Name field. You can change the sort order by clicking on one of the blue column names.</p> | ||||
| <p>You can use the Screen Options tab to customize the display of this screen. You can choose any combination of the columns available for display. You can also choose how many items appear on each page of the display.</p> | ||||
| <p>You can narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Templates". <strong>NOTE:</strong> The "Search Templates" filter is “sticky”, i.e., it will persist as you resort the display, edit items, etc. To clear it, delete the text and click "Search Views" or simply click on the "Shortcodes" tab.</p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="20" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you make changes to many items at once. Click the check box in the column title row to select all items on the page, or click the check box in a row to select items individually.</p> | ||||
| <p>Once you’ve selected the items you want, pick an action from the dropdown list and click Apply to perform the action on the selected items.</p> | ||||
| <p>When using Copy, the template(s) you select are copied to new templates and a unique name is generated for them by adding "- copy" to the original name. You can edit the new name(s) as needed by editing the template copies</p> | ||||
| <p>Clicking Delete Permanently will delete the item from the Shortcodes list and from the database, <strong>even if it is used in your shortcodes</strong>. There is no undo action, so be sure you really want to delete the template. You can always make a backup copy of your options (on the General tab, near the bottom) before you proceed.</p> | ||||
| <!-- template="mla-available-actions" --> | ||||
| <!-- title="Available Actions" order="30" --> | ||||
| <p>Hovering over a row in the Name column reveals action links such as View, Edit, Copy and Delete Permanently. | ||||
| <p>Clicking View (for a default template) displays a simple screen to view that individual item’s name and sections. At the bottom are buttons to close the display or to make a copy of the template.</p> | ||||
| <p>Clicking Edit (for a custom template) displays a simple screen to edit that individual item’s name and sections.</p> | ||||
| <p>When using Copy, the template(s) you select are copied to new templates and a unique name is generated for them by adding "- copy" to the original name. You can edit the new name(s) as needed by editing the template copies</p> | ||||
| <p>Clicking Delete Permanently will delete the item from the Shortcodes list and from the database, <strong>even if it is used in your shortcodes</strong>. There is no undo action, so be sure you really want to delete the template. You can always make a backup copy of your options (on the General tab, near the bottom) before you proceed.</p> | ||||
| <!-- template="mla-add-new" --> | ||||
| <!-- title="Add New Template" order="40" --> | ||||
| <p>Click the "Add New Template" button at the top left of the template table to add a new custom style or markup template. A separate screen will be displayed with dropdown controls to set the template type and the shortcode to which it applies. Templates are shortcode-specific because the sections and substitution parameters are different for each shortode.</p> | ||||
| <p>Once you have specified type and shortcode, text areas for each section in the template will be displayed to complete the template. You must also give the template a unique name (you can use the same name for a style template and a markup template). The name can only contain lowercase letters, digits and dashes ("-"). It will be sanitized and made unique before the template is stored. | ||||
| <p><strong>NOTE:</strong> To save your work and add the template, you must click the "Update" button at the bottom of the screen.</p> | ||||
| <!-- template="mla-template-settings" --> | ||||
| <!-- title="[mla_gallery] Settings" order="50" --> | ||||
| <p>You cannot edit the default shortcode templates, but you can change the templates used for <code>[mla_gallery]</code>shortcodes that have no <code>mla_style</code> or <code>mla_markup</code> parameters. Make your selections in the dropdown controls and then click "Save Changes" at the bottom of the screen to record your new settings.</p> | ||||
| <p>The <code>mla_margin</code> and <code>mla_itemwidth</code> parameters are used to improve the formatting of the gallery display. The default <code>mla_margin</code> adds a bit of space around the gallery thumbnails. The default <code>mla_itemwidth</code> divides the total gallery width by the number of columns and subtracts the margin to give a percentage width value for each thumbnail. You can change these defaults or remove the parameters entirely. | ||||
| <!-- template="mla-viewer-settings" --> | ||||
| <!-- title="MLA Viewer Settings" order="60" -->' | ||||
| <p>The "MLA Viewer" supports dynamic thumbnail image generation for PDF and Postscript documents on your site’s server. You can also assign a "Featured Image" to any Media Library item. This feature requires Ghostscript and Imagick/ImageMagick on your server. There will be a warning message below the Enable thumbnail substitution checkbox if either of them are missing.</p> | ||||
| <p>If you have Ghostscript and Imagick/ImageMagick on your server, check the Enable Featured Image Generation and use them to generate images from document content. To generate the images, use the Media/Assistant "Thumbnail" bulk action. The generated images are Media Library items and can be used just like any other image in the library.</p> | ||||
| <p>You can use the Enable Featured Images with or without dynamic thumbnail image generation. Check this box to allow you to assign a Featured Image to any media item. It will be used for a thumbnail in the gallery display.</p> | ||||
|  | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_gallery_templates" target="_blank">MLA Documentation on Style and Markup Templates</a></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#thumbnail_substitution" target="_blank">MLA Documentation on Thumbnail Substitution & mla_viewer</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,10 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the SettingsMedia Library Assistant submenu Uploads/Edit Upload MIME Type tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?mla_admin_action=single_item_edit_display&mla_admin_nonce=303a441dcb&page=mla-settings-menu-upload&mla_tab=upload&mla_item_slug=3g2 --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>This screen allows you to view all of the fields associated with an Upload MIME Type and to edit them. Hints and helpful information appear below some fields.</p> | ||||
| <p>Remember to click the “Update” button to save your work. You may instead click the “Cancel” button to discard any changes.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_uploads" target="_blank">Documentation on Upload MIME Types</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,29 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Uploads/Known File Extension/MIME Type Associations tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-upload&mla_tab=upload&mla-optional-uploads-search=Search&mla_admin_nonce=303a441dcb --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>The Known File Extension/MIME Type Associations list lets you add "Upload MIME Type" entries from over 1,500 existing association pairs. There can be several different MIME Type values for a given file extension. For example, the ".dif" extension is a video format and also a data interchange format (try it). </p> | ||||
| <p>All the File Extension/MIME Type Associations are listed in the table, ordered by the file extension field. You can change the sort order by clicking on one of the blue column names.</p> | ||||
| <p>You can use the Screen Options tab to choose how many items appear on each page of the display.</p> | ||||
| <p>You can narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Types". <strong>NOTE:</strong> The "Search Types" filter is “sticky”, i.e., it will persist as you resort the display, edit items, etc. To clear it, delete the text and click "Search Types".</p> | ||||
| <p>If your search keyword begins with a dot ("."), e.g., ".dif", the search will be limited to the Extension values. For any other keyword or phrase, the search will include all of the column values.</p> | ||||
| <!-- template="mla-types" --> | ||||
| <!-- title="The Type Columns" order="20" --> | ||||
| <p>The three MIME Type columns show where the extension/MIME Type associations come from:</p> | ||||
| <ul> | ||||
| <li><strong>MIME</strong>: All of the known types associated with this file extension.</li> | ||||
| <li><strong>WordPress</strong>: WordPress defines a core set of extensions and associated MIME types, and this list changes with new WordPress releases. These are the "official" items.</li> | ||||
| <li><strong>MLA</strong>: Media Library Assistant adds several more extension/type items, drawing from the most popular items found in other plugins and web sites.</li> | ||||
| </ul> | ||||
| <p>The "WordPress" and "MLA" values will often be blank. Where there are multiple MIME values for a given extension, the "WordPress" and "MLA" values will be the same.</p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="30" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you select many items at once. Click the check box in the column title row to select all items on the page, or click the check box in a row to select items individually.</p> | ||||
| <p>Once you’ve selected the items you want, pick an action from the dropdown list and click Apply to perform the action on the selected items.</p> | ||||
| <!-- template="mla-available-actions" --> | ||||
| <!-- title="Available Actions" order="40" --> | ||||
| <p>Hovering over a row in the Extension column reveals action links such as Select. Clicking "Select" will copy the extension, MIME Type and Description values in that row to the Uploads list, creating a new custom item or converting an existing core/mla item to custom with the new values.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_optional_uploads" target="_blank">MLA Documentation on Searching for Upload MIME Types</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,48 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Uploads tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-upload&mla_tab=upload --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>The Uploads tab lets you manage the list of "Upload MIME Type" entries used to validate file formats uploaded to the Media Library and to assign MIME types based on file extensions.</p> | ||||
| <p>All the Upload MIME Types are listed in the table on the right, ordered by the file extension field. You can change the sort order by clicking on one of the blue column names.</p> | ||||
| <p>You can use the Screen Options tab to customize the display of this screen. You can choose any combination of the columns available for display. You can also choose how many items appear on each page of the display.</p> | ||||
| <p>The table can be filtered by clicking one of the "views" listed above the Bulk Actions selector. You can select All items, Active or Inactive items or the source (WordPress, MLA or Custom) of the item.</p> | ||||
| <p>You can also narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Uploads". <strong>NOTE:</strong> The "Search Uploads" filter is “sticky”, i.e., it will persist as you resort the display, edit items, etc. To clear it, delete the text and click "Search Uploads" or simply click on the "Uploads" tab.</p> | ||||
| <!-- template="mla-icon-types" --> | ||||
| <!-- title="Icons and Icon Types" order="20" --> | ||||
| <p>WordPress maintains a list of "file types" which associate file extensions with type names used to select an icon image. For example, an "audio" file type is associated with an image of musical notes. There are nine of these types: archive, audio, code, default, document, interactive, spreadsheet, text and video. MLA has a much longer list; 112 icon types/images in all. If the "Enable MLA File Type Icons Support" checkbox at the bottom of the screen is checked, the enhanced icon images will be used in place of the WordPress images.</p> | ||||
| <p>You can change the icon image associated with any file extension by selecting a new value from the dropdown list on the Edit Upload MIME Type screen or in the Quick Edit area. You can change the icon image for several extensions at once using the Bulk Edit action.</p> | ||||
| <p>If you have some other plugin or mechanism for handling the Upload MIME Type items, you can disable MLA support entirely. Clear the checkbox at the bottom-left corner of the screen and click "Save Changes".</p> | ||||
| <!-- template="mla-source-status" --> | ||||
| <!-- title="Source and Status" order="30" --> | ||||
| <p>The "Source" of an Upload MIME Type reveals where the extension/MIME Type association comes from:</p> | ||||
| <ul> | ||||
| <li><strong>core</strong>: WordPress defines a core set of extensions and associated MIME types, and this list changes with new WordPress releases. These are the "official" items. You can't delete them, but you can inactivate them so they are not used to validate file uploads.</li> | ||||
| <li><strong>mla</strong>: Media Library Assistant adds several more extension/type items, drawing from the most popular items found in other plugins and web sites. They are initialized as "inactive" items, so you must explicitly decide to activate them for use in file upload validation.</li> | ||||
| <li><strong>custom</strong>: Defined by some other plugin or code, or by manual action. When MLA first builds its list it will automatically add anything it finds in your current list as a new, active custom item. After that, you can use MLA to manage them.</li> | ||||
| </ul> | ||||
| <p>The "Status" of an item determines whether it is used by WordPress to validate file uploads and assign MIME types to attachments in your Media Library. Only "active" items are used in this way; making an item "inactive" will prevent further uploads with that extension but will NOT affect any attachments already in your Media Library.</p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="40" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you make changes to many items at once. Click the check box in the column title row to select all items on the page, or click the check box in a row to select items individually.</p> | ||||
| <p>Once you’ve selected the items you want, pick an action from the dropdown list and click Apply to perform the action on the selected items.</p> | ||||
| <p>When using Bulk Edit, you can change the Active/Inactive status for all selected items at once. To remove an item from the grouping, just click the x next to its name in the left column of the Bulk Edit area.</p> | ||||
| <p>The "Delete/Revert Custom" bulk action will only affect items with a "custom" source. It will delete items for which there is no standard source or it will replace the custom information with the standard information for items with a standard source.</p> | ||||
| <!-- template="mla-available-actions" --> | ||||
| <!-- title="Available Actions" order="50" --> | ||||
| <p>Hovering over a row in the Extension column reveals action links such as Edit, Quick Edit, Revert to Standard and Delete Permanently. Clicking Edit displays a simple screen to edit that individual item’s metadata. Clicking Quick Edit displays an inline form to edit the item's metadata without leaving the menu screen.</p> | ||||
| <p>If the current item source is "custom", one of two choices will appear. If the item has a standard source (core or mla), clicking Revert to Standard will replace the custom information with the corresponding standard source information. If the item does <strong>NOT</strong> have a standard source, clicking Delete Permanently will delete the custom item from the Uploads list.</p> | ||||
| <!-- template="mla-add-new" --> | ||||
| <!-- title="Add New Type" order="60" --> | ||||
| <p>The left-hand side of the screen contains all the fields you need to define a new item for the list. Extension and MIME Type are required; the other fields are not or have default values. There is more information about each field in the text under the value area.</p> | ||||
| <p><strong>NOTE:</strong> To save your work and add the item, you must scroll down to the bottom of the screen and click "Add Upload MIME Type".</p> | ||||
| <!-- template="mla-search" --> | ||||
| <!-- title="Searching Known Types" order="70" --> | ||||
| <p>You can search a list of over 1,500 known file extension to MIME type associations compiled from several Internet sources. The list shows alternative MIME types for the core and mla items as well as many other file extensions and MIME types you can add as custom items. Click the "Search Known Types" button at the bottom of the form.</p> | ||||
| <!-- template="mla-save-changes" --> | ||||
| <!-- title="Disable/Enable Uploads" order="80" --> | ||||
| <p>If you have some other plugin or mechanism for handling the Upload MIME Type items, you can disable MLA support entirely. Clear the checkbox at the bottom-left corner of the screen and click "Save Changes". The Uploads table will be replaced by a "disabled" screen and a checkbox that lets you turn MLA support back on when you want it.</p> | ||||
| <p><strong>NOTE:</strong> This option does <em><strong>NOT</strong></em> enable or disable uploading files; it simply turns off MLA support for managing the list of extensions and MIME types.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_uploads" target="_blank">MLA Documentation on Upload MIME Types</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,10 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Views/Edit View tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?mla_admin_action=single_item_edit_display&mla_admin_nonce=303a441dcb&page=mla-settings-menu-view&mla_tab=view&mla_item_slug=all --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>This screen allows you to view all of the fields associated with a View and to edit them. Hints and helpful information appear below some fields.</p> | ||||
| <p>Remember to click the “Update” button to save your work. You may instead click the “Cancel” button to discard any changes.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_views" target="_blank">MLA Documentation on MIME Type Views</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,27 @@ | ||||
| <!-- loaded in class-mla-settings.php function mla_add_help_tab_action for the Settings/Media Library Assistant submenu Views tab --> | ||||
| <!-- invoked as /wp-admin/options-general.php?page=mla-settings-menu-view&mla_tab=view --> | ||||
| <!-- template="mla-overview" --> | ||||
| <!-- title="Overview" order="10" --> | ||||
| <p>The Views tab lets you manage the list of "Post MIME Type" entries used to generate the views for the Media/Library and Media/Assistant submenu tables, as well as the "Add Media" media items filter. In addition, MLA lets you define more complex "Table Views" for the Media/Assistant submenu table using multiple MIME types and/or wildcard specifications in one column.</p> | ||||
| <p>All the Post MIME Type Views are listed in the table on the right, ordered by the Slug field. You can change the sort order by clicking on one of the blue column names.</p> | ||||
| <p>You can use the Screen Options tab to customize the display of this screen. You can choose any combination of the columns available for display. You can also choose how many items appear on each page of the display.</p> | ||||
| <p>You can narrow the list by entering a keyword or phrase in the text box in the upper-right corner and clicking "Search Views". <strong>NOTE:</strong> The "Search Views" filter is “sticky”, i.e., it will persist as you resort the display, edit items, etc. To clear it, delete the text and click "Search Views" or simply click on the "Views" tab.</p> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Actions" order="20" --> | ||||
| <p>The “Bulk Actions” dropdown list works with the check box column to let you make changes to many items at once. Click the check box in the column title row to select all items on the page, or click the check box in a row to select items individually.</p> | ||||
| <p>Once you’ve selected the items you want, pick an action from the dropdown list and click Apply to perform the action on the selected items.</p> | ||||
| <p>When using Bulk Edit, you can change some values (Post MIME, Table View and Menu Order) for all selected items at once. To remove an item from the grouping, just click the x next to its name in the left column of the Bulk Edit area.</p> | ||||
| <!-- template="mla-available-actions" --> | ||||
| <!-- title="Available Actions" order="30" --> | ||||
| <p>Hovering over a row in the Slug column reveals action links such as Edit, Quick Edit and Delete Permanently. Clicking Edit displays a simple screen to edit that individual item’s metadata. Clicking Delete Permanently will delete the item from the Views list. Clicking Quick Edit displays an inline form to edit the item's metadata without leaving the menu screen.</p> | ||||
| <!-- template="mla-add-new" --> | ||||
| <!-- title="Add New View" order="40" --> | ||||
| <p>The left-hand side of the screen contains all the fields you need to define a new item for the list. Slug is required; the other fields are not or have default values. There is more information about each field in the text under the value area.</p> | ||||
| <p><strong>NOTE:</strong> To save your work and add the item, you must scroll down to the bottom of the screen and click "Add View".</p> | ||||
| <!-- template="mla-save-changes" --> | ||||
| <!-- title="Disable/Enable Views" order="50" --> | ||||
| <p>If you have some other plugin or mechanism for handling the Post MIME Type items, you can disable MLA support entirely. Clear the checkbox at the bottom-left corner of the screen and click "Save Changes". The Views table will be replaced by a "disabled" screen and a checkbox that lets you turn MLA support back on when you want it.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_views" target="_blank">MLA Documentation on MIME Type Views</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| @@ -0,0 +1,58 @@ | ||||
| <!-- loaded in class-mla-main.php function mla_add_help_tab for the Media/Assistant submenu screen --> | ||||
| <!-- invoked as /wp-admin/upload.php?page=mla-menu --> | ||||
| <!-- template="mla-thumbnail-generation" --> | ||||
| <!-- title="Thumbnail Generation" order="95" --> | ||||
| <p>Media Library Assistant lets you assign a "Featured Image" to your Media Library items. For non-image items such as PDF documents this image can be used as the <code>mla_viewer</code> thumbnail image, avoiding the overhead of generating the image each time the gallery is composed. The "Thumbnail" Bulk Action makes it easy to generate thumbnail images and assign them to their corresponding non-image Media Library items.</p> | ||||
| <p>WordPress 4.7 and later generates thumbnail images for PDF documents as they are uploaded to the Media Library. You can use MLA's thumbnail generation feature to create WordPress style thumbnails for documents you added to the Media Library before updating to version 4.7. Just select the "WP" Type radio button. | ||||
| </p> | ||||
| <p>You can use the following fields to control the thumbnail generation process:</p> | ||||
| <table> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Width</td> | ||||
| <td>the maximum width in pixels (default "0" for WP 4.7+, "150" for earlier versions) of the thumbnail image. The height (unless also specified) will be adjusted to maintain the page proportions.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Height</td> | ||||
| <td>the maximum width in pixels (default "0") of the thumbnail image. The width (unless also specified) will be adjusted to maintain the page proportions.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Best Fit</td> | ||||
| <td>retain page proportions when both height and width are explicitly stated. If unchecked, the image will be stretched as required to exactly fit the height and width. If checked, the image will be reduced in size to fit within the bounds, but proportions will be preserved. For example, a typical page is 612 pixels wide and 792 pixels tall. If you set width and height to 300 and set best fit to true, the thumbnail will be reduced to 231 pixels wide by 300 pixels tall.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Page</td> | ||||
| <td>the page number (default "1") to be used for the thumbnail image. If the page does not exist for a particular document the first page will be used instead.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Resolution</td> | ||||
| <td>the pixels/inch resolution (default "128" for WP 4.7+, "72" for earlier versions) of the page before reduction. If you set this to a higher number, such as 300, you will improve thumbnail quality at the expense of additional processing time.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Quality</td> | ||||
| <td>the compression quality (default 90) of the final page. You can set this to a value between 1 and 100 to get smaller files at the expense of image quality; 1 is smallest/worst and 100 is largest/best.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Type</td> | ||||
| <td>the MIME type, "JPG" (image/jpeg, default) or "PNG" (image/png), of the final thumbnail. You can, for example, set this to "PNG" to retain a transparent background instead of the white jpeg background. | ||||
| <div style="font-size:8px; line-height:8px"> </div> | ||||
| You can select "WP" to generate WordPress-style thumbnails (for PDF documents) like those for new uploads as of WP 4.7. These are part of the PDF item itself, not a separate item.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Existing Items</td> | ||||
| <td>the action to take if an item already has a thumbnail. Select "<strong>Keep</strong>" to retain the thumbnail and not generate anything. Select "<strong>Ignore</strong>" to generate and assign a new thumbnail, leaving the old item unchanged. Select "<strong>Trash</strong>" to generate and assign a new thumbnail, moving the old item to the Media Trash (if defined) or deleting it. Select "<strong>Delete</strong>" to generate and assign a new thumbnail, permanently deleting the old item. | ||||
| <div style="font-size:8px; line-height:8px"> </div> | ||||
| You can select "Delete" to replace WordPress-style thumbnails (Type "WP") like those for new uploads as of WP 4.7. The existing thumbnails will be deleted and new thumbnails generated. | ||||
| </td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Suffix</td> | ||||
| <td>the suffix added to the source item's Title to create the thumbnail's Title. Suffix is ignored when generating WordPress-style thumbnails.</td> | ||||
| </tr> | ||||
| <tr> | ||||
| <td class="mla-doc-table-label">Clear Filter-by</td> | ||||
| <td>remove the "Filter-by" criteria when refreshing the display. Leaving criteria such as year/month or Search Media values in place can prevent the display of the new, generated items.</td> | ||||
| </tr> | ||||
| </table> | ||||
| <p>After you click Generate Thumbnails, the Media/Assistant submenu table will be refreshed to display all the new items generated and added to the Media Library. You can use Quick Edit and Bulk Edit to make additional changes to the new items.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#thumbnail_substitution" target="_blank">MLA Documentation for Thumbnail Substitution Support, mla_viewer</a></p> | ||||
| @@ -0,0 +1,16 @@ | ||||
| <!-- loaded in class-mla-edit-media.php function mla_edit_add_help_tab for the Media/Upload New Media submenu screen --> | ||||
| <!-- invoked as /wp-admin/media-new.php --> | ||||
| <!-- template="mla-bulk-actions" --> | ||||
| <!-- title="Bulk Edit Area" order="10" --> | ||||
| <p>The “Bulk Edit Area” lets you change the metadata (author, parent, taxonomy terms) for all uploaded attachments as they are added to the Media Library. <strong>IMPORTANT: Make your entries BEFORE uploading new items.</strong> | ||||
| <p>Bulk Edit support for taxonomy terms allows you to <strong>add</strong> terms for the selected attachments. Below each taxonomy edit box are three radio buttons that let you select the action you’d like to perform. Since the new items don't have any existing terms, leave the <strong>add</strong> default setting.</p> | ||||
| <p>The taxonomies that appear in the Bulk Edit area can be a subset of the taxonomies supported on the single item edit screen. You can select which taxonomies appear by entering your choice(s) in the Inline Edit column of the Taxonomy Support section on the Settings/Media Library Assistant General tab.</p> | ||||
| <p>You can update the Title, Caption, Description and ALT Text values for all of the uploaded attachments. You can use a <a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_template_parameters" target="_blank">Content Template</a> to customize the values based on attachment-specific data sources.</p> | ||||
| <p>You can set a post or page as the parent for uploaded items; use the "Select" button to pop up a list of the posts and pages you can select from.</p> | ||||
| <p>If you have defined Custom Field mapping rules and checked the "Bulk Edit" box for one or more fields, they will appear in the Bulk Edit Area and you can assign values to them.</p> | ||||
| <p>Once you have filled in the values you want to assign you can click the "Close Bulk Edit Area" button to free up screen area for the list of uploaded files. Even though the Area is closed, your entries will persist until you have left the Upload New Media screen.</p> | ||||
| <!-- template="sidebar" --> | ||||
| <p><strong>For more information:</strong></p><p><a href="https://codex.wordpress.org/Media_Add_New_Screen" target="_blank">Documentation on Uploading Media Files</a></p><p><a href="https://wordpress.org/support/" target="_blank">Support Forums</a></p> | ||||
| <p><a href="http://wordpress.org/support/plugin/media-library-assistant" target="_blank">MLA Support Forum</a></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#select_parent" target="_blank">MLA Documentation for the Select Parent popup window</a></p> | ||||
| <p><a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#mla_template_parameters" target="_blank">MLA Documentation for Content Templates</a></p> | ||||
| @@ -0,0 +1,159 @@ | ||||
| <!-- template="category_fieldset" --> | ||||
|   <fieldset class="inline-edit-col-left inline-edit-categories"><div class="inline-edit-col"> | ||||
| [+category_blocks+] | ||||
|   </div></fieldset> | ||||
| <!-- template="category_block" --> | ||||
|     <div id="taxonomy-[+tax_attr+]" class="categorydiv"> | ||||
| 		<span class="title inline-edit-categories-label">[+tax_html+]</span> | ||||
| 		<input type="hidden" name="tax_input[[+tax_attr+]][]" value="0" /> | ||||
| 		<ul class="cat-checklist [+tax_attr+]checklist form-no-clear" id="[+tax_attr+]checklist" data-wp-lists="list:[+tax_attr+]"> | ||||
| 	[+tax_checklist+] | ||||
| 		</ul> | ||||
| [+category_add_link+] | ||||
| 		<span><a class="hide-if-no-js" id="[+tax_attr+]-search-toggle" href="#[+tax_attr+]-search">[+Search+]</a></span> | ||||
| [+category_adder+] | ||||
| 		<div id="[+tax_attr+]-searcher" class="wp-hidden-children"> | ||||
| 		  <p id="[+tax_attr+]-search" class="category-add wp-hidden-child"> | ||||
| 			<label class="screen-reader-text" for="search-category">[+Search Reader+]</label> | ||||
| 			<input type="text" name="search-[+tax_attr+]" id="search-[+tax_attr+]" class="form-required form-input-tip" value="[+Search Reader+]" aria-required="true"> | ||||
| 		  </p> | ||||
| 		</div> | ||||
| 	</div> | ||||
|  | ||||
| <!-- template="category_add_link" --> | ||||
| 		<span><a class="hide-if-no-js" id="[+tax_attr+]-add-toggle" href="#[+tax_attr+]-add">[+Add New Term+]</a></span> | ||||
| 		    | ||||
|  | ||||
| <!-- template="category_adder" --> | ||||
| 		<div id="[+tax_attr+]-adder" class="wp-hidden-children"> | ||||
| 		  <p id="[+tax_attr+]-add" class="category-add wp-hidden-child"> | ||||
| 			<label class="screen-reader-text" for="new[+tax_attr+]">[+Add Reader+]</label> | ||||
| 			<input name="new[+tax_attr+]" class="form-required form-input-tip" id="new[+tax_attr+]" aria-required="true" type="text" value="[+Add Reader+]"> | ||||
| [+tax_parents+] | ||||
| 			<input class="button category-add-submit mla-taxonomy-add-submit" id="[+tax_attr+]-add-submit" type="button" data-wp-lists="add:[+tax_attr+]checklist:[+tax_attr+]-add" value="[+Add Button+]"> | ||||
| 			[+ajax_nonce_field+] | ||||
| 			<span id="[+tax_attr+]-ajax-response"></span> | ||||
| 		  </p> | ||||
| 		</div> | ||||
|  | ||||
| <!-- template="tag_fieldset" --> | ||||
|   <fieldset class="inline-edit-col-center inline-edit-tags"><div class="inline-edit-col"> | ||||
| [+tag_blocks+] | ||||
|   </div></fieldset> | ||||
| <!-- template="tag_block" --> | ||||
|     <label class="inline-edit-tags"> | ||||
|       <span class="title">[+tax_html+]</span> | ||||
|       <textarea cols="22" rows="1" name="tax_input[[+tax_attr+]]" class="tax_input_[+tax_attr+] mla_tags"></textarea> | ||||
|     </label> | ||||
| <!-- template="taxonomy_options" --> | ||||
|     <div class="mla_taxonomy_options"> | ||||
|       <input type="radio" name="tax_action[[+tax_attr+]]" id="tax_add_[+tax_attr+]" checked="checked" value="add" /> [+Add+]  | ||||
|       <input type="radio" name="tax_action[[+tax_attr+]]" id="tax_remove_[+tax_attr+]" value="remove" /> [+Remove+]  | ||||
|       <input type="radio" name="tax_action[[+tax_attr+]]" id="tax_reset_[+tax_attr+]" value="replace" /> [+Replace+]  | ||||
|     </div> | ||||
| <!-- template="custom_field" --> | ||||
|       <label class="inline-edit-[+slug+] clear"><span class="title">[+label+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="[+slug+]" value="" /> | ||||
|         </span></label> | ||||
| <!-- template="page" --> | ||||
| <div class="edit-fields-div" id="mla-blank-add-new-bulk-edit-div" style="display: none;"> | ||||
| [+category_fieldset+] | ||||
| [+tag_fieldset+] | ||||
|   <fieldset class="inline-edit-col-right inline-edit-fields"> | ||||
|     <div class="inline-edit-col"> | ||||
|       <label><span class="title">[+Title+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="post_title" class="ptitle" value="" /> | ||||
|         </span></label> | ||||
|       <label><span class="title">[+Caption+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="post_excerpt" value="" /> | ||||
|         </span></label> | ||||
|       <label><span class="title">[+Description+]</span><span class="input-text-wrap"> | ||||
|         <textarea class="widefat" name="post_content"></textarea> | ||||
|         </span></label> | ||||
|       <label class="inline-edit-image-alt"><span class="title">[+ALT Text+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="image_alt" value="" /> | ||||
|         </span></label> | ||||
|       <label class="inline-edit-post-date"><span class="title">[+Uploaded on+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="post_date" value="" /> | ||||
|         </span></label> | ||||
|       <div class="inline-edit-group"> | ||||
|         <label class="inline-edit-post-parent alignleft"><span class="title">[+Parent ID+]</span><span class="input-text-wrap"> | ||||
|           <input type="text" name="post_parent" value="" /> | ||||
|           </span></label> | ||||
|           <input id="bulk-edit-set-parent" title="[+Select+]" class="button-primary parent" type="button" name="post_parent_set" value="[+Select+]" /> | ||||
| [+authors+] | ||||
|       </div> | ||||
|       <div class="inline-edit-group"> | ||||
|         <label class="inline-edit-comments alignleft"><span class="title">[+Comments+]</span><span class="input-text-wrap"> | ||||
|           <select name="comment_status"> | ||||
|             <option selected="selected" value="-1">— [+No Change+] —</option> | ||||
|             <option value="open">[+Allow+]</option> | ||||
|             <option value="closed">[+Do not allow+]</option> | ||||
|           </select> | ||||
|         </span></label> | ||||
|         <label class="inline-edit-pings alignright"><span class="title">[+Pings+]</span><span class="input-text-wrap"> | ||||
|           <select name="ping_status"> | ||||
|             <option selected="selected" value="-1">— [+No Change+] —</option> | ||||
|             <option value="open">[+Allow+]</option> | ||||
|             <option value="closed">[+Do not allow+]</option> | ||||
|           </select> | ||||
|         </span></label> | ||||
|       </div> | ||||
| [+custom_fields+] | ||||
|     </div> | ||||
|   </fieldset> | ||||
| </div> <!-- mla-blank-add-new-bulk-edit-div --> | ||||
| <div class="edit-fields-div" id="mla-add-new-bulk-edit-div" style="display: none;"> | ||||
| <input id="bulk-edit-toggle" title="[+Toggle+]" class="button-primary alignright" type="button" name="bulk_edit_toggle" value="[+Toggle+]" /> | ||||
| <input id="bulk-edit-reset" title="[+Reset+]" class="button-secondary alignright" type="button" name="bulk_edit_reset" value="[+Reset+]" style="display:none" /> | ||||
| <strong>[+NOTE+]</strong><br /> | ||||
| [+category_fieldset+] | ||||
| [+tag_fieldset+] | ||||
|   <fieldset class="inline-edit-col-right inline-edit-fields"> | ||||
|     <div class="inline-edit-col"> | ||||
|       <label><span class="title">[+Title+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="post_title" class="ptitle" value="" /> | ||||
|         </span></label> | ||||
|       <label><span class="title">[+Caption+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="post_excerpt" value="" /> | ||||
|         </span></label> | ||||
|       <label><span class="title">[+Description+]</span><span class="input-text-wrap"> | ||||
|         <textarea class="widefat" name="post_content"></textarea> | ||||
|         </span></label> | ||||
|       <label class="inline-edit-image-alt"><span class="title">[+ALT Text+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="image_alt" value="" /> | ||||
|         </span></label> | ||||
|       <label class="inline-edit-post-date"><span class="title">[+Uploaded on+]</span><span class="input-text-wrap"> | ||||
|         <input type="text" name="post_date" value="" /> | ||||
|         </span></label> | ||||
|       <div class="inline-edit-group"> | ||||
|         <label class="inline-edit-post-parent alignleft"><span class="title">[+Parent ID+]</span><span class="input-text-wrap"> | ||||
|           <input type="text" name="post_parent" value="" /> | ||||
|           </span></label> | ||||
|           <input id="bulk-edit-set-parent" title="[+Select+]" class="button-primary parent" type="button" name="post_parent_set" value="[+Select+]" /> | ||||
| [+authors+] | ||||
|       </div> | ||||
|       <div class="inline-edit-group"> | ||||
|         <label class="inline-edit-comments alignleft"><span class="title">[+Comments+]</span><span class="input-text-wrap"> | ||||
|           <select name="comment_status"> | ||||
|             <option selected="selected" value="-1">— [+No Change+] —</option> | ||||
|             <option value="open">[+Allow+]</option> | ||||
|             <option value="closed">[+Do not allow+]</option> | ||||
|           </select> | ||||
|         </span></label> | ||||
|         <label class="inline-edit-pings alignright"><span class="title">[+Pings+]</span><span class="input-text-wrap"> | ||||
|           <select name="ping_status"> | ||||
|             <option selected="selected" value="-1">— [+No Change+] —</option> | ||||
|             <option value="open">[+Allow+]</option> | ||||
|             <option value="closed">[+Do not allow+]</option> | ||||
|           </select> | ||||
|         </span></label> | ||||
|       </div> | ||||
| [+custom_fields+] | ||||
|     </div> | ||||
|   </fieldset> | ||||
|     <input type="hidden" name="page" value="media-new.php" /> | ||||
|     <input type="hidden" name="screen" value="async-upload" /> | ||||
| <div class="clear" style="border-bottom: thin solid #bbb"></div> | ||||
| </div> <!-- mla-add-new-bulk-edit-div --> | ||||
| [+set_parent_form+] | ||||
| @@ -0,0 +1,182 @@ | ||||
| <!-- template="default-style" --> | ||||
| <!-- mla_shortcode_slug="gallery" --> | ||||
| <!-- mla_description="CSS Styles for the gallery shortcode" --> | ||||
| <style type='text/css'> | ||||
| 	#[+selector+] { | ||||
| 		margin: auto; | ||||
| 		width: 100%; | ||||
| 	} | ||||
| 	#[+selector+] .gallery-item { | ||||
| 		float: [+float+]; | ||||
| 		margin: [+margin+]; | ||||
| 		text-align: center; | ||||
| 		width: [+itemwidth+]; | ||||
| 	} | ||||
| 	#[+selector+] .gallery-item .gallery-icon img { | ||||
| 		border: 2px solid #cfcfcf; | ||||
| 	} | ||||
| 	#[+selector+] .gallery-caption { | ||||
| 		margin-left: 0; | ||||
| 		vertical-align: top; | ||||
| 	} | ||||
| 	/* see mla_gallery_shortcode() in media-library-assistant/includes/class-mla-shortcode-support.php */ | ||||
| </style> | ||||
|  | ||||
| <!-- template="default-description-markup" --> | ||||
| This template uses the itemtag, icontag and captiontag values to compose a list-based gallery display. | ||||
| <!-- template="default-arguments-markup" --> | ||||
| mla_shortcode_slug="gallery" | ||||
| <!-- template="default-open-markup" --> | ||||
| <div id='[+selector+]' class='gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+]'> | ||||
|  | ||||
| <!-- template="default-row-open-markup" --> | ||||
| <!-- row-open --> | ||||
|  | ||||
| <!-- template="default-item-markup" --> | ||||
| <[+itemtag+] class='gallery-item [+last_in_row+]'> | ||||
| 	<[+icontag+] class='gallery-icon [+orientation+]'> | ||||
| 		[+link+] | ||||
| 	</[+icontag+]> | ||||
| 	[+captiontag_content+] | ||||
| </[+itemtag+]> | ||||
|  | ||||
| <!-- template="default-row-close-markup" --> | ||||
| <br style="clear: both" /> | ||||
|  | ||||
| <!-- template="default-close-markup" --> | ||||
| </div> | ||||
|  | ||||
| <!-- template="tag-cloud-style" --> | ||||
| <!-- mla_shortcode_slug="tag-cloud" --> | ||||
| <style type='text/css'> | ||||
| 	#[+selector+] { | ||||
| 		margin: auto; | ||||
| 		width: 100%; | ||||
| 	} | ||||
| 	#[+selector+] .tag-cloud-item { | ||||
| 		float: [+float+]; | ||||
| 		margin: [+margin+]; | ||||
| 		text-align: center; | ||||
| 		width: [+itemwidth+]; | ||||
| 	} | ||||
| 	#[+selector+] .tag-cloud-caption { | ||||
| 		margin-left: 0; | ||||
| 		vertical-align: top; | ||||
| 	} | ||||
| 	/* see mla_tag_cloud() in media-library-assistant/includes/class-mla-shortcode-support.php */ | ||||
| </style> | ||||
|  | ||||
| <!-- template="tag-cloud-arguments-markup" --> | ||||
| mla_shortcode_slug="tag-cloud" | ||||
| <!-- template="tag-cloud-open-markup" --> | ||||
| <div id='[+selector+]' class='tag-cloud tag-cloud-taxonomy-[+taxonomy+] tag-cloud-columns-[+columns+]'> | ||||
|  | ||||
| <!-- template="tag-cloud-row-open-markup" --> | ||||
| <!-- row-open --> | ||||
|  | ||||
| <!-- template="tag-cloud-item-markup" --> | ||||
| <[+itemtag+] class='tag-cloud-item [+last_in_row+]'> | ||||
| 	<[+termtag+] class='tag-cloud-term'> | ||||
| 		[+thelink+] | ||||
| 	</[+termtag+]> | ||||
| 	<[+captiontag+] class='wp-caption-text tag-cloud-caption'> | ||||
| 		[+caption+] | ||||
| 	</[+captiontag+]> | ||||
| </[+itemtag+]> | ||||
|  | ||||
| <!-- template="tag-cloud-row-close-markup" --> | ||||
| <br style="clear: both" /> | ||||
|  | ||||
| <!-- template="tag-cloud-close-markup" --> | ||||
| </div> | ||||
|  | ||||
| <!-- template="tag-cloud-ul-arguments-markup" --> | ||||
| mla_shortcode_slug="tag-cloud" | ||||
| <!-- template="tag-cloud-ul-open-markup" --> | ||||
| <[+itemtag+] id='[+selector+]' class='tag-cloud tag-cloud-taxonomy-[+taxonomy+]'> | ||||
|  | ||||
| <!-- template="tag-cloud-ul-item-markup" --> | ||||
| 	<[+termtag+] class='tag-cloud-term'>[+thelink+]</[+termtag+]> | ||||
|  | ||||
| <!-- template="tag-cloud-ul-close-markup" --> | ||||
| </[+itemtag+]> | ||||
|  | ||||
| <!-- template="tag-cloud-dl-arguments-markup" --> | ||||
| mla_shortcode_slug="tag-cloud" | ||||
| <!-- template="tag-cloud-dl-open-markup" --> | ||||
| <[+itemtag+] id='[+selector+]' class='tag-cloud tag-cloud-taxonomy-[+taxonomy+]'> | ||||
|  | ||||
| <!-- template="tag-cloud-dl-item-markup" --> | ||||
| 	<[+termtag+] class='tag-cloud-term'>[+thelink+]</[+termtag+]> | ||||
| 	<[+captiontag+] class='wp-caption-text tag-cloud-caption'>[+caption+]</[+captiontag+]> | ||||
|  | ||||
| <!-- template="tag-cloud-dl-close-markup" --> | ||||
| </[+itemtag+]> | ||||
|  | ||||
| <!-- template="term-list-style" --> | ||||
| <!-- mla_shortcode_slug="term-list" --> | ||||
| <style type='text/css'> | ||||
| 	#[+selector+] { | ||||
| 		margin: auto; | ||||
| 		width: 100%; | ||||
| 	} | ||||
| 	#[+selector+] .term-list-item { | ||||
| 		text-align: left; | ||||
| 	} | ||||
| 	#[+selector+] .term-list-caption { | ||||
| 		margin-left: 0; | ||||
| 		vertical-align: top; | ||||
| 	} | ||||
|  | ||||
| 	#[+selector+].term-list-checklist { | ||||
| 		list-style: none; | ||||
| 	} | ||||
| 	/* see mla_term_list() in media-library-assistant/includes/class-mla-shortcode-support.php */ | ||||
| </style> | ||||
|  | ||||
| <!-- template="term-list-ul-arguments-markup" --> | ||||
| mla_shortcode_slug="term-list" | ||||
| <!-- template="term-list-ul-open-markup" --> | ||||
| <[+itemtag+] [+itemtag_attributes+] class="[+itemtag_class+]" id="[+itemtag_id+]"> | ||||
|  | ||||
| <!-- template="term-list-ul-item-markup" --> | ||||
| 	<[+termtag+] [+termtag_attributes+] class="[+termtag_class+]" id="[+termtag_id+]">[+thelink+] | ||||
| 	[+children+]</[+termtag+]> | ||||
|  | ||||
| <!-- template="term-list-ul-close-markup" --> | ||||
| </[+itemtag+]> | ||||
|  | ||||
| <!-- template="term-list-dl-arguments-markup" --> | ||||
| mla_shortcode_slug="term-list" | ||||
| <!-- template="term-list-dl-open-markup" --> | ||||
| <[+itemtag+] id='[+selector+]' class='term-list term-list-taxonomy-[+taxonomy+]'> | ||||
|  | ||||
| <!-- template="term-list-dl-item-markup" --> | ||||
| 	<[+termtag+] class='term-list-term'>[+thelink+]</[+termtag+]> | ||||
| 	<[+captiontag+] class='wp-caption-text term-list-caption'>[+caption+]</[+captiontag+]> | ||||
|  | ||||
| <!-- template="term-list-dl-close-markup" --> | ||||
| </[+itemtag+]> | ||||
|  | ||||
| <!-- template="term-list-dropdown-arguments-markup" --> | ||||
| mla_shortcode_slug="term-list" | ||||
| <!-- template="term-list-dropdown-open-markup" --> | ||||
| <[+itemtag+] [+multiple+] name='[+thename+]' class='term-list term-list-dropdown term-list-taxonomy-[+taxonomy+]' id='[+selector+]'> | ||||
|  | ||||
| <!-- template="term-list-dropdown-item-markup" --> | ||||
| 	<[+termtag+] class='term-list-term term-list-dropdown-term level-[+current_level+]' value='[+thevalue+]' [+selected+]>[+thelabel+]</[+termtag+]> | ||||
| 	[+children+] | ||||
|  | ||||
| <!-- template="term-list-dropdown-close-markup" --> | ||||
| </[+itemtag+]> | ||||
|  | ||||
| <!-- template="term-list-checklist-arguments-markup" --> | ||||
| mla_shortcode_slug="term-list" | ||||
| <!-- template="term-list-checklist-open-markup" --> | ||||
| <[+itemtag+] id='[+selector+]' class='term-list term-list-checklist term-list-taxonomy-[+taxonomy+]'> | ||||
|  | ||||
| <!-- template="term-list-checklist-item-markup" --> | ||||
| 	<[+termtag+] class='term-list-term term-list-checklist-term level-[+current_level+] [+popular+]' id='[+termtag_id+]'><label class='selectit'><input name='[+thename+]' id='in-[+termtag_id+]' type='checkbox' value='[+thevalue+]' [+selected+]>[+thelabel+]</label>[+children+]</[+termtag+]> | ||||
|  | ||||
| <!-- template="term-list-checklist-close-markup" --> | ||||
| </[+itemtag+]> | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -0,0 +1,714 @@ | ||||
| <!-- template="text" --> | ||||
|         <tr valign="top"><th scope="row" class="textright"> | ||||
|             [+value+] | ||||
|         </th><td class="textleft"> | ||||
|             <input name="[+key+]" id="[+key+]" type="text" size="[+size+]" value="[+text+]" /> | ||||
|             <div class="mla-settings-help">  [+help+]</div> | ||||
|         </td></tr> | ||||
| <!-- template="taxonomy-table" --> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="2" class="textleft"> | ||||
|           <table class="taxonomytable"> | ||||
| 		  <thead> | ||||
| 		  <tr> | ||||
| 		    <th scope="col" class="mla-settings-taxonomy-th"> | ||||
| 			[+Support+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="mla-settings-taxonomy-th"> | ||||
| 			[+Inline Edit+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="mla-settings-taxonomy-th"> | ||||
| 			[+Term Search+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="mla-settings-taxonomy-th"> | ||||
| 			[+Checklist+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="mla-settings-taxonomy-th"> | ||||
| 			[+Checked On Top+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="mla-settings-taxonomy-th"> | ||||
| 			[+Inline Add Term+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="mla-settings-taxonomy-th"> | ||||
| 			[+List Filter+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="textleft" style="padding: 0px 5px 0px 5px;"> | ||||
| 			[+Taxonomy+] | ||||
| 			</th> | ||||
| 			</tr> | ||||
| 			</thead> | ||||
| 			<tbody> | ||||
| [+taxonomy_rows+] | ||||
| 			</tbody> | ||||
|           </table> | ||||
|           <div style="font-size:8pt;padding-bottom:10px;">[+help+]</div> | ||||
|         </td></tr> | ||||
|  | ||||
| <!-- template="taxonomy-row" --> | ||||
|         <tr valign="top"> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="tax_support[[+key+]]" id="tax_support_[+key+]" [+support_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="tax_quick_edit[[+key+]]" id="tax_quick_edit_[+key+]" [+quick_edit_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="tax_term_search[[+key+]]" id="tax_term_search_[+key+]" [+term_search_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="tax_flat_checklist[[+key+]]" id="tax_flat_checklist_[+key+]" [+flat_checklist_checked+] [+flat_checklist_disabled+] value="[+flat_checklist_value+]" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="tax_checked_on_top[[+key+]]" id="tax_checked_on_top_[+key+]" [+checked_on_top_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="tax_checklist_add_term[[+key+]]" id="tax_checklist_add_term_[+key+]" [+checklist_add_term_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="radio" name="tax_filter" id="tax_filter_[+key+]" [+filter_checked+] value="[+key+]" /> | ||||
|         </td> | ||||
| 		<td> | ||||
|              [+name+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="taxonomy-metakey-row" --> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="5" style="text-align:right;"> | ||||
|             <input type="radio" name="tax_metakey_sort" id="tax_metakey_asc" [+asc_checked+] value="ASC" /> ASC   | ||||
|             <input type="radio" name="tax_metakey_sort" id="tax_metakey_desc" [+desc_checked+] value="DESC" /> DESC   | ||||
|             <select name="tax_metakey" id="tax_metakey"> | ||||
| [+tax_metakey_options+] | ||||
|             </select> | ||||
|             <!-- <input name="tax_metakey" id="tax_metakey" type="text" size="[+tax_metakey_size+]" value="[+tax_metakey_text+]" /> --> | ||||
|         </td> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="radio" name="tax_filter" id="tax_filter_metakey" [+filter_checked+] value="[+key+]" /> | ||||
|         </td> | ||||
| 		<td> | ||||
|              [+name+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="search-table" --> | ||||
|         <tr valign="top"> | ||||
| 		  <td> </td> | ||||
|           <td class="textleft"> | ||||
|             <table class="searchtable"> | ||||
|               <tbody> | ||||
|                 <tr> | ||||
|                   <td class="textleft"> | ||||
|                     <input name="search_connector" id="search-and" type="radio" [+and_checked+] value="AND" /> | ||||
|                     [+AND+]   | ||||
|                     <input name="search_connector" id="search-or" type="radio" [+or_checked+] value="OR" /> | ||||
|                     [+OR+] | ||||
| 				  </td> | ||||
|                 </tr> | ||||
|                 <tr> | ||||
|                   <td class="textleft"> | ||||
|                     <input name="search_fields[]" id="search-title" type="checkbox" [+title_checked+] value="title" />[+Title+]     | ||||
|                     <input name="search_fields[]" id="search-name" type="checkbox" [+name_checked+] value="name" />[+Name+]     | ||||
|                     <input name="search_fields[]" id="search-alt-text" type="checkbox" [+alt_text_checked+] value="alt-text" />[+ALT Text+]     | ||||
|                     <input name="search_fields[]" id="search-excerpt" type="checkbox" [+excerpt_checked+] value="excerpt" />[+Caption+]     | ||||
|                     <input name="search_fields[]" id="search-content" type="checkbox" [+content_checked+] value="content" />[+Description+]     | ||||
|                     <input name="search_fields[]" id="search-file" type="checkbox" [+file_checked+] value="file" />[+File+]     | ||||
|                     <input name="search_fields[]" id="search-terms" type="checkbox" [+terms_checked+] value="terms" />[+Terms+] | ||||
|                 </tr> | ||||
|               </tbody> | ||||
|             </table> | ||||
|             <div style="font-size:8pt;padding-bottom:10px;">[+help+]</div> | ||||
|           </td> | ||||
|         </tr> | ||||
| <!-- template="custom-field-table" --> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="2" class="textleft"> | ||||
|           <table class="custom-field-table"> | ||||
| 		  <thead> | ||||
| 		  <tr style="text-align:center"> | ||||
| 		    <th scope="col"> | ||||
| 			[+Field Title+] | ||||
| 			</th> | ||||
| 		    <th scope="col"> | ||||
| 			[+Data Source+] | ||||
| 			</th> | ||||
| 		    <th scope="col"> | ||||
| 			[+Existing Text+] | ||||
| 			</th> | ||||
| 		    <th scope="col"> | ||||
| 			[+Format+] | ||||
| 			</th> | ||||
| 		    <th scope="col"> | ||||
| 			[+MLA Column+] | ||||
| 			</th> | ||||
| 		    <th scope="col"> | ||||
| 			[+Quick Edit+] | ||||
| 			</th> | ||||
| 		    <th scope="col"> | ||||
| 			[+Bulk Edit+] | ||||
| 			</th> | ||||
| 			</tr> | ||||
| 			</thead> | ||||
| 			<tbody> | ||||
| [+table_rows+] | ||||
| 			</tbody> | ||||
|           </table> | ||||
|           <div style="font-size:8pt;padding-bottom:10px;">[+help+]</div> | ||||
|         </td></tr> | ||||
|  | ||||
| <!-- template="custom-field-select-option" --> | ||||
|                 <option [+selected+] value="[+value+]">[+text+]</option> | ||||
|  | ||||
| <!-- template="custom-field-empty-row" --> | ||||
|         <tr> | ||||
| 		<td colspan="[+column_count+]" style="font-weight:bold; height: 4em; text-align:center; vertical-align:middle"> | ||||
| 		[+No Mapping Rules+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="custom-field-rule-row" --> | ||||
|         <tr valign="top"> | ||||
| 		<td class="textleft" style="vertical-align:middle"> | ||||
|             [+name+]  | ||||
| 			<input type="hidden" name="custom_field_mapping[[+index+]][name]" id="custom_field_name_[+index+]" value="[+name_attr+]" /> | ||||
| 			<input type="hidden" name="custom_field_mapping[[+index+]][key]" id="custom_field_key_[+index+]" value="[+key+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][data_source]" id="custom_field_data_source_[+index+]"> | ||||
| [+data_source_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][keep_existing]" id="custom_field_keep_existing_[+index+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][format]" id="custom_field_format_[+index+]"> | ||||
|                 <option [+native_format+] value="native">[+Native+]</option> | ||||
|                 <option [+commas_format+] value="commas">[+Commas+]</option> | ||||
|                 <option [+raw_format+] value="raw">[+Raw+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][mla_column]" id="custom_field_mla_column_[+index+]" [+mla_column_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][quick_edit]" id="custom_field_quick_edit_[+index+]" [+quick_edit_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][bulk_edit]" id="custom_field_bulk_edit_[+index+]" [+bulk_edit_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td> </td> | ||||
| 		<td class="textleft"> | ||||
|             <input name="custom_field_mapping[[+index+]][meta_name]" id="custom_field_meta_name_[+index+]" type="text" size="[+meta_name_size+]" value="[+meta_name+]" /> | ||||
|         </td> | ||||
| 		<td colspan="[+column_count_meta+]" class="textleft" style="vertical-align:middle;"> | ||||
| 			<strong>[+Option+]:</strong>  | ||||
|             <select name="custom_field_mapping[[+index+]][option]" id="custom_field_option_[+index+]"> | ||||
|                 <option [+text_option+] value="text">[+Text+]</option> | ||||
|                 <option [+single_option+] value="single">[+Single+]</option> | ||||
|                 <option [+export_option+] value="export">[+Export+]</option> | ||||
|                 <option [+array_option+] value="array">[+Array+]</option> | ||||
|                 <option [+multi_option+] value="multi">[+Multi+]</option> | ||||
|             </select> | ||||
|                   | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][no_null]" id="custom_field_no_null_[+index+]" [+no_null_checked+] value="1" /> <strong>[+Delete NULL values+]</strong> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="[+column_count+]" style="padding-bottom: 10px"> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][delete_rule]" class="button-primary" id="custom-field-mapping-delete-rule-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Delete Rule+]" /> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][delete_field]" class="button-primary" id="custom-field-mapping-delete-field-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Delete Field+]" /> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][update_rule]" class="button-primary" id="custom-field-mapping-update-rule-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Update Rule+]" /> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][map_now]" class="button-secondary mla-mapping" id="custom-field-mapping-map-now-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Map All Attachments+]" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="custom-field-new-rule-row" --> | ||||
|         <tr> | ||||
| 		<td colspan="[+column_count+]" style="font-weight:bold; height: 3em; vertical-align:bottom"> | ||||
| 		[+Add new Rule+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][name]" id="custom_field_name_[+index+]"> | ||||
| [+field_name_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][data_source]" id="custom_field_data_source_[+index+]"> | ||||
| [+data_source_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][keep_existing]" id="custom_field_keep_existing_[+index+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][format]" id="custom_field_format_[+index+]"> | ||||
|                 <option [+native_format+] value="native">[+Native+]</option> | ||||
|                 <option [+commas_format+] value="commas">[+Commas+]</option> | ||||
|                 <option [+raw_format+] value="raw">[+Raw+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][mla_column]" id="custom_field_mla_column_[+index+]" [+mla_column_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][quick_edit]" id="custom_field_quick_edit_[+index+]" [+quick_edit_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][bulk_edit]" id="custom_field_bulk_edit_[+index+]" [+bulk_edit_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td> </td> | ||||
| 		<td class="textleft"> | ||||
|             <input name="custom_field_mapping[[+index+]][meta_name]" id="custom_field_meta_name_[+index+]" type="text" size="[+meta_name_size+]" value="[+meta_name+]" /> | ||||
|         </td> | ||||
| 		<td colspan="[+column_count_meta+]" class="textleft" style="vertical-align:middle;"> | ||||
| 			<strong>[+Option+]:</strong>  | ||||
|             <select name="custom_field_mapping[[+index+]][option]" id="custom_field_option_[+index+]"> | ||||
|                 <option [+text_option+] value="text">[+Text+]</option> | ||||
|                 <option [+single_option+] value="single">[+Single+]</option> | ||||
|                 <option [+export_option+] value="export">[+Export+]</option> | ||||
|                 <option [+array_option+] value="array">[+Array+]</option> | ||||
|                 <option [+multi_option+] value="multi">[+Multi+]</option> | ||||
|             </select> | ||||
|                   | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][no_null]" id="custom_field_no_null_[+index+]" [+no_null_checked+] value="1" /> <strong>[+Delete NULL values+]</strong> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="[+column_count+]"> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][add_rule]" class="button-primary" id="custom-field-mapping-add-rule-[+index+]" type="submit" value="[+Add Rule+]" /> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][add_rule_map]" class="button-secondary mla-mapping" id="custom-field-mapping-add-rule-map-[+index+]" type="submit" value="[+Map All Attachments+]" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="custom-field-new-field-row" --> | ||||
|         <tr> | ||||
| 		<td colspan="[+column_count+]" style="font-weight:bold; height: 3em; vertical-align:bottom"> | ||||
| 		[+Add new Field+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td class="textleft"> | ||||
|             <input name="custom_field_mapping[[+index+]][name]" id="custom_field_name_[+index+]" type="text" size="[+field_name_size+]" value="" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][data_source]" id="custom_field_data_source_[+index+]"> | ||||
| [+data_source_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][keep_existing]" id="custom_field_keep_existing_[+index+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="custom_field_mapping[[+index+]][format]" id="custom_field_format_[+index+]"> | ||||
|                 <option [+native_format+] value="native">[+Native+]</option> | ||||
|                 <option [+commas_format+] value="commas">[+Commas+]</option> | ||||
|                 <option [+raw_format+] value="raw">[+Raw+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][mla_column]" id="custom_field_mla_column_[+index+]" [+mla_column_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][quick_edit]" id="custom_field_quick_edit_[+index+]" [+quick_edit_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][bulk_edit]" id="custom_field_bulk_edit_[+index+]" [+bulk_edit_checked+] value="checked" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td> </td> | ||||
| 		<td class="textleft"> | ||||
|             <input name="custom_field_mapping[[+index+]][meta_name]" id="custom_field_meta_name_[+index+]" type="text" size="[+meta_name_size+]" value="[+meta_name+]" /> | ||||
|         </td> | ||||
| 		<td colspan="[+column_count_meta+]" class="textleft" style="vertical-align:middle;"> | ||||
| 			<strong>[+Option+]:</strong>  | ||||
|             <select name="custom_field_mapping[[+index+]][option]" id="custom_field_option_[+index+]"> | ||||
|                 <option [+text_option+] value="text">[+Text+]</option> | ||||
|                 <option [+single_option+] value="single">[+Single+]</option> | ||||
|                 <option [+export_option+] value="export">[+Export+]</option> | ||||
|                 <option [+array_option+] value="array">[+Array+]</option> | ||||
|                 <option [+multi_option+] value="multi">[+Multi+]</option> | ||||
|             </select> | ||||
|                   | ||||
|             <input type="checkbox" name="custom_field_mapping[[+index+]][no_null]" id="custom_field_no_null_[+index+]" [+no_null_checked+] value="1" /> <strong>[+Delete NULL values+]</strong> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="[+column_count+]"> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][add_field]" class="button-primary" id="custom-field-mapping-add-field-[+index+]" type="submit" value="[+Add Field+]" /> | ||||
| 	        <input name="custom_field_mapping[[+index+]][action][add_field_map]" class="button-secondary mla-mapping" id="custom-field-mapping-add-field-map-[+index+]" type="submit" value="[+Map All Attachments+]" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="iptc-exif-standard-table" --> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="2" class="textleft"> | ||||
|           <table class="iptc-exif-standard-table"> | ||||
| 		  <thead> | ||||
| 		  <tr> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Field Title+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+IPTC Value+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+EXIF/Template Value+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="textleft"> | ||||
| 			[+Priority+] | ||||
| 			</th> | ||||
| 		    <th scope="col" class="textleft"> | ||||
| 			[+Existing Text+] | ||||
| 			</th> | ||||
| 			</tr> | ||||
| 			</thead> | ||||
| 			<tbody> | ||||
| [+table_rows+] | ||||
| 			</tbody> | ||||
|           </table> | ||||
|           <div style="font-size:8pt;padding-bottom:10px;">[+help+]</div> | ||||
|         </td></tr> | ||||
|  | ||||
| <!-- template="iptc-exif-taxonomy-table" --> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="2" class="textleft"> | ||||
|           <table class="iptc-exif-taxonomy-table"> | ||||
| 		  <thead> | ||||
| 		  <tr> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Field Title+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+IPTC Value+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+EXIF/Template Value+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Priority+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Existing Text+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Delimiter(s)+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Parent+] | ||||
| 			</th> | ||||
| 			</tr> | ||||
| 			</thead> | ||||
| 			<tbody> | ||||
| [+table_rows+] | ||||
| 			</tbody> | ||||
|           </table> | ||||
|           <div style="font-size:8pt;padding-bottom:10px;">[+help+]</div> | ||||
|         </td></tr> | ||||
|  | ||||
| <!-- template="iptc-exif-custom-table" --> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="2" class="textleft"> | ||||
|           <table class="iptc-exif-custom-table"> | ||||
| 		  <thead> | ||||
| 		  <tr> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Field Title+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+IPTC Value+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+EXIF/Template Value+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Priority+] | ||||
| 			</th> | ||||
| 		    <th scope="col" style="text-align:center"> | ||||
| 			[+Existing Text+] | ||||
| 			</th> | ||||
| 			</tr> | ||||
| 			</thead> | ||||
| 			<tbody> | ||||
| [+table_rows+] | ||||
| 			</tbody> | ||||
|           </table> | ||||
|           <div style="font-size:8pt;padding-bottom:10px;">[+help+]</div> | ||||
|         </td></tr> | ||||
|  | ||||
| <!-- template="iptc-exif-select-option" --> | ||||
|                 <option [+selected+] value="[+value+]">[+text+]</option> | ||||
|  | ||||
| <!-- template="iptc-exif-select" --> | ||||
|             <select name="iptc_exif_mapping[[+array+]][[+key+]][[+element+]]" id="iptc_exif_taxonomy_parent_[+key+]"> | ||||
| [+options+] | ||||
|             </select> | ||||
|  | ||||
| <!-- template="iptc-exif-standard-row" --> | ||||
|         <tr valign="top"> | ||||
| 		<td> | ||||
|             [+name+]  | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[standard][[+key+]][iptc_value]" id="iptc_exif_standard_iptc_field_[+key+]"> | ||||
| [+iptc_field_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input name="iptc_exif_mapping[standard][[+key+]][exif_value]" id="iptc_exif_standard_exif_field_[+key+]" type="text" size="[+exif_size+]" value="[+exif_text+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[standard][[+key+]][iptc_first]" id="iptc_exif_standard_priority_[+key+]"> | ||||
|                 <option [+iptc_selected+] value="1">[+IPTC+]</option> | ||||
|                 <option [+exif_selected+] value="">[+EXIF+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[standard][[+key+]][keep_existing]" id="iptc_exif_standard_existing_[+key+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="iptc-exif-taxonomy-row" --> | ||||
|         <tr valign="top"> | ||||
| 		<td> | ||||
|             [+name+]  | ||||
| 			<input type="hidden" id="iptc_exif_taxonomy_name_field_[+key+]" name="iptc_exif_mapping[taxonomy][[+key+]][name]" value="[+name+]" /> | ||||
| 			<input type="hidden" id="iptc_exif_taxonomy_hierarchical_field_[+key+]" name="iptc_exif_mapping[taxonomy][[+key+]][hierarchical]" value="[+hierarchical+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[taxonomy][[+key+]][iptc_value]" id="iptc_exif_taxonomy_iptc_field_[+key+]"> | ||||
| [+iptc_field_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input name="iptc_exif_mapping[taxonomy][[+key+]][exif_value]" id="iptc_exif_taxonomy_exif_field_[+key+]" type="text" size="[+exif_size+]" value="[+exif_text+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[taxonomy][[+key+]][iptc_first]" id="iptc_exif_taxonomy_priority_[+key+]"> | ||||
|                 <option [+iptc_selected+] value="1">[+IPTC+]</option> | ||||
|                 <option [+exif_selected+] value="">[+EXIF+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[taxonomy][[+key+]][keep_existing]" id="iptc_exif_taxonomy_existing_[+key+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input name="iptc_exif_mapping[taxonomy][[+key+]][delimiters]" id="iptc_exif_taxonomy_delimiters_[+key+]" type="text" size="[+delimiters_size+]" value="[+delimiters_text+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
| [+parent_select+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="iptc-exif-custom-empty-row" --> | ||||
|         <tr> | ||||
| 		<td colspan="[+column_count+]" style="font-weight:bold; height: 4em; text-align:center; vertical-align:middle"> | ||||
| 		[+No Mapping Rules+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="iptc-exif-custom-rule-row" --> | ||||
|         <tr valign="top"> | ||||
| 		<td class="textleft" style="vertical-align:middle"> | ||||
|             [+name+]  | ||||
| 			<input name="iptc_exif_mapping[custom][[+index+]][name]" id="iptc_exif_custom_name_[+index+]" type="hidden" value="[+name_attr+]" /> | ||||
| 			<input name="iptc_exif_mapping[custom][[+index+]][key]" id="iptc_exif_custom_key_[+index+]" type="hidden" value="[+key+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][iptc_value]" id="iptc_exif_custom_iptc_field_[+index+]"> | ||||
| [+iptc_field_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input name="iptc_exif_mapping[custom][[+index+]][exif_value]" id="iptc_exif_custom_exif_field_[+index+]" type="text" size="[+exif_size+]" value="[+exif_text+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][iptc_first]" id="iptc_exif_custom_priority_[+index+]"> | ||||
|                 <option [+iptc_selected+] value="1">[+IPTC+]</option> | ||||
|                 <option [+exif_selected+] value="">[+EXIF+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][keep_existing]" id="iptc_exif_custom_existing_[+index+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		</tr> | ||||
| 		<tr valign="top"> | ||||
| 		<td> </td> | ||||
| 		<td class="textright"> | ||||
| 			<strong>[+Format+]:</strong>  | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][format]" id="iptc_exif_custom_format_[+index+]"> | ||||
|                 <option [+native_format+] value="native">[+Native+]</option> | ||||
|                 <option [+commas_format+] value="commas">[+Commas+]</option> | ||||
|                 <option [+raw_format+] value="raw">[+Raw+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td colspan="[+column_count_meta+]" class="textleft" style="vertical-align:middle;"> | ||||
| 			<strong>[+Option+]:</strong>  | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][option]" id="iptc_exif_custom_option_[+index+]"> | ||||
|                 <option [+text_option+] value="text">[+Text+]</option> | ||||
|                 <option [+single_option+] value="single">[+Single+]</option> | ||||
|                 <option [+export_option+] value="export">[+Export+]</option> | ||||
|                 <option [+array_option+] value="array">[+Array+]</option> | ||||
|                 <option [+multi_option+] value="multi">[+Multi+]</option> | ||||
|             </select> | ||||
|                   | ||||
|             <input type="checkbox" name="iptc_exif_mapping[custom][[+index+]][no_null]" id="iptc_exif_custom_no_null_[+index+]" [+no_null_checked+] value="1" /> <strong>[+Delete NULL values+]</strong> | ||||
|         </td> | ||||
| 		</tr> | ||||
| 		<tr valign="top"> | ||||
| 		<td colspan="[+column_count+]" style="padding-bottom: 10px"> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][delete_rule]" class="button-primary" id="iptc-exif-mapping-delete-rule-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Delete Rule+]" /> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][delete_field]" class="button-primary" id="iptc-exif-mapping-delete-field-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Delete Field+]" /> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][update_rule]" class="button-primary" id="iptc-exif-mapping-update-rule-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Update Rule+]" /> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][map_now]" class="button-secondary mla-mapping" id="iptc-exif-mapping-map-now-[+index+]" style="height: 18px; line-height: 16px" type="submit" value="[+Map All Attachments+]" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="iptc-exif-custom-new-rule-row" --> | ||||
|         <tr> | ||||
| 		<td colspan="[+column_count+]" style="font-weight:bold; height: 3em; vertical-align:bottom"> | ||||
| 		[+Add new Rule+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][name]" id="iptc_exif_custom_name_[+index+]"> | ||||
| [+field_name_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][iptc_value]" id="iptc_exif_custom_iptc_field_[+index+]"> | ||||
| [+iptc_field_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input name="iptc_exif_mapping[custom][[+index+]][exif_value]" id="iptc_exif_custom_exif_field_[+index+]" type="text" size="[+exif_size+]" value="[+exif_text+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][iptc_first]" id="iptc_exif_custom_priority_[+index+]"> | ||||
|                 <option [+iptc_selected+] value="1">[+IPTC+]</option> | ||||
|                 <option [+exif_selected+] value="">[+EXIF+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][keep_existing]" id="iptc_exif_custom_existing_[+index+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		</tr> | ||||
| 		<tr valign="top"> | ||||
| 		<td> </td> | ||||
| 		<td class="textright"> | ||||
| 			<strong>[+Format+]:</strong>  | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][format]" id="iptc_exif_custom_format_[+index+]"> | ||||
|                 <option [+native_format+] value="native">[+Native+]</option> | ||||
|                 <option [+commas_format+] value="commas">[+Commas+]</option> | ||||
|                 <option [+raw_format+] value="raw">[+Raw+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td colspan="[+column_count_meta+]" class="textleft" style="vertical-align:middle;"> | ||||
| 			<strong>[+Option+]:</strong>  | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][option]" id="iptc_exif_custom_option_[+index+]"> | ||||
|                 <option [+text_option+] value="text">[+Text+]</option> | ||||
|                 <option [+single_option+] value="single">[+Single+]</option> | ||||
|                 <option [+export_option+] value="export">[+Export+]</option> | ||||
|                 <option [+array_option+] value="array">[+Array+]</option> | ||||
|                 <option [+multi_option+] value="multi">[+Multi+]</option> | ||||
|             </select> | ||||
|                   | ||||
|             <input type="checkbox" name="iptc_exif_mapping[custom][[+index+]][no_null]" id="iptc_exif_custom_no_null_[+index+]" [+no_null_checked+] value="1" /> <strong>[+Delete NULL values+]</strong> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="[+column_count+]"> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][add_rule]" class="button-primary" id="iptc-exif-mapping-add-rule-[+index+]" type="submit" value="[+Add Rule+]" /> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][add_rule_map]" class="button-secondary mla-mapping" id="iptc-exif-mapping-add-rule-map-[+index+]" type="submit" value="[+Map All Attachments+]" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
|  | ||||
| <!-- template="iptc-exif-custom-new-field-row" --> | ||||
|         <tr> | ||||
| 		<td colspan="[+column_count+]" style="font-weight:bold; height: 3em; vertical-align:bottom"> | ||||
| 		[+Add new Field+] | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td class="textleft"> | ||||
|             <input name="iptc_exif_mapping[custom][[+index+]][name]" id="iptc_exif_custom_name_[+index+]" type="text" size="[+field_name_size+]" value="" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][iptc_value]" id="iptc_exif_custom_iptc_field_[+index+]"> | ||||
| [+iptc_field_options+] | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td style="text-align:center;"> | ||||
|             <input name="iptc_exif_mapping[custom][[+index+]][exif_value]" id="iptc_exif_custom_exif_field_[+index+]" type="text" size="[+exif_size+]" value="[+exif_text+]" /> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][iptc_first]" id="iptc_exif_custom_priority_[+index+]"> | ||||
|                 <option [+iptc_selected+] value="1">[+IPTC+]</option> | ||||
|                 <option [+exif_selected+] value="">[+EXIF+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td class="textleft"> | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][keep_existing]" id="iptc_exif_custom_existing_[+index+]"> | ||||
|                 <option [+keep_selected+] value="1">[+Keep+]</option> | ||||
|                 <option [+replace_selected+] value="">[+Replace+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		</tr> | ||||
| 		<tr valign="top"> | ||||
| 		<td> </td> | ||||
| 		<td class="textright"> | ||||
| 			<strong>[+Format+]:</strong>  | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][format]" id="iptc_exif_custom_format_[+index+]"> | ||||
|                 <option [+native_format+] value="native">[+Native+]</option> | ||||
|                 <option [+commas_format+] value="commas">[+Commas+]</option> | ||||
|                 <option [+raw_format+] value="raw">[+Raw+]</option> | ||||
|             </select> | ||||
|         </td> | ||||
| 		<td colspan="[+column_count_meta+]" class="textleft" style="vertical-align:middle;"> | ||||
| 			<strong>[+Option+]:</strong>  | ||||
|             <select name="iptc_exif_mapping[custom][[+index+]][option]" id="iptc_exif_custom_option_[+index+]"> | ||||
|                 <option [+text_option+] value="text">[+Text+]</option> | ||||
|                 <option [+single_option+] value="single">[+Single+]</option> | ||||
|                 <option [+export_option+] value="export">[+Export+]</option> | ||||
|                 <option [+array_option+] value="array">[+Array+]</option> | ||||
|                 <option [+multi_option+] value="multi">[+Multi+]</option> | ||||
|             </select> | ||||
|                   | ||||
|             <input type="checkbox" name="iptc_exif_mapping[custom][[+index+]][no_null]" id="iptc_exif_custom_no_null_[+index+]" [+no_null_checked+] value="1" /> <strong>[+Delete NULL values+]</strong> | ||||
|         </td> | ||||
| 		</tr> | ||||
|         <tr valign="top"> | ||||
| 		<td colspan="[+column_count+]"> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][add_field]" class="button-primary" id="iptc-exif-mapping-add-field-[+index+]" type="submit" value="[+Add Field+]" /> | ||||
| 	        <input name="iptc_exif_mapping[custom][[+index+]][action][add_field_map]" class="button-secondary mla-mapping" id="iptc-exif-mapping-add-field-map-[+index+]" type="submit" value="[+Map All Attachments+]" /> | ||||
|         </td> | ||||
| 		</tr> | ||||
| @@ -0,0 +1,90 @@ | ||||
| <!-- template="quick_action" --> | ||||
| <tr class = "pll-media-action-row-[+language_slug+]"> | ||||
|   <td class = "pll-media-language-column"><span class = "pll-translation-flag">[+language_flag+]</span>[+language_name+]</td> | ||||
|   <td class = "pll-media-action-column pll-media-action-column-[+language_slug+]"> | ||||
|     <input type="hidden" name="media_tr_lang[[+language_slug+]]" value="" /> | ||||
| 	<a href="#pll-quick-translate-edit" title="" class=""></a> | ||||
|   </td> | ||||
| </tr> | ||||
|  | ||||
| <!-- template="bulk_action" --> | ||||
| <tr class = "pll-media-action-row-[+language_slug+]"> | ||||
|   <td class = "pll-media-language-column"><span class = "pll-translation-flag">[+language_flag+]</span></td> | ||||
|   <td class = "pll-media-language-column">[+language_name+]</td> | ||||
|   <td class = "pll-media-action-column pll-media-action-column-[+language_slug+]"> | ||||
|     <input type="checkbox" name="bulk_tr_languages[[+language_slug+]]" value="translate" /> | ||||
|   </td> | ||||
| </tr> | ||||
|  | ||||
| <!-- template="page" --> | ||||
| <form> | ||||
|   <table width="99%" style="display: none"> | ||||
|     <tbody id="pll-inline-translate"> | ||||
|       <tr id="pll-quick-translate" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment quick-edit-row quick-edit-row-attachment quick-edit-attachment" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
|           <fieldset class="inline-edit-col-left"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <h4>[+Quick Translate+]</h4> | ||||
| 			  <span class="icon column-icon"></span> | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <fieldset class="inline-edit-col-center"> | ||||
|             <div class="inline-edit-col"> | ||||
| [+quick_translate_language+] | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <fieldset class="inline-edit-col-right"> | ||||
|             <div class="inline-edit-col"> | ||||
| [+quick_translate_actions+] | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <p class="submit pll-quick-translate-save"> | ||||
| 		  	<a accesskey="c" href="#pll-quick-translate" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
| 		  	<a accesskey="s" href="#pll-quick-translate" title="[+Update+]" class="button-primary save alignright">[+Update+]</a> | ||||
| 			<span class="spinner"></span> | ||||
|             <input type="hidden" name="page" value="mla-menu" /> | ||||
|             <input type="hidden" name="screen" value="media_page_mla-menu" /> | ||||
|             <input type="hidden" name="inline_translations" value="" /> | ||||
|             <input type="hidden" name="pll_quick_language" value="" /> | ||||
|             <input type="hidden" name="pll_quick_id" value="" /> | ||||
|             <span class="error" style="display:none"></span> | ||||
| 			<br class="clear" /> | ||||
|           </p> | ||||
|         </td> | ||||
|       </tr> | ||||
|       <tr id="pll-bulk-translate" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment bulk-edit-row bulk-edit-row-attachment bulk-edit-attachment" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
|           <fieldset class="inline-edit-col-left"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <h4>[+Bulk Translate+]</h4> | ||||
|               <div id="pll-bulk-title-div"> | ||||
|                 <div id="pll-bulk-titles"></div> | ||||
|               </div> | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <fieldset class="inline-edit-col-right"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <h4>([+Add or Modify+])</h4> | ||||
| 			<label class="alignleft clear"> | ||||
| 			<span class="title">[+Language+]</span> | ||||
| [+bulk_translate_actions+] | ||||
| 			</label> | ||||
| 			<label class="alignleft clear"> | ||||
| 			<span class="title">[+Options+]</span> | ||||
|             <input type="checkbox" name="bulk_tr_options[clear_filters]" value="checked" />[+Clear Filter-by+] | ||||
| 			</label> | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <p class="submit inline-edit-save"> | ||||
| 		  	<a accesskey="c" href="#pll-bulk-translate" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
|             <input type="submit" name="pll-bulk-translate" id="pll-bulk-translate-submit" class="button-primary alignright" value="[+Bulk Translate+]" /> | ||||
|             <input type="hidden" name="page" value="mla-menu" /> | ||||
|             <input type="hidden" name="screen" value="media_page_mla-menu" /> | ||||
| 			<input type="hidden" name="pll_bulk_language" value="" /> | ||||
|             <span class="error" style="display:none;"></span> <br class="clear" /> | ||||
|           </p> | ||||
|         </td> | ||||
|       </tr> | ||||
|     </tbody> | ||||
|   </table> | ||||
| </form> | ||||
| @@ -0,0 +1,76 @@ | ||||
| <!-- template="page" --> | ||||
| <form> | ||||
|   <table width="99%" style="display: none"> | ||||
|     <tbody id="mla-thumbnail-generation"> | ||||
|       <tr id="mla-bulk-thumbnail" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment bulk-thumbnail-row bulk-thumbnail-row-attachment bulk-thumbnail-attachment" style="display: none"> | ||||
|         <td colspan="[+colspan+]" class="colspanchange"> | ||||
|           <fieldset class="inline-edit-col-left"> | ||||
|             <div class="inline-edit-col"> | ||||
|               <h4>[+Generate Thumbnails+]</h4> | ||||
|               <div id="mla-thumbnail-title-div"> | ||||
|                 <div id="mla-thumbnail-titles"></div> | ||||
|               </div> | ||||
|             </div> | ||||
|           </fieldset> | ||||
|           <fieldset id="mla-thumbnail-settings" class="inline-edit-col-right"> | ||||
|             <div class="inline-edit-col"> | ||||
|             <h4>([+See Documentation+])</h4> | ||||
|             <div class="inline-edit-group clear"> | ||||
| 			<table><tr> | ||||
|               <td><label> <span class="title">[+Width+]</span> | ||||
|                 <input name="mla_thumbnail_options[width]" id="mla-thumbnail-options-width" type="text" size="5" value="" /> | ||||
|               </label></td> | ||||
|               <td><label> <span class="title">[+Height+]</span> | ||||
|                 <input name="mla_thumbnail_options[height]" id="mla-thumbnail-options-height" type="text" size="5" value="" /> | ||||
|               </label></td> | ||||
|               <td class="textleft"><label> | ||||
|                 <input name="mla_thumbnail_options[best_fit]" id="mla-thumbnail-options-best-fit" type="checkbox" value="checked" /> | ||||
|                 [+Best Fit+] | ||||
|               </label></td> | ||||
| 			  </tr><tr> | ||||
|               <td><label class="alignleft"> <span class="title">[+Page+]</span> | ||||
|                 <input name="mla_thumbnail_options[page]" id="mla-thumbnail-options-page" type="text" size="5" value="" /> | ||||
|               </label></td> | ||||
|               <td><label> <span class="title">[+Resolution+]</span> | ||||
|                 <input name="mla_thumbnail_options[resolution]" id="mla-thumbnail-options-resolution" type="text" size="5" value="" /> | ||||
|               </label></td> | ||||
|               <td><label> <span class="title">[+Quality+]</span> | ||||
|                 <input name="mla_thumbnail_options[quality]" id="mla-thumbnail-options-quality" type="text" size="5" value="" /> | ||||
|               </label></td> | ||||
| 			  </tr><tr> | ||||
|               <td><label> | ||||
|             <span class="title">[+Type+]</span> | ||||
|             <span [+WP Style+]> <input type="radio" name="mla_thumbnail_options[type]" id="mla-thumbnail-options-jpg" [+WP Checked+] value="WordPress" /> | ||||
|             WP  </span> | ||||
|             <input type="radio" name="mla_thumbnail_options[type]" id="mla-thumbnail-options-jpg" [+JPG Checked+] value="image/jpeg" /> | ||||
|             JPG   | ||||
|             <input type="radio" name="mla_thumbnail_options[type]" id="mla-thumbnail-options-png" value="image/png" /> | ||||
|             PNG | ||||
| 			</label></td> | ||||
|               <td><label class="alignleft"> <span class="title">[+Existing Items+]</span> | ||||
|             <select name="mla_thumbnail_options[existing_thumbnails]" id="mla-thumbnail-options-existing"> | ||||
|                 <option selected="selected" value="keep">[+Keep+]</option> | ||||
|                 <option value="ignore">[+Ignore+]</option> | ||||
|                 <option value="trash">[+Trash+]</option> | ||||
|                 <option value="delete">[+Delete+]</option> | ||||
|             </select> | ||||
|               </label></td> | ||||
|               <td><label> <span class="title">[+Suffix+]</span> | ||||
|                 <input name="mla_thumbnail_options[suffix]" id="mla-thumbnail-options-quality" type="text" size="15" value="[+default_suffix+]" /> | ||||
|               </label></td> | ||||
| 			  </tr></table> | ||||
| 			  <p>  [+WP Help+]</p> | ||||
|             </div> <!-- inline-edit-group --> | ||||
|             </div> <!-- inline-edit-col --> | ||||
|           </fieldset> | ||||
|           <p class="submit inline-edit-save"> <a accesskey="c" href="#mla-generate-thumbnail" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a> | ||||
|             <input type="submit" name="mla-generate-thumbnail" id="mla-generate-thumbnail-submit" class="button-primary alignright" value="[+Generate Thumbnails+]" /> | ||||
|             <input type="hidden" name="page" value="mla-menu" /> | ||||
|             <input type="hidden" name="screen" value="media_page_mla-menu" /> | ||||
|             <span class="error" style="display:none;"></span> <br class="clear" /> | ||||
|           </p> | ||||
|         </td> | ||||
|       </tr> | ||||
|     </tbody> | ||||
|   </table> | ||||
| </form> | ||||
		Reference in New Issue
	
	Block a user