upcoming 2.1.4 was not ready, instead thanks for testing 2.1.4d8, to be shared on Forum too

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431035 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-12-03 17:38:14 +00:00
parent 95ed6631e2
commit 6e0698293c
18 changed files with 439 additions and 444 deletions

View file

@ -9,10 +9,11 @@
* Edited: * Edited:
* 2.1.2 add versioning of settings.css for cache busting 2020-11-19T1456+0100 * 2.1.2 add versioning of settings.css for cache busting 2020-11-19T1456+0100
* 2.1.4 automate passing version number for cache busting 2020-11-30T0648+0100 * 2.1.4 automate passing version number for cache busting 2020-11-30T0648+0100
* 2.1.4 started fixing punctuation-related localization issue in dashboard labels 2020-12-01T0211+0100 * 2.1.4 start fixing punctuation-related localization issue in dashboard labels 2020-12-01T0211+0100
* ########## this fix reverted for now; restore when updating strings and translations * ########## this fix reverted for now; restore when updating strings and translations
* 2.1.4 step argument and support for floating in numbox 2020-12-03T0952+0100
* *
* Last modified: 2020-12-01T1559+0100 * Last modified: 2020-12-03T0952+0100
*/ */

View file

@ -7,13 +7,12 @@
* @since 1.5.0 14.09.14 14:47 * @since 1.5.0 14.09.14 14:47
* *
* Edited for: * Edited for:
* 2.0.4 2020-11-01T0509+0100 * 2.0.4 restore arrow settings 2020-11-01T0509+0100
* 2.1.0 2020-11-08T2148+0100 * 2.1.0 read-on button label 2020-11-08T2148+0100
* 2.1.1 2020-11-16T2152+0100 * 2.1.1 options for ref container and alternative tooltips 2020-11-16T2152+0100
* 2.1.3 2020-11-24T0955+0100 * 2.1.4 settings for ref container and tooltips 2020-12-03T0950+0100
* 2.1.4 2020-11-28T1050+0100
* *
* Last modified: 2020-11-30T0711+0100 * Last modified: 2020-12-03T1359+0100
*/ */
/** /**

View file

@ -7,18 +7,19 @@
* @since 1.5.0 14.09.14 10:43 * @since 1.5.0 14.09.14 10:43
* *
* Edited for: * Edited for:
* 2.0.4 restore arrow settings 2020-11-02T2115+0100 * 2.0.4 restore arrow settings 2020-11-02T2115+0100
* 2.0.7 remove hook the_post 2020-11-06T1342+0100 * 2.0.7 remove hook the_post 2020-11-06T1342+0100
* 2.1.0 add read-on button label customization 2020-11-08T2149+0100 * 2.1.0 add read-on button label customization 2020-11-08T2149+0100
* 2.1.1 fix tooltips on site by alternative 2020-11-11T1819+0100 * 2.1.1 fix tooltips on site by alternative 2020-11-11T1819+0100
* 2.1.1 fix disabling backlink symbol 2020-11-16T2021+0100 * 2.1.1 fix disabling backlink symbol 2020-11-16T2021+0100
* 2.1.1 fix superscript by making it optional * 2.1.1 fix superscript by making it optional
* 2.1.1 fix start pages by option to hide ref container * 2.1.1 fix start pages by option to hide ref container
* 2.1.1 fix ref container by option restoring 3-column layout * 2.1.1 fix ref container by option restoring 3-column layout
* 2.1.1 fix ref container by option to switch index/symbol 2020-11-16T2022+0100 * 2.1.1 fix ref container by option to switch index/symbol 2020-11-16T2022+0100
* 2.1.3 fix ref container positioning by priority level 2020-11-17T0205+0100 * 2.1.3 fix ref container positioning by priority level 2020-11-17T0205+0100
* 2.1.4 more settings container keys 2020-12-03T0955+0100
* *
* Last modified: 2020-11-17T0311+0100 * Last modified: 2020-12-03T1603+0100
*/ */
@ -492,12 +493,12 @@ class MCI_Footnotes_Settings {
self::C_STR_BACKLINKS_TERMINATOR_CUSTOM => '', self::C_STR_BACKLINKS_TERMINATOR_CUSTOM => '',
// set backlinks column width: // set backlinks column width:
self::C_BOOL_BACKLINKS_COLUMN_WIDTH_ENABLED => 'yes', self::C_BOOL_BACKLINKS_COLUMN_WIDTH_ENABLED => 'no',
self::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR => '2', self::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR => '50',
self::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT => 'em', self::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT => 'px',
// set backlinks column max width: // set backlinks column max width:
self::C_BOOL_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'yes', self::C_BOOL_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED => 'no',
self::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140', self::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR => '140',
self::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px', self::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT => 'px',

View file

@ -8,22 +8,23 @@
* *
* Edited for v2.0.0 and following. * Edited for v2.0.0 and following.
* *
* 2.0.5: Autoload / infinite scroll support added thanks to code from * 2.0.5 Autoload / infinite scroll support added thanks to code from
* @docteurfitness <https://wordpress.org/support/topic/auto-load-post-compatibility-update/> * @docteurfitness <https://wordpress.org/support/topic/auto-load-post-compatibility-update/>
* *
* 2.0.9: DISABLED the_post HOOK 2020-11-08T1839+0100 * 2.0.9 DISABLED the_post HOOK 2020-11-08T1839+0100
* 2.1.0: promoted the 'Continue reading' button from localization to customization 2020-11-08T2146+0100 * 2.1.0 promoted the 'Continue reading' button from localization to customization 2020-11-08T2146+0100
* 2.1.1: combining identical footnotes: fixed dead links 2020-11-14T2233+0100 * 2.1.1 combining identical footnotes: fixed dead links 2020-11-14T2233+0100
* 2.1.1: options fixing ref container layout and referrer vertical alignment 2020-11-16T2024+0100 * 2.1.1 options fixing ref container layout and referrer vertical alignment 2020-11-16T2024+0100
* 2.1.1: option fixing ref container relative position 2020-11-17T0254+0100 * 2.1.1 option fixing ref container relative position 2020-11-17T0254+0100
* 2.1.2: options for the other hooks 2020-11-19T1849+0100 * 2.1.2 options for the other hooks 2020-11-19T1849+0100
* 2.1.4: fix line wrapping of URLs based on pattern, not link element 2020-11-25T0837+0100 * 2.1.4 fix line wrapping of URLs based on pattern, not link element 2020-11-25T0837+0100
* 2.1.4: fix issues with link elements by making them optional 2020-11-26T1051+0100 * 2.1.4 fix issues with link elements by making them optional 2020-11-26T1051+0100
* 2.1.4: support appending arrow when combining identicals is on 2020-11-26T1633+0100 * 2.1.4 support appending arrow when combining identicals is on 2020-11-26T1633+0100
* 2.1.4: disable or select backlink separator and terminator 2020-11-28T1048+0100 * 2.1.4 disable or select backlink separator and terminator 2020-11-28T1048+0100
* 2.1.4: optional line breaks to stack enumerated backlinks 2020-11-28T1049+0100 * 2.1.4 optional line breaks to stack enumerated backlinks 2020-11-28T1049+0100
* 2.1.4 ref container column width and tooltip font size settings 2020-12-03T0954+0100
* *
* Last modified: 2020-11-28T1049+0100 * Last modified: 2020-12-03T1623+0100
*/ */
// If called directly, abort: // If called directly, abort:
@ -165,9 +166,14 @@ class MCI_Footnotes_Task {
$l_str_BoxShadowColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR); $l_str_BoxShadowColor = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_MOUSE_OVER_BOX_SHADOW_COLOR);
// ref container first column width: // ref container first column width:
$l_bool_ColumnWidthEnabled = MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_BACKLINKS_COLUMN_WIDTH_ENABLED));
$l_int_ColumnWidthScalar = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR); $l_int_ColumnWidthScalar = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_BACKLINKS_COLUMN_WIDTH_SCALAR);
$l_str_ColumnWidthUnit = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT); $l_str_ColumnWidthUnit = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_BACKLINKS_COLUMN_WIDTH_UNIT);
$l_bool_ColumnMaxWidthEnabled = MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED));
$l_int_ColumnMaxWidthScalar = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR);
$l_str_ColumnMaxWidthUnit = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT);
if (!empty($l_int_ColumnWidthScalar)) { if (!empty($l_int_ColumnWidthScalar)) {
if ($l_str_ColumnWidthUnit == '%') { if ($l_str_ColumnWidthUnit == '%') {
if ($l_int_ColumnWidthScalar > 100) { if ($l_int_ColumnWidthScalar > 100) {
@ -178,10 +184,6 @@ class MCI_Footnotes_Task {
$l_int_ColumnWidthScalar = 0; $l_int_ColumnWidthScalar = 0;
} }
// ref container first column max width:
$l_int_ColumnMaxWidthScalar = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_INT_BACKLINKS_COLUMN_MAX_WIDTH_SCALAR);
$l_str_ColumnMaxWidthUnit = MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_BACKLINKS_COLUMN_MAX_WIDTH_UNIT);
if (!empty($l_int_ColumnMaxWidthScalar)) { if (!empty($l_int_ColumnMaxWidthScalar)) {
if ($l_str_ColumnMaxWidthUnit == '%') { if ($l_str_ColumnMaxWidthUnit == '%') {
if ($l_int_ColumnMaxWidthScalar > 100) { if ($l_int_ColumnMaxWidthScalar > 100) {
@ -201,20 +203,21 @@ class MCI_Footnotes_Task {
echo ".home .footnotes_reference_container { display: none; }\r\n"; echo ".home .footnotes_reference_container { display: none; }\r\n";
} }
// first column width: // ref container first column width:
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_BACKLINKS_COLUMN_WIDTH_ENABLED))) { if ( $l_bool_ColumnWidthEnabled || $l_bool_ColumnMaxWidthEnabled ) {
echo ".footnote-reference-container { table-layout: fixed; }";
echo ".footnote_plugin_index, .footnote_plugin_index_combi {"; echo ".footnote_plugin_index, .footnote_plugin_index_combi {";
echo " width: $l_int_ColumnWidthScalar$l_str_ColumnWidthUnit !important;";
echo '}'; if ( $l_bool_ColumnWidthEnabled ) {
} echo " width: $l_int_ColumnWidthScalar$l_str_ColumnWidthUnit !important;";
}
// first column max width: if ( $l_bool_ColumnMaxWidthEnabled ) {
if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_BACKLINKS_COLUMN_MAX_WIDTH_ENABLED))) { echo " max-width: $l_int_ColumnMaxWidthScalar$l_str_ColumnMaxWidthUnit !important;";
echo ".footnote_plugin_index, .footnote_plugin_index_combi {"; }
echo " max-width: $l_int_ColumnMaxWidthScalar$l_str_ColumnMaxWidthUnit !important;";
echo '}'; echo '}';
} }
// tooltip:
echo '.footnote_tooltip {'; echo '.footnote_tooltip {';
echo ' font-size: '; echo ' font-size: ';
@ -862,65 +865,64 @@ class MCI_Footnotes_Task {
$l_str_FootnoteBacklinks = $l_str_FootnoteReference; $l_str_FootnoteBacklinks = $l_str_FootnoteReference;
$l_str_FootnoteBacklinks .= $l_str_BacklinkEvent; $l_str_FootnoteBacklinks .= $l_str_BacklinkEvent;
// finish both single note and notes cluster, depending on switch option status: // continue both single note and notes cluster, depending on switch option status:
if ($l_bool_SymbolSwitch) { if ($l_bool_SymbolSwitch) {
$l_str_FootnoteReference .= ">$l_str_FootnoteId$l_str_FootnoteArrow</$l_str_LinkSpan>"; $l_str_FootnoteReference .= ">$l_str_FootnoteId$l_str_FootnoteArrow";
$l_str_FootnoteBacklinks .= ">$l_str_FootnoteId$l_str_FootnoteArrow</$l_str_LinkSpan>"; $l_str_FootnoteBacklinks .= ">$l_str_FootnoteId$l_str_FootnoteArrow";
} else { } else {
$l_str_FootnoteReference .= ">$l_str_FootnoteArrow$l_str_FootnoteId</$l_str_LinkSpan>"; $l_str_FootnoteReference .= ">$l_str_FootnoteArrow$l_str_FootnoteId";
$l_str_FootnoteBacklinks .= ">$l_str_FootnoteArrow$l_str_FootnoteId</$l_str_LinkSpan>"; $l_str_FootnoteBacklinks .= ">$l_str_FootnoteArrow$l_str_FootnoteId";
} }
// If that is the only footnote with this text, were done. // If that is the only footnote with this text, were nearly done.
}
// CHECK IF COMBINING IDENTICALS IS TURNED ON, and // check if it isn't the last footnote in the array:
// check if it isn't the last footnote in the array: if ($l_int_FirstFootnoteIndex < count(self::$a_arr_Footnotes)) {
if ($l_int_FirstFootnoteIndex < count(self::$a_arr_Footnotes) && MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES))) {
// get all footnotes that haven't passed yet: // get all footnotes that haven't passed yet:
for ($l_int_CheckIndex = $l_int_FirstFootnoteIndex; $l_int_CheckIndex < count(self::$a_arr_Footnotes); $l_int_CheckIndex++) { for ($l_int_CheckIndex = $l_int_FirstFootnoteIndex; $l_int_CheckIndex < count(self::$a_arr_Footnotes); $l_int_CheckIndex++) {
// check if a further footnote is the same as the actual one: // check if a further footnote is the same as the actual one:
if ($l_str_FootnoteText == self::$a_arr_Footnotes[$l_int_CheckIndex]) { if ($l_str_FootnoteText == self::$a_arr_Footnotes[$l_int_CheckIndex]) {
// if so, set the further footnote as empty so it won't be displayed later: // if so, set the further footnote as empty so it won't be displayed later:
self::$a_arr_Footnotes[$l_int_CheckIndex] = ""; self::$a_arr_Footnotes[$l_int_CheckIndex] = "";
// cancel the event altogether: // cancel the event altogether:
$l_str_BacklinkEvent = ""; $l_str_BacklinkEvent = "";
// HERE GOES THE FRAGMENT IDENTIFIER AND THE BACKLINK TOO: // HERE GOES THE FRAGMENT IDENTIFIER AND THE BACKLINK TOO:
// add the footnote index to the actual index: // add the footnote index to the actual index:
// update the footnote ID: // update the footnote ID:
$l_str_FootnoteId = MCI_Footnotes_Convert::Index(($l_int_CheckIndex + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)); $l_str_FootnoteId = MCI_Footnotes_Convert::Index(($l_int_CheckIndex + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
// resume composing the backlinks enumeration: // resume composing the backlinks enumeration:
$l_str_FootnoteBacklinks .= "$l_str_Separator$l_str_LineBreak<$l_str_LinkSpan"; $l_str_FootnoteBacklinks .= "$l_str_Separator</$l_str_LinkSpan>";
$l_str_FootnoteBacklinks .= ' id="footnote_plugin_reference_'; $l_str_FootnoteBacklinks .= "$l_str_LineBreak<$l_str_LinkSpan";
$l_str_FootnoteBacklinks .= $l_int_PostId; $l_str_FootnoteBacklinks .= ' id="footnote_plugin_reference_';
$l_str_FootnoteBacklinks .= "_$l_str_FootnoteId"; $l_str_FootnoteBacklinks .= $l_int_PostId;
$l_str_FootnoteBacklinks .= '" class="footnote_backlink" '; $l_str_FootnoteBacklinks .= "_$l_str_FootnoteId";
$l_str_FootnoteBacklinks .= 'onclick="footnote_moveToAnchor_' . $l_int_PostId; $l_str_FootnoteBacklinks .= '" class="footnote_backlink" ';
$l_str_FootnoteBacklinks .= "('footnote_plugin_tooltip_$l_int_PostId"; $l_str_FootnoteBacklinks .= 'onclick="footnote_moveToAnchor_' . $l_int_PostId;
$l_str_FootnoteBacklinks .= "_$l_str_FootnoteId');\">"; $l_str_FootnoteBacklinks .= "('footnote_plugin_tooltip_$l_int_PostId";
$l_str_FootnoteBacklinks .= $l_bool_SymbolSwitch ? '' : $l_str_FootnoteArrow; $l_str_FootnoteBacklinks .= "_$l_str_FootnoteId');\">";
$l_str_FootnoteBacklinks .= $l_str_FootnoteId; $l_str_FootnoteBacklinks .= $l_bool_SymbolSwitch ? '' : $l_str_FootnoteArrow;
$l_str_FootnoteBacklinks .= $l_bool_SymbolSwitch ? $l_str_FootnoteArrow : ''; $l_str_FootnoteBacklinks .= $l_str_FootnoteId;
$l_str_FootnoteBacklinks .= "</$l_str_LinkSpan>"; $l_str_FootnoteBacklinks .= $l_bool_SymbolSwitch ? $l_str_FootnoteArrow : '';
// this legacy is not used:
//$l_str_FootnoteIndex .= ', ' . MCI_Footnotes_Convert::Index(($l_int_CheckIndex + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE));
}
} }
} }
$l_str_FootnoteReference .= "$l_str_Terminator</$l_str_LinkSpan>";
$l_str_FootnoteBacklinks .= "$l_str_Terminator</$l_str_LinkSpan>";
} }
// line wrapping of URLs already fixed, see: // line wrapping of URLs already fixed, see:

