Version Description
Requires WordPress >
Download this release
Release Info
Developer | shazahm1@hotmail.com |
Plugin | Easy Table of Contents |
Version | 1.4 |
Comparing to | |
See all releases |
Code changes from version 1.3 to 1.4
- README.txt +14 -2
- easy-table-of-contents.php +10 -10
- languages/easy-table-of-contents-nl_NL.mo +0 -0
- languages/easy-table-of-contents-nl_NL.po +32 -28
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: table of contents, toc
|
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -90,7 +90,15 @@ Easy Table Contents is a fork of the excellent [Table of Contents Plus](https://
|
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
-
= 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
* FEATURE: Add support for the `[ez-toc]` shortcode.
|
95 |
* NEW: For backwards compatibility with "Table of Content Plus", register the `[toc]` shortcode.
|
96 |
* NEW: Introduce the `ez_toc_extract_headings_content` filter.
|
@@ -200,3 +208,7 @@ Initial release.
|
|
200 |
|
201 |
= 1.3 =
|
202 |
Requires WordPress >= 4.4 and PHP >= 5.3. PHP version >= 7.1 recommended.
|
|
|
|
|
|
|
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 1.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
90 |
|
91 |
== Changelog ==
|
92 |
|
93 |
+
= 1.4 01/29/2018 =
|
94 |
+
* TWEAK: Change text domain from ez_toc to easy-table-of-contents.
|
95 |
+
* TWEAK: Rename translation files with correct text domain.
|
96 |
+
* BUG: Ensure page headers are processed to add the in page header link when using the shortcodes.
|
97 |
+
* BUG: Add forward slash to domain path in the plugin header.
|
98 |
+
* I18N: Update POT file.
|
99 |
+
* I18N: Update Dutch (nl_NL) translation.
|
100 |
+
|
101 |
+
= 1.3 12/18/2017 =
|
102 |
* FEATURE: Add support for the `[ez-toc]` shortcode.
|
103 |
* NEW: For backwards compatibility with "Table of Content Plus", register the `[toc]` shortcode.
|
104 |
* NEW: Introduce the `ez_toc_extract_headings_content` filter.
|
208 |
|
209 |
= 1.3 =
|
210 |
Requires WordPress >= 4.4 and PHP >= 5.3. PHP version >= 7.1 recommended.
|
211 |
+
|
212 |
+
= 1.4 =
|
213 |
+
Requires WordPress >= 4.4 and PHP >= 5.3. PHP version >= 7.1 recommended.
|
214 |
+
|
easy-table-of-contents.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: Easy Table of Contents
|
4 |
* Plugin URI: http://connections-pro.com/
|
5 |
* Description: Adds a user friendly and fully automatic way to create and display a table of contents generated from the page content.
|
6 |
-
* Version: 1.
|
7 |
* Author: Steven A. Zahm
|
8 |
* Author URI: http://connections-pro.com/
|
9 |
* Text Domain: easy-table-of-contents
|
10 |
* Domain Path: /languages
|
11 |
*
|
12 |
-
* Copyright
|
13 |
*
|
14 |
* Easy Table of Contents is free software; you can redistribute it and/or modify
|
15 |
* it under the terms of the GNU General Public License, version 2, as
|
@@ -26,7 +26,7 @@
|
|
26 |
* @package Easy Table of Contents
|
27 |
* @category Plugin
|
28 |
* @author Steven A. Zahm
|
29 |
-
* @version 1.
|
30 |
*/
|
31 |
|
32 |
// Exit if accessed directly
|
@@ -45,7 +45,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
|
|
45 |
* @since 1.0
|
46 |
* @var string
|
47 |
*/
|
48 |
-
const VERSION = '1.
|
49 |
|
50 |
/**
|
51 |
* Stores the instance of this class.
|
@@ -1107,12 +1107,6 @@ if ( ! class_exists( 'ezTOC' ) ) {
|
|
1107 |
*/
|
1108 |
public static function the_content( $content ) {
|
1109 |
|
1110 |
-
// If the TOC was embedded in the content using the `[ez-toc]` shortcode, skip. TOC should only exist once.
|
1111 |
-
if ( strpos( $content, 'ez-toc-container' ) ) {
|
1112 |
-
|
1113 |
-
return $content;
|
1114 |
-
}
|
1115 |
-
|
1116 |
$args = self::build( $content );
|
1117 |
$find = $args['find'];
|
1118 |
$replace = $args['replace'];
|
@@ -1120,6 +1114,12 @@ if ( ! class_exists( 'ezTOC' ) ) {
|
|
1120 |
|
1121 |
if ( count( $find ) > 0 ) {
|
1122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1123 |
switch ( ezTOC_Option::get( 'position' ) ) {
|
1124 |
|
1125 |
//case 'placeholder':
|
3 |
* Plugin Name: Easy Table of Contents
|
4 |
* Plugin URI: http://connections-pro.com/
|
5 |
* Description: Adds a user friendly and fully automatic way to create and display a table of contents generated from the page content.
|
6 |
+
* Version: 1.4
|
7 |
* Author: Steven A. Zahm
|
8 |
* Author URI: http://connections-pro.com/
|
9 |
* Text Domain: easy-table-of-contents
|
10 |
* Domain Path: /languages
|
11 |
*
|
12 |
+
* Copyright 2018 Steven A. Zahm ( email : helpdesk@connections-pro.com )
|
13 |
*
|
14 |
* Easy Table of Contents is free software; you can redistribute it and/or modify
|
15 |
* it under the terms of the GNU General Public License, version 2, as
|
26 |
* @package Easy Table of Contents
|
27 |
* @category Plugin
|
28 |
* @author Steven A. Zahm
|
29 |
+
* @version 1.4
|
30 |
*/
|
31 |
|
32 |
// Exit if accessed directly
|
45 |
* @since 1.0
|
46 |
* @var string
|
47 |
*/
|
48 |
+
const VERSION = '1.4';
|
49 |
|
50 |
/**
|
51 |
* Stores the instance of this class.
|
1107 |
*/
|
1108 |
public static function the_content( $content ) {
|
1109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1110 |
$args = self::build( $content );
|
1111 |
$find = $args['find'];
|
1112 |
$replace = $args['replace'];
|
1114 |
|
1115 |
if ( count( $find ) > 0 ) {
|
1116 |
|
1117 |
+
// If the TOC was embedded in the content using the `[ez-toc]` shortcode, skip. TOC should only exist once.
|
1118 |
+
if ( strpos( $content, 'ez-toc-container' ) ) {
|
1119 |
+
|
1120 |
+
return self::mb_find_replace( $find, $replace, $content );
|
1121 |
+
}
|
1122 |
+
|
1123 |
switch ( ezTOC_Option::get( 'position' ) ) {
|
1124 |
|
1125 |
//case 'placeholder':
|
languages/easy-table-of-contents-nl_NL.mo
CHANGED
Binary file
|
languages/easy-table-of-contents-nl_NL.po
CHANGED
@@ -1,22 +1,42 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Eazy TOC\n"
|
4 |
-
"POT-Creation-Date: 2018-01-24
|
5 |
-
"PO-Revision-Date: 2018-01-24
|
6 |
-
"Last-Translator: Steven
|
7 |
-
"Language-Team:
|
8 |
-
"Language: nl\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator:
|
13 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n_noop:1,2;_x:1,2c;_nx:4c,1,2;"
|
14 |
"_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
|
15 |
"esc_html_e;esc_html_x:1,2c\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
-
"Plural-Forms: nplurals=2; plural=
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
#: includes/class.admin.php:60
|
22 |
msgid "Settings"
|
@@ -99,9 +119,9 @@ msgid ""
|
|
99 |
"line."
|
100 |
msgstr ""
|
101 |
"Specificeer de alternatieve tekst voor de koppen. Iedere kop (titel) die "
|
102 |
-
"vervangen moet worden plaats je op één regel gescheiden met een <code
|
103 |
-
"code> en dan de alternatieve tekst. Plaats daarna de volgende op een
|
104 |
-
"regel, etc."
|
105 |
|
106 |
#: includes/class.admin.php:275 includes/class.admin.php:309
|
107 |
#: includes/class.options.php:470
|
@@ -127,8 +147,8 @@ msgstr "Koppen uitsluiten"
|
|
127 |
#: includes/class.admin.php:292 includes/class.options.php:462
|
128 |
msgid ""
|
129 |
"Specify headings to be excluded from appearing in the table of contents. "
|
130 |
-
"Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
|
131 |
-
"
|
132 |
msgstr ""
|
133 |
"Specifieer welke koppen uit te sluiten uit de inhoudsopgave. Zet een "
|
134 |
"sluisteken <code>|</code> tussen verschillende koppen en gebruik een "
|
@@ -572,19 +592,3 @@ msgstr "Geavanceerd"
|
|
572 |
#: includes/inc.admin-options-page.php:61
|
573 |
msgid "Save Changes"
|
574 |
msgstr "Wijzigingen opslaan"
|
575 |
-
|
576 |
-
#~ msgid "Easy Table of Contents"
|
577 |
-
#~ msgstr "Easy Inhoudsopgave"
|
578 |
-
|
579 |
-
#~ msgid "http://connections-pro.com/"
|
580 |
-
#~ msgstr "http://connections-pro.com/"
|
581 |
-
|
582 |
-
#~ msgid ""
|
583 |
-
#~ "Adds a user friendly and fully automatic way to create and display a "
|
584 |
-
#~ "table of contents generated from the page content."
|
585 |
-
#~ msgstr ""
|
586 |
-
#~ "Voegt een gebruiksvriendelijke en volledig automatische manier toe om een "
|
587 |
-
#~ "inhoudsopgave te maken en te tonen, op basis van de inhoud van de pagina."
|
588 |
-
|
589 |
-
#~ msgid "Steven A. Zahm"
|
590 |
-
#~ msgstr "Steven A. Zahm"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Eazy TOC\n"
|
4 |
+
"POT-Creation-Date: 2018-01-24 15:51+0000\n"
|
5 |
+
"PO-Revision-Date: 2018-01-24 15:51+0000\n"
|
6 |
+
"Last-Translator: Steven - Profile <shazahm1@hotmail.com>\n"
|
7 |
+
"Language-Team: Dutch\n"
|
8 |
+
"Language: nl-NL\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Loco - https://localise.biz/\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n_noop:1,2;_x:1,2c;_nx:4c,1,2;"
|
14 |
"_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;"
|
15 |
"esc_html_e;esc_html_x:1,2c\n"
|
16 |
"X-Poedit-Basepath: ..\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"Plural-Forms: nplurals=2; plural=n != 1\n"
|
19 |
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
"Report-Msgid-Bugs-To: "
|
21 |
+
|
22 |
+
#. Plugin Name of the plugin/theme
|
23 |
+
msgid "Easy Table of Contents"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#. Plugin URI of the plugin/theme
|
27 |
+
#. Author URI of the plugin/theme
|
28 |
+
msgid "http://connections-pro.com/"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#. Description of the plugin/theme
|
32 |
+
msgid ""
|
33 |
+
"Adds a user friendly and fully automatic way to create and display a table "
|
34 |
+
"of contents generated from the page content."
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#. Author of the plugin/theme
|
38 |
+
msgid "Steven A. Zahm"
|
39 |
+
msgstr ""
|
40 |
|
41 |
#: includes/class.admin.php:60
|
42 |
msgid "Settings"
|
119 |
"line."
|
120 |
msgstr ""
|
121 |
"Specificeer de alternatieve tekst voor de koppen. Iedere kop (titel) die "
|
122 |
+
"vervangen moet worden plaats je op één regel gescheiden met een <code>"
|
123 |
+
"|</code> en dan de alternatieve tekst. Plaats daarna de volgende op een "
|
124 |
+
"nieuwe regel, etc."
|
125 |
|
126 |
#: includes/class.admin.php:275 includes/class.admin.php:309
|
127 |
#: includes/class.options.php:470
|
147 |
#: includes/class.admin.php:292 includes/class.options.php:462
|
148 |
msgid ""
|
149 |
"Specify headings to be excluded from appearing in the table of contents. "
|
150 |
+
"Separate multiple headings with a pipe <code>|</code>. Use an asterisk <code>"
|
151 |
+
"*</code> as a wildcard to match other text."
|
152 |
msgstr ""
|
153 |
"Specifieer welke koppen uit te sluiten uit de inhoudsopgave. Zet een "
|
154 |
"sluisteken <code>|</code> tussen verschillende koppen en gebruik een "
|
592 |
#: includes/inc.admin-options-page.php:61
|
593 |
msgid "Save Changes"
|
594 |
msgstr "Wijzigingen opslaan"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|