diff --git a/classes/footnotes_settings.php b/classes/footnotes_settings.php
index 5d48a72..e8181b0 100644
--- a/classes/footnotes_settings.php
+++ b/classes/footnotes_settings.php
@@ -251,6 +251,16 @@ class Class_FootnotesSettings
echo '
';
}
+ /**
+ * outputs a simple text
+ * @param string $p_str_Text
+ * @since 1.1.1
+ */
+ function AddText($p_str_Text)
+ {
+ echo '' . $p_str_Text . '';
+ }
+
/**
* outputs a label for a specific input/select box
* @param string $p_str_SettingsID
@@ -272,10 +282,11 @@ class Class_FootnotesSettings
* @param string $p_str_SettingsID [id of the settings field]
* @param string $p_str_ClassName [css class name]
* @param int $p_str_MaxLength [max length for the input value]
+ * @param bool $p_bool_Readonly [input is readonly] in version 1.1.1
* @since 1.0-beta
* removed optional paremter for a label in version 1.0.7
*/
- function AddTextbox($p_str_SettingsID, $p_str_ClassName = "", $p_str_MaxLength = 0)
+ function AddTextbox($p_str_SettingsID, $p_str_ClassName = "", $p_str_MaxLength = 0, $p_bool_Readonly = false)
{
/* collect data for given settings field */
$l_arr_Data = $this->LoadSetting($p_str_SettingsID);
@@ -288,8 +299,12 @@ class Class_FootnotesSettings
if (!empty($p_str_MaxLength)) {
$p_str_MaxLength = ' maxlength="' . $p_str_MaxLength . '"';
}
+
+ if ($p_bool_Readonly) {
+ $p_bool_Readonly = ' readonly="readonly"';
+ }
/* outputs an input field type TEXT */
- echo '';
+ echo '';
}
/**
@@ -469,6 +484,11 @@ class Class_FootnotesSettings
);
$this->AddLabel(FOOTNOTE_INPUTFIELD_LOVE, sprintf(__("Tell the world you're using %s:", FOOTNOTES_PLUGIN_NAME), FOOTNOTES_PLUGIN_PUBLIC_NAME));
$this->AddSelectbox(FOOTNOTE_INPUTFIELD_LOVE, $l_arr_Options, "footnote_plugin_50");
+ $this->AddNewline();
+
+ /* no 'love me' on specific pages */
+ $this->AddLabel("", sprintf(__("Don't tell the world you're using %s on specific pages by adding the following short code:", FOOTNOTES_PLUGIN_NAME), FOOTNOTES_PLUGIN_PUBLIC_NAME));
+ $this->AddText(FOOTNOTES_NO_SLUGME_PLUG);
}
/**
diff --git a/languages/footnotes-de.mo b/languages/footnotes-de.mo
index 125fe99..552eddf 100755
Binary files a/languages/footnotes-de.mo and b/languages/footnotes-de.mo differ
diff --git a/languages/footnotes-de.po b/languages/footnotes-de.po
index 38dbb5c..541fab5 100755
--- a/languages/footnotes-de.po
+++ b/languages/footnotes-de.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
-"POT-Creation-Date: 2014-05-21 20:28+0100\n"
-"PO-Revision-Date: 2014-05-21 20:30+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"POT-Creation-Date: 2014-05-22 15:42+0100\n"
+"PO-Revision-Date: 2014-05-22 15:43+0100\n"
+"Last-Translator: SHE \n"
"Language-Team: SHE \n"
"Language: de\n"
"MIME-Version: 1.0\n"
@@ -18,127 +18,148 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
-#: classes/footnotes_settings.php:366
+#: classes/footnotes.php:68
+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
+msgid "You do not have permission to run this script."
+msgstr "Sie haben nicht die Berechtigung diese Funktion auszuführen."
+
+#: classes/footnotes_settings.php:381
msgid "General"
msgstr "Allgemein"
-#: classes/footnotes_settings.php:368
+#: classes/footnotes_settings.php:383
#, php-format
msgid "%s Settings"
msgstr "%s Einstellungen"
-#: classes/footnotes_settings.php:369
+#: classes/footnotes_settings.php:384
msgid "References Container"
msgstr "Einzelnachweise"
-#: classes/footnotes_settings.php:370
+#: classes/footnotes_settings.php:385
msgid "Footnotes styling"
msgstr "Layout der Fußnoten"
-#: classes/footnotes_settings.php:371
+#: classes/footnotes_settings.php:386
msgid "Other"
msgstr "Andere"
-#: classes/footnotes_settings.php:391
+#: classes/footnotes_settings.php:406
msgid "References label:"
msgstr "Überschrift \"Einzelnachweis\":"
-#: classes/footnotes_settings.php:396
+#: classes/footnotes_settings.php:411
msgid "Collapse references by default:"
msgstr "Verstecke Einzelnachweise standardmäßig:"
-#: classes/footnotes_settings.php:405
+#: classes/footnotes_settings.php:420
msgid "in the footer"
msgstr "am Ende der Seite"
-#: classes/footnotes_settings.php:406
+#: classes/footnotes_settings.php:421
msgid "at the end of the post"
msgstr "nach einem Beitrag"
-#: classes/footnotes_settings.php:408
+#: classes/footnotes_settings.php:422
+msgid "in the widget area"
+msgstr "im Widget"
+
+#: classes/footnotes_settings.php:424
msgid "Where shall the reference container appear:"
msgstr "Positionierung der Einzelnachweise:"
-#: classes/footnotes_settings.php:420 classes/footnotes_settings.php:457
-#: classes/footnotes_settings.php:466
+#: classes/footnotes_settings.php:436 classes/footnotes_settings.php:473
+#: classes/footnotes_settings.php:482
msgid "Yes"
msgstr "Ja"
-#: classes/footnotes_settings.php:421 classes/footnotes_settings.php:458
-#: classes/footnotes_settings.php:467
+#: classes/footnotes_settings.php:437 classes/footnotes_settings.php:474
+#: classes/footnotes_settings.php:483
msgid "No"
msgstr "Nein"
-#: classes/footnotes_settings.php:423
+#: classes/footnotes_settings.php:439
msgid "Combine identical footnotes:"
msgstr "Kombiniere meine Fußnoten:"
-#: classes/footnotes_settings.php:428
+#: classes/footnotes_settings.php:444
msgid "Footnote tag starts with:"
msgstr "Fußnoten starten mit:"
-#: classes/footnotes_settings.php:432
+#: classes/footnotes_settings.php:448
msgid "and ends with:"
msgstr "und endet mit:"
-#: classes/footnotes_settings.php:439
+#: classes/footnotes_settings.php:455
msgid "Arabic Numbers - Plain"
msgstr "arabische Ziffern"
-#: classes/footnotes_settings.php:440
+#: classes/footnotes_settings.php:456
msgid "Arabic Numbers - Leading 0"
msgstr "arabisch Ziffern - führende Null"
-#: classes/footnotes_settings.php:441
+#: classes/footnotes_settings.php:457
msgid "Latin Character - lower case"
msgstr "alphabetisch - Kleinschreibung"
-#: classes/footnotes_settings.php:442
+#: classes/footnotes_settings.php:458
msgid "Latin Character - upper case"
msgstr "alphabetisch - Großschreibung"
-#: classes/footnotes_settings.php:443
+#: classes/footnotes_settings.php:459
msgid "Roman Numerals"
msgstr "Römische Ziffern"
-#: classes/footnotes_settings.php:445
+#: classes/footnotes_settings.php:461
msgid "Counter style:"
msgstr "Fußnoten Zähler:"
-#: classes/footnotes_settings.php:460
+#: classes/footnotes_settings.php:476
msgid "Allow footnotes on Summarized Posts:"
msgstr "Erlaube Fußnoten in Zusammenfassungen:"
-#: classes/footnotes_settings.php:469
+#: classes/footnotes_settings.php:485
#, php-format
msgid "Tell the world you're using %s:"
msgstr "Teile der Welt mit, dass du %s verwendest:"
-#: classes/footnotes_settings.php:482
+#: classes/footnotes_settings.php:490
+#, php-format
+msgid ""
+"Don't tell the world you're using %s on specific pages by adding the "
+"following short code:"
+msgstr ""
+"Platzhalter um der Welt an einzelnen Seiten nicht mitzuteilen, dass Sie %s "
+"verwenden:"
+
+#: classes/footnotes_settings.php:503
msgid "HowTo"
msgstr "Hilfe"
-#: classes/footnotes_settings.php:485
+#: classes/footnotes_settings.php:506
msgid "Brief introduction in how to use the plugin"
msgstr "Kurze Anleitung für die Verwendung des Plugins."
-#: classes/footnotes_settings.php:511
+#: classes/footnotes_settings.php:532
msgid "Start your footnote with the following shortcode:"
msgstr "Starten Sie eine Fußnote mit:"
-#: classes/footnotes_settings.php:517
+#: classes/footnotes_settings.php:538
msgid "...and end your footnote with this shortcode:"
msgstr "...und beenden Sie diese mit:"
-#: classes/footnotes_settings.php:525 classes/footnotes_settings.php:528
+#: classes/footnotes_settings.php:546 classes/footnotes_settings.php:549
msgid "example string"
msgstr "Beispieltext"
-#: classes/footnotes_settings.php:526
+#: classes/footnotes_settings.php:547
msgid "will be displayed as:"
msgstr "wird dargestellt als:"
-#: classes/footnotes_settings.php:533
+#: classes/footnotes_settings.php:554
#, 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."
@@ -147,19 +168,15 @@ msgstr "Bei Fragen können Sie uns gerne eine %se-Mail%s senden."
msgid "Settings"
msgstr "Einstellungen"
-#: includes/replacer.php:180
+#: includes/plugin-settings.php:24
+msgid "Support"
+msgstr "Support"
+
+#: includes/replacer.php:187
#, php-format
msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
msgstr "Diese Seite verwendet das %s Plugin"
-#: includes/uninstall.php:26
-msgid "You must be logged in to run this script."
-msgstr "Sie müssen angemeldet sein um diese Funktion ausführen zu können."
-
-#: includes/uninstall.php:31
-msgid "You do not have permission to run this script."
-msgstr "Sie haben nicht die Berechtigung diese Funktion auszuführen."
-
#~ msgid "starts with:"
#~ msgstr "beginnt mit:"
diff --git a/languages/footnotes-en.mo b/languages/footnotes-en.mo
index e7f4e84..1283160 100755
Binary files a/languages/footnotes-en.mo and b/languages/footnotes-en.mo differ
diff --git a/languages/footnotes-en.po b/languages/footnotes-en.po
index 46d1d32..e4e66b0 100755
--- a/languages/footnotes-en.po
+++ b/languages/footnotes-en.po
@@ -1,9 +1,9 @@
msgid ""
msgstr ""
"Project-Id-Version: footnotes\n"
-"POT-Creation-Date: 2014-05-21 20:28+0100\n"
-"PO-Revision-Date: 2014-05-21 20:28+0100\n"
-"Last-Translator: Stefan Herndler \n"
+"POT-Creation-Date: 2014-05-22 15:42+0100\n"
+"PO-Revision-Date: 2014-05-22 15:42+0100\n"
+"Last-Translator: SHE \n"
"Language-Team: SHE \n"
"Language: en\n"
"MIME-Version: 1.0\n"
@@ -18,127 +18,148 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"
-#: classes/footnotes_settings.php:366
+#: classes/footnotes.php:68
+msgid "You must be logged in to run this script."
+msgstr "You must be logged in to run this script."
+
+#: classes/footnotes.php:73
+msgid "You do not have permission to run this script."
+msgstr "You do not have permission to run this script."
+
+#: classes/footnotes_settings.php:381
msgid "General"
msgstr "General"
-#: classes/footnotes_settings.php:368
+#: classes/footnotes_settings.php:383
#, php-format
msgid "%s Settings"
msgstr "%s Settings"
-#: classes/footnotes_settings.php:369
+#: classes/footnotes_settings.php:384
msgid "References Container"
msgstr "References Container"
-#: classes/footnotes_settings.php:370
+#: classes/footnotes_settings.php:385
msgid "Footnotes styling"
msgstr "Footnotes styling"
-#: classes/footnotes_settings.php:371
+#: classes/footnotes_settings.php:386
msgid "Other"
msgstr "Other"
-#: classes/footnotes_settings.php:391
+#: classes/footnotes_settings.php:406
msgid "References label:"
msgstr "References label:"
-#: classes/footnotes_settings.php:396
+#: classes/footnotes_settings.php:411
msgid "Collapse references by default:"
msgstr "Collapse references by default:"
-#: classes/footnotes_settings.php:405
+#: classes/footnotes_settings.php:420
msgid "in the footer"
msgstr "in the footer"
-#: classes/footnotes_settings.php:406
+#: classes/footnotes_settings.php:421
msgid "at the end of the post"
msgstr "at the end of the post"
-#: classes/footnotes_settings.php:408
+#: classes/footnotes_settings.php:422
+msgid "in the widget area"
+msgstr "in the widget area"
+
+#: classes/footnotes_settings.php:424
msgid "Where shall the reference container appear:"
msgstr "Where shall the reference container appear:"
-#: classes/footnotes_settings.php:420 classes/footnotes_settings.php:457
-#: classes/footnotes_settings.php:466
+#: classes/footnotes_settings.php:436 classes/footnotes_settings.php:473
+#: classes/footnotes_settings.php:482
msgid "Yes"
msgstr "Yes"
-#: classes/footnotes_settings.php:421 classes/footnotes_settings.php:458
-#: classes/footnotes_settings.php:467
+#: classes/footnotes_settings.php:437 classes/footnotes_settings.php:474
+#: classes/footnotes_settings.php:483
msgid "No"
msgstr "No"
-#: classes/footnotes_settings.php:423
+#: classes/footnotes_settings.php:439
msgid "Combine identical footnotes:"
msgstr "Combine identical footnotes:"
-#: classes/footnotes_settings.php:428
+#: classes/footnotes_settings.php:444
msgid "Footnote tag starts with:"
msgstr "Footnote tag starts with:"
-#: classes/footnotes_settings.php:432
+#: classes/footnotes_settings.php:448
msgid "and ends with:"
msgstr "and ends with:"
-#: classes/footnotes_settings.php:439
+#: classes/footnotes_settings.php:455
msgid "Arabic Numbers - Plain"
msgstr "Arabic Numbers - Plain"
-#: classes/footnotes_settings.php:440
+#: classes/footnotes_settings.php:456
msgid "Arabic Numbers - Leading 0"
msgstr "Arabic Numbers - Leading 0"
-#: classes/footnotes_settings.php:441
+#: classes/footnotes_settings.php:457
msgid "Latin Character - lower case"
msgstr "Latin Character - lower case"
-#: classes/footnotes_settings.php:442
+#: classes/footnotes_settings.php:458
msgid "Latin Character - upper case"
msgstr "Latin Character - upper case"
-#: classes/footnotes_settings.php:443
+#: classes/footnotes_settings.php:459
msgid "Roman Numerals"
msgstr "Roman Numerals"
-#: classes/footnotes_settings.php:445
+#: classes/footnotes_settings.php:461
msgid "Counter style:"
msgstr "Counter style:"
-#: classes/footnotes_settings.php:460
+#: classes/footnotes_settings.php:476
msgid "Allow footnotes on Summarized Posts:"
msgstr "Allow footnotes on Summarized Posts:"
-#: classes/footnotes_settings.php:469
+#: classes/footnotes_settings.php:485
#, php-format
msgid "Tell the world you're using %s:"
msgstr "Tell the world you're using %s:"
-#: classes/footnotes_settings.php:482
+#: classes/footnotes_settings.php:490
+#, php-format
+msgid ""
+"Don't tell the world you're using %s on specific pages by adding the "
+"following short code:"
+msgstr ""
+"Don't tell the world you're using %s on specific pages by adding the "
+"following short code:"
+
+#: classes/footnotes_settings.php:503
msgid "HowTo"
msgstr "HowTo"
-#: classes/footnotes_settings.php:485
+#: classes/footnotes_settings.php:506
msgid "Brief introduction in how to use the plugin"
msgstr "Brief introduction in how to use the plugin"
-#: classes/footnotes_settings.php:511
+#: classes/footnotes_settings.php:532
msgid "Start your footnote with the following shortcode:"
msgstr "Start your footnote with the following shortcode:"
-#: classes/footnotes_settings.php:517
+#: classes/footnotes_settings.php:538
msgid "...and end your footnote with this shortcode:"
msgstr "...and end your footnote with this shortcode:"
-#: classes/footnotes_settings.php:525 classes/footnotes_settings.php:528
+#: classes/footnotes_settings.php:546 classes/footnotes_settings.php:549
msgid "example string"
msgstr "example string"
-#: classes/footnotes_settings.php:526
+#: classes/footnotes_settings.php:547
msgid "will be displayed as:"
msgstr "will be displayed as:"
-#: classes/footnotes_settings.php:533
+#: classes/footnotes_settings.php:554
#, 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."
@@ -147,19 +168,15 @@ msgstr "If you have any questions, please don't hesitate to %se-mail%s us."
msgid "Settings"
msgstr "Settings"
-#: includes/replacer.php:180
+#: includes/plugin-settings.php:24
+msgid "Support"
+msgstr "Support"
+
+#: includes/replacer.php:187
#, php-format
msgid "Hey there, I'm using the awesome WordPress Plugin called %s"
msgstr "Hey there, I'm using the awesome %s Plugin"
-#: includes/uninstall.php:26
-msgid "You must be logged in to run this script."
-msgstr "You must be logged in to run this script."
-
-#: includes/uninstall.php:31
-msgid "You do not have permission to run this script."
-msgstr "You do not have permission to run this script."
-
#~ msgid "starts with:"
#~ msgstr "starts with:"
diff --git a/readme.txt b/readme.txt
index 88beebc..76ee76a 100755
--- a/readme.txt
+++ b/readme.txt
@@ -41,10 +41,12 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho
= 1.1.1 =
- Feature: Short code to not display the 'love me' slug on specific pages ( short code = [[no footnotes: love]] )
- Update: Setting where the reference container appears on public pages can also be set to the widget area
-- Add: link to the wordpress.org support page in the plugin main page
+- Add: Link to the wordpress.org support page in the plugin main page
- Update: Changed plugin URL from GitHub to WordPress
-- Bugfix: uninstall function to really remove all settings done in the settings page
-- Bugfix: load default settings after plugin is installed
+- Bugfix: Uninstall function to really remove all settings done in the settings page
+- Bugfix: Load default settings after plugin is installed
+- Update: Translation for support link and new setting option
+- Add: Label to display the user the short code to not display the 'love me' slug
= 1.1.0 =
- Update: Global styling for the public plugin name