+.footnote_plugin_index_combi = first if identical footnotes are combined
+.footnote_plugin_index = first | if not
+.footnote_index = or in first | in 3-column table
+.footnote_plugin_link = or if identical footnotes are not combined, or second | in 3-column table
+.footnote_backlink = or if identical footnotes are combined, or in second | in 3-column table
+.footnote_index_arrow = nested , symbol only
+.footnote_plugin_text = second | , or third | in 3-column table
+
-Also optional responsive basic page layout support:
-public-container.css
-public-main.css
*/
/*
@@ -205,14 +239,14 @@ fully clickable, not sign only
/*
table
*/
-.footnote-reference-container {
+.footnote-reference-container,
+.footnotes_table {
width: 100%;
border: none;
}
/*
footnotes
-reference-container-body.html
*/
.footnote_plugin_index,
.footnote_plugin_index_combi,
diff --git a/css/settings.css b/css/settings.css
index 71c8578..47131d0 100755
--- a/css/settings.css
+++ b/css/settings.css
@@ -5,13 +5,13 @@
* Created-Time: 16:21
* Since: 1.0
*
- * Version: 2.1.5
+ * Version: 2.2.0d0
*
- * Last modified: 2020-12-06T2258+0100
+ * Last modified: 2020-12-09T1607+0100
*/
-/*****************************************************
+/************************************************************
MCI Footnotes logo
The classes with 'heading' fix display in dashboard
@@ -40,14 +40,16 @@ See class/config.php and css/public.css
left: 96px;
}
-/*************************************************************************
-On User Request: limited to a number of IDs to not affect all dashboards
+/************************************************************
+Input fields
+
+On User Request:
+Limited to a number of IDs to not affect all dashboards
*/
/*input[type=text], input[type=password], textarea, select*/
#footnote_inputfield_readon_label,
#footnote_inputfield_references_label,
-#footnote_inputfield_custom_css,
#footnote_inputfield_love {
padding-left: 8px !important;
padding-right: 8px !important;
@@ -106,10 +108,9 @@ On User Request: limited to a number of IDs to not affect all dashboards
width: 140px;
}
-/*textarea*/
-#footnote_inputfield_custom_css {
- height: 250px;
-}
+/************************************************************
+Headings and labels
+*/
label {
display: inline-block;
@@ -154,34 +155,90 @@ span.footnote_highlight_placeholder {
text-align: center !important;
}
-/*********************************************************
+/************************************************************
+Special table layout
+
+Hooks and priority levels:
initialized from style attributes in templates
IE doesn’t support nth child, but these are not critical
*/
-#expert-lookup tr th:first-child,
-#expert-lookup tr td:first-child {
+#expert_lookup tr th:first-child,
+#expert_lookup tr td:first-child {
width: 170px !important;
}
-#expert-lookup tr th:nth-child(2),
-#expert-lookup tr td:nth-child(2) {
+#expert_lookup tr th:nth-child(2),
+#expert_lookup tr td:nth-child(2) {
width: 65px !important;
}
-#expert-lookup tr th:nth-child(3),
-#expert-lookup tr td:nth-child(3) {
+#expert_lookup tr th:nth-child(3),
+#expert_lookup tr td:nth-child(3) {
width: 200px !important;
}
-#expert-lookup tr td:nth-child(3) input {
+#expert_lookup tr td:nth-child(3) input {
width: 190px;
}
-#expert-lookup tr th:last-child,
-#expert-lookup tr td:last-child {
+#expert_lookup tr th:last-child,
+#expert_lookup tr td:last-child {
white-space: nowrap;
}
-#settings-other tr td:nth-child(2) {
+/*
+Other settings
+*/
+#settings_other tr td:nth-child(2) {
width: 30%;
}
+
/*
+Custom CSS
+
+16 CSS classes are listed directly in the template
+templates/dashboard/customize-css.html
+
+Localized notices are dropped to ease translators’ task.
+
+The textarea has monospace font but no tab support.
+*/
+#customize_css tr td:first-child {
+ width: 44% !important;
+ font-weight: normal !important;
+}
+#customize_css tr td:first-child span:first-child {
+ font-weight: bold !important;
+}
+#customize_css .list {
+ padding-top: 10px;
+}
+#customize_css .list p {
+ font-family: monospace;
+ padding-left: 10px;
+ text-indent: -10px;
+ margin: .5em 0;
+}
+
+#footnote_inputfield_custom_css {
+ height: 500px;
+ width: 90%;
+ resize: both;
+ overflow: scroll;
+ font-family: monospace;
+}
+
+/************************************************************
+Notices
+
+span previously formatted as em element
+but emphasis is not the correct semantics,
+as it is rendered as bold in other scripts
+so we need an explicit italic style:
+*/
+.footnotes_notice {
+ font-style: italic;
+}
+
+/************************************************************
+Descriptions
+
fullwidth div above or below settings tables:
*/
.footnotes_description {
@@ -191,12 +248,3 @@ fullwidth div above or below settings tables:
font-size: 1.4em;
font-style: italic;
}
-/*
-span previously formatted as em element
-but emphasis is not the correct semantics,
-as it is rendered as bold in other scripts
-so we need an explicit italic style:
-*/
-.footnotes_notice {
- font-style: italic;
-}
diff --git a/footnotes.php b/footnotes.php
index 74ea864..a32b9b3 100755
--- a/footnotes.php
+++ b/footnotes.php
@@ -4,12 +4,12 @@
Plugin URI: https://wordpress.org/plugins/footnotes/
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
Author: Mark Cheret
- Version: 2.1.5
+ Version: 2.2.0d0
Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes
Domain Path: /languages
*/
-define( 'FOOTNOTES_VERSION', '2.1.5' );
+define( 'FOOTNOTES_VERSION', '2.2.0d0' );
/*
Copyright 2020 Mark Cheret (email: mark@cheret.de)
diff --git a/readme.txt b/readme.txt
index 28fb430..4bd2ed1 100755
--- a/readme.txt
+++ b/readme.txt
@@ -80,6 +80,12 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog ==
+= 2.2.0d0 =
+- Bugfix: add option to disable URL line wrapping added for Unicode non conformant browsers
+- Update: Dashboard: reorder tabs, move CSS to extra tab, update tab labels
+- Bugfix: Dashboard: fix punctuation-related localization issue by including colon in labels
+- Bugfix: Localization: conform to WordPress plugin language file name scheme
+
= 2.1.5 =
- Bugfix: Reference container, tooltips: exclude image source too from URL line wrapping span
diff --git a/templates/dashboard/customize-css.html b/templates/dashboard/customize-css.html
index dec8ae2..b28460d 100644
--- a/templates/dashboard/customize-css.html
+++ b/templates/dashboard/customize-css.html
@@ -1,27 +1,30 @@
-
+
- [[label-css]] |
+ [[headline]]
+
+ .footnote_referrer = enclosing <span>
+ .footnote_plugin_tooltip_text = inner <sup>, not tooltip
+
+ .footnote_tooltip = inner <span>
+ .footnote_tooltip_continue = nested <span>
+
+ .footnotes_reference_container = enclosing <div>
+ .footnote_container_prepare = label <div>
+ .footnote_reference_container_label = <span>
+ .footnote_reference_container_collapse_button = sibling <span>
+ .footnotes_table = <table>
+
+ .footnote_plugin_index_combi = first <td> if identical footnotes are combined
+ .footnote_plugin_index = first <td> if not
+ .footnote_index = <a> or <span> in first <td> in 3-column table
+ .footnote_plugin_link = <a> or <span> if identical footnotes are not combined, or second <td> in 3-column table
+ .footnote_backlink = <a> or <span> if identical footnotes are combined, or in second <td> in 3-column table
+ .footnote_index_arrow = nested <span>, symbol only
+ .footnote_plugin_text = second <td>, or third <td> in 3-column table
+
+ |
[[css]] |
-
- [[headline]] |
-
-
- |
- [[label-class-1]] [[class-1]] |
-
-
- |
- [[label-class-2]] [[class-2]] |
-
-
- |
- [[label-class-3]] [[class-3]] |
-
-
- |
- [[label-class-4]] [[class-4]] |
-
diff --git a/templates/dashboard/customize-mouse-over-box.html b/templates/dashboard/customize-mouse-over-box.html
index a2951f7..66750b3 100644
--- a/templates/dashboard/customize-mouse-over-box.html
+++ b/templates/dashboard/customize-mouse-over-box.html
@@ -1,4 +1,4 @@
-
+
[[label-enable]] |
diff --git a/templates/dashboard/customize-superscript.html b/templates/dashboard/customize-superscript.html
index 81e6770..b4a19cd 100644
--- a/templates/dashboard/customize-superscript.html
+++ b/templates/dashboard/customize-superscript.html
@@ -1,4 +1,4 @@
-
+
[[label-superscript]] |
diff --git a/templates/dashboard/expert-lookup.html b/templates/dashboard/expert-lookup.html
index 368db89..34fe762 100644
--- a/templates/dashboard/expert-lookup.html
+++ b/templates/dashboard/expert-lookup.html
@@ -3,7 +3,7 @@
[[description-2]] [[description-3]]
[[description-4]]
-
+
[[head-hook]] |
diff --git a/templates/dashboard/settings-love.html b/templates/dashboard/settings-love.html
index cc34f8c..728d954 100644
--- a/templates/dashboard/settings-love.html
+++ b/templates/dashboard/settings-love.html
@@ -1,4 +1,4 @@
-
+
[[label-love]] |
diff --git a/templates/dashboard/settings-other.html b/templates/dashboard/settings-other.html
index 3faa27f..38bc7f2 100644
--- a/templates/dashboard/settings-other.html
+++ b/templates/dashboard/settings-other.html
@@ -1,13 +1,17 @@
-
+
+
+ [[label-url-wrap]] |
+ [[url-wrap]] |
+
[[label-link]] |
[[link]] |
[[label-excerpt]] |
- [[excerpt]] |
- |
+ [[excerpt]] |
+ |
[[label-expert-mode]] |
diff --git a/templates/dashboard/settings-reference-container.html b/templates/dashboard/settings-reference-container.html
index a6b0723..7a7cea2 100644
--- a/templates/dashboard/settings-reference-container.html
+++ b/templates/dashboard/settings-reference-container.html
@@ -1,4 +1,4 @@
-
+
[[label-name]] |
diff --git a/templates/dashboard/settings-styling.html b/templates/dashboard/settings-styling.html
index 493e202..8564f9e 100644
--- a/templates/dashboard/settings-styling.html
+++ b/templates/dashboard/settings-styling.html
@@ -1,4 +1,4 @@
-
+
[[label-short-code-start]] |
diff --git a/templates/public/reference-container.html b/templates/public/reference-container.html
index b663207..17ddd10 100644
--- a/templates/public/reference-container.html
+++ b/templates/public/reference-container.html
@@ -24,7 +24,7 @@
style="[[style]]"
>
|