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:
parent
98a12726ff
commit
389d4ea5bd
25 changed files with 553 additions and 411 deletions
|
@ -5,6 +5,8 @@
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0 12.09.14 10:56
|
* @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 {
|
class MCI_Footnotes_Config {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal Plugin name.
|
* Internal Plugin name.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const C_STR_PLUGIN_NAME = "footnotes";
|
const C_STR_PLUGIN_NAME = "footnotes";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Public Plugin name.
|
* Public Plugin name.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @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>';
|
* 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.
|
* Public Plugin name for dashboard heading
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* After properly displaying in dashboard headings until WPv5.4, the above started
|
||||||
* @since 1.5.0
|
* in WPv5.5 being torn apart as if the headline was text-align:justify and not
|
||||||
* @var string
|
* 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
|
||||||
const C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">♥</span>';
|
* that isn’t 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.
|
* Html tag for the LOVE symbol.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const C_STR_NO_LOVE_SLUG = '[[no footnotes: love]]';
|
const C_STR_LOVE_SYMBOL = '<span style="color:#ff6d3b; font-weight:bold;">♥</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">♥</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]]';
|
||||||
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0 14.09.14 14:47
|
* @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
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @return array
|
* @return array
|
||||||
|
*
|
||||||
|
* Edited for v2.0.4 to reflect changes in display since WPv5.5
|
||||||
|
* Details in class/config.php
|
||||||
*/
|
*/
|
||||||
protected function getMetaBoxes() {
|
protected function getMetaBoxes() {
|
||||||
return array(
|
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", "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"),
|
// Leave intact since this is not localized:
|
||||||
$this->addMetaBox("settings", "love", MCI_Footnotes_Config::C_STR_PLUGIN_PUBLIC_NAME . ' ' . MCI_Footnotes_Config::C_STR_LOVE_SYMBOL, "Love"),
|
$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->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", "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", "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("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"),
|
$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();
|
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.
|
* Displays the custom css box.
|
||||||
*
|
*
|
||||||
|
|
181
class/init.php
181
class/init.php
|
@ -1,16 +1,18 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Includes the main Class of the Plugin.
|
* Includes the main Class of the Plugin.
|
||||||
|
*
|
||||||
|
* IMPORTANT: In registerPublic(), keep plugin version # up to date for cache busting.
|
||||||
*
|
*
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0 12.09.14 10:56
|
* @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.
|
* Entry point of the Plugin. Loads the Dashboard and executes the Task.
|
||||||
|
@ -20,91 +22,98 @@
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes {
|
class MCI_Footnotes {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reference to the Plugin Task object.
|
* Reference to the Plugin Task object.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var null|MCI_Footnotes_Task
|
* @var null|MCI_Footnotes_Task
|
||||||
*/
|
*/
|
||||||
public $a_obj_Task = null;
|
public $a_obj_Task = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes the Plugin.
|
* Executes the Plugin.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function run() {
|
public function run() {
|
||||||
// register language
|
// register language
|
||||||
MCI_Footnotes_Language::registerHooks();
|
MCI_Footnotes_Language::registerHooks();
|
||||||
// register Button hooks
|
// register Button hooks
|
||||||
MCI_Footnotes_WYSIWYG::registerHooks();
|
MCI_Footnotes_WYSIWYG::registerHooks();
|
||||||
// register general hooks
|
// register general hooks
|
||||||
MCI_Footnotes_Hooks::registerHooks();
|
MCI_Footnotes_Hooks::registerHooks();
|
||||||
|
|
||||||
// initialize the Plugin Dashboard
|
// initialize the Plugin Dashboard
|
||||||
$this->initializeDashboard();
|
$this->initializeDashboard();
|
||||||
// initialize the Plugin Task
|
// initialize the Plugin Task
|
||||||
$this->initializeTask();
|
$this->initializeTask();
|
||||||
|
|
||||||
// Register all Public Stylesheets and Scripts
|
// Register all Public Stylesheets and Scripts
|
||||||
add_action('init', array($this, 'registerPublic'));
|
add_action('init', array($this, 'registerPublic'));
|
||||||
// Enqueue all Public Stylesheets and Scripts
|
// Enqueue all Public Stylesheets and Scripts
|
||||||
add_action('wp_enqueue_scripts', array($this, 'registerPublic'));
|
add_action('wp_enqueue_scripts', array($this, 'registerPublic'));
|
||||||
// Register all Widgets of the Plugin.
|
// Register all Widgets of the Plugin.
|
||||||
add_action('widgets_init', array($this, 'initializeWidgets'));
|
add_action('widgets_init', array($this, 'initializeWidgets'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes all Widgets of the Plugin.
|
* Initializes all Widgets of the Plugin.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function initializeWidgets() {
|
public function initializeWidgets() {
|
||||||
register_widget("MCI_Footnotes_Widget_ReferenceContainer");
|
register_widget("MCI_Footnotes_Widget_ReferenceContainer");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the Dashboard of the Plugin and loads them.
|
* Initializes the Dashboard of the Plugin and loads them.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
private function initializeDashboard() {
|
private function initializeDashboard() {
|
||||||
new MCI_Footnotes_Layout_Init();
|
new MCI_Footnotes_Layout_Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the Plugin Task and registers the Task hooks.
|
* Initializes the Plugin Task and registers the Task hooks.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
private function initializeTask() {
|
private function initializeTask() {
|
||||||
$this->a_obj_Task = new MCI_Footnotes_Task();
|
$this->a_obj_Task = new MCI_Footnotes_Task();
|
||||||
$this->a_obj_Task->registerHooks();
|
$this->a_obj_Task->registerHooks();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers and enqueue scripts and stylesheets to the public pages.
|
* Registers and enqueues scripts and stylesheets to the public pages.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*
|
||||||
public function registerPublic() {
|
* Updated for v2.0.0 by adding jQueryUI following vonpiernik (@vonpiernik).
|
||||||
|
* See <https://wordpress.org/support/topic/tooltip-hover-not-showing/#post-13456762>
|
||||||
// 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 );
|
* jQueryUI re-enables the tooltip infobox disabled when WPv5.5 was released.
|
||||||
wp_enqueue_script( 'jQueryUI' );
|
*/
|
||||||
|
public function registerPublic() {
|
||||||
// IMPORTANT: current version number for cache busting:
|
|
||||||
wp_enqueue_style('mci-footnotes-css-public', plugins_url('../css/public.css', __FILE__), '', '2.0.3');
|
// Add jQueryUI:
|
||||||
// add the jQuery plugin (already registered by WordPress)
|
wp_register_script( 'jQueryUI', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js', null, null, true );
|
||||||
wp_enqueue_script('jquery');
|
wp_enqueue_script( 'jQueryUI' );
|
||||||
|
|
||||||
// Finish adding jQueryUI:
|
// IMPORTANT: up-to-date plugin version number for cache busting.
|
||||||
wp_enqueue_script('mci-footnotes-js-jquery-tools', plugins_url('../js/jquery.tools.min.js', __FILE__), ['jQueryUI']);
|
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']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0 14.09.14 10:43
|
* @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_STR_REFERENCE_CONTAINER_NAME => 'References',
|
||||||
self::C_BOOL_REFERENCE_CONTAINER_COLLAPSE => '',
|
self::C_BOOL_REFERENCE_CONTAINER_COLLAPSE => '',
|
||||||
self::C_STR_REFERENCE_CONTAINER_POSITION => 'post_end',
|
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_START => '((',
|
||||||
self::C_STR_FOOTNOTES_SHORT_CODE_END => '))',
|
self::C_STR_FOOTNOTES_SHORT_CODE_END => '))',
|
||||||
self::C_STR_FOOTNOTES_SHORT_CODE_START_USER_DEFINED => '',
|
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));
|
register_setting($this->getContainer($i), $this->getContainer($i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @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:
|
// If called directly, abort:
|
||||||
defined( 'ABSPATH' ) or die;
|
defined( 'ABSPATH' ) or die;
|
||||||
|
|
||||||
|
@ -309,10 +309,8 @@ class MCI_Footnotes_Task {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function search($p_str_Content, $p_bool_ConvertHtmlChars, $p_bool_HideFootnotesText) {
|
public function search($p_str_Content, $p_bool_ConvertHtmlChars, $p_bool_HideFootnotesText) {
|
||||||
// prepare prepending post ID to make footnote IDs unique wrt archive view:
|
// prepare prepending post ID to make footnote IDs unique wrt archive view:
|
||||||
$id_underscore = get_the_id();
|
self::$a_str_Prefix = get_the_id() . '_';
|
||||||
$id_underscore .= '_';
|
|
||||||
self::$a_str_Prefix = $id_underscore;
|
|
||||||
// contains the index for the next footnote on this page
|
// contains the index for the next footnote on this page
|
||||||
$l_int_FootnoteIndex = count(self::$a_arr_Footnotes) + 1;
|
$l_int_FootnoteIndex = count(self::$a_arr_Footnotes) + 1;
|
||||||
// contains the starting position for the lookup of a footnote
|
// contains the starting position for the lookup of a footnote
|
||||||
|
|
|
@ -5,8 +5,10 @@
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0 14.09.14 10:58
|
* @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, ...).
|
* Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
|
||||||
|
@ -17,114 +19,114 @@
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Template {
|
class MCI_Footnotes_Template {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Directory name for dashboard templates.
|
* Directory name for dashboard templates.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const C_STR_DASHBOARD = "dashboard";
|
const C_STR_DASHBOARD = "dashboard";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Directory name for public templates.
|
* Directory name for public templates.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const C_STR_PUBLIC = "public";
|
const C_STR_PUBLIC = "public";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains the content of the template after initialize.
|
* Contains the content of the template after initialize.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
private $a_str_OriginalContent = "";
|
private $a_str_OriginalContent = "";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains the content of the template after initialize with replaced place holders.
|
* Contains the content of the template after initialize with replaced place holders.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
private $a_str_ReplacedContent = "";
|
private $a_str_ReplacedContent = "";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Constructor. Reads and loads the template file without replace any placeholder.
|
* Class Constructor. Reads and loads the template file without replace any placeholder.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_FileType Template file type (take a look on the Class constants).
|
* @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_FileName Template file name inside the Template directory without the file extension.
|
||||||
* @param string $p_str_Extension Optional Template file extension (default: html)
|
* @param string $p_str_Extension Optional Template file extension (default: html)
|
||||||
*/
|
*/
|
||||||
public function __construct($p_str_FileType, $p_str_FileName, $p_str_Extension = "html") {
|
public function __construct($p_str_FileType, $p_str_FileName, $p_str_Extension = "html") {
|
||||||
// no template file type and/or file name set
|
// no template file type and/or file name set
|
||||||
if (empty($p_str_FileType) || empty($p_str_FileName)) {
|
if (empty($p_str_FileType) || empty($p_str_FileName)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// get absolute path to the specified template file
|
// get absolute path to the specified template file
|
||||||
$l_str_TemplateFile = dirname(__FILE__) . "/../templates/" . $p_str_FileType . "/" . $p_str_FileName . "." . $p_str_Extension;
|
$l_str_TemplateFile = dirname(__FILE__) . "/../templates/" . $p_str_FileType . "/" . $p_str_FileName . "." . $p_str_Extension;
|
||||||
// Template file does not exist
|
// Template file does not exist
|
||||||
if (!file_exists($l_str_TemplateFile)) {
|
if (!file_exists($l_str_TemplateFile)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// get Template file content
|
// get Template file content
|
||||||
$this->a_str_OriginalContent = str_replace("\n", "", file_get_contents($l_str_TemplateFile));
|
$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("\r", "", $this->a_str_OriginalContent);
|
||||||
$this->a_str_OriginalContent = str_replace("\t", " ", $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->a_str_OriginalContent = preg_replace('# +#', " ", $this->a_str_OriginalContent);
|
||||||
$this->reload();
|
$this->reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replace all placeholders specified in array.
|
* Replace all placeholders specified in array.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param array $p_arr_Placeholders Placeholders (key = placeholder, value = value).
|
* @param array $p_arr_Placeholders Placeholders (key = placeholder, value = value).
|
||||||
* @return bool True on Success, False if Placeholders invalid.
|
* @return bool True on Success, False if Placeholders invalid.
|
||||||
*/
|
*/
|
||||||
public function replace($p_arr_Placeholders) {
|
public function replace($p_arr_Placeholders) {
|
||||||
// no placeholders set
|
// no placeholders set
|
||||||
if (empty($p_arr_Placeholders)) {
|
if (empty($p_arr_Placeholders)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// template content is empty
|
// template content is empty
|
||||||
if (empty($this->a_str_ReplacedContent)) {
|
if (empty($this->a_str_ReplacedContent)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// iterate through each placeholder and replace it with its value
|
// iterate through each placeholder and replace it with its value
|
||||||
foreach($p_arr_Placeholders as $l_str_Placeholder => $l_str_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);
|
$this->a_str_ReplacedContent = str_replace("[[" . $l_str_Placeholder . "]]", $l_str_Value, $this->a_str_ReplacedContent);
|
||||||
}
|
}
|
||||||
// success
|
// success
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reloads the original content of the template file.
|
* Reloads the original content of the template file.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function reload() {
|
public function reload() {
|
||||||
$this->a_str_ReplacedContent = $this->a_str_OriginalContent;
|
$this->a_str_ReplacedContent = $this->a_str_OriginalContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the content of the template file with replaced placeholders.
|
* Returns the content of the template file with replaced placeholders.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @return string Template content with replaced placeholders.
|
* @return string Template content with replaced placeholders.
|
||||||
*/
|
*/
|
||||||
public function getContent() {
|
public function getContent() {
|
||||||
return $this->a_str_ReplacedContent;
|
return $this->a_str_ReplacedContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end of class
|
} // end of class
|
||||||
|
|
202
css/public.css
202
css/public.css
|
@ -4,169 +4,187 @@
|
||||||
* Created-Date: 15.05.14
|
* Created-Date: 15.05.14
|
||||||
* Created-Time: 16:21
|
* Created-Time: 16:21
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
* Version: 2.0.3
|
* Version: 2.0.4
|
||||||
* Last modified: 2020-10-29T1343+0100
|
* 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,
|
.footnotes_logo,
|
||||||
.footnote_tag_styling:hover {
|
.footnotes_logo:hover,
|
||||||
|
.footnotes_logo_heading {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
.footnote_tag_styling_1 {
|
.footnotes_logo_part1,
|
||||||
|
.footnotes_logo_part1_heading {
|
||||||
color: #2bb975;
|
color: #2bb975;
|
||||||
}
|
}
|
||||||
.footnote_tag_styling_2 {
|
.footnotes_logo_part2,
|
||||||
|
.footnotes_logo_part2_heading {
|
||||||
color: #545f5a;
|
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 {
|
.footnote_plugin_tooltip_text {
|
||||||
vertical-align: top !important;
|
vertical-align: top !important;
|
||||||
position: relative !important;
|
position: relative !important;
|
||||||
top: 0.6em !important;
|
top: 0.6em !important;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
.footnote_plugin_tooltip_text {
|
.footnote_plugin_tooltip_text {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.footnote_plugin_tooltip_text:hover {
|
.footnote_plugin_tooltip_text:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* tooltip infobox */
|
/* tooltip infobox */
|
||||||
|
|
||||||
span.footnote_tooltip {
|
span.footnote_tooltip {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
z-index: 99;
|
line-height: 1.2em;
|
||||||
|
z-index: 99;
|
||||||
}
|
}
|
||||||
.continue {
|
.continue {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: green;
|
color: green;
|
||||||
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
.continue:hover {
|
.continue:hover {
|
||||||
color: blue;
|
color: blue;
|
||||||
text-decoration: underline;
|
text-decoration: underline !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reference container */
|
/* Footnotes reference container
|
||||||
|
*/
|
||||||
|
|
||||||
.footnote-reference-container {
|
.footnote-reference-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
|
||||||
.footnote_container_prepare {
|
|
||||||
display: block !important;
|
|
||||||
padding-top: 24px !important;
|
|
||||||
}
|
|
||||||
#footnote_references_container td {
|
|
||||||
padding: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* label */
|
/* label */
|
||||||
|
.footnote_container_prepare {
|
||||||
|
display: block !important;
|
||||||
|
padding-top: 24px !important;
|
||||||
|
margin-bottom: -5px;
|
||||||
|
}
|
||||||
.footnote_container_prepare > p {
|
.footnote_container_prepare > p {
|
||||||
line-height: 1.3 !important;
|
line-height: 1.3 !important;
|
||||||
margin-top: 1em !important;
|
margin-top: 1em !important;
|
||||||
margin-bottom: 0.25em !important;
|
margin-bottom: 0.25em !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
border-bottom: 1px solid #aaaaaa !important;
|
border-bottom: 1px solid #aaaaaa !important;
|
||||||
display: block !important;
|
display: block !important;
|
||||||
-webkit-margin-before: 0.83em !important;
|
-webkit-margin-before: 0.83em !important;
|
||||||
-webkit-margin-after: 0.83em !important;
|
-webkit-margin-after: 0.83em !important;
|
||||||
-webkit-margin-start: 0px !important;
|
-webkit-margin-start: 0px !important;
|
||||||
-webkit-margin-end: 0px !important;
|
-webkit-margin-end: 0px !important;
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
.footnote_container_prepare > p > span:first-child {
|
.footnote_container_prepare > p > span:first-child {
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
font-size: 1.5em !important;
|
font-size: 1.5em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* collapse button */
|
/* collapse button */
|
||||||
#footnote_reference_container_collapse_button {
|
#footnote_reference_container_collapse_button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.footnote_container_prepare > p > span:last-child a {
|
.footnote_container_prepare > p > span:last-child a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.footnote_container_prepare > p > span:last-child a:hover {
|
.footnote_container_prepare > p > span:last-child a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
color: #008800;
|
color: #008800;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* footnotes */
|
/* footnotes */
|
||||||
.footnote_plugin_index,
|
.footnote_plugin_index,
|
||||||
.footnote_plugin_text {
|
.footnote_plugin_text {
|
||||||
border:none !important;
|
border:none !important;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
padding: 10px 3px 5px 0;
|
||||||
}
|
}
|
||||||
.footnote_plugin_index a,
|
.footnote_plugin_index a,
|
||||||
.footnote_plugin_text a {
|
.footnote_plugin_text a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.footnote_plugin_index a:hover,
|
.footnote_plugin_index a:hover,
|
||||||
.footnote_plugin_text a:hover {
|
.footnote_plugin_text a:hover {
|
||||||
text-decoration: underline !important;
|
text-decoration: underline !important;
|
||||||
}
|
}
|
||||||
.footnote_plugin_index {
|
.footnote_plugin_index {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
overflow-wrap: unset;
|
overflow-wrap: unset;
|
||||||
word-wrap: unset;
|
word-wrap: unset;
|
||||||
word-wrap: normal !important;
|
word-wrap: normal !important;
|
||||||
word-break: unset;
|
word-break: unset;
|
||||||
word-break: keep-all !important;
|
word-break: keep-all !important;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
max-width: 140px;
|
max-width: 140px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 768px) {
|
@media only screen and (max-width: 768px) {
|
||||||
.footnote_plugin_index {
|
.footnote_plugin_index {
|
||||||
max-width: 100px;
|
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 {
|
.footnote_container_overall_wrapper {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
}
|
}
|
||||||
.footnote_container_prepare {
|
.footnote_container_prepare {
|
||||||
page-break-after: avoid;
|
page-break-after: avoid;
|
||||||
}
|
}
|
||||||
table.footnote_reference_container td {
|
table.footnote_reference_container td {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
table.footnote_reference_container {
|
table.footnote_reference_container {
|
||||||
page-break-before: avoid;
|
page-break-before: avoid;
|
||||||
page-break-inside: auto;
|
page-break-inside: auto;
|
||||||
}
|
}
|
||||||
table.footnote_reference_container tr {
|
table.footnote_reference_container tr {
|
||||||
page-break-before: auto;
|
page-break-before: auto;
|
||||||
}
|
}
|
||||||
@media print {
|
@media print {
|
||||||
.footnote_tooltip,
|
.footnote_tooltip,
|
||||||
.footnote_reference_container_collapse_button_outfit,
|
.footnote_reference_container_collapse_button_outfit,
|
||||||
.footnote_plugin_index_arrow {
|
.footnote_plugin_index_arrow {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.footnote_plugin_tooltip_text {
|
.footnote_plugin_tooltip_text {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
.footnote_plugin_index a {
|
.footnote_plugin_index a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
div.post-meta-edit-link-wrapper { /*hides the Edit button in WP2020*/
|
div.post-meta-edit-link-wrapper { /*hides the Edit button in WP2020*/
|
||||||
display: none; /*(added as a service)*/
|
display: none; /*(added as a service)*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,42 +1,73 @@
|
||||||
/**
|
/**
|
||||||
* Created by Stefan Herndler.
|
* Created by Stefan Herndler.
|
||||||
* User: Stefan
|
* User: Stefan
|
||||||
* Date: 15.05.14
|
* Created-Date: 15.05.14
|
||||||
* Time: 16:21
|
* Created-Time: 16:21
|
||||||
* Version: 1.0-beta
|
|
||||||
* Since: 1.0
|
* 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 {
|
input[type=text], input[type=password], textarea, select {
|
||||||
padding-left: 8px !important;
|
padding-left: 8px !important;
|
||||||
padding-right: 8px !important;
|
padding-right: 8px !important;
|
||||||
width: 80% !important;
|
width: 80% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
height: 250px;
|
height: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postbox > h3 {
|
.postbox > h3 {
|
||||||
height: 32px !important;
|
height: 32px !important;
|
||||||
line-height: 32px !important;
|
line-height: 32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postbox > h3 > span {
|
.postbox > h3 > span {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postbox > .inside > table {
|
.postbox > .inside > table {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postbox > .inside >table > tbody > tr > td:first-child {
|
.postbox > .inside >table > tbody > tr > td:first-child {
|
||||||
width: 15% !important;
|
width: 15% !important;
|
||||||
font-weight: bold !important;
|
font-weight: bold !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footnote_placeholder_box_container {
|
.footnote_placeholder_box_container {
|
||||||
|
@ -57,5 +88,5 @@ span.footnote_highlight_placeholder {
|
||||||
width: 50% !important;
|
width: 50% !important;
|
||||||
display: block !important;
|
display: block !important;
|
||||||
margin: 20px auto !important;
|
margin: 20px auto !important;
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Plugin URI: https://wordpress.org/plugins/footnotes/
|
Plugin URI: https://wordpress.org/plugins/footnotes/
|
||||||
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
|
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
|
||||||
Author: Mark Cheret
|
Author: Mark Cheret
|
||||||
Version: 2.0.3
|
Version: 2.0.4
|
||||||
Author URI: http://cheret.de/plugins/footnotes-2/
|
Author URI: http://cheret.de/plugins/footnotes-2/
|
||||||
Text Domain: footnotes
|
Text Domain: footnotes
|
||||||
Domain Path: /languages
|
Domain Path: /languages
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
// Last modified: 2020-10-29T1405+0100
|
|
||||||
/**
|
/**
|
||||||
* @filesource
|
* @filesource
|
||||||
* @author Stefan Herndler
|
* @author Stefan Herndler
|
||||||
|
|
Binary file not shown.
|
@ -1,10 +1,12 @@
|
||||||
# Copyright (C) 2014
|
# Copyright (C) 2014
|
||||||
# This file is distributed under the same license as the package.
|
# This file is distributed under the same license as the package.
|
||||||
msgid ""
|
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"
|
"POT-Creation-Date: 2014-10-18 20:57+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-25T2210+0100\n"
|
"PO-Revision-Date: 2020-11-01T0622+0100\n"
|
||||||
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
|
"Last-Translator: <pewgeuges@gmail.com>\n"
|
||||||
"Language-Team: SHE <s.herndler@methis.at>\n"
|
"Language-Team: SHE <s.herndler@methis.at>\n"
|
||||||
"Language: de_AT\n"
|
"Language: de_AT\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -122,12 +124,12 @@ msgstr "Kurzanleitung"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:78
|
#: class/dashboard/subpage-main.php:78
|
||||||
msgid "References Container"
|
msgid "References Container"
|
||||||
msgstr "Liste der Einzelnachweise"
|
msgstr "Fußnotenliste"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:79
|
#: class/dashboard/subpage-main.php:79
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s styling"
|
msgid "Footnotes styling"
|
||||||
msgstr "%s Design"
|
msgstr "Fußnoten-Basiseinstellungen"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:81
|
#: class/dashboard/subpage-main.php:81
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
|
@ -147,7 +149,7 @@ msgstr "Benutzerdefinierten CSS Code zu den veröffentlichten Seiten hinzufügen
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:88
|
#: class/dashboard/subpage-main.php:88
|
||||||
msgid "WordPress hooks to look for Footnote short codes"
|
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
|
#: class/dashboard/subpage-main.php:90
|
||||||
msgid "Brief introduction in how to use the plugin"
|
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
|
#: class/dashboard/subpage-main.php:104
|
||||||
msgid "in the footer"
|
msgid "in the footer"
|
||||||
msgstr "am Ende der Seite"
|
msgstr "im Seitenfuß"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:105
|
#: class/dashboard/subpage-main.php:105
|
||||||
msgid "at the end of the post"
|
msgid "at the end of the post"
|
||||||
msgstr "nach dem Beitrag"
|
msgstr "im Anschluss an den Beitrag"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:106
|
#: class/dashboard/subpage-main.php:106
|
||||||
msgid "in the widget area"
|
msgid "in the widget area"
|
||||||
|
@ -179,7 +181,7 @@ msgstr "Zunächst zusammengeklappt"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:120
|
#: class/dashboard/subpage-main.php:120
|
||||||
msgid "Where shall the reference container appear"
|
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:139 class/dashboard/subpage-main.php:239
|
||||||
#: class/dashboard/subpage-main.php:290
|
#: class/dashboard/subpage-main.php:290
|
||||||
|
@ -339,11 +341,11 @@ msgstr "Pixel; negativer Wert für Linksversatz"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:325
|
#: class/dashboard/subpage-main.php:325
|
||||||
msgid "Offset Y (px)"
|
msgid "Offset Y (px)"
|
||||||
msgstr "Senkrechter Versatz"
|
msgstr "Senkrechter Versatz abwärts"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:327
|
#: class/dashboard/subpage-main.php:327
|
||||||
msgid "Offset (Y axis) in px (may be negative)"
|
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
|
#: class/dashboard/subpage-main.php:329
|
||||||
msgid "Color"
|
msgid "Color"
|
||||||
|
@ -391,7 +393,7 @@ msgstr "Maximalbreite"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:351
|
#: class/dashboard/subpage-main.php:351
|
||||||
msgid "Set the max-width to 0px to disable this setting."
|
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
|
#: class/dashboard/subpage-main.php:353
|
||||||
msgid "Box shadow color"
|
msgid "Box shadow color"
|
||||||
|
@ -407,7 +409,7 @@ msgstr "Benutzerdefinierter CSS Code"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:378
|
#: class/dashboard/subpage-main.php:378
|
||||||
msgid "Available CSS classes to customize the footnotes and the reference container"
|
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
|
#: class/dashboard/subpage-main.php:381
|
||||||
msgid "superscript, Footnotes index"
|
msgid "superscript, Footnotes index"
|
||||||
|
@ -482,7 +484,7 @@ msgstr "%sWeiterlesen%s"
|
||||||
#: class/widgets/reference-container.php:49
|
#: class/widgets/reference-container.php:49
|
||||||
#: class/widgets/reference-container.php:61
|
#: class/widgets/reference-container.php:61
|
||||||
msgid "The widget defines the position of the reference container if set to \"widget area\"."
|
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"
|
#~ msgid "inline footnotes"
|
||||||
#~ msgstr "Fußnoten Index im veröffneltichten Text"
|
#~ msgstr "Fußnoten Index im veröffneltichten Text"
|
||||||
|
|
Binary file not shown.
|
@ -5,8 +5,8 @@ msgstr ""
|
||||||
"Project-Id-Version: footnotes\n"
|
"Project-Id-Version: footnotes\n"
|
||||||
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
|
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
|
||||||
"POT-Creation-Date: 2014-10-18 20:58+0100\n"
|
"POT-Creation-Date: 2014-10-18 20:58+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-25T2214+0100\n"
|
"PO-Revision-Date: 2020-11-01T0622+0100\n"
|
||||||
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
|
"Last-Translator: <pewgeuges@gmail.com>\n"
|
||||||
"Language-Team: SHE <s.herndler@methis.at>\n"
|
"Language-Team: SHE <s.herndler@methis.at>\n"
|
||||||
"Language: de_DE\n"
|
"Language: de_DE\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -124,12 +124,12 @@ msgstr "Kurzanleitung"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:78
|
#: class/dashboard/subpage-main.php:78
|
||||||
msgid "References Container"
|
msgid "References Container"
|
||||||
msgstr "Liste der Einzelnachweise"
|
msgstr "Fußnotenliste"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:79
|
#: class/dashboard/subpage-main.php:79
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s styling"
|
msgid "Footnotes styling"
|
||||||
msgstr "%s Design"
|
msgstr "Fußnoten-Basiseinstellungen"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:81
|
#: class/dashboard/subpage-main.php:81
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
|
@ -149,7 +149,7 @@ msgstr "Benutzerdefinierten CSS Code zu den veröffentlichten Seiten hinzufügen
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:88
|
#: class/dashboard/subpage-main.php:88
|
||||||
msgid "WordPress hooks to look for Footnote short codes"
|
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
|
#: class/dashboard/subpage-main.php:90
|
||||||
msgid "Brief introduction in how to use the plugin"
|
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
|
#: class/dashboard/subpage-main.php:104
|
||||||
msgid "in the footer"
|
msgid "in the footer"
|
||||||
msgstr "am Ende der Seite"
|
msgstr "im Seitenfuß"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:105
|
#: class/dashboard/subpage-main.php:105
|
||||||
msgid "at the end of the post"
|
msgid "at the end of the post"
|
||||||
msgstr "nach dem Beitrag"
|
msgstr "im Anschluss an den Beitrag"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:106
|
#: class/dashboard/subpage-main.php:106
|
||||||
msgid "in the widget area"
|
msgid "in the widget area"
|
||||||
|
@ -181,7 +181,7 @@ msgstr "Zunächst zusammengeklappt"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:120
|
#: class/dashboard/subpage-main.php:120
|
||||||
msgid "Where shall the reference container appear"
|
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:139 class/dashboard/subpage-main.php:239
|
||||||
#: class/dashboard/subpage-main.php:290
|
#: class/dashboard/subpage-main.php:290
|
||||||
|
@ -341,11 +341,11 @@ msgstr "Pixel; negativer Wert für Linksversatz"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:325
|
#: class/dashboard/subpage-main.php:325
|
||||||
msgid "Offset Y (px)"
|
msgid "Offset Y (px)"
|
||||||
msgstr "Senkrechter Versatz"
|
msgstr "Senkrechter Versatz abwärts"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:327
|
#: class/dashboard/subpage-main.php:327
|
||||||
msgid "Offset (Y axis) in px (may be negative)"
|
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
|
#: class/dashboard/subpage-main.php:329
|
||||||
msgid "Color"
|
msgid "Color"
|
||||||
|
@ -393,7 +393,7 @@ msgstr "Maximalbreite"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:351
|
#: class/dashboard/subpage-main.php:351
|
||||||
msgid "Set the max-width to 0px to disable this setting."
|
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
|
#: class/dashboard/subpage-main.php:353
|
||||||
msgid "Box shadow color"
|
msgid "Box shadow color"
|
||||||
|
@ -409,7 +409,7 @@ msgstr "Benutzerdefinierter CSS Code"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:378
|
#: class/dashboard/subpage-main.php:378
|
||||||
msgid "Available CSS classes to customize the footnotes and the reference container"
|
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
|
#: class/dashboard/subpage-main.php:381
|
||||||
msgid "superscript, Footnotes index"
|
msgid "superscript, Footnotes index"
|
||||||
|
@ -484,7 +484,7 @@ msgstr "%sWeiterlesen%s"
|
||||||
#: class/widgets/reference-container.php:49
|
#: class/widgets/reference-container.php:49
|
||||||
#: class/widgets/reference-container.php:61
|
#: class/widgets/reference-container.php:61
|
||||||
msgid "The widget defines the position of the reference container if set to \"widget area\"."
|
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"
|
#~ msgid "inline footnotes"
|
||||||
#~ msgstr "Fußnoten Index im veröffneltichten Text"
|
#~ msgstr "Fußnoten Index im veröffneltichten Text"
|
||||||
|
|
Binary file not shown.
|
@ -1,10 +1,12 @@
|
||||||
# Copyright (C) 2014
|
# Copyright (C) 2014
|
||||||
# This file is distributed under the same license as the package.
|
# This file is distributed under the same license as the package.
|
||||||
msgid ""
|
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"
|
"POT-Creation-Date: 2014-10-18 20:58+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-26T2229+0100\n"
|
"PO-Revision-Date: 2020-11-01T0622+0100\n"
|
||||||
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
|
"Last-Translator: <pewgeuges@gmail.com>\n"
|
||||||
"Language-Team: SHE <s.herndler@methis.at>\n"
|
"Language-Team: SHE <s.herndler@methis.at>\n"
|
||||||
"Language: en_GB\n"
|
"Language: en_GB\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -126,12 +128,12 @@ msgstr "References Container"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:79
|
#: class/dashboard/subpage-main.php:79
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s styling"
|
msgid "Footnotes styling"
|
||||||
msgstr "%s styling"
|
msgstr "Footnotes main settings"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:81
|
#: class/dashboard/subpage-main.php:81
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
msgstr "Other"
|
msgstr "Other settings"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:83
|
#: class/dashboard/subpage-main.php:83
|
||||||
msgid "Superscript layout"
|
msgid "Superscript layout"
|
||||||
|
@ -339,11 +341,11 @@ msgstr "pixels; negative value for a leftwards offset"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:325
|
#: class/dashboard/subpage-main.php:325
|
||||||
msgid "Offset Y (px)"
|
msgid "Offset Y (px)"
|
||||||
msgstr "Vertical offset"
|
msgstr "Vertical offset downwards"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:327
|
#: class/dashboard/subpage-main.php:327
|
||||||
msgid "Offset (Y axis) in px (may be negative)"
|
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
|
#: class/dashboard/subpage-main.php:329
|
||||||
msgid "Color"
|
msgid "Color"
|
||||||
|
@ -391,7 +393,7 @@ msgstr "Maximum width"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:351
|
#: class/dashboard/subpage-main.php:351
|
||||||
msgid "Set the max-width to 0px to disable this setting."
|
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
|
#: class/dashboard/subpage-main.php:353
|
||||||
msgid "Box shadow color"
|
msgid "Box shadow color"
|
||||||
|
|
Binary file not shown.
|
@ -5,8 +5,8 @@ msgstr ""
|
||||||
"Project-Id-Version: footnotes\n"
|
"Project-Id-Version: footnotes\n"
|
||||||
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
|
"Report-Msgid-Bugs-To: http://wordpress.org/tag/footnotes\n"
|
||||||
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
|
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-26T2229+0100\n"
|
"PO-Revision-Date: 2020-11-01T0622+0100\n"
|
||||||
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
|
"Last-Translator: <pewgeuges@gmail.com>\n"
|
||||||
"Language-Team: SHE <s.herndler@methis.at>\n"
|
"Language-Team: SHE <s.herndler@methis.at>\n"
|
||||||
"Language: en_US\n"
|
"Language: en_US\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -128,12 +128,12 @@ msgstr "References Container"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:79
|
#: class/dashboard/subpage-main.php:79
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s styling"
|
msgid "Footnotes styling"
|
||||||
msgstr "%s styling"
|
msgstr "Footnotes main settings"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:81
|
#: class/dashboard/subpage-main.php:81
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
msgstr "Other"
|
msgstr "Other settings"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:83
|
#: class/dashboard/subpage-main.php:83
|
||||||
msgid "Superscript layout"
|
msgid "Superscript layout"
|
||||||
|
@ -341,11 +341,11 @@ msgstr "pixels; negative value for a leftwards offset"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:325
|
#: class/dashboard/subpage-main.php:325
|
||||||
msgid "Offset Y (px)"
|
msgid "Offset Y (px)"
|
||||||
msgstr "Vertical offset"
|
msgstr "Vertical offset downwards"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:327
|
#: class/dashboard/subpage-main.php:327
|
||||||
msgid "Offset (Y axis) in px (may be negative)"
|
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
|
#: class/dashboard/subpage-main.php:329
|
||||||
msgid "Color"
|
msgid "Color"
|
||||||
|
@ -393,7 +393,7 @@ msgstr "Maximum width"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:351
|
#: class/dashboard/subpage-main.php:351
|
||||||
msgid "Set the max-width to 0px to disable this setting."
|
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
|
#: class/dashboard/subpage-main.php:353
|
||||||
msgid "Box shadow color"
|
msgid "Box shadow color"
|
||||||
|
|
Binary file not shown.
|
@ -1,10 +1,12 @@
|
||||||
# Copyright (C) 2014
|
# Copyright (C) 2014
|
||||||
# This file is distributed under the same license as the package.
|
# This file is distributed under the same license as the package.
|
||||||
msgid ""
|
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"
|
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-25T2209+0100\n"
|
"PO-Revision-Date: 2020-11-01T0622+0100\n"
|
||||||
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
|
"Last-Translator: <pewgeuges@gmail.com>\n"
|
||||||
"Language-Team: Pablo Laguna <pablolaguna@vera.com.uy>\n"
|
"Language-Team: Pablo Laguna <pablolaguna@vera.com.uy>\n"
|
||||||
"Language: es_ES\n"
|
"Language: es_ES\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -126,8 +128,8 @@ msgstr "Sección de notas"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:79
|
#: class/dashboard/subpage-main.php:79
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s styling"
|
msgid "Footnotes styling"
|
||||||
msgstr "Apariencia de %s"
|
msgstr "Ajustes básicos"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:81
|
#: class/dashboard/subpage-main.php:81
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
|
@ -339,11 +341,11 @@ msgstr "en pixels; valor negativo para desplazar a la izquierda"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:325
|
#: class/dashboard/subpage-main.php:325
|
||||||
msgid "Offset Y (px)"
|
msgid "Offset Y (px)"
|
||||||
msgstr "Desplazamiento vertical"
|
msgstr "Desplazamiento vertical hacia abajo"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:327
|
#: class/dashboard/subpage-main.php:327
|
||||||
msgid "Offset (Y axis) in px (may be negative)"
|
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
|
#: class/dashboard/subpage-main.php:329
|
||||||
msgid "Color"
|
msgid "Color"
|
||||||
|
|
Binary file not shown.
|
@ -1,10 +1,12 @@
|
||||||
# Copyright (C) 2014
|
# Copyright (C) 2014
|
||||||
# This file is distributed under the same license as the package.
|
# This file is distributed under the same license as the package.
|
||||||
msgid ""
|
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"
|
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-25T2214+0100\n"
|
"PO-Revision-Date: 2020-11-01T0622+0100\n"
|
||||||
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
|
"Last-Translator: <pewgeuges@gmail.com>\n"
|
||||||
"Language-Team: enter your name <enter@your.email>\n"
|
"Language-Team: enter your name <enter@your.email>\n"
|
||||||
"Language: en_GB\n"
|
"Language: en_GB\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -126,7 +128,7 @@ msgstr ""
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:79
|
#: class/dashboard/subpage-main.php:79
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s styling"
|
msgid "Footnotes styling"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:81
|
#: class/dashboard/subpage-main.php:81
|
||||||
|
|
Binary file not shown.
|
@ -1,10 +1,12 @@
|
||||||
# Copyright (C) 2014
|
# Copyright (C) 2014
|
||||||
# This file is distributed under the same license as the package.
|
# This file is distributed under the same license as the package.
|
||||||
msgid ""
|
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"
|
"POT-Creation-Date: 2014-10-18 20:59+0100\n"
|
||||||
"PO-Revision-Date: 2020-10-25T2210+0100\n"
|
"PO-Revision-Date: 2020-11-01T0622+0100\n"
|
||||||
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
|
"Last-Translator: <pewgeuges@gmail.com>\n"
|
||||||
"Language-Team: SHE <s.herndler@methis.at>\n"
|
"Language-Team: SHE <s.herndler@methis.at>\n"
|
||||||
"Language: fr_FR\n"
|
"Language: fr_FR\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
|
@ -126,8 +128,8 @@ msgstr "Liste des notes"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:79
|
#: class/dashboard/subpage-main.php:79
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s styling"
|
msgid "Footnotes styling"
|
||||||
msgstr "Mise en forme %s"
|
msgstr "Paramètres de base"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:81
|
#: class/dashboard/subpage-main.php:81
|
||||||
msgid "Other"
|
msgid "Other"
|
||||||
|
@ -339,11 +341,11 @@ msgstr "pixels ; valeur négative pour décaler vers la gauche"
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:325
|
#: class/dashboard/subpage-main.php:325
|
||||||
msgid "Offset Y (px)"
|
msgid "Offset Y (px)"
|
||||||
msgstr "Décalage vertical "
|
msgstr "Décalage vertical vers le bas "
|
||||||
|
|
||||||
#: class/dashboard/subpage-main.php:327
|
#: class/dashboard/subpage-main.php:327
|
||||||
msgid "Offset (Y axis) in px (may be negative)"
|
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
|
#: class/dashboard/subpage-main.php:329
|
||||||
msgid "Color"
|
msgid "Color"
|
||||||
|
|
11
readme.txt
11
readme.txt
|
@ -4,7 +4,7 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen
|
||||||
Requires at least: 3.9
|
Requires at least: 3.9
|
||||||
Tested up to: 5.5
|
Tested up to: 5.5
|
||||||
Requires PHP: 5.6
|
Requires PHP: 5.6
|
||||||
Stable Tag: 2.0.3
|
Stable Tag: 2.0.4
|
||||||
License: GPLv3 or later
|
License: GPLv3 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
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 ==
|
== 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 =
|
= 2.0.3 =
|
||||||
- Bugfix: Layout: Self-adjusting width of ID column but hidden overflow
|
- 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: Fragment IDs: Prepended post ID to footnote number
|
||||||
- Bugfix: Feed plugin version in style sheet query string for cache busting
|
- Bugfix: Feed plugin version in style sheet query string for cache busting
|
||||||
- Bugfix: Print style: Hide reference collapse button when printing
|
- Bugfix: Print style: Hide reference collapse button when printing
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<tr>
|
<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">↑ </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]] </span>[[index]].</a></td>
|
||||||
<td class="footnote_plugin_text">[[text]]</td>
|
<td class="footnote_plugin_text">[[text]]</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Reference in a new issue