View file

@ -4,9 +4,9 @@
* Created-Date: 15.05.14 * Created-Date: 15.05.14
* Created-Time: 16:21 * Created-Time: 16:21
* Since: 1.0 * Since: 1.0
* Version: 2.1.4d7 * Version: 2.1.4d8
* *
* Last modified: 2020-12-03T0836+0100 * Last modified: 2020-12-03T1834+0100
*/ */
@ -261,28 +261,30 @@ when hovered in some themes, not in others:
} }
/* /*
These rules are moved to settings defaulting to this These rules are just defauls preventing the table from filling the width.
since 2.1.4 They are not very effective by lack of table-layout: fixed;
auto-expanding column to fit widest since 2.1.4 settings are optionally available, with table-layout: fixed;
Not using 'max-content' as that causes no-wrap and overflows.
By default, the backlink column is auto-expanding to fit widest.
Not using 'max-content' as that causes no-wrap and overflows.
These are overridden if settings are enabled.
*/
.footnote_plugin_index, .footnote_plugin_index,
.footnote_plugin_index_combi { .footnote_plugin_index_combi {
max-width: 140px; max-width: 100px;
width: 2em; width: 2.5em;
} }
*/
/* /*
Responsive Responsive
*/ */
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {
.footnote_plugin_index, .footnote_plugin_index,
.footnote_plugin_index_combi { .footnote_plugin_index_combi {
max-width: 100px; max-width: 80px;
} }
} }
/**************************************************************** /****************************************************************
Footnotes printing style rules Footnotes printing style rules

View file

@ -4,17 +4,18 @@
* Created-Date: 15.05.14 * Created-Date: 15.05.14
* Created-Time: 16:21 * Created-Time: 16:21
* Since: 1.0 * Since: 1.0
* Version: 2.1.4d7 * Version: 2.1.4d8
* *
* Last modified: 2020-12-03T0837+0100 * Last modified: 2020-12-03T1834+0100
*/ */
/* MCI Footnotes logo /*****************************************************
* MCI Footnotes logo
* The classes with 'heading' fix display in dashboard
* See class/config.php and css/public.css The classes with 'heading' fix display in dashboard
*/ See class/config.php and css/public.css
*/
.postbox-header { .postbox-header {
position: relative; position: relative;
@ -38,7 +39,7 @@
left: 96px; left: 96px;
} }
/* /*************************************************************************
On User Request: limited to a number of IDs to not affect all dashboards On User Request: limited to a number of IDs to not affect all dashboards
<https://wordpress.org/support/topic/all-input-have-width-80/> <https://wordpress.org/support/topic/all-input-have-width-80/>
*/ */
@ -119,7 +120,7 @@ span.footnote_highlight_placeholder {
text-align: center !important; text-align: center !important;
} }
/* /*********************************************************
initialized from style attributes in templates initialized from style attributes in templates
IE doesnt support nth child, but these are not critical IE doesnt support nth child, but these are not critical
*/ */
@ -143,6 +144,10 @@ IE doesnt support nth child, but these are not critical
white-space: nowrap; white-space: nowrap;
} }
#settings-other tr td:nth-child(2) {
width: 30%;
}
.footnotes-description { .footnotes-description {
padding: 0 10%; padding: 0 10%;
} }
@ -150,7 +155,3 @@ IE doesnt support nth child, but these are not critical
font-size: 1.4em; font-size: 1.4em;
font-style: italic; font-style: italic;
} }
#settings-other tr td:nth-child(2) {
width: 30%;
}

