diff --git a/class/config.php b/class/config.php
index d996170..617f63d 100644
--- a/class/config.php
+++ b/class/config.php
@@ -5,6 +5,8 @@
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
+ *
+ * Last edited for v2.0.4 2020-11-01T0452+0100
*/
@@ -16,39 +18,63 @@
*/
class MCI_Footnotes_Config {
- /**
- * Internal Plugin name.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- const C_STR_PLUGIN_NAME = "footnotes";
+ /**
+ * Internal Plugin name.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ */
+ const C_STR_PLUGIN_NAME = "footnotes";
- /**
- * Public Plugin name.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- const C_STR_PLUGIN_PUBLIC_NAME = '';
+ /**
+ * Public Plugin name.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ *
+ * edited classes for v2.0.4
+ */
+ const C_STR_PLUGIN_PUBLIC_NAME = '';
- /**
- * Html tag for the LOVE symbol.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- const C_STR_LOVE_SYMBOL = '♥';
+ /**
+ * Public Plugin name for dashboard heading
+ *
+ * After properly displaying in dashboard headings until WPv5.4, the above started
+ * in WPv5.5 being torn apart as if the headline was text-align:justify and not
+ * the last line. That ugly display bug badly affected the plugin’s communication.
+ * The only working solution found so far is using position:fixed in one heading
+ * that isn’t translated, and dropping the logo in another, translatable heading.
+ *
+ * @since 2.0.4
+ * @var string
+ */
+ const C_STR_PLUGIN_HEADING_NAME = '';
- /**
- * Short code to DON'T display the 'LOVE ME' slug on certain pages.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]';
-}
\ No newline at end of file
+ /**
+ * Html tag for the LOVE symbol.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ */
+ const C_STR_LOVE_SYMBOL = '♥';
+
+ /**
+ * HTML code for the 'love' symbol used in dashboard heading
+ *
+ * @since 2.0.4
+ * @var string
+ */
+ const C_STR_LOVE_SYMBOL_HEADING = '';
+
+ /**
+ * Short code to DON'T display the 'LOVE ME' slug on certain pages.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ */
+ const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]';
+}
diff --git a/class/dashboard/subpage-main.php b/class/dashboard/subpage-main.php
index d3b9f08..8904a33 100644
--- a/class/dashboard/subpage-main.php
+++ b/class/dashboard/subpage-main.php
@@ -5,6 +5,8 @@
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 14:47
+ *
+ * Edited for v2.0.4 2020-11-01T0509+0100
*/
/**
@@ -72,17 +74,23 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
* @author Stefan Herndler
* @since 1.5.0
* @return array
+ *
+ * Edited for v2.0.4 to reflect changes in display since WPv5.5
+ * Details in class/config.php
*/
protected function getMetaBoxes() {
return array(
+ // Change string "%s styling" to "Footnotes styling":
+ $this->addMetaBox("settings", "styling", __("Footnotes styling", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Styling"),
$this->addMetaBox("settings", "reference-container", __("References Container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "ReferenceContainer"),
- $this->addMetaBox("settings", "styling", sprintf(__("%s styling", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME), "Styling"),
- $this->addMetaBox("settings", "love", MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME . ' ' . MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, "Love"),
+ // Leave intact since this is not localized:
+ $this->addMetaBox("settings", "love", MCI_Footnotes_Config::C_STR_PLUGIN_HEADING_NAME . ' ' . MCI_Footnotes_Config::C_STR_LOVE_SYMBOL_HEADING, "Love"),
$this->addMetaBox("settings", "other", __("Other", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Other"),
+ // This is restored to meet user demand for arrow symbol semantics:
+ $this->addMetaBox("customize", "hyperlink-arrow", __("Hyperlink symbol in the Reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "HyperlinkArrow"),
$this->addMetaBox("customize", "superscript", __("Superscript layout", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "Superscript"),
$this->addMetaBox("customize", "mouse-over-box", __("Mouse-over box", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "MouseOverBox"),
-
$this->addMetaBox("customize", "custom-css", __("Add custom CSS to the public page", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "CustomCSS"),
$this->addMetaBox("expert", "lookup", __("WordPress hooks to look for Footnote short codes", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "lookupHooks"),
@@ -360,6 +368,34 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine {
echo $l_obj_Template->getContent();
}
+ /**
+ * Displays all settings for the prepended symbol
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ *
+ * Edited heading for v2.0.4
+ * The former 'hyperlink arrow' became 'prepended arrow' in v2.0.3 after
+ * a user complaint about missing backlinking semantics of the footnote number.
+ */
+ public function HyperlinkArrow() {
+ // load template file
+ $l_obj_Template = new MCI_Footnotes_Template(MCI_Footnotes_Template::C_STR_DASHBOARD, "customize-hyperlink-arrow");
+ // replace all placeholders
+ $l_obj_Template->replace(
+ array(
+ "label-symbol" => $this->addLabel(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW, __("Hyperlink symbol", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
+ "symbol" => $this->addSelectBox(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW, MCI_Footnotes_Convert::getArrow()),
+
+ "label-user-defined" => $this->addLabel(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED, __("or enter a user defined symbol", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)),
+ "user-defined" => $this->addTextBox(MCI_Footnotes_Settings::C_STR_HYPERLINK_ARROW_USER_DEFINED),
+ "comment" => __("if set it overrides the hyperlink symbol above", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)
+ )
+ );
+ // display template with replaced placeholders
+ echo $l_obj_Template->getContent();
+ }
+
/**
* Displays the custom css box.
*
diff --git a/class/init.php b/class/init.php
index b249557..b58a0af 100644
--- a/class/init.php
+++ b/class/init.php
@@ -1,16 +1,18 @@
/**
* Entry point of the Plugin. Loads the Dashboard and executes the Task.
@@ -20,91 +22,98 @@
*/
class MCI_Footnotes {
- /**
- * Reference to the Plugin Task object.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var null|MCI_Footnotes_Task
- */
- public $a_obj_Task = null;
+ /**
+ * Reference to the Plugin Task object.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var null|MCI_Footnotes_Task
+ */
+ public $a_obj_Task = null;
- /**
- * Executes the Plugin.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- */
- public function run() {
- // register language
- MCI_Footnotes_Language::registerHooks();
- // register Button hooks
- MCI_Footnotes_WYSIWYG::registerHooks();
- // register general hooks
- MCI_Footnotes_Hooks::registerHooks();
-
- // initialize the Plugin Dashboard
- $this->initializeDashboard();
- // initialize the Plugin Task
- $this->initializeTask();
-
- // Register all Public Stylesheets and Scripts
- add_action('init', array($this, 'registerPublic'));
- // Enqueue all Public Stylesheets and Scripts
- add_action('wp_enqueue_scripts', array($this, 'registerPublic'));
- // Register all Widgets of the Plugin.
- add_action('widgets_init', array($this, 'initializeWidgets'));
- }
+ /**
+ * Executes the Plugin.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ */
+ public function run() {
+ // register language
+ MCI_Footnotes_Language::registerHooks();
+ // register Button hooks
+ MCI_Footnotes_WYSIWYG::registerHooks();
+ // register general hooks
+ MCI_Footnotes_Hooks::registerHooks();
+
+ // initialize the Plugin Dashboard
+ $this->initializeDashboard();
+ // initialize the Plugin Task
+ $this->initializeTask();
+
+ // Register all Public Stylesheets and Scripts
+ add_action('init', array($this, 'registerPublic'));
+ // Enqueue all Public Stylesheets and Scripts
+ add_action('wp_enqueue_scripts', array($this, 'registerPublic'));
+ // Register all Widgets of the Plugin.
+ add_action('widgets_init', array($this, 'initializeWidgets'));
+ }
- /**
- * Initializes all Widgets of the Plugin.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- */
- public function initializeWidgets() {
- register_widget("MCI_Footnotes_Widget_ReferenceContainer");
- }
+ /**
+ * Initializes all Widgets of the Plugin.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ */
+ public function initializeWidgets() {
+ register_widget("MCI_Footnotes_Widget_ReferenceContainer");
+ }
- /**
- * Initializes the Dashboard of the Plugin and loads them.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- */
- private function initializeDashboard() {
- new MCI_Footnotes_Layout_Init();
- }
+ /**
+ * Initializes the Dashboard of the Plugin and loads them.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ */
+ private function initializeDashboard() {
+ new MCI_Footnotes_Layout_Init();
+ }
- /**
- * Initializes the Plugin Task and registers the Task hooks.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- */
- private function initializeTask() {
- $this->a_obj_Task = new MCI_Footnotes_Task();
- $this->a_obj_Task->registerHooks();
- }
+ /**
+ * Initializes the Plugin Task and registers the Task hooks.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ */
+ private function initializeTask() {
+ $this->a_obj_Task = new MCI_Footnotes_Task();
+ $this->a_obj_Task->registerHooks();
+ }
- /**
- * Registers and enqueue scripts and stylesheets to the public pages.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- */
- public function registerPublic() {
-
- // Add jQueryUI following @vonpiernik :
- wp_register_script( 'jQueryUI', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js', null, null, true );
- wp_enqueue_script( 'jQueryUI' );
-
- // IMPORTANT: current version number for cache busting:
- wp_enqueue_style('mci-footnotes-css-public', plugins_url('../css/public.css', __FILE__), '', '2.0.3');
- // add the jQuery plugin (already registered by WordPress)
- wp_enqueue_script('jquery');
-
- // Finish adding jQueryUI:
- wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__), ['jQueryUI']);
- }
+ /**
+ * Registers and enqueues scripts and stylesheets to the public pages.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ *
+ * Updated for v2.0.0 by adding jQueryUI following vonpiernik (@vonpiernik).
+ * See
+ *
+ * jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released.
+ */
+ public function registerPublic() {
+
+ // Add jQueryUI:
+ wp_register_script( 'jQueryUI', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js', null, null, true );
+ wp_enqueue_script( 'jQueryUI' );
+
+ // IMPORTANT: up-to-date plugin version number for cache busting.
+ wp_enqueue_style('mci-footnotes-css-public', plugins_url('../css/public.css', __FILE__), '', '2.0.4');
+ wp_enqueue_style('mci-footnotes-css-settings', plugins_url('../css/settings.css', __FILE__), '', '2.0.4');
+
+ // add the jQuery plugin (already registered by WordPress)
+ wp_enqueue_script('jquery');
+
+ // Finish adding jQueryUI:
+ wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__), ['jQueryUI']);
+ }
}
diff --git a/class/settings.php b/class/settings.php
index fa984d3..5305237 100644
--- a/class/settings.php
+++ b/class/settings.php
@@ -5,6 +5,8 @@
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 10:43
+ *
+ * Edited for v2.0.4 2020-11-01T0333+0100
*/
@@ -372,7 +374,10 @@ class MCI_Footnotes_Settings {
self::C_STR_REFERENCE_CONTAINER_NAME => 'References',
self::C_BOOL_REFERENCE_CONTAINER_COLLAPSE => '',
self::C_STR_REFERENCE_CONTAINER_POSITION => 'post_end',
- self::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES => 'yes',
+ // Identical footnotes should not be combined by default
+ // as long as the feature raises criticism for malfunctioning:
+ //
+ self::C_BOOL_COMBINE_IDENTICAL_FOOTNOTES => '',
self::C_STR_FOOTNOTES_SHORT_CODE_START => '((',
self::C_STR_FOOTNOTES_SHORT_CODE_END => '))',
self::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '',
@@ -581,4 +586,4 @@ class MCI_Footnotes_Settings {
register_setting($this->getContainer($i), $this->getContainer($i));
}
}
-}
\ No newline at end of file
+}
diff --git a/class/task.php b/class/task.php
index 736d8cb..4629814 100644
--- a/class/task.php
+++ b/class/task.php
@@ -6,10 +6,10 @@
* @author Stefan Herndler
* @since 1.5.0
*
+ * Edited for v2.0.0 and following.
+ * Last modified 2020-11-01T0342+0100
*/
-/*
-Last modified: 2020-10-29T1402+0100
-*/
+
// If called directly, abort:
defined( 'ABSPATH' ) or die;
@@ -309,10 +309,8 @@ class MCI_Footnotes_Task {
* @return string
*/
public function search($p_str_Content, $p_bool_ConvertHtmlChars, $p_bool_HideFootnotesText) {
- // prepare prepending post ID to make footnote IDs unique wrt archive view:
- $id_underscore = get_the_id();
- $id_underscore .= '_';
- self::$a_str_Prefix = $id_underscore;
+ // prepare prepending post ID to make footnote IDs unique wrt archive view:
+ self::$a_str_Prefix = get_the_id() . '_';
// contains the index for the next footnote on this page
$l_int_FootnoteIndex = count(self::$a_arr_Footnotes) + 1;
// contains the starting position for the lookup of a footnote
diff --git a/class/template.php b/class/template.php
index a8366cc..cc47091 100644
--- a/class/template.php
+++ b/class/template.php
@@ -5,8 +5,10 @@
* @filesource
* @author Stefan Herndler
* @since 1.5.0 14.09.14 10:58
+ *
+ * Last modified: 2020-11-01T0347+0100
*/
-// Last modified: 2020-10-29T0805+0100
+
/**
* Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
@@ -17,114 +19,114 @@
*/
class MCI_Footnotes_Template {
- /**
- * Directory name for dashboard templates.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- const C_STR_DASHBOARD = "dashboard";
+ /**
+ * Directory name for dashboard templates.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ */
+ const C_STR_DASHBOARD = "dashboard";
- /**
- * Directory name for public templates.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- const C_STR_PUBLIC = "public";
+ /**
+ * Directory name for public templates.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ */
+ const C_STR_PUBLIC = "public";
- /**
- * Contains the content of the template after initialize.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- private $a_str_OriginalContent = "";
+ /**
+ * Contains the content of the template after initialize.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ */
+ private $a_str_OriginalContent = "";
- /**
- * Contains the content of the template after initialize with replaced place holders.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @var string
- */
- private $a_str_ReplacedContent = "";
+ /**
+ * Contains the content of the template after initialize with replaced place holders.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @var string
+ */
+ private $a_str_ReplacedContent = "";
- /**
- * Class Constructor. Reads and loads the template file without replace any placeholder.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @param string $p_str_FileType Template file type (take a look on the Class constants).
- * @param string $p_str_FileName Template file name inside the Template directory without the file extension.
- * @param string $p_str_Extension Optional Template file extension (default: html)
- */
- public function __construct($p_str_FileType, $p_str_FileName, $p_str_Extension = "html") {
- // no template file type and/or file name set
- if (empty($p_str_FileType) || empty($p_str_FileName)) {
- return;
- }
- // get absolute path to the specified template file
- $l_str_TemplateFile = dirname(__FILE__) . "/../templates/" . $p_str_FileType . "/" . $p_str_FileName . "." . $p_str_Extension;
- // Template file does not exist
- if (!file_exists($l_str_TemplateFile)) {
- return;
- }
- // get Template file content
- $this->a_str_OriginalContent = str_replace("\n", "", file_get_contents($l_str_TemplateFile));
- $this->a_str_OriginalContent = str_replace("\r", "", $this->a_str_OriginalContent);
- $this->a_str_OriginalContent = str_replace("\t", " ", $this->a_str_OriginalContent);
- $this->a_str_OriginalContent = str_replace(" ", " ", $this->a_str_OriginalContent);
- $this->reload();
- }
+ /**
+ * Class Constructor. Reads and loads the template file without replace any placeholder.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @param string $p_str_FileType Template file type (take a look on the Class constants).
+ * @param string $p_str_FileName Template file name inside the Template directory without the file extension.
+ * @param string $p_str_Extension Optional Template file extension (default: html)
+ */
+ public function __construct($p_str_FileType, $p_str_FileName, $p_str_Extension = "html") {
+ // no template file type and/or file name set
+ if (empty($p_str_FileType) || empty($p_str_FileName)) {
+ return;
+ }
+ // get absolute path to the specified template file
+ $l_str_TemplateFile = dirname(__FILE__) . "/../templates/" . $p_str_FileType . "/" . $p_str_FileName . "." . $p_str_Extension;
+ // Template file does not exist
+ if (!file_exists($l_str_TemplateFile)) {
+ return;
+ }
+ // get Template file content
+ $this->a_str_OriginalContent = str_replace("\n", "", file_get_contents($l_str_TemplateFile));
+ $this->a_str_OriginalContent = str_replace("\r", "", $this->a_str_OriginalContent);
+ $this->a_str_OriginalContent = str_replace("\t", " ", $this->a_str_OriginalContent);
+ $this->a_str_OriginalContent = preg_replace('# +#', " ", $this->a_str_OriginalContent);
+ $this->reload();
+ }
- /**
- * Replace all placeholders specified in array.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @param array $p_arr_Placeholders Placeholders (key = placeholder, value = value).
- * @return bool True on Success, False if Placeholders invalid.
- */
- public function replace($p_arr_Placeholders) {
- // no placeholders set
- if (empty($p_arr_Placeholders)) {
- return false;
- }
- // template content is empty
- if (empty($this->a_str_ReplacedContent)) {
- return false;
- }
- // iterate through each placeholder and replace it with its value
- foreach($p_arr_Placeholders as $l_str_Placeholder => $l_str_Value) {
- $this->a_str_ReplacedContent = str_replace("[[" . $l_str_Placeholder . "]]", $l_str_Value, $this->a_str_ReplacedContent);
- }
- // success
- return true;
- }
+ /**
+ * Replace all placeholders specified in array.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @param array $p_arr_Placeholders Placeholders (key = placeholder, value = value).
+ * @return bool True on Success, False if Placeholders invalid.
+ */
+ public function replace($p_arr_Placeholders) {
+ // no placeholders set
+ if (empty($p_arr_Placeholders)) {
+ return false;
+ }
+ // template content is empty
+ if (empty($this->a_str_ReplacedContent)) {
+ return false;
+ }
+ // iterate through each placeholder and replace it with its value
+ foreach($p_arr_Placeholders as $l_str_Placeholder => $l_str_Value) {
+ $this->a_str_ReplacedContent = str_replace("[[" . $l_str_Placeholder . "]]", $l_str_Value, $this->a_str_ReplacedContent);
+ }
+ // success
+ return true;
+ }
- /**
- * Reloads the original content of the template file.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- */
- public function reload() {
- $this->a_str_ReplacedContent = $this->a_str_OriginalContent;
- }
+ /**
+ * Reloads the original content of the template file.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ */
+ public function reload() {
+ $this->a_str_ReplacedContent = $this->a_str_OriginalContent;
+ }
- /**
- * Returns the content of the template file with replaced placeholders.
- *
- * @author Stefan Herndler
- * @since 1.5.0
- * @return string Template content with replaced placeholders.
- */
- public function getContent() {
- return $this->a_str_ReplacedContent;
- }
+ /**
+ * Returns the content of the template file with replaced placeholders.
+ *
+ * @author Stefan Herndler
+ * @since 1.5.0
+ * @return string Template content with replaced placeholders.
+ */
+ public function getContent() {
+ return $this->a_str_ReplacedContent;
+ }
} // end of class
diff --git a/css/public.css b/css/public.css
index c6a34df..427f06d 100755
--- a/css/public.css
+++ b/css/public.css
@@ -4,169 +4,187 @@
* Created-Date: 15.05.14
* Created-Time: 16:21
* Since: 1.0
- * Version: 2.0.3
- * Last modified: 2020-10-29T1343+0100
+ * Version: 2.0.4
+ * Last modified: 2020-11-01T0536+0100
*/
-/* footnote tags */
+
+/* MCI Footnotes logo
+ *
+ * The classes with 'heading' fix display in dashboard
+ * See class/config.php and css/settings.css
+ */
-.footnote_tag_styling,
-.footnote_tag_styling:hover {
+.footnotes_logo,
+.footnotes_logo:hover,
+.footnotes_logo_heading {
text-decoration: none;
font-weight: normal;
}
-.footnote_tag_styling_1 {
+.footnotes_logo_part1,
+.footnotes_logo_part1_heading {
color: #2bb975;
}
-.footnote_tag_styling_2 {
+.footnotes_logo_part2,
+.footnotes_logo_part2_heading {
color: #545f5a;
}
-/* superscript footnote anchors */
+/* Inline footnote referrers
+ * aka superscript footnote anchors
+ *
+ * Class footnote_plugin_tooltip_text is the referrer and surroundings
+ */
.footnote_plugin_tooltip_text {
- vertical-align: top !important;
- position: relative !important;
- top: 0.6em !important;
- cursor: pointer;
- z-index: 1;
+ vertical-align: top !important;
+ position: relative !important;
+ top: 0.6em !important;
+ cursor: pointer;
+ z-index: 1;
}
.footnote_plugin_tooltip_text {
- display: inline-block;
- text-decoration: none;
+ display: inline-block;
+ text-decoration: none;
}
.footnote_plugin_tooltip_text:hover {
- text-decoration: underline;
+ text-decoration: underline;
}
/* tooltip infobox */
span.footnote_tooltip {
- font-size: inherit;
- text-align: left;
- z-index: 99;
+ font-size: inherit;
+ text-align: left;
+ line-height: 1.2em;
+ z-index: 99;
}
.continue {
- font-style: italic;
- color: green;
+ font-style: italic;
+ color: green;
+ text-decoration: none !important;
}
.continue:hover {
- color: blue;
- text-decoration: underline;
+ color: blue;
+ text-decoration: underline !important;
}
-/* reference container */
+/* Footnotes reference container
+ */
.footnote-reference-container {
- width: 100%;
- border: none;
-}
-.footnote_container_prepare {
- display: block !important;
- padding-top: 24px !important;
-}
-#footnote_references_container td {
- padding: none;
+ width: 100%;
+ border: none;
}
/* label */
+.footnote_container_prepare {
+ display: block !important;
+ padding-top: 24px !important;
+ margin-bottom: -5px;
+}
.footnote_container_prepare > p {
- line-height: 1.3 !important;
- margin-top: 1em !important;
- margin-bottom: 0.25em !important;
- padding: 0 !important;
- font-weight: normal !important;
- overflow: hidden !important;
- border-bottom: 1px solid #aaaaaa !important;
- display: block !important;
- -webkit-margin-before: 0.83em !important;
- -webkit-margin-after: 0.83em !important;
- -webkit-margin-start: 0px !important;
- -webkit-margin-end: 0px !important;
- text-align: left !important;
- vertical-align: middle;
+ line-height: 1.3 !important;
+ margin-top: 1em !important;
+ margin-bottom: 0.25em !important;
+ padding: 0 !important;
+ font-weight: normal !important;
+ overflow: hidden !important;
+ border-bottom: 1px solid #aaaaaa !important;
+ display: block !important;
+ -webkit-margin-before: 0.83em !important;
+ -webkit-margin-after: 0.83em !important;
+ -webkit-margin-start: 0px !important;
+ -webkit-margin-end: 0px !important;
+ text-align: left !important;
+ vertical-align: middle;
}
.footnote_container_prepare > p > span:first-child {
- text-align: left !important;
- font-size: 1.5em !important;
+ text-align: left !important;
+ font-size: 1.5em !important;
}
/* collapse button */
#footnote_reference_container_collapse_button {
- cursor: pointer;
+ cursor: pointer;
}
.footnote_container_prepare > p > span:last-child a {
- text-decoration: none;
+ text-decoration: none;
}
.footnote_container_prepare > p > span:last-child a:hover {
- text-decoration: underline;
- color: #008800;
+ text-decoration: underline;
+ color: #008800;
}
/* footnotes */
.footnote_plugin_index,
.footnote_plugin_text {
- border:none !important;
- text-align: left;
- vertical-align: top;
+ border:none !important;
+ text-align: left;
+ vertical-align: top;
+ padding: 10px 3px 5px 0;
}
.footnote_plugin_index a,
.footnote_plugin_text a {
- text-decoration: none;
+ text-decoration: none;
}
.footnote_plugin_index a:hover,
.footnote_plugin_text a:hover {
- text-decoration: underline !important;
+ text-decoration: underline !important;
}
.footnote_plugin_index {
- cursor: pointer;
- overflow-wrap: unset;
- word-wrap: unset;
- word-wrap: normal !important;
- word-break: unset;
- word-break: keep-all !important;
- white-space: nowrap;
- max-width: 140px;
- overflow: hidden;
+ cursor: pointer;
+ overflow-wrap: unset;
+ word-wrap: unset;
+ word-wrap: normal !important;
+ word-break: unset;
+ word-break: keep-all !important;
+ white-space: nowrap;
+ max-width: 140px;
+ overflow: hidden;
}
@media only screen and (max-width: 768px) {
- .footnote_plugin_index {
- max-width: 100px;
- }
+ .footnote_plugin_index {
+ max-width: 100px;
+ }
}
-/* printing style */
+/* Footnotes printing style rules
+ *
+ * Printing a table, browsers tend to avoid page breaks,
+ * but it takes a wrapper to avoid a page break before the table
+ */
.footnote_container_overall_wrapper {
- page-break-inside: avoid;
+ page-break-inside: avoid;
}
.footnote_container_prepare {
- page-break-after: avoid;
+ page-break-after: avoid;
}
table.footnote_reference_container td {
- display: block;
+ display: block;
}
table.footnote_reference_container {
- page-break-before: avoid;
- page-break-inside: auto;
+ page-break-before: avoid;
+ page-break-inside: auto;
}
table.footnote_reference_container tr {
- page-break-before: auto;
+ page-break-before: auto;
}
@media print {
- .footnote_tooltip,
- .footnote_reference_container_collapse_button_outfit,
- .footnote_plugin_index_arrow {
- display: none;
- }
- .footnote_plugin_tooltip_text {
- color: inherit;
- }
- .footnote_plugin_index a {
- color: inherit;
- text-decoration: none !important;
- }
- div.post-meta-edit-link-wrapper { /*hides the Edit button in WP2020*/
- display: none; /*(added as a service)*/
- }
+ .footnote_tooltip,
+ .footnote_reference_container_collapse_button_outfit,
+ .footnote_plugin_index_arrow {
+ display: none;
+ }
+ .footnote_plugin_tooltip_text {
+ color: inherit;
+ }
+ .footnote_plugin_index a {
+ color: inherit;
+ text-decoration: none !important;
+ }
+ div.post-meta-edit-link-wrapper { /*hides the Edit button in WP2020*/
+ display: none; /*(added as a service)*/
+ }
}
diff --git a/css/settings.css b/css/settings.css
index 7e1b0f9..7d86001 100755
--- a/css/settings.css
+++ b/css/settings.css
@@ -1,42 +1,73 @@
/**
* Created by Stefan Herndler.
* User: Stefan
- * Date: 15.05.14
- * Time: 16:21
- * Version: 1.0-beta
+ * Created-Date: 15.05.14
+ * Created-Time: 16:21
* Since: 1.0
+ * Version: 2.0.4
+ * Last modified: 2020-11-01T0415+0100
*/
+
+/* MCI Footnotes logo
+ *
+ * The classes with 'heading' fix display in dashboard
+ * See class/config.php and css/public.css
+ */
+
+ .postbox-header {
+ position: relative;
+ padding: 0 20px;
+}
+.footnotes_logo_heading {
+ display: inline-block;
+ float: left;
+ position: absolute;
+}
+.footnotes_logo_part1_heading {
+ left: 20px;
+}
+.footnotes_logo_part2_heading {
+ left: 51px;
+}
+.footnotes_heart_heading {
+ color:#ff6d3b;
+ font-weight:bold;
+ position: absolute;
+ left: 96px;
+}
+
+
input[type=text], input[type=password], textarea, select {
- padding-left: 8px !important;
- padding-right: 8px !important;
- width: 80% !important;
+ padding-left: 8px !important;
+ padding-right: 8px !important;
+ width: 80% !important;
}
textarea {
- height: 250px;
+ height: 250px;
}
label {
- display: inline-block;
+ display: inline-block;
}
.postbox > h3 {
- height: 32px !important;
- line-height: 32px !important;
+ height: 32px !important;
+ line-height: 32px !important;
}
.postbox > h3 > span {
- padding-left: 10px;
+ padding-left: 10px;
}
.postbox > .inside > table {
- border: none !important;
+ border: none !important;
}
.postbox > .inside >table > tbody > tr > td:first-child {
- width: 15% !important;
- font-weight: bold !important;
+ width: 15% !important;
+ font-weight: bold !important;
}
.footnote_placeholder_box_container {
@@ -57,5 +88,5 @@ span.footnote_highlight_placeholder {
width: 50% !important;
display: block !important;
margin: 20px auto !important;
- text-align: center !important;
-}
\ No newline at end of file
+ text-align: center !important;
+}
diff --git a/footnotes.php b/footnotes.php
index 2207b02..d527fa8 100755
--- a/footnotes.php
+++ b/footnotes.php
@@ -4,7 +4,7 @@
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.
Author: Mark Cheret
- Version: 2.0.3
+ Version: 2.0.4
Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes
Domain Path: /languages
@@ -25,7 +25,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-// Last modified: 2020-10-29T1405+0100
+
/**
* @filesource
* @author Stefan Herndler
diff --git a/languages/de_AT.mo b/languages/de_AT.mo
index 68895cb..eb423fd 100644
Binary files a/languages/de_AT.mo and b/languages/de_AT.mo differ
diff --git a/languages/de_AT.po b/languages/de_AT.po
index 9b9b791..e599ead 100755
--- a/languages/de_AT.po
+++ b/languages/de_AT.po
@@ -1,10 +1,12 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
-msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
+msgstr ""
+"Project-Id-Version: footnotes\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:57+0100\n"
-"PO-Revision-Date: 2020-10-25T2210+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"PO-Revision-Date: 2020-11-01T0622+0100\n"
+"Last-Translator: \n"
"Language-Team: SHE \n"
"Language: de_AT\n"
"MIME-Version: 1.0\n"
@@ -122,12 +124,12 @@ msgstr "Kurzanleitung"
#: class/dashboard/subpage-main.php:78
msgid "References Container"
-msgstr "Liste der Einzelnachweise"
+msgstr "Fußnotenliste"
#: class/dashboard/subpage-main.php:79
#, php-format
-msgid "%s styling"
-msgstr "%s Design"
+msgid "Footnotes styling"
+msgstr "Fußnoten-Basiseinstellungen"
#: class/dashboard/subpage-main.php:81
msgid "Other"
@@ -147,7 +149,7 @@ msgstr "Benutzerdefinierten CSS Code zu den veröffentlichten Seiten hinzufügen
#: class/dashboard/subpage-main.php:88
msgid "WordPress hooks to look for Footnote short codes"
-msgstr "WordPress hooks in welchen nach Fußnoten gesucht wird"
+msgstr "WordPress-Hooks in welchen nach Fußnoten gesucht wird"
#: class/dashboard/subpage-main.php:90
msgid "Brief introduction in how to use the plugin"
@@ -159,11 +161,11 @@ msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins"
#: class/dashboard/subpage-main.php:104
msgid "in the footer"
-msgstr "am Ende der Seite"
+msgstr "im Seitenfuß"
#: class/dashboard/subpage-main.php:105
msgid "at the end of the post"
-msgstr "nach dem Beitrag"
+msgstr "im Anschluss an den Beitrag"
#: class/dashboard/subpage-main.php:106
msgid "in the widget area"
@@ -179,7 +181,7 @@ msgstr "Zunächst zusammengeklappt"
#: class/dashboard/subpage-main.php:120
msgid "Where shall the reference container appear"
-msgstr "Positionierung"
+msgstr "Position"
#: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239
#: class/dashboard/subpage-main.php:290
@@ -339,11 +341,11 @@ msgstr "Pixel; negativer Wert für Linksversatz"
#: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)"
-msgstr "Senkrechter Versatz"
+msgstr "Senkrechter Versatz abwärts"
#: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)"
-msgstr "Pixel; negativer Wert für Versatz nach unten"
+msgstr "Pixel; negativer Wert für Aufwärtsversatz"
#: class/dashboard/subpage-main.php:329
msgid "Color"
@@ -391,7 +393,7 @@ msgstr "Maximalbreite"
#: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting."
-msgstr "Pixel; 0 für nur vom Fensterrand beschränkte Breite"
+msgstr "Pixel; 0 deaktiviert diese Einstellung"
#: class/dashboard/subpage-main.php:353
msgid "Box shadow color"
@@ -407,7 +409,7 @@ msgstr "Benutzerdefinierter CSS Code"
#: class/dashboard/subpage-main.php:378
msgid "Available CSS classes to customize the footnotes and the reference container"
-msgstr "Verfügbare CSS Klassen um die Fußnoten und den Einzelnachweis zu personalisieren"
+msgstr "Verfügbare CSS Klassen für Fußnotenanker, Infobox und Fußnotenliste"
#: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index"
@@ -482,7 +484,7 @@ msgstr "%sWeiterlesen%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
-msgstr "Das Widget definiert die Position der Einzelnachweise wenn \"im Widget\" eingestellt ist."
+msgstr "Das Widget definiert die Position der Einzelnachweise wenn »im Widget« gewählt ist."
#~ msgid "inline footnotes"
#~ msgstr "Fußnoten Index im veröffneltichten Text"
diff --git a/languages/de_DE.mo b/languages/de_DE.mo
index 6323ef2..04f12a3 100755
Binary files a/languages/de_DE.mo and b/languages/de_DE.mo differ
diff --git a/languages/de_DE.po b/languages/de_DE.po
index 085b9d2..90bd3ee 100755
--- a/languages/de_DE.po
+++ b/languages/de_DE.po
@@ -5,8 +5,8 @@ msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:58+0100\n"
-"PO-Revision-Date: 2020-10-25T2214+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"PO-Revision-Date: 2020-11-01T0622+0100\n"
+"Last-Translator: \n"
"Language-Team: SHE \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
@@ -124,12 +124,12 @@ msgstr "Kurzanleitung"
#: class/dashboard/subpage-main.php:78
msgid "References Container"
-msgstr "Liste der Einzelnachweise"
+msgstr "Fußnotenliste"
#: class/dashboard/subpage-main.php:79
#, php-format
-msgid "%s styling"
-msgstr "%s Design"
+msgid "Footnotes styling"
+msgstr "Fußnoten-Basiseinstellungen"
#: class/dashboard/subpage-main.php:81
msgid "Other"
@@ -149,7 +149,7 @@ msgstr "Benutzerdefinierten CSS Code zu den veröffentlichten Seiten hinzufügen
#: class/dashboard/subpage-main.php:88
msgid "WordPress hooks to look for Footnote short codes"
-msgstr "WordPress hooks in welchen nach Fußnoten gesucht wird"
+msgstr "WordPress-Hooks in welchen nach Fußnoten gesucht wird"
#: class/dashboard/subpage-main.php:90
msgid "Brief introduction in how to use the plugin"
@@ -161,11 +161,11 @@ msgstr "Helfen Sie bei der weiteren Entwicklung des Plugins"
#: class/dashboard/subpage-main.php:104
msgid "in the footer"
-msgstr "am Ende der Seite"
+msgstr "im Seitenfuß"
#: class/dashboard/subpage-main.php:105
msgid "at the end of the post"
-msgstr "nach dem Beitrag"
+msgstr "im Anschluss an den Beitrag"
#: class/dashboard/subpage-main.php:106
msgid "in the widget area"
@@ -181,7 +181,7 @@ msgstr "Zunächst zusammengeklappt"
#: class/dashboard/subpage-main.php:120
msgid "Where shall the reference container appear"
-msgstr "Positionierung"
+msgstr "Position"
#: class/dashboard/subpage-main.php:139 class/dashboard/subpage-main.php:239
#: class/dashboard/subpage-main.php:290
@@ -341,11 +341,11 @@ msgstr "Pixel; negativer Wert für Linksversatz"
#: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)"
-msgstr "Senkrechter Versatz"
+msgstr "Senkrechter Versatz abwärts"
#: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)"
-msgstr "Pixel; negativer Wert für Versatz nach unten"
+msgstr "Pixel; negativer Wert für Aufwärtsversatz"
#: class/dashboard/subpage-main.php:329
msgid "Color"
@@ -393,7 +393,7 @@ msgstr "Maximalbreite"
#: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting."
-msgstr "Pixel; 0 für nur vom Fensterrand beschränkte Breite"
+msgstr "Pixel; 0 deaktiviert diese Einstellung"
#: class/dashboard/subpage-main.php:353
msgid "Box shadow color"
@@ -409,7 +409,7 @@ msgstr "Benutzerdefinierter CSS Code"
#: class/dashboard/subpage-main.php:378
msgid "Available CSS classes to customize the footnotes and the reference container"
-msgstr "Verfügbare CSS Klassen um die Fußnoten und den Einzelnachweis zu personalisieren"
+msgstr "Verfügbare CSS Klassen für Fußnotenanker, Infobox und Fußnotenliste"
#: class/dashboard/subpage-main.php:381
msgid "superscript, Footnotes index"
@@ -484,7 +484,7 @@ msgstr "%sWeiterlesen%s"
#: class/widgets/reference-container.php:49
#: class/widgets/reference-container.php:61
msgid "The widget defines the position of the reference container if set to \"widget area\"."
-msgstr "Das Widget definiert die Position der Einzelnachweise wenn \"im Widget\" eingestellt ist."
+msgstr "Das Widget definiert die Position der Einzelnachweise wenn »im Widget« gewählt ist."
#~ msgid "inline footnotes"
#~ msgstr "Fußnoten Index im veröffneltichten Text"
diff --git a/languages/en_GB.mo b/languages/en_GB.mo
index 99d379d..76261f5 100755
Binary files a/languages/en_GB.mo and b/languages/en_GB.mo differ
diff --git a/languages/en_GB.po b/languages/en_GB.po
index 9082ed7..1058fa2 100755
--- a/languages/en_GB.po
+++ b/languages/en_GB.po
@@ -1,10 +1,12 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
-msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
+msgstr ""
+"Project-Id-Version: footnotes\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:58+0100\n"
-"PO-Revision-Date: 2020-10-26T2229+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"PO-Revision-Date: 2020-11-01T0622+0100\n"
+"Last-Translator: \n"
"Language-Team: SHE \n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
@@ -126,12 +128,12 @@ msgstr "References Container"
#: class/dashboard/subpage-main.php:79
#, php-format
-msgid "%s styling"
-msgstr "%s styling"
+msgid "Footnotes styling"
+msgstr "Footnotes main settings"
#: class/dashboard/subpage-main.php:81
msgid "Other"
-msgstr "Other"
+msgstr "Other settings"
#: class/dashboard/subpage-main.php:83
msgid "Superscript layout"
@@ -339,11 +341,11 @@ msgstr "pixels; negative value for a leftwards offset"
#: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)"
-msgstr "Vertical offset"
+msgstr "Vertical offset downwards"
#: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)"
-msgstr "pixels; negative value for a downwards offset"
+msgstr "pixels; negative value for a upwards offset"
#: class/dashboard/subpage-main.php:329
msgid "Color"
@@ -391,7 +393,7 @@ msgstr "Maximum width"
#: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting."
-msgstr "pixels; 0 for limiting the width only by the window edge"
+msgstr "pixels; 0 to disable this setting"
#: class/dashboard/subpage-main.php:353
msgid "Box shadow color"
diff --git a/languages/en_US.mo b/languages/en_US.mo
index 10253ac..41fc3d1 100644
Binary files a/languages/en_US.mo and b/languages/en_US.mo differ
diff --git a/languages/en_US.po b/languages/en_US.po
index 491edb2..5f58e65 100755
--- a/languages/en_US.po
+++ b/languages/en_US.po
@@ -5,8 +5,8 @@ msgstr ""
"Project-Id-Version: footnotes\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
-"PO-Revision-Date: 2020-10-26T2229+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"PO-Revision-Date: 2020-11-01T0622+0100\n"
+"Last-Translator: \n"
"Language-Team: SHE \n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
@@ -128,12 +128,12 @@ msgstr "References Container"
#: class/dashboard/subpage-main.php:79
#, php-format
-msgid "%s styling"
-msgstr "%s styling"
+msgid "Footnotes styling"
+msgstr "Footnotes main settings"
#: class/dashboard/subpage-main.php:81
msgid "Other"
-msgstr "Other"
+msgstr "Other settings"
#: class/dashboard/subpage-main.php:83
msgid "Superscript layout"
@@ -341,11 +341,11 @@ msgstr "pixels; negative value for a leftwards offset"
#: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)"
-msgstr "Vertical offset"
+msgstr "Vertical offset downwards"
#: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)"
-msgstr "pixels; negative value for a downwards offset"
+msgstr "pixels; negative value for a upwards offset"
#: class/dashboard/subpage-main.php:329
msgid "Color"
@@ -393,7 +393,7 @@ msgstr "Maximum width"
#: class/dashboard/subpage-main.php:351
msgid "Set the max-width to 0px to disable this setting."
-msgstr "pixels; 0 for limiting the width only by the window edge"
+msgstr "pixels; 0 to disable this setting"
#: class/dashboard/subpage-main.php:353
msgid "Box shadow color"
diff --git a/languages/es_ES.mo b/languages/es_ES.mo
index 99b5372..033fde7 100644
Binary files a/languages/es_ES.mo and b/languages/es_ES.mo differ
diff --git a/languages/es_ES.po b/languages/es_ES.po
index a04dde5..432014d 100644
--- a/languages/es_ES.po
+++ b/languages/es_ES.po
@@ -1,10 +1,12 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
-msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
+msgstr ""
+"Project-Id-Version: footnotes\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
-"PO-Revision-Date: 2020-10-25T2209+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"PO-Revision-Date: 2020-11-01T0622+0100\n"
+"Last-Translator: \n"
"Language-Team: Pablo Laguna \n"
"Language: es_ES\n"
"MIME-Version: 1.0\n"
@@ -126,8 +128,8 @@ msgstr "Sección de notas"
#: class/dashboard/subpage-main.php:79
#, php-format
-msgid "%s styling"
-msgstr "Apariencia de %s"
+msgid "Footnotes styling"
+msgstr "Ajustes básicos"
#: class/dashboard/subpage-main.php:81
msgid "Other"
@@ -339,11 +341,11 @@ msgstr "en pixels; valor negativo para desplazar a la izquierda"
#: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)"
-msgstr "Desplazamiento vertical"
+msgstr "Desplazamiento vertical hacia abajo"
#: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)"
-msgstr "en pixels; valor negativo para desplazar hacia abajo"
+msgstr "en pixels; valor negativo para desplazar hacia arriba"
#: class/dashboard/subpage-main.php:329
msgid "Color"
diff --git a/languages/footnotes.mo b/languages/footnotes.mo
index e500051..e57c177 100644
Binary files a/languages/footnotes.mo and b/languages/footnotes.mo differ
diff --git a/languages/footnotes.pot b/languages/footnotes.pot
index 0006f2e..3b96878 100644
--- a/languages/footnotes.pot
+++ b/languages/footnotes.pot
@@ -1,10 +1,12 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
-msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
+msgstr ""
+"Project-Id-Version: footnotes\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
-"PO-Revision-Date: 2020-10-25T2214+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"PO-Revision-Date: 2020-11-01T0622+0100\n"
+"Last-Translator: \n"
"Language-Team: enter your name \n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
@@ -126,7 +128,7 @@ msgstr ""
#: class/dashboard/subpage-main.php:79
#, php-format
-msgid "%s styling"
+msgid "Footnotes styling"
msgstr ""
#: class/dashboard/subpage-main.php:81
diff --git a/languages/fr_FR.mo b/languages/fr_FR.mo
index a3840db..1675433 100644
Binary files a/languages/fr_FR.mo and b/languages/fr_FR.mo differ
diff --git a/languages/fr_FR.po b/languages/fr_FR.po
index effb7c3..baf814f 100755
--- a/languages/fr_FR.po
+++ b/languages/fr_FR.po
@@ -1,10 +1,12 @@
# Copyright (C) 2014
# This file is distributed under the same license as the package.
msgid ""
-msgstr "Project-Id-Version: footnotes\nReport-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
+msgstr ""
+"Project-Id-Version: footnotes\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
-"PO-Revision-Date: 2020-10-25T2210+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"PO-Revision-Date: 2020-11-01T0622+0100\n"
+"Last-Translator: \n"
"Language-Team: SHE \n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
@@ -126,8 +128,8 @@ msgstr "Liste des notes"
#: class/dashboard/subpage-main.php:79
#, php-format
-msgid "%s styling"
-msgstr "Mise en forme %s"
+msgid "Footnotes styling"
+msgstr "Paramètres de base"
#: class/dashboard/subpage-main.php:81
msgid "Other"
@@ -339,11 +341,11 @@ msgstr "pixels ; valeur négative pour décaler vers la gauche"
#: class/dashboard/subpage-main.php:325
msgid "Offset Y (px)"
-msgstr "Décalage vertical "
+msgstr "Décalage vertical vers le bas "
#: class/dashboard/subpage-main.php:327
msgid "Offset (Y axis) in px (may be negative)"
-msgstr "pixels ; valeur négative pour décaler vers le bas"
+msgstr "pixels ; valeur négative pour décaler vers le haut"
#: class/dashboard/subpage-main.php:329
msgid "Color"
diff --git a/readme.txt b/readme.txt
index 2c3f4c9..321088e 100755
--- a/readme.txt
+++ b/readme.txt
@@ -4,7 +4,7 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen
Requires at least: 3.9
Tested up to: 5.5
Requires PHP: 5.6
-Stable Tag: 2.0.3
+Stable Tag: 2.0.4
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -80,9 +80,16 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog ==
+= 2.0.4 =
+- Update: Restored arrow settings to customize or disable the now prepended arrow symbol
+- Bugfix: Reference container: layout: removed inconvenient left/right cellpadding
+- Bugfix: Tooltip infobox: improved layout with inherited font size by lower line height
+- Bugfix: Tooltip infobox: 'Continue reading' button: disabled default underline
+- Bugfix: Fixed display of 2 dashboard headings
+
= 2.0.3 =
- Bugfix: Layout: Self-adjusting width of ID column but hidden overflow
-- Update: Prepended transitional up arrow to backlinking footnote numbers
+- Update: Prepended transitional up arrow to backlinking footnote numbers after a user complaint about missing backlinking semantics of the footnote number
- Bugfix: Fragment IDs: Prepended post ID to footnote number
- Bugfix: Feed plugin version in style sheet query string for cache busting
- Bugfix: Print style: Hide reference collapse button when printing
diff --git a/templates/public/reference-container-body.html b/templates/public/reference-container-body.html
index cd6a7d7..c48be48 100755
--- a/templates/public/reference-container-body.html
+++ b/templates/public/reference-container-body.html
@@ -1,4 +1,4 @@
-
+