Prepare for release version 1.5.6
- **IMPORTANT**: We have changed the html tag for the superscript. Please check and update your custom CSS. - Add: .pot file to enable Translations for everybody - Add: Settings to customize the mouse-over box (color, background color, border, max. width) - Update: Translation file names - Update: Translation EN and DE - Update: Styling of the superscript (need to check custom CSS code for the superscript) - Update: Description of CSS classes for the 'customize CSS' text area - Bugfix: Removed 'a' tag around the superscript for Footnotes inside the content to avoid page reloads (empty href attribute) - Bugfix: Avoid Settings fallback to its default value after submit an empty value for a setting - Bugfix: Enable multiple WP_Post objects for the_post hook git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@1005623 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
a466a886bd
commit
b183563518
19 changed files with 622 additions and 188 deletions
|
@ -8,24 +8,24 @@
|
|||
<td colspan="2">[[headline]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-class-1]]</td>
|
||||
<td>[[class-1]]</td>
|
||||
<td> </td>
|
||||
<td><strong>[[label-class-1]]</strong><br/><em>[[class-1]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-class-2]]</td>
|
||||
<td>[[class-2]]</td>
|
||||
<td> </td>
|
||||
<td><strong>[[label-class-2]]</strong><br/><em>[[class-2]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-class-3]]</td>
|
||||
<td>[[class-3]]</td>
|
||||
<td> </td>
|
||||
<td><strong>[[label-class-3]]</strong><br/><em>[[class-3]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-class-4]]</td>
|
||||
<td>[[class-4]]</td>
|
||||
<td> </td>
|
||||
<td><strong>[[label-class-4]]</strong><br/><em>[[class-4]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-class-5]]</td>
|
||||
<td>[[class-1]]</td>
|
||||
<td> </td>
|
||||
<td><strong>[[label-class-5]]</strong><br/><em>[[class-5]]</em></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
|
@ -11,6 +11,30 @@
|
|||
<tr>
|
||||
<td>[[label-excerpt-length]]</td>
|
||||
<td>[[excerpt-length]]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-color]]</td>
|
||||
<td>[[color]] <em>[[notice-color]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-background]]</td>
|
||||
<td>[[background]] <em>[[notice-background]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-border-width]]</td>
|
||||
<td>[[border-width]] <em>[[notice-border-width]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-border-color]]</td>
|
||||
<td>[[border-color]] <em>[[notice-border-color]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-border-radius]]</td>
|
||||
<td>[[border-radius]] <em>[[notice-border-radius]]</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>[[label-max-width]]</td>
|
||||
<td>[[max-width]] <em>[[notice-max-width]]</em></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
|
@ -1,2 +1,2 @@
|
|||
<a href="" name="footnote_plugin_tooltip_[[index]]" id="footnote_plugin_tooltip_[[index]]" class="footnote_plugin_tooltip_text" onclick="footnote_moveToAnchor('footnote_plugin_reference_[[index]]');"><sup>[[before]][[index]][[after]]</sup></a>
|
||||
<sup id="footnote_plugin_tooltip_[[index]]" class="footnote_plugin_tooltip_text" onclick="footnote_moveToAnchor('footnote_plugin_reference_[[index]]');">[[before]][[index]][[after]]</sup>
|
||||
<span class="footnote_tooltip" id="footnote_plugin_tooltip_text_[[index]]">[[text]]</span>
|
|
@ -1,8 +1,5 @@
|
|||
<tr>
|
||||
<td style="border:none !important; max-width:10% !important;">[[index]].</td>
|
||||
<td><a class="footnote_plugin_link" href=""
|
||||
name="footnote_plugin_reference_[[index-int]]"
|
||||
id="footnote_plugin_reference_[[index-int]]"
|
||||
onclick="footnote_moveToAnchor('footnote_plugin_tooltip_[[index-int]]');">[[arrow]]</a></td>
|
||||
<td>[[text]]</td>
|
||||
<td class="footnote_plugin_index">[[index]].</td>
|
||||
<td class="footnote_plugin_link"><span id="footnote_plugin_reference_[[index-int]]" onclick="footnote_moveToAnchor('footnote_plugin_tooltip_[[index-int]]');">[[arrow]]</span></td>
|
||||
<td class="footnote_plugin_text">[[text]]</td>
|
||||
</tr>
|
|
@ -1,7 +1,7 @@
|
|||
<div class="footnote_container_prepare">
|
||||
<p><span onclick="footnote_expand_reference_container();">[[label]]</span><span>[[buttons]]</span></p>
|
||||
<p><span onclick="footnote_expand_reference_container();">[[label]]</span><span style="[[button-style]]"> [ <a id="footnote_reference_container_collapse_button" style="cursor:pointer;" onclick="footnote_expand_collapse_reference_container();">+</a> ]</span></p>
|
||||
</div>
|
||||
<div id="[[id]]" class="[[class]]">
|
||||
<div id="[[id]]" style="[[style]]">
|
||||
<table class="footnote-reference-container">
|
||||
<tbody>
|
||||
[[content]]
|
||||
|
@ -12,15 +12,17 @@
|
|||
<script type="text/javascript">
|
||||
function footnote_expand_reference_container() {
|
||||
jQuery("#[[id]]").show();
|
||||
jQuery("#footnote_reference_container_collapse_button").text("-");
|
||||
}
|
||||
function footnote_collapse_reference_container() {
|
||||
jQuery("#[[id]]").hide();
|
||||
jQuery("#footnote_reference_container_collapse_button").text("+");
|
||||
}
|
||||
function footnote_expand_collapse_reference_container() {
|
||||
var l_obj_ReferenceContainer = jQuery("#[[id]]");
|
||||
if (l_obj_ReferenceContainer.is(":hidden")) {
|
||||
l_obj_ReferenceContainer.show();
|
||||
jQuery("#footnote_reference_container_collapse_button").text("-");
|
||||
if (jQuery("#[[id]]").is(":hidden")) {
|
||||
footnote_expand_reference_container();
|
||||
} else {
|
||||
l_obj_ReferenceContainer.hide();
|
||||
jQuery("#footnote_reference_container_collapse_button").text("+");
|
||||
footnote_collapse_reference_container();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue