From b183563518fe75ed656a3fedff782e02f38fbdb4 Mon Sep 17 00:00:00 2001 From: Aricura Date: Sat, 11 Oct 2014 12:27:00 +0000 Subject: [PATCH] Prepare for release version 1.5.6 - **IMPORTANT**: We have changed the html tag for the superscript. Please check and update your custom CSS. - Add: .pot file to enable Translations for everybody - Add: Settings to customize the mouse-over box (color, background color, border, max. width) - Update: Translation file names - Update: Translation EN and DE - Update: Styling of the superscript (need to check custom CSS code for the superscript) - Update: Description of CSS classes for the 'customize CSS' text area - Bugfix: Removed 'a' tag around the superscript for Footnotes inside the content to avoid page reloads (empty href attribute) - Bugfix: Avoid Settings fallback to its default value after submit an empty value for a setting - Bugfix: Enable multiple WP_Post objects for the_post hook git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@1005623 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/dashboard/layout.php | 51 +++++- class/dashboard/subpage-main.php | 42 ++++- class/settings.php | 72 ++++++++ class/task.php | 63 ++++++- css/public.css | 42 +++-- features.txt | 18 +- index.php | 2 +- languages/de_DE.mo | Bin 7806 -> 9148 bytes languages/de_DE.po | 142 +++++++++++----- languages/en_GB.mo | Bin 7466 -> 8774 bytes languages/en_GB.po | 139 +++++++++++----- languages/footnotes.mo | Bin 0 -> 610 bytes languages/footnotes.pot | 155 +++++++++++++----- readme.txt | 11 +- templates/dashboard/customize-css.html | 20 +-- .../dashboard/customize-mouse-over-box.html | 24 +++ templates/public/footnote.html | 2 +- .../public/reference-container-body.html | 9 +- templates/public/reference-container.html | 18 +- 19 files changed, 622 insertions(+), 188 deletions(-) create mode 100644 languages/footnotes.mo diff --git a/class/dashboard/layout.php b/class/dashboard/layout.php index 521bd8e..ce9aaf7 100644 --- a/class/dashboard/layout.php +++ b/class/dashboard/layout.php @@ -193,6 +193,10 @@ abstract class MCI_Footnotes_LayoutEngine { wp_enqueue_script('jquery'); // enable meta boxes layout and close functionality wp_enqueue_script('postbox'); + // add WordPress color picker layout + wp_enqueue_style('wp-color-picker'); + // add WordPress color picker function + wp_enqueue_script('wp-color-picker'); // register stylesheet wp_register_style('mci-footnotes-admin-styles', plugins_url('../../css/settings.css', __FILE__)); // add stylesheet to the output @@ -258,6 +262,7 @@ abstract class MCI_Footnotes_LayoutEngine { // output special javascript for the expand/collapse function of the meta boxes echo '