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:
pewgeuges 2020-11-19 14:03:48 +00:00
parent 362d9e60c6
commit 65668e0754
28 changed files with 1479 additions and 728 deletions

View 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
>

View file

@ -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
>

View 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>

View file

@ -0,0 +1,8 @@
<tr>
<td
class="footnote_plugin_index_combi"
>[[backlinks]]</td>
<td
class="footnote_plugin_text"
>[[text]]</td>
</tr>

View 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>

View file

@ -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]]&#x200A;</span
>[[index]].</a
><a
class="footnote_plugin_link"
>[[arrow]][[index]]</a
></td>
<td
class="footnote_plugin_text"

View file

@ -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]]();"
>&nbsp;&nbsp;&nbsp;[<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>

View file

@ -5,6 +5,7 @@
effect: 'fade',
predelay: 0,
fadeInSpeed: 200,
delay: 400,
fadeOutSpeed: 200,
position: '[[position]]',
relative: true,