Prepare for release version 1.3.2

- Bugfix: More security recognizing Footnotes on public pages (e.g. ignoring empty Footnote short codes)
- Bugfix: Clear old Footnotes before lookup new public page (only if no reference container displayed before)
- Updated: language EN and DE
- Added: Setting to customize the hyperlink symbol in der reference container for each footnote reference
- Added: Setting to enter a user defined hyperlink symbol

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@969519 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-08-21 08:43:53 +00:00
parent 26dc75ff83
commit 6924027cd8
13 changed files with 329 additions and 126 deletions

View file

@ -357,6 +357,9 @@ class MCI_Footnotes_Admin {
$l_str_Output = '<select ' . $p_str_ClassName . ' name="' . $l_arr_Data["name"] . '" id="' . $l_arr_Data["id"] . '">';
// loop through all array keys
foreach ($p_arr_Options as $l_str_Value => $l_str_Caption) {
if (!is_string($l_str_Value)) {
$l_str_Value = (string)$l_str_Value;
}
// add key as option value
$l_str_Output .= '<option value="' . $l_str_Value . '"';
// check if option value is set and has to be pre-selected

View file

@ -147,6 +147,26 @@ class MCI_Footnotes_Convert {
// nothing found that says "true", so we return false */
return false;
}
/**
* @since 1.3.2
* @param int $p_int_Index [default: -1 = all arrows, otherwise the arrow with the specified index]
* @return array|string
*/
public static function getArrow($p_int_Index = -1) {
// define all possible arrows
$l_arr_Arrows = array("&#8593;", "&#8613;", "&#8607;", "&#8617;", "&#8626;", "&#8629;", "&#8657;", "&#8673;", "&#8679;", "&#65514;");
// convert index to an integer
if (!is_int($p_int_Index)) {
$p_int_Index = intval($p_int_Index);
}
// return the whole arrow array
if ($p_int_Index < 0 || $p_int_Index > count($l_arr_Arrows)) {
return $l_arr_Arrows;
}
// return a single arrow
return $l_arr_Arrows[$p_int_Index];
}
} // class MCI_Footnotes_Convert
endif;

View file

@ -33,14 +33,22 @@ class MCI_Footnotes_Tab_Custom extends MCI_Footnotes_Admin {
array($this, 'Description'),
FOOTNOTES_SETTINGS_TAB_CUSTOM
);
// styling
// superscript
add_meta_box(
'MCI_Footnotes_Tab_Custom_Styling',
'MCI_Footnotes_Tab_Custom_Superscript',
__("Superscript layout", FOOTNOTES_PLUGIN_NAME),
array($this, 'Superscript'),
FOOTNOTES_SETTINGS_TAB_CUSTOM,
'main'
);
// symbol hyperlink to footnotes index
add_meta_box(
'MCI_Footnotes_Tab_Custom_HyperlinkSymbol',
__("Hyperlink symbol in the Reference container", FOOTNOTES_PLUGIN_NAME),
array($this, 'HyperlinkSymbol'),
FOOTNOTES_SETTINGS_TAB_CUSTOM,
'main'
);
// custom css
add_meta_box(
'MCI_Footnotes_Tab_Custom_Customize',
@ -74,6 +82,24 @@ class MCI_Footnotes_Tab_Custom extends MCI_Footnotes_Admin {
$this->AddNewline();
}
/**
* layout of the hyperlink symbol to jump to the footnotes index inside post
* @since 1.3.2
* @return void
*/
public function HyperlinkSymbol() {
// load convert class
require_once(dirname(__FILE__) . "/convert.php");
$this->AddLabel(FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL, __("Hyperlink symbol:", FOOTNOTES_PLUGIN_NAME));
$this->AddSelect(FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL, MCI_Footnotes_Convert::getArrow(), "footnote_plugin_15");
$this->AddNewline();
$this->AddLabel(FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL_USER, __("or enter a user defined symbol:", FOOTNOTES_PLUGIN_NAME));
$this->AddTextbox(FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL_USER, "footnote_plugin_15");
$this->AddText("&nbsp;&nbsp;&nbsp;");
$this->AddText("<i>" . __("if set it overrides the hyperlink symbol above", FOOTNOTES_PLUGIN_NAME) . "</i>");
}
/**
* customize css box for public page
* @since 1.3

View file

@ -288,6 +288,20 @@ class MCI_Footnotes_Task {
$l_bool_CollapseReference = MCI_Footnotes_Convert::toBool($this->a_arr_Settings[FOOTNOTES_INPUT_COLLAPSE_REFERENCES]);
// get footnote counter style
$l_str_CounterStyle = $this->a_arr_Settings[FOOTNOTES_INPUT_COUNTER_STYLE];
// get hyperlink symbol index
$l_int_HyperlinkSymbolIndex = $this->a_arr_Settings[FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL];
// get html arrow
$l_str_HyperlinkSymbol = MCI_Footnotes_Convert::getArrow($l_int_HyperlinkSymbolIndex);
// set html arrow to the first one if invalid index defined
if (is_array($l_str_HyperlinkSymbol)) {
$l_str_HyperlinkSymbol = MCI_Footnotes_Convert::getArrow(0);
}
// get user defined hyperlink symbol
$l_int_HyperlinkSymbol_UserDefined = $this->a_arr_Settings[FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL_USER];
if (!empty($l_int_HyperlinkSymbol_UserDefined)) {
// override hyperlink symbol with user defined symbol
$l_str_HyperlinkSymbol = $l_int_HyperlinkSymbol_UserDefined;
}
// add expand/collapse buttons to the reference label if collapsed by default
// @since 1.2.2
@ -339,6 +353,7 @@ class MCI_Footnotes_Task {
// added function to convert the counter style in the reference container (bugfix for the link to the footnote) in version 1.0.6
$l_str_ReplaceText = str_replace("[[FOOTNOTE INDEX SHORT]]", MCI_Footnotes_Convert::Index($l_str_FirstFootnoteIndex, $l_str_CounterStyle), $l_str_FootnoteTemplate);
$l_str_ReplaceText = str_replace("[[FOOTNOTE INDEX]]", $l_str_FootnoteIndex, $l_str_ReplaceText);
$l_str_ReplaceText = str_replace("[[HYPERLINK SYMBOL]]", $l_str_HyperlinkSymbol, $l_str_ReplaceText);
$l_str_ReplaceText = str_replace("[[FOOTNOTE TEXT]]", $l_str_FootnoteText, $l_str_ReplaceText);
$l_str_ReplaceText = preg_replace('@[\s]{2,}@',' ',$l_str_ReplaceText);
// add the footnote container to the output

View file

@ -50,9 +50,11 @@ define("FOOTNOTES_INPUT_COUNTER_STYLE", "footnote_inputfield_counter_style"); //
define("FOOTNOTES_INPUT_REFERENCE_CONTAINER_PLACE", "footnote_inputfield_reference_container_place"); // id of input field "placement of reference container" setting
define("FOOTNOTES_INPUT_PLACEHOLDER_START_USERDEFINED", "footnote_inputfield_placeholder_start_user_defined"); // id of input field for 'user defined placeholder start tag
define("FOOTNOTES_INPUT_PLACEHOLDER_END_USERDEFINED", "footnote_inputfield_placeholder_end_user_defined"); // id of input field for 'user defined placeholder end tag
define("FOOTNOTES_INPUT_CUSTOM_CSS", "footnote_inputfield_custom_css"); // if of input field for 'custom css' setting
define("FOOTNOTES_INPUT_CUSTOM_STYLING_BEFORE", "footnote_inputfield_custom_styling_before"); // if of input field for 'footnotes styling before' setting
define("FOOTNOTES_INPUT_CUSTOM_STYLING_AFTER", "footnote_inputfield_custom_styling_after"); // if of input field for 'footnotes styling after' setting
define("FOOTNOTES_INPUT_CUSTOM_CSS", "footnote_inputfield_custom_css"); // id of input field for 'custom css' setting
define("FOOTNOTES_INPUT_CUSTOM_STYLING_BEFORE", "footnote_inputfield_custom_styling_before"); // id of input field for 'footnotes styling before' setting
define("FOOTNOTES_INPUT_CUSTOM_STYLING_AFTER", "footnote_inputfield_custom_styling_after"); // id of input field for 'footnotes styling after' setting
define("FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL", "footnote_inputfield_custom_hyperlink_symbol"); // id of input field for 'footnotes hyperlink symbol' setting
define("FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL_USER", "footnote_inputfield_custom_hyperlink_symbol_user"); // id of input field for 'footnotes hyperlink symbol' user-defined setting
// PLUGIN REFERENCES CONTAINER ID
define("FOOTNOTES_REFERENCES_CONTAINER_ID", "footnote_references_container"); // id for the div surrounding the footnotes

View file

@ -59,7 +59,9 @@ function MCI_Footnotes_getOptions($p_bool_ConvertHtmlChars = true) {
$l_arr_Default_Custom = array(
FOOTNOTES_INPUT_CUSTOM_CSS => '',
FOOTNOTES_INPUT_CUSTOM_STYLING_BEFORE => '',
FOOTNOTES_INPUT_CUSTOM_STYLING_AFTER => ')'
FOOTNOTES_INPUT_CUSTOM_STYLING_AFTER => ')',
FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL => '&#8593;',
FOOTNOTES_INPUT_CUSTOM_HYPERLINK_SYMBOL_USER => ''
);
$l_arr_General = MCI_Footnotes_ValidateOptions(get_option(FOOTNOTES_SETTINGS_CONTAINER), $l_arr_Default_General, $p_bool_ConvertHtmlChars);

View file

@ -4,7 +4,7 @@
Plugin URI: http://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: media competence institute
Version: 1.3.1
Version: 1.3.2
Author URI: http://cheret.co.uk/mci
Text Domain: footnotes
Domain Path: /languages

Binary file not shown.

View file

@ -1,15 +1,15 @@
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"POT-Creation-Date: 2014-05-27 21:03+0100\n"
"PO-Revision-Date: 2014-05-27 21:04+0100\n"
"Last-Translator: Stefan Herndler <support@herndler.org>\n"
"POT-Creation-Date: 2014-08-21 10:29+0100\n"
"PO-Revision-Date: 2014-08-21 10:35+0100\n"
"Last-Translator: Stefan Herndler <s.herndler@methis.at>\n"
"Language-Team: SHE <s.herndler@methis.at>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.5\n"
"X-Generator: Poedit 1.6.6\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
@ -18,138 +18,205 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: classes/footnotes.php:68
#: classes/footnotes.php:79
msgid "You must be logged in to run this script."
msgstr "Sie müssen angemeldet sein um diese Funktion ausführen zu können."
#: classes/footnotes.php:73
#: classes/footnotes.php:84
msgid "You do not have permission to run this script."
msgstr "Sie haben nicht die Berechtigung diese Funktion auszuführen."
#: classes/footnotes_settings.php:409
#: classes/tab_custom.php:28
msgid "Customize"
msgstr "Personalisieren"
#: classes/tab_custom.php:39
msgid "Superscript layout"
msgstr "Layout des Fußnoten Index"
#: classes/tab_custom.php:47
msgid "Hyperlink symbol in the Reference container"
msgstr "Einzelnachweis - Symbol für den Link zur Fußnote im Text"
#: classes/tab_custom.php:55
msgid "Add custom CSS to the public page"
msgstr "Benutzerdefinierten CSS Code zu den veröffentlichten Seiten hinzufügen"
#: classes/tab_custom.php:76
msgid "Before Footnotes index:"
msgstr "Vor dem Fußnoten Index:"
#: classes/tab_custom.php:80
msgid "After Footnotes index:"
msgstr "Nach dem Fußnoten Index:"
#: classes/tab_custom.php:93
msgid "Hyperlink symbol:"
msgstr "Symbol für den Link:"
#: classes/tab_custom.php:97
msgid "or enter a user defined symbol:"
msgstr "oder definiere ein eigenes Symbol:"
#: classes/tab_custom.php:100
msgid "if set it overrides the hyperlink symbol above"
msgstr "wenn gesetzt wird das oben definierte Symbol überschrieben"
#: classes/tab_custom.php:110
msgid "Add custom CSS:"
msgstr "Benutzerdefinierter CSS Code:"
#: classes/tab_custom.php:114
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:"
#: classes/tab_custom.php:117
msgid "inline footnotes"
msgstr "Fußnoten Index im veröffneltichten Text"
#: classes/tab_custom.php:118
msgid "inline footnotes, mouse over highlight box"
msgstr "Popup der Fußnote im veröffentlichten Text"
#: classes/tab_custom.php:120
msgid "reference container footnotes index"
msgstr "Einzelnachweis - Fußnote Index"
#: classes/tab_custom.php:121
msgid "reference container footnotes linked arrow"
msgstr "Einzelnachweiß - Symbol für den Link"
#: classes/tab_custom.php:122
msgid "reference container footnotes text"
msgstr "Einzelnachweis - Fußnote"
#: classes/tab_general.php:28
msgid "General"
msgstr "Allgemein"
#: classes/footnotes_settings.php:411
#: classes/tab_general.php:32
#, php-format
msgid "%s Settings"
msgstr "%s Einstellungen"
#: classes/footnotes_settings.php:412
#: classes/tab_general.php:39
msgid "References Container"
msgstr "Einzelnachweise"
#: classes/footnotes_settings.php:413
#: classes/tab_general.php:47
#, php-format
msgid "%s styling"
msgstr "%s Design"
#: classes/footnotes_settings.php:415
#: classes/tab_general.php:63
msgid "Other"
msgstr "Andere"
#: classes/footnotes_settings.php:435
#: classes/tab_general.php:84
msgid "References label:"
msgstr "Überschrift \"Einzelnachweis\":"
#: classes/footnotes_settings.php:440
#: classes/tab_general.php:88
msgid "Collapse references by default:"
msgstr "Verstecke Einzelnachweise standardmäßig:"
#: classes/footnotes_settings.php:449
#: classes/tab_general.php:94
msgid "in the footer"
msgstr "am Ende der Seite"
#: classes/footnotes_settings.php:450
#: classes/tab_general.php:95
msgid "at the end of the post"
msgstr "nach einem Beitrag"
#: classes/footnotes_settings.php:451
#: classes/tab_general.php:96
msgid "in the widget area"
msgstr "im Widget"
#: classes/footnotes_settings.php:453
#: classes/tab_general.php:98
msgid "Where shall the reference container appear:"
msgstr "Positionierung der Einzelnachweise:"
#: classes/footnotes_settings.php:465 classes/footnotes_settings.php:546
#: classes/tab_general.php:109 classes/tab_general.php:182
msgid "Yes"
msgstr "Ja"
#: classes/footnotes_settings.php:466 classes/footnotes_settings.php:547
#: classes/tab_general.php:110 classes/tab_general.php:183
msgid "No"
msgstr "Nein"
#: classes/footnotes_settings.php:468
#: classes/tab_general.php:112
msgid "Combine identical footnotes:"
msgstr "Kombiniere meine Fußnoten:"
#: classes/footnotes_settings.php:478 classes/footnotes_settings.php:488
#: classes/tab_general.php:120 classes/tab_general.php:129
msgid "user defined"
msgstr "benutzerdefiniert"
#: classes/footnotes_settings.php:480
#: classes/tab_general.php:122
msgid "Footnote tag starts with:"
msgstr "Fußnoten starten mit:"
#: classes/footnotes_settings.php:490
#: classes/tab_general.php:131
msgid "and ends with:"
msgstr "und endet mit:"
#: classes/footnotes_settings.php:504
#: classes/tab_general.php:143
msgid "Arabic Numbers - Plain"
msgstr "arabische Ziffern"
#: classes/footnotes_settings.php:505
#: classes/tab_general.php:144
msgid "Arabic Numbers - Leading 0"
msgstr "arabisch Ziffern - führende Null"
#: classes/footnotes_settings.php:506
#: classes/tab_general.php:145
msgid "Latin Character - lower case"
msgstr "alphabetisch - Kleinschreibung"
#: classes/footnotes_settings.php:507
#: classes/tab_general.php:146
msgid "Latin Character - upper case"
msgstr "alphabetisch - Großschreibung"
#: classes/footnotes_settings.php:508
#: classes/tab_general.php:147
msgid "Roman Numerals"
msgstr "Römische Ziffern"
#: classes/footnotes_settings.php:510
#: classes/tab_general.php:149
msgid "Counter style:"
msgstr "Fußnoten Zähler:"
#: classes/footnotes_settings.php:522 includes/replacer.php:164
#: classes/tab_general.php:160 classes/task.php:143
#, php-format
msgid "I %s %s"
msgstr "Ich %s %s"
#: classes/footnotes_settings.php:523 includes/replacer.php:167
#: classes/tab_general.php:161 classes/task.php:146
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "Diese Seite verwendet das Plugin %s"
#: classes/footnotes_settings.php:524 includes/replacer.php:171
#: classes/tab_general.php:162 classes/task.php:150
#, php-format
msgid "extra smooth %s"
msgstr "besonders feine %s"
#: classes/footnotes_settings.php:525
#: classes/tab_general.php:163
msgid "random text"
msgstr "zufälliger Text"
#: classes/footnotes_settings.php:526
#: classes/tab_general.php:164
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "Verstecke %s %s am Ende meiner Seite."
#: classes/footnotes_settings.php:528
#: classes/tab_general.php:166
#, php-format
msgid "Tell the world you're using %s:"
msgstr "Teile der Welt mit, dass du %s verwendest:"
#: classes/footnotes_settings.php:533
#: classes/tab_general.php:170
#, php-format
msgid ""
"Don't tell the world you're using %s on specific pages by adding the "
@ -158,40 +225,40 @@ msgstr ""
"Platzhalter um der Welt an einzelnen Seiten nicht mitzuteilen, dass Sie %s "
"verwenden:"
#: classes/footnotes_settings.php:549
#: classes/tab_general.php:185
msgid "Allow footnotes on Summarized Posts:"
msgstr "Erlaube Fußnoten in Zusammenfassungen:"
#: classes/footnotes_settings.php:562
msgid "HowTo"
#: classes/tab_howto.php:28
msgid "How to"
msgstr "Hilfe"
#: classes/footnotes_settings.php:565
#: classes/tab_howto.php:39
msgid "Brief introduction in how to use the plugin"
msgstr "Kurze Anleitung für die Verwendung des Plugins."
#: classes/footnotes_settings.php:596
msgid "Start your footnote with the following shortcode:"
msgstr "Starten Sie eine Fußnote mit:"
#: classes/footnotes_settings.php:602
msgid "...and end your footnote with this shortcode:"
msgstr "...und beenden Sie diese mit:"
#: classes/footnotes_settings.php:610 classes/footnotes_settings.php:613
#: classes/tab_howto.php:69
msgid "example string"
msgstr "Beispieltext"
#: classes/footnotes_settings.php:611
#: classes/tab_howto.php:74
msgid "Start your footnote with the following shortcode:"
msgstr "Starten Sie eine Fußnote mit:"
#: classes/tab_howto.php:80
msgid "...and end your footnote with this shortcode:"
msgstr "...und beenden Sie diese mit:"
#: classes/tab_howto.php:88
msgid "will be displayed as:"
msgstr "wird dargestellt als:"
#: classes/footnotes_settings.php:618
#: classes/tab_howto.php:94
#, php-format
msgid "If you have any questions, please don't hesitate to %se-mail%s us."
msgstr "Bei Fragen können Sie uns gerne eine %se-Mail%s senden."
#: classes/footnotes_widget.php:15 classes/footnotes_widget.php:25
#: classes/widget.php:25 classes/widget.php:43
msgid ""
"The widget defines the position of the reference container if set to "
"\"widget area\"."
@ -199,14 +266,17 @@ msgstr ""
"Das Widget definiert die Position der Einzelnachweise wenn \"im Widget\" "
"eingestellt ist."
#: includes/plugin-settings.php:22
#: includes/plugin-settings.php:24
msgid "Settings"
msgstr "Einstellungen"
#: includes/plugin-settings.php:24
#: includes/plugin-settings.php:26
msgid "Support"
msgstr "Support"
#~ msgid "HowTo"
#~ msgstr "Hilfe"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"

Binary file not shown.

View file

@ -1,15 +1,15 @@
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
"POT-Creation-Date: 2014-05-27 21:03+0100\n"
"PO-Revision-Date: 2014-06-20 12:42+0100\n"
"Last-Translator: Mark Cheret <mark@cheret.de>\n"
"POT-Creation-Date: 2014-08-21 10:24+0100\n"
"PO-Revision-Date: 2014-08-21 10:29+0100\n"
"Last-Translator: Stefan Herndler <s.herndler@methis.at>\n"
"Language-Team: SHE <s.herndler@methis.at>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.5\n"
"X-Generator: Poedit 1.6.6\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
@ -18,138 +18,204 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
#: classes/footnotes.php:68
#: classes/footnotes.php:79
msgid "You must be logged in to run this script."
msgstr "You must be logged in to run this script."
#: classes/footnotes.php:73
#: classes/footnotes.php:84
msgid "You do not have permission to run this script."
msgstr "You do not have permission to run this script."
#: classes/footnotes_settings.php:409
#: classes/tab_custom.php:28
msgid "Customize"
msgstr "Customize"
#: classes/tab_custom.php:39
msgid "Superscript layout"
msgstr "Superscript layout"
#: classes/tab_custom.php:47
msgid "Hyperlink symbol in the Reference container"
msgstr "Hyperlink symbol in the Reference container"
#: classes/tab_custom.php:55
msgid "Add custom CSS to the public page"
msgstr "Add custom CSS to the public page"
#: classes/tab_custom.php:76
msgid "Before Footnotes index:"
msgstr "Before Footnotes index:"
#: classes/tab_custom.php:80
msgid "After Footnotes index:"
msgstr "After Footnotes index:"
#: classes/tab_custom.php:93
msgid "Hyperlink symbol:"
msgstr "Hyperlink symbol:"
#: classes/tab_custom.php:97
msgid "or enter a user defined symbol:"
msgstr "or enter a user defined symbol:"
#: classes/tab_custom.php:100
msgid "if set it overrides the hyperlink symbol above"
msgstr "if set it overrides the hyperlink symbol above"
#: classes/tab_custom.php:110
msgid "Add custom CSS:"
msgstr "Add custom CSS:"
#: classes/tab_custom.php:114
msgid ""
"Available CSS classes to customize the footnotes and the reference container:"
msgstr ""
"Available CSS classes to customize the footnotes and the reference container:"
#: classes/tab_custom.php:117
msgid "inline footnotes"
msgstr "inline footnotes"
#: classes/tab_custom.php:118
msgid "inline footnotes, mouse over highlight box"
msgstr "inline footnotes, mouse over highlight box"
#: classes/tab_custom.php:120
msgid "reference container footnotes index"
msgstr "reference container footnotes index"
#: classes/tab_custom.php:121
msgid "reference container footnotes linked arrow"
msgstr "reference container footnotes linked arrow"
#: classes/tab_custom.php:122
msgid "reference container footnotes text"
msgstr "reference container footnotes text"
#: classes/tab_general.php:28
msgid "General"
msgstr "General"
#: classes/footnotes_settings.php:411
#: classes/tab_general.php:32
#, php-format
msgid "%s Settings"
msgstr "%s Settings"
#: classes/footnotes_settings.php:412
#: classes/tab_general.php:39
msgid "References Container"
msgstr "References Container"
#: classes/footnotes_settings.php:413
#: classes/tab_general.php:47
#, php-format
msgid "%s styling"
msgstr "%s styling"
#: classes/footnotes_settings.php:415
#: classes/tab_general.php:63
msgid "Other"
msgstr "Other"
#: classes/footnotes_settings.php:435
#: classes/tab_general.php:84
msgid "References label:"
msgstr "References label:"
#: classes/footnotes_settings.php:440
#: classes/tab_general.php:88
msgid "Collapse references by default:"
msgstr "Collapse references by default:"
#: classes/footnotes_settings.php:449
#: classes/tab_general.php:94
msgid "in the footer"
msgstr "in the footer"
#: classes/footnotes_settings.php:450
#: classes/tab_general.php:95
msgid "at the end of the post"
msgstr "at the end of the post"
#: classes/footnotes_settings.php:451
#: classes/tab_general.php:96
msgid "in the widget area"
msgstr "in the widget area"
#: classes/footnotes_settings.php:453
#: classes/tab_general.php:98
msgid "Where shall the reference container appear:"
msgstr "Where should the reference container appear:"
#: classes/footnotes_settings.php:465 classes/footnotes_settings.php:546
#: classes/tab_general.php:109 classes/tab_general.php:182
msgid "Yes"
msgstr "Yes"
#: classes/footnotes_settings.php:466 classes/footnotes_settings.php:547
#: classes/tab_general.php:110 classes/tab_general.php:183
msgid "No"
msgstr "No"
#: classes/footnotes_settings.php:468
#: classes/tab_general.php:112
msgid "Combine identical footnotes:"
msgstr "Combine identical footnotes:"
#: classes/footnotes_settings.php:478 classes/footnotes_settings.php:488
#: classes/tab_general.php:120 classes/tab_general.php:129
msgid "user defined"
msgstr "user defined"
#: classes/footnotes_settings.php:480
#: classes/tab_general.php:122
msgid "Footnote tag starts with:"
msgstr "Footnote tag starts with:"
#: classes/footnotes_settings.php:490
#: classes/tab_general.php:131
msgid "and ends with:"
msgstr "and ends with:"
#: classes/footnotes_settings.php:504
#: classes/tab_general.php:143
msgid "Arabic Numbers - Plain"
msgstr "Arabic Numbers - Plain"
#: classes/footnotes_settings.php:505
#: classes/tab_general.php:144
msgid "Arabic Numbers - Leading 0"
msgstr "Arabic Numbers - Leading 0"
#: classes/footnotes_settings.php:506
#: classes/tab_general.php:145
msgid "Latin Character - lower case"
msgstr "Latin Character - lower case"
#: classes/footnotes_settings.php:507
#: classes/tab_general.php:146
msgid "Latin Character - upper case"
msgstr "Latin Character - upper case"
#: classes/footnotes_settings.php:508
#: classes/tab_general.php:147
msgid "Roman Numerals"
msgstr "Roman Numerals"
#: classes/footnotes_settings.php:510
#: classes/tab_general.php:149
msgid "Counter style:"
msgstr "Counter style:"
#: classes/footnotes_settings.php:522 includes/replacer.php:164
#: classes/tab_general.php:160 classes/task.php:143
#, php-format
msgid "I %s %s"
msgstr "I %s %s"
#: classes/footnotes_settings.php:523 includes/replacer.php:167
#: classes/tab_general.php:161 classes/task.php:146
#, php-format
msgid "this site uses the awesome %s Plugin"
msgstr "this site uses the awesome %s Plugin"
#: classes/footnotes_settings.php:524 includes/replacer.php:171
#: classes/tab_general.php:162 classes/task.php:150
#, php-format
msgid "extra smooth %s"
msgstr "extra smooth %s"
#: classes/footnotes_settings.php:525
#: classes/tab_general.php:163
msgid "random text"
msgstr "random text"
#: classes/footnotes_settings.php:526
#: classes/tab_general.php:164
#, php-format
msgid "Don't display a %s %s text in my footer."
msgstr "Don't display a %s %s text in my footer."
#: classes/footnotes_settings.php:528
#: classes/tab_general.php:166
#, php-format
msgid "Tell the world you're using %s:"
msgstr "Tell the world you're using %s:"
#: classes/footnotes_settings.php:533
#: classes/tab_general.php:170
#, php-format
msgid ""
"Don't tell the world you're using %s on specific pages by adding the "
@ -158,40 +224,40 @@ msgstr ""
"Don't tell the world you're using %s on specific pages by adding the "
"following short code:"
#: classes/footnotes_settings.php:549
#: classes/tab_general.php:185
msgid "Allow footnotes on Summarized Posts:"
msgstr "Allow footnotes on Summarized Posts:"
#: classes/footnotes_settings.php:562
msgid "HowTo"
msgstr "HowTo"
#: classes/tab_howto.php:28
msgid "How to"
msgstr "How to"
#: classes/footnotes_settings.php:565
#: classes/tab_howto.php:39
msgid "Brief introduction in how to use the plugin"
msgstr "Brief introduction in how to use the plugin"
#: classes/footnotes_settings.php:596
msgid "Start your footnote with the following shortcode:"
msgstr "Start your footnote with the following shortcode:"
#: classes/footnotes_settings.php:602
msgid "...and end your footnote with this shortcode:"
msgstr "...and end your footnote with this shortcode:"
#: classes/footnotes_settings.php:610 classes/footnotes_settings.php:613
#: classes/tab_howto.php:69
msgid "example string"
msgstr "example string"
#: classes/footnotes_settings.php:611
#: classes/tab_howto.php:74
msgid "Start your footnote with the following shortcode:"
msgstr "Start your footnote with the following shortcode:"
#: classes/tab_howto.php:80
msgid "...and end your footnote with this shortcode:"
msgstr "...and end your footnote with this shortcode:"
#: classes/tab_howto.php:88
msgid "will be displayed as:"
msgstr "will be displayed as:"
#: classes/footnotes_settings.php:618
#: classes/tab_howto.php:94
#, php-format
msgid "If you have any questions, please don't hesitate to %se-mail%s us."
msgstr "If you have any questions, please don't hesitate to %se-mail%s us."
#: classes/footnotes_widget.php:15 classes/footnotes_widget.php:25
#: classes/widget.php:25 classes/widget.php:43
msgid ""
"The widget defines the position of the reference container if set to "
"\"widget area\"."
@ -199,14 +265,17 @@ msgstr ""
"The widget defines the position of the reference container if set to "
"\"widget area\"."
#: includes/plugin-settings.php:22
#: includes/plugin-settings.php:24
msgid "Settings"
msgstr "Settings"
#: includes/plugin-settings.php:24
#: includes/plugin-settings.php:26
msgid "Support"
msgstr "Support"
#~ msgid "HowTo"
#~ msgstr "HowTo"
#~ msgid "%s Widget"
#~ msgstr "%s Widget"

View file

@ -5,7 +5,7 @@ Requires at least: 3.9
Tested up to: 3.9.1
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Stable Tag: 1.3.1
Stable Tag: 1.3.2
== Description ==
@ -67,6 +67,9 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho
= 1.3.2 =
- Bugfix: More security recognizing Footnotes on public pages (e.g. ignoring empty Footnote short codes)
- Bugfix: Clear old Footnotes before lookup new public page (only if no reference container displayed before)
- Updated: language EN and DE
- Added: Setting to customize the hyperlink symbol in der reference container for each footnote reference
- Added: Setting to enter a user defined hyperlink symbol
= 1.3.1 =
- Bugfix: Allow settings to be empty

View file

@ -1,15 +1,8 @@
<div class="footnote_plugin_container">
<div class="footnote_plugin_index">
[[FOOTNOTE INDEX]].
</div>
<div class="footnote_plugin_index">[[FOOTNOTE INDEX]].</div>
<div class="footnote_plugin_text">
<a class="footnote_plugin_link" href="#footnote_plugin_tooltip_[[FOOTNOTE INDEX SHORT]]"
name="footnote_plugin_reference_[[FOOTNOTE INDEX SHORT]]"
id="footnote_plugin_reference_[[FOOTNOTE INDEX SHORT]]">
&#8593;
</a>
&nbsp;
[[FOOTNOTE TEXT]]
</div>
id="footnote_plugin_reference_[[FOOTNOTE INDEX SHORT]]">[[HYPERLINK SYMBOL]]</a>&nbsp;[[FOOTNOTE TEXT]]</div>
<div class="footnote_plugin_end"></div>
</div>