Files ready for urgent bugfix v2.0.4, please check, test, release if OK

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2410551 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-11-01 05:41:22 +00:00
parent 98a12726ff
commit 389d4ea5bd
25 changed files with 553 additions and 411 deletions

View file

@ -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 = '<span class="footnote_tag_styling footnote_tag_styling_1">foot</span><span class="footnote_tag_styling footnote_tag_styling_2">notes</span>';
/**
* Public Plugin name.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*
* edited classes for v2.0.4
*/
const C_STR_PLUGIN_PUBLIC_NAME = '<span class="footnotes_logo footnotes_logo_part1">foot</span><span class="footnotes_logo footnotes_logo_part2">notes</span>';
/**
* Html tag for the LOVE symbol.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">&hearts;</span>';
/**
* 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 plugins communication.
* The only working solution found so far is using position:fixed in one heading
* that isnt translated, and dropping the logo in another, translatable heading.
*
* @since 2.0.4
* @var string
*/
const C_STR_PLUGIN_HEADING_NAME = '<span class="footnotes_logo_heading footnotes_logo_part1_heading">foot</span><span class="footnotes_logo_heading footnotes_logo_part2_heading">notes</span>';
/**
* 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]]';
}
/**
* Html tag for the LOVE symbol.
*
* @author Stefan Herndler
* @since 1.5.0
* @var string
*/
const C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">&hearts;</span>';
/**
* HTML code for the 'love' symbol used in dashboard heading
*
* @since 2.0.4
* @var string
*/
const C_STR_LOVE_SYMBOL_HEADING = '<span class="footnotes_heart_heading">&hearts;</span>';
/**
* 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]]';
}

View file

@ -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 . '&nbsp;' . 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 . '&nbsp;' . 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.
*

View file

@ -1,16 +1,18 @@
<?php
/**
* Includes the main Class of the Plugin.
*
* IMPORTANT: In registerPublic(), keep plugin version # up to date for cache busting.
*
* @filesource
* @author Stefan Herndler
* @since 1.5.0 12.09.14 10:56
*
* Edited for v2.0.0: Added jQueryUI following @vonpiernik 2020-10-26T1907+0100
* Edited for v2.0.3: Added style sheet versioning 2020-10-29T1413+0100
* Edited for v2.0.4: Enqueuing settings.css 2020-11-01T0317+0100
*/
// Versioning: update plugin version # for style sheet cache busting on line 103
// Added jQueryUI on 2020-10-26T1907+0100
// Following @vonpiernik <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>
/**
* 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 <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>:
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 <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>
*
* 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']);
}
}

View file

@ -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:
// <https://wordpress.org/support/topic/too-many-errors-18/>
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));
}
}
}
}

View file

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

View file

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

View file

@ -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)*/
}
}

View file

@ -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;
}
text-align: center !important;
}

View file

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

Binary file not shown.

View file

@ -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 <support@herndler.org>\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: <pewgeuges@gmail.com>\n"
"Language-Team: SHE <s.herndler@methis.at>\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"

Binary file not shown.

View file

@ -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 <support@herndler.org>\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: <pewgeuges@gmail.com>\n"
"Language-Team: SHE <s.herndler@methis.at>\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"

Binary file not shown.

View file

@ -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 <support@herndler.org>\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: <pewgeuges@gmail.com>\n"
"Language-Team: SHE <s.herndler@methis.at>\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"

Binary file not shown.

View file

@ -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 <support@herndler.org>\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: <pewgeuges@gmail.com>\n"
"Language-Team: SHE <s.herndler@methis.at>\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"

Binary file not shown.

View file

@ -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 <support@herndler.org>\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: <pewgeuges@gmail.com>\n"
"Language-Team: Pablo Laguna <pablolaguna@vera.com.uy>\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"

Binary file not shown.

View file

@ -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 <support@herndler.org>\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: <pewgeuges@gmail.com>\n"
"Language-Team: enter your name <enter@your.email>\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

Binary file not shown.

View file

@ -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 <support@herndler.org>\n"
"PO-Revision-Date: 2020-11-01T0622+0100\n"
"Last-Translator: <pewgeuges@gmail.com>\n"
"Language-Team: SHE <s.herndler@methis.at>\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"

View file

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

View file

@ -1,4 +1,4 @@
<tr>
<td class="footnote_plugin_index" id="footnote_plugin_reference_[[id]]" onclick="footnote_moveToAnchor('footnote_plugin_tooltip_[[id]]');"><a href="#footnote_plugin_tooltip_[[id]]"><span class="footnote_plugin_index_arrow">&#x2191;&#x200A;</span>[[index]].</a></td>
<td class="footnote_plugin_index" id="footnote_plugin_reference_[[id]]" onclick="footnote_moveToAnchor('footnote_plugin_tooltip_[[id]]');"><a href="#footnote_plugin_tooltip_[[id]]"><span class="footnote_plugin_index_arrow">[[arrow]]&#x200A;</span>[[index]].</a></td>
<td class="footnote_plugin_text">[[text]]</td>
</tr>