View file

@ -4,12 +4,12 @@
Plugin URI: https://wordpress.org/plugins/footnotes/ Plugin URI: https://wordpress.org/plugins/footnotes/
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine. Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
Author: Mark Cheret Author: Mark Cheret
Version: 2.1.4d7 Version: 2.1.4d8
Author URI: http://cheret.de/plugins/footnotes-2/ Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes Text Domain: footnotes
Domain Path: /languages Domain Path: /languages
*/ */
define( 'FOOTNOTES_VERSION', '2.1.4d7' ); define( 'FOOTNOTES_VERSION', '2.1.4d8' );
/* /*
Copyright 2020 Mark Cheret (email: mark@cheret.de) Copyright 2020 Mark Cheret (email: mark@cheret.de)

View file

@ -80,37 +80,26 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog == == Changelog ==
= 2.1.4d7 = = 2.1.4d8 =
- Bugfix: Reference container: fix layout issues by moving backlink column width to settings
- Bugfix: Tooltip: fix issues with font size by moving it to settings and defaulting to previous
= 2.1.4d6 =
- Bugfix: Dashboard: move arrow settings from Customize to Settings > Reference container to reunite and fix issue with new heading wording
= 2.1.4d5
- Bugfix: Reference container: separating and terminating punctuation optional and customizable
- Bugfix: Reference container: Label: delete overflow hidden rule
- Bugfix: WordPress hooks: the_content: set priority to 1000 as a safeguard
- Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top - Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top
- Bugfix: Dashboard: move arrow settings from Customize to Settings > Reference container to reunite and fix issue with new heading wording
- Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box - Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box
- Bugfix: Layout: Tooltips: prevent line break in Read-on link label
= 2.1.4d4 = - Bugfix: Reference container, tooltips: fix line wrapping of URLs based on pattern, not link element
- Bugfix: Reference container: Backlinks: disable separators and terminators
- Bugfix: Reference container: Backlinks: optional line breaks to stack enumerations
= 2.1.4d3 =
- Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on - Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on
- Bugfix: Reference container: Backlinks: deprioritize hover underline to ease customization - Bugfix: Reference container: Backlinks: deprioritize hover underline to ease customization
- Bugfix: Footnote referrers: disable hover underline - Bugfix: Reference container: Backlinks: fix line breaking with respect to separators and terminators
- Bugfix: Reference container: Backlinks: options to disable separators and terminators
= 2.1.4d2 = - Bugfix: Reference container: Backlinks: optional line breaks to stack enumerations
- Bugfix: Styling: Referrers and backlinks: make link elements optional to fix issues - Bugfix: Reference container: fix layout issues by moving backlink column width to settings
- Update: Dashboard: Expert mode: streamline and update description for hooks and priority levels - Bugfix: Reference container: Label: delete overflow hidden rule
- Bugfix: Layout: Tooltip: prevent line break in Read-on link label - Bugfix: Reference container: separating and terminating punctuation optional and customizable
= 2.1.4d1 =
- Bugfix: Reference container, tooltips: fix line wrapping of URLs based on pattern, not link element
- Bugfix: Reference container: Styles: re-add the class dedicated to combined footnotes indices - Bugfix: Reference container: Styles: re-add the class dedicated to combined footnotes indices
- Bugfix: Styling: Referrers and backlinks: make link elements optional to fix issues
- Bugfix: Styling: Referrers: disable hover underline
- Bugfix: Styling: Tooltips: fix font size issue by moving it to settings, defaulting to inherit
- Bugfix: WordPress hooks: the_content: set priority to 1000 as a safeguard
- Update: Dashboard: Expert mode: streamline and update description for hooks and priority levels
= 2.1.3 = = 2.1.3 =
- Bugfix: disable widget_text hook by default to fix accordions declaring headings as widgets - Bugfix: disable widget_text hook by default to fix accordions declaring headings as widgets

View file

@ -1,27 +1,27 @@
<table class="widefat fixed"> <table id="customize-css" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-css]]</td> <td>[[label-css]]</td>
<td>[[css]]</td> <td>[[css]]</td>
</tr> </tr>
<tr> <tr>
<td colspan="2">[[headline]]</td> <td colspan="2">[[headline]]</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><strong>[[label-class-1]]</strong><br/><em>[[class-1]]</em></td> <td><strong>[[label-class-1]]</strong><br/><em>[[class-1]]</em></td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><strong>[[label-class-2]]</strong><br/><em>[[class-2]]</em></td> <td><strong>[[label-class-2]]</strong><br/><em>[[class-2]]</em></td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><strong>[[label-class-3]]</strong><br/><em>[[class-3]]</em></td> <td><strong>[[label-class-3]]</strong><br/><em>[[class-3]]</em></td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><strong>[[label-class-4]]</strong><br/><em>[[class-4]]</em></td> <td><strong>[[label-class-4]]</strong><br/><em>[[class-4]]</em></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,68 +1,68 @@
<table class="widefat fixed"> <table id="customize-mouse-over-box" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-enable]]</td> <td>[[label-enable]]</td>
<td>[[enable]]</td> <td>[[enable]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-alternative]]</td> <td>[[label-alternative]]</td>
<td>[[alternative]]</td> <td>[[alternative]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-activate-excerpt]]</td> <td>[[label-activate-excerpt]]</td>
<td>[[activate-excerpt]]</td> <td>[[activate-excerpt]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-excerpt-length]]</td> <td>[[label-excerpt-length]]</td>
<td>[[excerpt-length]]</td> <td>[[excerpt-length]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-readon]]</td> <td>[[label-readon]]</td>
<td>[[readon]]</td> <td>[[readon]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-position]]</td> <td>[[label-position]]</td>
<td>[[position]]</td> <td>[[position]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-offset-x]]</td> <td>[[label-offset-x]]</td>
<td>[[offset-x]] <em>[[notice-offset-x]]</em></td> <td>[[offset-x]] <em>[[notice-offset-x]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-offset-y]]</td> <td>[[label-offset-y]]</td>
<td>[[offset-y]] <em>[[notice-offset-y]]</em></td> <td>[[offset-y]] <em>[[notice-offset-y]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-max-width]]</td> <td>[[label-max-width]]</td>
<td>[[max-width]] <em>[[notice-max-width]]</em></td> <td>[[max-width]] <em>[[notice-max-width]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-font-size]]</td> <td>[[label-font-size]]</td>
<td>[[font-size-enable]][[font-size-scalar]][[font-size-unit]] <em>[[font-size-comment]]</em></td> <td>[[font-size-enable]][[font-size-scalar]][[font-size-unit]] <em>[[font-size-comment]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-color]]</td> <td>[[label-color]]</td>
<td>[[color]] <em>[[notice-color]]</em></td> <td>[[color]] <em>[[notice-color]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-background]]</td> <td>[[label-background]]</td>
<td>[[background]] <em>[[notice-background]]</em></td> <td>[[background]] <em>[[notice-background]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-border-width]]</td> <td>[[label-border-width]]</td>
<td>[[border-width]] <em>[[notice-border-width]]</em></td> <td>[[border-width]] <em>[[notice-border-width]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-border-color]]</td> <td>[[label-border-color]]</td>
<td>[[border-color]] <em>[[notice-border-color]]</em></td> <td>[[border-color]] <em>[[notice-border-color]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-border-radius]]</td> <td>[[label-border-radius]]</td>
<td>[[border-radius]] <em>[[notice-border-radius]]</em></td> <td>[[border-radius]] <em>[[notice-border-radius]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-box-shadow-color]]</td> <td>[[label-box-shadow-color]]</td>
<td>[[box-shadow-color]] <em>[[notice-box-shadow-color]]</em></td> <td>[[box-shadow-color]] <em>[[notice-box-shadow-color]]</em></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,16 +1,16 @@
<table class="widefat fixed"> <table id="customize-superscript" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-superscript]]</td> <td>[[label-superscript]]</td>
<td>[[superscript]]</td> <td>[[superscript]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-before]]</td> <td>[[label-before]]</td>
<td>[[before]]</td> <td>[[before]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-after]]</td> <td>[[label-after]]</td>
<td>[[after]]</td> <td>[[after]]</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,37 +1,37 @@
<table class="widefat fixed"> <table id="diagnostics" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-server]]</td> <td>[[label-server]]</td>
<td>[[server]]</td> <td>[[server]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-php]]</td> <td>[[label-php]]</td>
<td>[[php]]</td> <td>[[php]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-user-agent]]</td> <td>[[label-user-agent]]</td>
<td>[[user-agent]]</td> <td>[[user-agent]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-max-execution-time]]</td> <td>[[label-max-execution-time]]</td>
<td>[[max-execution-time]]</td> <td>[[max-execution-time]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-memory-limit]]</td> <td>[[label-memory-limit]]</td>
<td>[[memory-limit]]</td> <td>[[memory-limit]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-php-extensions]]</td> <td>[[label-php-extensions]]</td>
<td>[[php-extensions]]</td> <td>[[php-extensions]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-wordpress]]</td> <td>[[label-wordpress]]</td>
<td>[[wordpress]]</td> <td>[[wordpress]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-theme]]</td> <td>[[label-theme]]</td>
<td>[[theme]]</td> <td>[[theme]]</td>
</tr> </tr>
[[plugins]] [[plugins]]
</tbody> </tbody>
</table> </table>

View file

@ -5,43 +5,43 @@
</div> </div>
<table id="expert-lookup" class="widefat fixed"> <table id="expert-lookup" class="widefat fixed">
<thead> <thead>
<tr> <tr>
<th>[[head-hook]]</th> <th>[[head-hook]]</th>
<th>[[head-checkbox]]</th> <th>[[head-checkbox]]</th>
<th>[[head-numbox]]</th> <th>[[head-numbox]]</th>
<th>[[head-url]]</th> <th>[[head-url]]</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>[[label-the-title]]</td> <td>[[label-the-title]]</td>
<td>[[the-title]]</td> <td>[[the-title]]</td>
<td>[[priority-the-title]]</td> <td>[[priority-the-title]]</td>
<td><a href="[[url-the-title]]" target="_blank">[[url-the-title]]</a></td> <td><a href="[[url-the-title]]" target="_blank">[[url-the-title]]</a></td>
</tr> </tr>
<tr> <tr>
<td>[[label-the-content]]</td> <td>[[label-the-content]]</td>
<td>[[the-content]]</td> <td>[[the-content]]</td>
<td>[[priority-the-content]]</td> <td>[[priority-the-content]]</td>
<td><a href="[[url-the-content]]" target="_blank">[[url-the-content]]</a></td> <td><a href="[[url-the-content]]" target="_blank">[[url-the-content]]</a></td>
</tr> </tr>
<tr> <tr>
<td>[[label-the-excerpt]]</td> <td>[[label-the-excerpt]]</td>
<td>[[the-excerpt]]</td> <td>[[the-excerpt]]</td>
<td>[[priority-the-excerpt]]</td> <td>[[priority-the-excerpt]]</td>
<td><a href="[[url-the-excerpt]]" target="_blank">[[url-the-excerpt]]</a></td> <td><a href="[[url-the-excerpt]]" target="_blank">[[url-the-excerpt]]</a></td>
</tr> </tr>
<tr> <tr>
<td>[[label-widget-title]]</td> <td>[[label-widget-title]]</td>
<td>[[widget-title]]</td> <td>[[widget-title]]</td>
<td>[[priority-widget-title]]</td> <td>[[priority-widget-title]]</td>
<td><a href="[[url-widget-title]]" target="_blank">[[url-widget-title]]</a></td> <td><a href="[[url-widget-title]]" target="_blank">[[url-widget-title]]</a></td>
</tr> </tr>
<tr> <tr>
<td>[[label-widget-text]]</td> <td>[[label-widget-text]]</td>
<td>[[widget-text]]</td> <td>[[widget-text]]</td>
<td>[[priority-widget-text]]</td> <td>[[priority-widget-text]]</td>
<td><a href="[[url-widget-text]]" target="_blank">[[url-widget-text]]</a></td> <td><a href="[[url-widget-text]]" target="_blank">[[url-widget-text]]</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,12 +1,12 @@
<table class="widefat fixed"> <table id="settings-love" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-love]]</td> <td>[[label-love]]</td>
<td>[[love]]</td> <td>[[love]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-no-love]]</td> <td>[[label-no-love]]</td>
<td>[[no-love]]</td> <td>[[no-love]]</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,17 +1,17 @@
<table id="settings-other" class="widefat fixed"> <table id="settings-other" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-link]]</td> <td>[[label-link]]</td>
<td>[[link]]</td> <td>[[link]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-excerpt]]</td> <td>[[label-excerpt]]</td>
<td>[[excerpt]]<em>[[excerpt-comment1]]</em></td> <td>[[excerpt]]<em>[[excerpt-comment1]]</em></td>
<td><em>[[excerpt-comment2]]<br />[[excerpt-comment3]]</em></td> <td><em>[[excerpt-comment2]]<br />[[excerpt-comment3]]</em></td>
</tr> </tr>
<tr> <tr>
<td>[[label-expert-mode]]</td> <td>[[label-expert-mode]]</td>
<td>[[expert-mode]]</td> <td>[[expert-mode]]</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,78 +1,78 @@
<table class="widefat fixed"> <table id="settings-reference-container" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-name]]</td> <td>[[label-name]]</td>
<td>[[name]]</td> <td>[[name]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-position]]</td> <td>[[label-position]]</td>
<td>[[position]]</td> <td>[[position]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-startpage]]</td> <td>[[label-startpage]]</td>
<td>[[startpage]]</td> <td>[[startpage]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-collapse]]</td> <td>[[label-collapse]]</td>
<td>[[collapse]]</td> <td>[[collapse]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-symbol]]</td> <td>[[label-symbol]]</td>
<td> <td>
[[symbol-enable]] [[symbol-enable]]
[[symbol-options]] [[symbol-options]]
[[symbol-custom]] [[symbol-custom]]
<em>[[symbol-comment]]</em> <em>[[symbol-comment]]</em>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-switch]]</td> <td>[[label-switch]]</td>
<td>[[switch]]</td> <td>[[switch]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-3column]]</td> <td>[[label-3column]]</td>
<td> <td>
[[3column]] [[3column]]
<em>[[3column-comment]]</em> <em>[[3column-comment]]</em>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-separator]]</td> <td>[[label-separator]]</td>
<td> <td>
[[separator-enable]] [[separator-enable]]
[[separator-options]] [[separator-options]]
[[separator-custom]] [[separator-custom]]
<em>[[separator-comment]]</em> <em>[[separator-comment]]</em>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-terminator]]</td> <td>[[label-terminator]]</td>
<td> <td>
[[terminator-enable]] [[terminator-enable]]
[[terminator-options]] [[terminator-options]]
[[terminator-custom]] [[terminator-custom]]
<em>[[terminator-comment]]</em> <em>[[terminator-comment]]</em>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-width]]</td> <td>[[label-width]]</td>
<td> <td>
[[width-enable]] [[width-enable]]
[[width-scalar]] [[width-scalar]]
[[width-unit]] [[width-unit]]
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-max-width]]</td> <td>[[label-max-width]]</td>
<td> <td>
[[max-width-enable]] [[max-width-enable]]
[[max-width-scalar]] [[max-width-scalar]]
[[max-width-unit]] [[max-width-unit]]
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-line-break]]</td> <td>[[label-line-break]]</td>
<td>[[line-break]]</td> <td>[[line-break]]</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1,27 +1,27 @@
<table class="widefat fixed"> <table id="settings-styling" class="widefat fixed">
<tbody> <tbody>
<tr> <tr>
<td>[[label-short-code-start]]</td> <td>[[label-short-code-start]]</td>
<td> <td>
<span>[[short-code-start]]</span> <span>[[short-code-start]]</span>
<span>[[short-code-start-user]]</span> <span>[[short-code-start-user]]</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-short-code-end]]</td> <td>[[label-short-code-end]]</td>
<td> <td>
<span>[[short-code-end]]</span> <span>[[short-code-end]]</span>
<span>[[short-code-end-user]]</span> <span>[[short-code-end-user]]</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>[[label-counter-style]]</td> <td>[[label-counter-style]]</td>
<td>[[counter-style]]</td> <td>[[counter-style]]</td>
</tr> </tr>
<tr> <tr>
<td>[[label-identical]]</td> <td>[[label-identical]]</td>
<td>[[identical]]</td> <td>[[identical]]</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<script type="text/javascript"> <script type="text/javascript">

View file

@ -2,7 +2,7 @@
<td <td
class="footnote_plugin_index_combi[[pointer]]" class="footnote_plugin_index_combi[[pointer]]"
[[event]] [[event]]
>[[backlinks]][[terminator]]</td> >[[backlinks]]</td>
<td <td
class="footnote_plugin_text" class="footnote_plugin_text"
>[[text]]</td> >[[text]]</td>