stable bugfix release 2.1.2: priority level settings for all other hooks, preventing them from being zeroed at save == URGENCY
git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/2.1.2@2421553 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
362d9e60c6
commit
65668e0754
28 changed files with 1479 additions and 728 deletions
|
@ -1,9 +1,13 @@
|
|||
<table class="widefat fixed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>[[label-enable]]</td>
|
||||
<td>[[enable]]</td>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>[[label-enable]]</td>
|
||||
<td>[[enable]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-alternative]]</td>
|
||||
<td>[[alternative]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-activate-excerpt]]</td>
|
||||
<td>[[activate-excerpt]]</td>
|
||||
|
@ -12,18 +16,22 @@
|
|||
<td>[[label-excerpt-length]]</td>
|
||||
<td>[[excerpt-length]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-position]]</td>
|
||||
<td>[[position]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-offset-x]]</td>
|
||||
<td>[[offset-x]] <em>[[notice-offset-x]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-offset-y]]</td>
|
||||
<td>[[offset-y]] <em>[[notice-offset-y]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-readon]]</td>
|
||||
<td>[[readon]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-position]]</td>
|
||||
<td>[[position]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-offset-x]]</td>
|
||||
<td>[[offset-x]] <em>[[notice-offset-x]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-offset-y]]</td>
|
||||
<td>[[offset-y]] <em>[[notice-offset-y]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-color]]</td>
|
||||
<td>[[color]] <em>[[notice-color]]</em></td>
|
||||
|
@ -48,9 +56,9 @@
|
|||
<td>[[label-max-width]]</td>
|
||||
<td>[[max-width]] <em>[[notice-max-width]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-box-shadow-color]]</td>
|
||||
<td>[[box-shadow-color]] <em>[[notice-box-shadow-color]]</em></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<tr>
|
||||
<td>[[label-box-shadow-color]]</td>
|
||||
<td>[[box-shadow-color]] <em>[[notice-box-shadow-color]]</em></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
<table class="widefat fixed">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>[[label-superscript]]</td>
|
||||
<td>[[superscript]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-before]]</td>
|
||||
<td>[[before]]</td>
|
||||
|
@ -9,4 +13,4 @@
|
|||
<td>[[after]]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
|
|
@ -1,41 +1,45 @@
|
|||
<table class="widefat fixed">
|
||||
<div class="expert-lookup footnotes-description">
|
||||
<p>[[description]]</p>
|
||||
</div>
|
||||
<table class="expert-lookup widefat fixed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 260px !important;">[[head-hook]]</th>
|
||||
<th style="width: 65px !important;">[[head-checkbox]]</th>
|
||||
<th style="white-space: nowrap;">[[head-url]]</th>
|
||||
<th>[[head-hook]]</th>
|
||||
<th>[[head-checkbox]]</th>
|
||||
<th>[[head-numbox]]</th>
|
||||
<th>[[head-url]]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 260px !important;">[[label-the-title]]</td>
|
||||
<td style="width: 65px !important;">[[the-title]]</td>
|
||||
<td style="white-space: nowrap;"><a href="[[url-the-title]]" target="_blank">[[url-the-title]]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 260px !important;">[[label-the-content]]</td>
|
||||
<td style="width: 65px !important;">[[the-content]]</td>
|
||||
<td style="white-space: nowrap;"><a href="[[url-the-content]]" target="_blank">[[url-the-content]]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 260px !important;">[[label-the-excerpt]]</td>
|
||||
<td style="width: 65px !important;">[[the-excerpt]]</td>
|
||||
<td style="white-space: nowrap;"><a href="[[url-the-excerpt]]" target="_blank">[[url-the-excerpt]]</a></td>
|
||||
<td>[[label-the-title]]</td>
|
||||
<td>[[the-title]]</td>
|
||||
<td>[[priority-the-title]]</td>
|
||||
<td><a href="[[url-the-title]]" target="_blank">[[url-the-title]]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 260px !important;">[[label-widget-title]]</td>
|
||||
<td style="width: 65px !important;">[[widget-title]]</td>
|
||||
<td style="white-space: nowrap;"><a href="[[url-widget-title]]" target="_blank">[[url-widget-title]]</a></td>
|
||||
<td>[[label-the-content]]</td>
|
||||
<td>[[the-content]]</td>
|
||||
<td>[[priority-the-content]]</td>
|
||||
<td><a href="[[url-the-content]]" target="_blank">[[url-the-content]]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 260px !important;">[[label-widget-text]]</td>
|
||||
<td style="width: 65px !important;">[[widget-text]]</td>
|
||||
<td style="white-space: nowrap;"><a href="[[url-widget-text]]" target="_blank">[[url-widget-text]]</a></td>
|
||||
<td>[[label-the-excerpt]]</td>
|
||||
<td>[[the-excerpt]]</td>
|
||||
<td>[[priority-the-excerpt]]</td>
|
||||
<td><a href="[[url-the-excerpt]]" target="_blank">[[url-the-excerpt]]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 260px !important;">[[label-post-object]]</td>
|
||||
<td style="width: 65px !important;">[[post-object]]</td>
|
||||
<td style="white-space: nowrap;"><a href="[[url-post-object]]" target="_blank">[[url-post-object]]</a></td>
|
||||
<td>[[label-widget-title]]</td>
|
||||
<td>[[widget-title]]</td>
|
||||
<td>[[priority-widget-title]]</td>
|
||||
<td><a href="[[url-widget-title]]" target="_blank">[[url-widget-title]]</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<tr>
|
||||
<td>[[label-widget-text]]</td>
|
||||
<td>[[widget-text]]</td>
|
||||
<td>[[priority-widget-text]]</td>
|
||||
<td><a href="[[url-widget-text]]" target="_blank">[[url-widget-text]]</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -8,9 +8,25 @@
|
|||
<td>[[label-collapse]]</td>
|
||||
<td>[[collapse]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-3column]]</td>
|
||||
<td>[[3column]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-symbol]]</td>
|
||||
<td>[[symbol]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-switch]]</td>
|
||||
<td>[[switch]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-position]]</td>
|
||||
<td>[[position]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-startpage]]</td>
|
||||
<td>[[startpage]]</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
|
16
templates/public/footnote-alternative.html
Normal file
16
templates/public/footnote-alternative.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<span
|
||||
class="footnote_referrer relative"
|
||||
onmouseover="footnoteTooltipShow('footnote_plugin_tooltip_text_[[post_id]]_[[id]]')"
|
||||
onmouseout="footnoteTooltipHide('footnote_plugin_tooltip_text_[[post_id]]_[[id]]')"
|
||||
><a><[[element]]
|
||||
id="footnote_plugin_tooltip_[[post_id]]_[[id]]"
|
||||
class="footnote_plugin_tooltip_text"
|
||||
onclick="footnote_moveToAnchor_[[post_id]]('footnote_plugin_reference_[[post_id]]_[[id]]');"
|
||||
>[[before]][[index]][[after]]</[[element]]
|
||||
></a><span
|
||||
id="footnote_plugin_tooltip_text_[[post_id]]_[[id]]"
|
||||
class="footnote_tooltip position hidden"
|
||||
onmouseout="footnoteTooltipHide('footnote_plugin_tooltip_text_[[post_id]]_[[id]]')"
|
||||
>[[text]]</span
|
||||
></span
|
||||
>
|
|
@ -1,13 +1,13 @@
|
|||
<a
|
||||
><sup
|
||||
<span
|
||||
class="footnote_referrer"
|
||||
><a><[[element]]
|
||||
id="footnote_plugin_tooltip_[[post_id]]_[[id]]"
|
||||
class="footnote_plugin_tooltip_text"
|
||||
onclick="footnote_moveToAnchor_[[post_id]]('footnote_plugin_reference_[[post_id]]_[[id]]');"
|
||||
>[[before]][[index]][[after]]</sup
|
||||
></a
|
||||
>
|
||||
<span
|
||||
class="footnote_tooltip"
|
||||
id="footnote_plugin_tooltip_text_[[post_id]]_[[id]]"
|
||||
>[[text]]</span
|
||||
>[[before]][[index]][[after]]</[[element]]
|
||||
></a><span
|
||||
id="footnote_plugin_tooltip_text_[[post_id]]_[[id]]"
|
||||
class="footnote_tooltip"
|
||||
>[[text]]</span
|
||||
></span
|
||||
>
|
||||
|
|
21
templates/public/reference-container-body-3column.html
Normal file
21
templates/public/reference-container-body-3column.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<tr>
|
||||
<td
|
||||
class="footnote_plugin_index"
|
||||
><span
|
||||
id="footnote_plugin_reference_[[post_id]]_[[id]]"
|
||||
class="footnote_index"
|
||||
onclick="footnote_moveToAnchor_[[post_id]]('footnote_plugin_tooltip_[[post_id]]_[[id]]');"
|
||||
>[[index]].</span
|
||||
></td>
|
||||
<td
|
||||
class="footnote_plugin_link"
|
||||
><span
|
||||
onclick="footnote_moveToAnchor_[[post_id]]('footnote_plugin_tooltip_[[post_id]]_[[id]]');"
|
||||
class="footnote_backlink"
|
||||
>[[arrow]]</span
|
||||
></td>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
>[[text]]</td
|
||||
>
|
||||
</tr>
|
8
templates/public/reference-container-body-combi.html
Normal file
8
templates/public/reference-container-body-combi.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<tr>
|
||||
<td
|
||||
class="footnote_plugin_index_combi"
|
||||
>[[backlinks]]</td>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
>[[text]]</td>
|
||||
</tr>
|
13
templates/public/reference-container-body-switch.html
Normal file
13
templates/public/reference-container-body-switch.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<tr>
|
||||
<td
|
||||
id="footnote_plugin_reference_[[post_id]]_[[id]]"
|
||||
class="footnote_plugin_index pointer"
|
||||
onclick="footnote_moveToAnchor_[[post_id]]('footnote_plugin_tooltip_[[post_id]]_[[id]]');"
|
||||
><span
|
||||
class="footnote_plugin_link"
|
||||
>[[index]].[[arrow]]</span
|
||||
></td>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
>[[text]]</td>
|
||||
</tr>
|
|
@ -1,13 +1,11 @@
|
|||
<tr>
|
||||
<td
|
||||
class="footnote_plugin_index footnote_plugin_link"
|
||||
id="footnote_plugin_reference_[[post_id]]_[[id]]"
|
||||
class="footnote_plugin_index pointer"
|
||||
onclick="footnote_moveToAnchor_[[post_id]]('footnote_plugin_tooltip_[[post_id]]_[[id]]');"
|
||||
><a
|
||||
><span
|
||||
class="footnote_plugin_index_arrow"
|
||||
>[[arrow]] </span
|
||||
>[[index]].</a
|
||||
><a
|
||||
class="footnote_plugin_link"
|
||||
>[[arrow]][[index]]</a
|
||||
></td>
|
||||
<td
|
||||
class="footnote_plugin_text"
|
||||
|
|
|
@ -1,21 +1,31 @@
|
|||
<div class="footnote_container_overall_wrapper">
|
||||
<div class="footnote_container_prepare">
|
||||
<p><span
|
||||
onclick="footnote_expand_reference_container_[[post_id]]();"
|
||||
>[[label]]</span
|
||||
<div
|
||||
class="speaker-mute footnotes_reference_container"
|
||||
>
|
||||
<div
|
||||
class="footnote_container_prepare"
|
||||
><p
|
||||
><span
|
||||
class="footnote_reference_container_label"
|
||||
onclick="footnote_expand_reference_container_[[post_id]]();"
|
||||
>[[label]]</span
|
||||
><span
|
||||
class="footnote_reference_container_collapse_button"
|
||||
style="[[button-style]]"
|
||||
onclick="footnote_expand_collapse_reference_container_[[post_id]]();"
|
||||
> [<a
|
||||
>[<a
|
||||
id="footnote_reference_container_collapse_button_[[post_id]]"
|
||||
> + </a
|
||||
>+</a
|
||||
>]</span
|
||||
></p
|
||||
></div
|
||||
>
|
||||
<div
|
||||
id="footnote_references_container_[[post_id]]"
|
||||
style="[[style]]"
|
||||
>
|
||||
<table
|
||||
class="footnote-reference-container"
|
||||
>
|
||||
</div>
|
||||
<div id="footnote_references_container_[[post_id]]" style="[[style]]">
|
||||
<table class="footnote-reference-container">
|
||||
<tbody>
|
||||
[[content]]
|
||||
</tbody>
|
||||
|
@ -25,11 +35,11 @@
|
|||
<script type="text/javascript">
|
||||
function footnote_expand_reference_container_[[post_id]]() {
|
||||
jQuery('#footnote_references_container_[[post_id]]').show();
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text(' − ');
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text('−');
|
||||
}
|
||||
function footnote_collapse_reference_container_[[post_id]]() {
|
||||
jQuery('#footnote_references_container_[[post_id]]').hide();
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text(' + ');
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text('+');
|
||||
}
|
||||
function footnote_expand_collapse_reference_container_[[post_id]]() {
|
||||
if (jQuery('#footnote_references_container_[[post_id]]').is(':hidden')) {
|
||||
|
@ -47,5 +57,5 @@
|
|||
},
|
||||
380);/*speed*/
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
effect: 'fade',
|
||||
predelay: 0,
|
||||
fadeInSpeed: 200,
|
||||
delay: 400,
|
||||
fadeOutSpeed: 200,
|
||||
position: '[[position]]',
|
||||
relative: true,
|
||||
|
|
Reference in a new issue