Easy Table of Contents - Version 1.1

Version Description

02/24/2016 = * FEATURE: Add option to replace header wither alternate header text in the table of content. * NEW: Introduce the ez_toc_filter. * NEW: Introduce ezTOC_Option::textarea() to render textareas. * NEW: Introduce array_search_deep() to recursively search an array for a value. * TWEAK: Run table of contents headers thru wp_kses_post(). * TWEAK: Escape URL. * TWEAK: Count excluded headings only once instead of multiple times. * TWEAK: Escape translated string before rendering. * TWEAK: Use wp_unslash() instead of stripslashes(). * TWEAK: Escape translated string. * BUG: Fix restrict path logic. * OTHER: Readme tweaks. * I18N: Add POT file. * I18N: Add Dutch translation. * DEV: Update .gitignore to allow PO files. * DEV: phpDoc fix.

Download this release

Release Info

Developer shazahm1@hotmail.com
Plugin Icon 128x128 Easy Table of Contents
Version 1.1
Comparing to
See all releases

Code changes from version 1.0 to 1.1

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://connections-pro.com/
4
  Tags: table of contents, toc
5
  Requires at least: 3.2
6
  Tested up to: 4.4
7
- Stable tag: 1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -89,6 +89,24 @@ Easy Table Contents is a fork of the excellent [Table of Contents Plus](https://
89
 
90
  == Changelog ==
91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  = 1.0 09/08/2015 =
93
  * Initial release.
94
  - Complete refactor and restructure of the original code for better design and separation of function to make code base much easier to maintain and extend.
4
  Tags: table of contents, toc
5
  Requires at least: 3.2
6
  Tested up to: 4.4
7
+ Stable tag: 1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
89
 
90
  == Changelog ==
91
 
92
+ = 1.1 02/24/2016 =
93
+ * FEATURE: Add option to replace header wither alternate header text in the table of content.
94
+ * NEW: Introduce the ez_toc_filter.
95
+ * NEW: Introduce ezTOC_Option::textarea() to render textareas.
96
+ * NEW: Introduce array_search_deep() to recursively search an array for a value.
97
+ * TWEAK: Run table of contents headers thru wp_kses_post().
98
+ * TWEAK: Escape URL.
99
+ * TWEAK: Count excluded headings only once instead of multiple times.
100
+ * TWEAK: Escape translated string before rendering.
101
+ * TWEAK: Use wp_unslash() instead of stripslashes().
102
+ * TWEAK: Escape translated string.
103
+ * BUG: Fix restrict path logic.
104
+ * OTHER: Readme tweaks.
105
+ * I18N: Add POT file.
106
+ * I18N: Add Dutch translation.
107
+ * DEV: Update .gitignore to allow PO files.
108
+ * DEV: phpDoc fix.
109
+
110
  = 1.0 09/08/2015 =
111
  * Initial release.
112
  - Complete refactor and restructure of the original code for better design and separation of function to make code base much easier to maintain and extend.
easy-table-of-contents.php CHANGED
@@ -3,7 +3,7 @@
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.0
7
  * Author: Steven A. Zahm
8
  * Author URI: http://connections-pro.com/
9
  * Text Domain: ez_toc
@@ -26,7 +26,7 @@
26
  * @package Easy Table of Contents
27
  * @category Plugin
28
  * @author Steven A. Zahm
29
- * @version 1.0
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.0';
49
 
50
  /**
51
  * Stores the instance of this class.
@@ -439,11 +439,13 @@ if ( ! class_exists( 'ezTOC' ) ) {
439
  // list item
440
  if ( in_array( $matches[ $i ][2], ezTOC_Option::get( 'heading_levels' ) ) ) {
441
 
442
- //$html .= '<a href="#' . self::url_anchor_target( $matches[ $i ][0] ) . '">';
 
 
443
  $html .= sprintf(
444
- '<a href="#%1$s" title="%2$s">',
445
- self::url_anchor_target( $matches[ $i ][0] ),
446
- esc_attr( strip_tags( $matches[ $i ][0] ) )
447
  );
448
 
449
  //if ( 'decimal' == ezTOC_Option::get( 'counter' ) ) {
@@ -461,7 +463,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
461
  // $numbered_items[ $current_depth ] ++;
462
  //}
463
 
464
- $html .= strip_tags( $matches[ $i ][0] ) . '</a>';
465
  }
466
 
467
  // end lists
@@ -587,6 +589,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
587
 
588
  $headings = get_post_meta( $post->ID, '_ez-toc-heading-levels', TRUE );
589
  $exclude = get_post_meta( $post->ID, '_ez-toc-exclude', TRUE );
 
590
 
591
  if ( ! is_array( $headings ) ) {
592
 
@@ -633,10 +636,11 @@ if ( ! class_exists( 'ezTOC' ) ) {
633
  if ( $exclude ) {
634
 
635
  $excluded_headings = explode( '|', $exclude );
 
636
 
637
- if ( count( $excluded_headings ) > 0 ) {
638
 
639
- for ( $j = 0; $j < count( $excluded_headings ); $j++ ) {
640
 
641
  $excluded_headings[ $j ] = preg_quote( $excluded_headings[ $j ] );
642
 
@@ -655,7 +659,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
655
 
656
  $found = FALSE;
657
 
658
- for ( $j = 0; $j < count( $excluded_headings ); $j++ ) {
659
 
660
  if ( @preg_match( '/^' . $excluded_headings[ $j ] . '$/imU', strip_tags( $matches[ $i ][0] ) ) ) {
661
 
@@ -693,18 +697,67 @@ if ( ! class_exists( 'ezTOC' ) ) {
693
  $matches = $new_matches;
694
  }
695
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
696
  // check minimum number of headings
697
  if ( count( $matches ) >= ezTOC_Option::get( 'start' ) ) {
698
 
699
- for ( $i = 0; $i < count( $matches ); $i ++ ) {
700
 
701
  // get anchor and add to find and replace arrays
702
- $anchor = self::url_anchor_target( $matches[ $i ][0] );
703
  $find[] = $matches[ $i ][0];
704
  $replace[] = str_replace(
705
  array(
706
  $matches[ $i ][1], // start of heading
707
- '</h' . $matches[ $i ][2] . '>' // end of heading
708
  ),
709
  array(
710
  $matches[ $i ][1] . '<span class="ez-toc-section" id="' . $anchor . '">',
@@ -716,14 +769,15 @@ if ( ! class_exists( 'ezTOC' ) ) {
716
  // assemble flat list
717
  if ( ! ezTOC_Option::get( 'show_hierarchy' ) ) {
718
 
719
- $items .= '<li><a href="#' . $anchor . '">';
 
720
 
721
  //if ( 'decimal' == ezTOC_Option::get( 'counter' ) ) {
722
  //
723
  // $items .= count( $replace ) . ' ';
724
  //}
725
 
726
- $items .= strip_tags( $matches[ $i ][0] ) . '</a></li>';
727
  }
728
  }
729
 
@@ -731,7 +785,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
731
  // we could have tested for $items but that var can be quite large in some cases
732
  if ( ezTOC_Option::get( 'show_hierarchy' ) ) {
733
 
734
- $items = self::build_hierarchy( $matches );
735
  }
736
 
737
  }
@@ -741,6 +795,29 @@ if ( ! class_exists( 'ezTOC' ) ) {
741
  return $items;
742
  }
743
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
744
  /**
745
  * Returns true if the table of contents is eligible to be printed, false otherwise.
746
  *
@@ -772,13 +849,25 @@ if ( ! class_exists( 'ezTOC' ) ) {
772
 
773
  if ( ezTOC_Option::get( 'restrict_path' ) ) {
774
 
775
- if ( strpos( $_SERVER['REQUEST_URI'], ezTOC_Option::get( 'restrict_path' ) ) === 0 ) {
 
 
 
 
 
 
 
 
 
 
 
 
776
 
777
- return TRUE;
778
 
779
  } else {
780
 
781
- return FALSE;
782
  }
783
 
784
  } else {
@@ -942,7 +1031,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
942
 
943
  $html .= '<div class="ez-toc-title-container">' . PHP_EOL;
944
 
945
- $html .= '<p class="ez-toc-title">' . htmlentities( $toc_title, ENT_COMPAT, 'UTF-8' ) . '</p>' . PHP_EOL;
946
 
947
  $html .= '<span class="ez-toc-title-toggle">';
948
 
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.1
7
  * Author: Steven A. Zahm
8
  * Author URI: http://connections-pro.com/
9
  * Text Domain: ez_toc
26
  * @package Easy Table of Contents
27
  * @category Plugin
28
  * @author Steven A. Zahm
29
+ * @version 1.1
30
  */
31
 
32
  // Exit if accessed directly
45
  * @since 1.0
46
  * @var string
47
  */
48
+ const VERSION = '1.1';
49
 
50
  /**
51
  * Stores the instance of this class.
439
  // list item
440
  if ( in_array( $matches[ $i ][2], ezTOC_Option::get( 'heading_levels' ) ) ) {
441
 
442
+ $title = apply_filters( 'ez_toc_title', strip_tags( wp_kses_post( $matches[ $i ][0] ) ) );
443
+
444
+ //$html .= '<a href="#' . self::url_anchor_target( $title ) . '">';
445
  $html .= sprintf(
446
+ '<a href="%1$s" title="%2$s">',
447
+ esc_url( '#' . self::url_anchor_target( $matches[ $i ][0] ) ),
448
+ esc_attr( $title )
449
  );
450
 
451
  //if ( 'decimal' == ezTOC_Option::get( 'counter' ) ) {
463
  // $numbered_items[ $current_depth ] ++;
464
  //}
465
 
466
+ $html .= $title . '</a>';
467
  }
468
 
469
  // end lists
589
 
590
  $headings = get_post_meta( $post->ID, '_ez-toc-heading-levels', TRUE );
591
  $exclude = get_post_meta( $post->ID, '_ez-toc-exclude', TRUE );
592
+ $altText = get_post_meta( $post->ID, '_ez-toc-alttext', TRUE );
593
 
594
  if ( ! is_array( $headings ) ) {
595
 
636
  if ( $exclude ) {
637
 
638
  $excluded_headings = explode( '|', $exclude );
639
+ $excluded_count = count( $excluded_headings );
640
 
641
+ if ( $excluded_count > 0 ) {
642
 
643
+ for ( $j = 0; $j < $excluded_count; $j++ ) {
644
 
645
  $excluded_headings[ $j ] = preg_quote( $excluded_headings[ $j ] );
646
 
659
 
660
  $found = FALSE;
661
 
662
+ for ( $j = 0; $j < $excluded_count; $j++ ) {
663
 
664
  if ( @preg_match( '/^' . $excluded_headings[ $j ] . '$/imU', strip_tags( $matches[ $i ][0] ) ) ) {
665
 
697
  $matches = $new_matches;
698
  }
699
 
700
+ $toc = $matches;
701
+
702
+ // Replace headers with toc alt text.
703
+ if ( $altText ) {
704
+
705
+ $alt_headings = array();
706
+ $split_headings = preg_split( '/\r\n|[\r\n]/', $altText );
707
+ $split_headings_count = count( $split_headings );
708
+
709
+ if ( $split_headings ) {
710
+
711
+ for ( $k = 0; $k < $split_headings_count; $k++ ) {
712
+
713
+ $explode_headings = explode( '|', $split_headings[ $k ] );
714
+
715
+ if ( 0 < strlen( $explode_headings[0] ) && 0 < strlen( $explode_headings[1] ) ) {
716
+
717
+ $alt_headings[ $explode_headings[0] ] = $explode_headings[1];
718
+ }
719
+ }
720
+
721
+ }
722
+
723
+ if ( 0 < count( $alt_headings ) ) {
724
+
725
+ for ( $i = 0; $i < count( $toc ); $i++ ) {
726
+
727
+ foreach ( $alt_headings as $original_heading => $alt_heading ) {
728
+
729
+ $original_heading = preg_quote( $original_heading );
730
+
731
+ // escape some regular expression characters
732
+ // others: http://www.php.net/manual/en/regexp.reference.meta.php
733
+ $original_heading = str_replace(
734
+ array( '\*' ),
735
+ array( '.*' ),
736
+ trim( $original_heading )
737
+ );
738
+
739
+ if ( @preg_match( '/^' . $original_heading . '$/imU', strip_tags( $toc[ $i ][0] ) ) ) {
740
+
741
+ //$matches[ $i ][0] = str_replace( $original_heading, $alt_heading, $matches[ $i ][0] );
742
+ $toc[ $i ][0] = $alt_heading;
743
+ }
744
+ }
745
+ }
746
+ }
747
+ }
748
+
749
  // check minimum number of headings
750
  if ( count( $matches ) >= ezTOC_Option::get( 'start' ) ) {
751
 
752
+ for ( $i = 0; $i < count( $matches ); $i++ ) {
753
 
754
  // get anchor and add to find and replace arrays
755
+ $anchor = isset( $toc[ $i ][0] ) ? self::url_anchor_target( $toc[ $i ][0] ) : self::url_anchor_target( $matches[ $i ][0] );
756
  $find[] = $matches[ $i ][0];
757
  $replace[] = str_replace(
758
  array(
759
  $matches[ $i ][1], // start of heading
760
+ '</h' . $matches[ $i ][2] . '>' // end of heading
761
  ),
762
  array(
763
  $matches[ $i ][1] . '<span class="ez-toc-section" id="' . $anchor . '">',
769
  // assemble flat list
770
  if ( ! ezTOC_Option::get( 'show_hierarchy' ) ) {
771
 
772
+ $items .= '<li><a href="' . esc_url( '#' . $anchor ) . '">';
773
+ $title = apply_filters( 'ez_toc_title', strip_tags( wp_kses_post( $toc[ $i ][0] ) ) );
774
 
775
  //if ( 'decimal' == ezTOC_Option::get( 'counter' ) ) {
776
  //
777
  // $items .= count( $replace ) . ' ';
778
  //}
779
 
780
+ $items .= $title . '</a></li>';
781
  }
782
  }
783
 
785
  // we could have tested for $items but that var can be quite large in some cases
786
  if ( ezTOC_Option::get( 'show_hierarchy' ) ) {
787
 
788
+ $items = self::build_hierarchy( $toc );
789
  }
790
 
791
  }
795
  return $items;
796
  }
797
 
798
+ /**
799
+ * Array search deep.
800
+ *
801
+ * Search an array recursively for a value.
802
+ *
803
+ * @param $search
804
+ * @param array $array
805
+ * @param string $mode
806
+ *
807
+ * @return bool
808
+ */
809
+ public static function array_search_deep( $search, array $array, $mode = 'value' ) {
810
+
811
+ foreach ( new RecursiveIteratorIterator( new RecursiveArrayIterator( $array ) ) as $key => $value ) {
812
+
813
+ if ( $search === ${${"mode"}} ) {
814
+ return TRUE;
815
+ }
816
+ }
817
+
818
+ return FALSE;
819
+ }
820
+
821
  /**
822
  * Returns true if the table of contents is eligible to be printed, false otherwise.
823
  *
849
 
850
  if ( ezTOC_Option::get( 'restrict_path' ) ) {
851
 
852
+ //if ( strpos( $_SERVER['REQUEST_URI'], ezTOC_Option::get( 'restrict_path' ) ) === 0 ) {
853
+ //
854
+ // return TRUE;
855
+ //
856
+ //} else {
857
+ //
858
+ // return FALSE;
859
+ //}
860
+
861
+ /**
862
+ * @link https://wordpress.org/support/topic/restrict-path-logic-does-not-work-correctly?
863
+ */
864
+ if ( FALSE !== strpos( ezTOC_Option::get( 'restrict_path' ), $_SERVER['REQUEST_URI'] ) ) {
865
 
866
+ return FALSE;
867
 
868
  } else {
869
 
870
+ return TRUE;
871
  }
872
 
873
  } else {
1031
 
1032
  $html .= '<div class="ez-toc-title-container">' . PHP_EOL;
1033
 
1034
+ $html .= '<p class="ez-toc-title">' . esc_html( htmlentities( $toc_title, ENT_COMPAT, 'UTF-8' ) ). '</p>' . PHP_EOL;
1035
 
1036
  $html .= '<span class="ez-toc-title-toggle">';
1037
 
includes/class.admin.php CHANGED
@@ -44,6 +44,11 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
44
  * @access private
45
  * @since 1.0
46
  * @static
 
 
 
 
 
47
  */
48
  public function pluginActionLinks( $links, $file ) {
49
 
@@ -52,7 +57,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
52
  $action[] = sprintf(
53
  '<a href="%1$s">%2$s</a>',
54
  esc_url( add_query_arg( 'page', 'table-of-contents', self_admin_url( 'options-general.php' ) ) ),
55
- esc_html( __( 'Settings', 'ez_toc' ) )
56
  );
57
 
58
  return array_merge( $action, $links );
@@ -84,8 +89,8 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
84
 
85
  $page = add_submenu_page(
86
  'options-general.php',
87
- __( 'Table of Contents', 'ez_toc' ),
88
- __( 'Table of Contents', 'ez_toc' ),
89
  'manage_options',
90
  'table-of-contents',
91
  array( $this, 'page' )
@@ -137,7 +142,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
137
  */
138
  public function metabox() {
139
 
140
- add_meta_box( 'ez-toc', __( 'Table of Contents', 'ez-toc' ), array( $this, 'displayMetabox' ) );
141
  }
142
 
143
  /**
@@ -159,6 +164,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
159
  $insert = get_post_meta( $post->ID, '_ez-toc-insert', TRUE ) == 1 ? TRUE : FALSE;
160
  $headings = get_post_meta( $post->ID, '_ez-toc-heading-levels', TRUE );
161
  $exclude = get_post_meta( $post->ID, '_ez-toc-exclude', TRUE );
 
162
 
163
  if ( ! is_array( $headings ) ) {
164
 
@@ -179,7 +185,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
179
  ezTOC_Option::checkbox(
180
  array(
181
  'id' => 'disabled-toc',
182
- 'desc' => __( 'Disable the automatic insertion of the table of contents.', 'ez_toc' ),
183
  'default' => $suppress,
184
  ),
185
  $suppress
@@ -190,7 +196,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
190
  ezTOC_Option::checkbox(
191
  array(
192
  'id' => 'insert-toc',
193
- 'desc' => __( 'Insert table of contents.', 'ez_toc' ),
194
  'default' => $insert,
195
  ),
196
  $insert
@@ -202,16 +208,16 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
202
  </tr>
203
 
204
  <tr>
205
- <th scope="row"><?php _e( 'Advanced:', 'ez_toc' ); ?></th>
206
  <td>
207
  <?php
208
  ezTOC_Option::descriptive_text(
209
  array(
210
  'id' => 'exclude-desc',
211
  'name' => '',
212
- 'desc' => '<p><strong>' . __( 'NOTE:', 'ez_toc' ) . '</strong></p>' .
213
  '<ul>' .
214
- '<li>' . __( 'Using the advanced options below will override the global advanced settings.', 'ez_toc' ) . '</li>' .
215
  '</ul>',
216
  )
217
  );
@@ -220,13 +226,13 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
220
  </tr>
221
 
222
  <tr>
223
- <th scope="row"><?php _e( 'Headings:', 'ez_toc' ); ?></th>
224
  <td>
225
  <?php
226
  ezTOC_Option::checkboxgroup(
227
  array(
228
  'id' => 'heading-levels',
229
- 'desc' => __( 'Select the heading to consider when generating the table of contents. Deselecting a heading will exclude it.', 'ez_toc' ),
230
  'options' => array(
231
  '1' => __( 'Heading 1 (h1)', 'ez_toc' ),
232
  '2' => __( 'Heading 2 (h2)', 'ez_toc' ),
@@ -243,7 +249,41 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
243
  </td>
244
  </tr>
245
  <tr>
246
- <th scope="row"><?php _e( 'Exclude Headings', 'ez_toc' ); ?></th>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  <td>
248
  <?php
249
  ezTOC_Option::text(
@@ -266,7 +306,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
266
  array(
267
  'id' => 'exclude-desc',
268
  'name' => '',
269
- 'desc' => '<p><strong>' . __( 'Examples:', 'ez_toc' ) . '</strong></p>' .
270
  '<ul>' .
271
  '<li>' . __( '<code>Fruit*</code> Ignore headings starting with "Fruit".', 'ez_toc' ) . '</li>' .
272
  '<li>' . __( '<code>*Fruit Diet*</code> Ignore headings with "Fruit Diet" somewhere in the heading.', 'ez_toc' ) . '</li>' .
@@ -337,11 +377,29 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
337
  update_post_meta( $post_id, '_ez-toc-heading-levels', array() );
338
  }
339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  if ( isset( $_REQUEST['ez-toc-settings']['exclude'] ) && ! empty( $_REQUEST['ez-toc-settings']['exclude'] ) ) {
341
 
342
  if ( is_string( $_REQUEST['ez-toc-settings']['exclude'] ) ) {
343
 
344
- $exclude = stripslashes( trim( $_REQUEST['ez-toc-settings']['exclude'] ) );
345
 
346
  } else {
347
 
44
  * @access private
45
  * @since 1.0
46
  * @static
47
+ *
48
+ * @param $links
49
+ * @param $file
50
+ *
51
+ * @return array
52
  */
53
  public function pluginActionLinks( $links, $file ) {
54
 
57
  $action[] = sprintf(
58
  '<a href="%1$s">%2$s</a>',
59
  esc_url( add_query_arg( 'page', 'table-of-contents', self_admin_url( 'options-general.php' ) ) ),
60
+ esc_html__( 'Settings', 'ez_toc' )
61
  );
62
 
63
  return array_merge( $action, $links );
89
 
90
  $page = add_submenu_page(
91
  'options-general.php',
92
+ esc_html__( 'Table of Contents', 'ez_toc' ),
93
+ esc_html__( 'Table of Contents', 'ez_toc' ),
94
  'manage_options',
95
  'table-of-contents',
96
  array( $this, 'page' )
142
  */
143
  public function metabox() {
144
 
145
+ add_meta_box( 'ez-toc', esc_html__( 'Table of Contents', 'ez-toc' ), array( $this, 'displayMetabox' ) );
146
  }
147
 
148
  /**
164
  $insert = get_post_meta( $post->ID, '_ez-toc-insert', TRUE ) == 1 ? TRUE : FALSE;
165
  $headings = get_post_meta( $post->ID, '_ez-toc-heading-levels', TRUE );
166
  $exclude = get_post_meta( $post->ID, '_ez-toc-exclude', TRUE );
167
+ $altText = get_post_meta( $post->ID, '_ez-toc-alttext', TRUE );
168
 
169
  if ( ! is_array( $headings ) ) {
170
 
185
  ezTOC_Option::checkbox(
186
  array(
187
  'id' => 'disabled-toc',
188
+ 'desc' => esc_html__( 'Disable the automatic insertion of the table of contents.', 'ez_toc' ),
189
  'default' => $suppress,
190
  ),
191
  $suppress
196
  ezTOC_Option::checkbox(
197
  array(
198
  'id' => 'insert-toc',
199
+ 'desc' => esc_html__( 'Insert table of contents.', 'ez_toc' ),
200
  'default' => $insert,
201
  ),
202
  $insert
208
  </tr>
209
 
210
  <tr>
211
+ <th scope="row"><?php esc_html_e( 'Advanced:', 'ez_toc' ); ?></th>
212
  <td>
213
  <?php
214
  ezTOC_Option::descriptive_text(
215
  array(
216
  'id' => 'exclude-desc',
217
  'name' => '',
218
+ 'desc' => '<p><strong>' . esc_html__( 'NOTE:', 'ez_toc' ) . '</strong></p>' .
219
  '<ul>' .
220
+ '<li>' . esc_html__( 'Using the advanced options below will override the global advanced settings.', 'ez_toc' ) . '</li>' .
221
  '</ul>',
222
  )
223
  );
226
  </tr>
227
 
228
  <tr>
229
+ <th scope="row"><?php esc_html_e( 'Headings:', 'ez_toc' ); ?></th>
230
  <td>
231
  <?php
232
  ezTOC_Option::checkboxgroup(
233
  array(
234
  'id' => 'heading-levels',
235
+ 'desc' => esc_html__( 'Select the heading to consider when generating the table of contents. Deselecting a heading will exclude it.', 'ez_toc' ),
236
  'options' => array(
237
  '1' => __( 'Heading 1 (h1)', 'ez_toc' ),
238
  '2' => __( 'Heading 2 (h2)', 'ez_toc' ),
249
  </td>
250
  </tr>
251
  <tr>
252
+ <th scope="row"><?php esc_html_e( 'Alternate Headings', 'ez_toc' ); ?></th>
253
+ <td>
254
+ <?php
255
+ ezTOC_Option::textarea(
256
+ array(
257
+ 'id' => 'alttext',
258
+ 'desc' => __( 'Specify alternate table of contents header string. Add the header to be replaced and the alternate header on a single line separated with a pipe <code>|</code>. Put each additional original and alternate header on its own line.', 'ez_toc' ),
259
+ 'size' => 'large',
260
+ 'default' => '',
261
+ ),
262
+ esc_textarea( $altText )
263
+ );
264
+ ?>
265
+ </td>
266
+ </tr>
267
+ <tr>
268
+ <th scope="row"></th>
269
+ <td>
270
+ <?php
271
+ ezTOC_Option::descriptive_text(
272
+ array(
273
+ 'id' => 'alttext-desc',
274
+ 'name' => '',
275
+ 'desc' => '<p><strong>' . esc_html__( 'Examples:', 'ez_toc' ) . '</strong></p>' .
276
+ '<ul>' .
277
+ '<li>' . __( '<code>Level [1.1]|Alternate TOC Header</code> Replaces Level [1.1] in the table of contents with Alternate TOC Header.', 'ez_toc' ) . '</li>' .
278
+ '</ul>' .
279
+ '<p>' . __( '<strong>Note:</strong> This is case sensitive.', 'ez_toc' ) . '</p>',
280
+ )
281
+ );
282
+ ?>
283
+ </td>
284
+ </tr>
285
+ <tr>
286
+ <th scope="row"><?php esc_html_e( 'Exclude Headings', 'ez_toc' ); ?></th>
287
  <td>
288
  <?php
289
  ezTOC_Option::text(
306
  array(
307
  'id' => 'exclude-desc',
308
  'name' => '',
309
+ 'desc' => '<p><strong>' . esc_html__( 'Examples:', 'ez_toc' ) . '</strong></p>' .
310
  '<ul>' .
311
  '<li>' . __( '<code>Fruit*</code> Ignore headings starting with "Fruit".', 'ez_toc' ) . '</li>' .
312
  '<li>' . __( '<code>*Fruit Diet*</code> Ignore headings with "Fruit Diet" somewhere in the heading.', 'ez_toc' ) . '</li>' .
377
  update_post_meta( $post_id, '_ez-toc-heading-levels', array() );
378
  }
379
 
380
+ if ( isset( $_REQUEST['ez-toc-settings']['alttext'] ) && ! empty( $_REQUEST['ez-toc-settings']['alttext'] ) ) {
381
+
382
+ if ( is_string( $_REQUEST['ez-toc-settings']['alttext'] ) ) {
383
+
384
+ $alttext = wp_unslash( trim( $_REQUEST['ez-toc-settings']['alttext'] ) );
385
+
386
+ } else {
387
+
388
+ $alttext = '';
389
+ }
390
+
391
+ update_post_meta( $post_id, '_ez-toc-alttext', wp_kses_data( $alttext ) );
392
+
393
+ } else {
394
+
395
+ update_post_meta( $post_id, '_ez-toc-alttext', '' );
396
+ }
397
+
398
  if ( isset( $_REQUEST['ez-toc-settings']['exclude'] ) && ! empty( $_REQUEST['ez-toc-settings']['exclude'] ) ) {
399
 
400
  if ( is_string( $_REQUEST['ez-toc-settings']['exclude'] ) ) {
401
 
402
+ $exclude = wp_unslash( trim( $_REQUEST['ez-toc-settings']['exclude'] ) );
403
 
404
  } else {
405
 
includes/class.options.php CHANGED
@@ -800,6 +800,51 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
800
  echo $html;
801
  }
802
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
803
  /**
804
  * Number Callback
805
  *
800
  echo $html;
801
  }
802
 
803
+ /**
804
+ * Textarea Callback.
805
+ *
806
+ * Renders a textarea.
807
+ *
808
+ * @access public
809
+ * @since 1.1
810
+ * @static
811
+ *
812
+ * @param array $args Arguments passed by the setting
813
+ * @param null $value
814
+ */
815
+ public static function textarea( $args, $value = NULL ) {
816
+
817
+ $html = '';
818
+
819
+ if ( is_null( $value ) ) {
820
+
821
+ $value = self::get( $args['id'], $args['default'] );
822
+ }
823
+
824
+ if ( isset( $args['faux'] ) && TRUE === $args['faux'] ) {
825
+
826
+ $args['readonly'] = TRUE;
827
+ $value = isset( $args['default'] ) ? $args['default'] : '';
828
+ $name = '';
829
+
830
+ } else {
831
+
832
+ $name = 'name="ez-toc-settings[' . $args['id'] . ']"';
833
+ }
834
+
835
+ $readonly = isset( $args['readonly'] ) && $args['readonly'] === TRUE ? ' readonly="readonly"' : '';
836
+ $size = isset( $args['size'] ) && ! is_null( $args['size'] ) ? $args['size'] : 'regular';
837
+
838
+ if ( 0 < strlen( $args['desc'] ) ) {
839
+
840
+ $html .= '<label for="ez-toc-settings[' . $args['id'] . ']"> ' . $args['desc'] . '</label>';
841
+ }
842
+
843
+ $html .= '<textarea rows="10" cols="50" class="' . $size . '-text" id="ez-toc-settings[' . $args['id'] . ']"' . $name . $readonly . '/>' . esc_textarea( stripslashes( $value ) ) . '</textarea>';
844
+
845
+ echo $html;
846
+ }
847
+
848
  /**
849
  * Number Callback
850
  *
languages/ez_toc-nl_NL.mo ADDED
Binary file
languages/ez_toc-nl_NL.po ADDED
@@ -0,0 +1,586 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Eazy TOC\n"
4
+ "POT-Creation-Date: 2016-02-24 13:41-0500\n"
5
+ "PO-Revision-Date: 2016-02-24 13:41-0500\n"
6
+ "Last-Translator: Steven A. Zahm <helpdesk@connections-pro.com>\n"
7
+ "Language-Team: Niko Strijbol <strijbol.niko AT gmail.com>\n"
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: Poedit 1.8.7\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
+
21
+ #: includes/class.admin.php:60
22
+ msgid "Settings"
23
+ msgstr "Instellingen"
24
+
25
+ #: includes/class.admin.php:92 includes/class.admin.php:93
26
+ #: includes/class.admin.php:145 includes/class.widget-toc.php:27
27
+ #: includes/inc.admin-options-page.php:2
28
+ msgid "Table of Contents"
29
+ msgstr "Inhoudsopgave"
30
+
31
+ #: includes/class.admin.php:188
32
+ msgid "Disable the automatic insertion of the table of contents."
33
+ msgstr "Automatisch invoegen van de inhoudsopgave uitschakelen."
34
+
35
+ #: includes/class.admin.php:199
36
+ msgid "Insert table of contents."
37
+ msgstr "Inhoudsopgave invoegen."
38
+
39
+ #: includes/class.admin.php:211
40
+ msgid "Advanced:"
41
+ msgstr "Geavanceerd;"
42
+
43
+ #: includes/class.admin.php:218
44
+ msgid "NOTE:"
45
+ msgstr "OPMERKING:"
46
+
47
+ #: includes/class.admin.php:220
48
+ msgid ""
49
+ "Using the advanced options below will override the global advanced settings."
50
+ msgstr ""
51
+ "het gebruik van de geavanceerde opties zal de globale instellingen "
52
+ "overschrijven."
53
+
54
+ #: includes/class.admin.php:229 includes/class.options.php:445
55
+ msgid "Headings:"
56
+ msgstr "Koppen:"
57
+
58
+ #: includes/class.admin.php:235 includes/class.options.php:446
59
+ msgid ""
60
+ "Select the heading to consider when generating the table of contents. "
61
+ "Deselecting a heading will exclude it."
62
+ msgstr ""
63
+ "Selecteer de koppen die gebruikt moeten worden om de inhoudsopgave te "
64
+ "genereren. Een kop niet selecteren zal hem uitsluiten."
65
+
66
+ #: includes/class.admin.php:237 includes/class.options.php:449
67
+ msgid "Heading 1 (h1)"
68
+ msgstr "Kop 1 (h1)"
69
+
70
+ #: includes/class.admin.php:238 includes/class.options.php:450
71
+ msgid "Heading 2 (h2)"
72
+ msgstr "Kop 2 (h2)"
73
+
74
+ #: includes/class.admin.php:239 includes/class.options.php:451
75
+ msgid "Heading 3 (h3)"
76
+ msgstr "Kop 3 (h3)"
77
+
78
+ #: includes/class.admin.php:240 includes/class.options.php:452
79
+ msgid "Heading 4 (h4)"
80
+ msgstr "Kop 4 (h4)"
81
+
82
+ #: includes/class.admin.php:241 includes/class.options.php:453
83
+ msgid "Heading 5 (h5)"
84
+ msgstr "Kop 5 (h5)"
85
+
86
+ #: includes/class.admin.php:242 includes/class.options.php:454
87
+ msgid "Heading 6 (h6)"
88
+ msgstr "Kop 6 (h6)"
89
+
90
+ #: includes/class.admin.php:252
91
+ #, fuzzy
92
+ msgid "Alternate Headings"
93
+ msgstr "Na de eerste kop"
94
+
95
+ #: includes/class.admin.php:258
96
+ msgid ""
97
+ "Specify alternate table of contents header string. Add the header to be "
98
+ "replaced and the alternate header on a single line separated with a pipe "
99
+ "<code>|</code>. Put each additional original and alternate header on its own "
100
+ "line."
101
+ msgstr ""
102
+
103
+ #: includes/class.admin.php:275 includes/class.admin.php:309
104
+ #: includes/class.options.php:469
105
+ msgid "Examples:"
106
+ msgstr "Voorbeelden:"
107
+
108
+ #: includes/class.admin.php:277
109
+ msgid ""
110
+ "<code>Level [1.1]|Alternate TOC Header</code> Replaces Level [1.1] in the "
111
+ "table of contents with Alternate TOC Header."
112
+ msgstr ""
113
+
114
+ #: includes/class.admin.php:279
115
+ #, fuzzy
116
+ msgid "<strong>Note:</strong> This is case sensitive."
117
+ msgstr "<strong>Opmerking:</strong> Dit is niet hoofdlettergevoelig."
118
+
119
+ #: includes/class.admin.php:286 includes/class.options.php:460
120
+ msgid "Exclude Headings"
121
+ msgstr "Koppen uitsluiten"
122
+
123
+ #: includes/class.admin.php:292 includes/class.options.php:461
124
+ msgid ""
125
+ "Specify headings to be excluded from appearing in the table of contents. "
126
+ "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
127
+ "<code>*</code> as a wildcard to match other text."
128
+ msgstr ""
129
+ "Specifieer welke koppen uit te sluiten uit de inhoudsopgave. Zet een "
130
+ "sluisteken <code>|</code> tussen verschillende koppen en gebruik een "
131
+ "asterisk <code>*</code> als een carte blanche om andere tekst te vinden."
132
+
133
+ #: includes/class.admin.php:311 includes/class.options.php:471
134
+ msgid "<code>Fruit*</code> Ignore headings starting with \"Fruit\"."
135
+ msgstr "<code>Fruit*</code> Negeer koppen startende met \"Fruit\"."
136
+
137
+ #: includes/class.admin.php:312 includes/class.options.php:472
138
+ msgid ""
139
+ "<code>*Fruit Diet*</code> Ignore headings with \"Fruit Diet\" somewhere in "
140
+ "the heading."
141
+ msgstr "<code>*Fruitdieet*</code> Negeer koppen die \"Fruitdieet\" bevatten."
142
+
143
+ #: includes/class.admin.php:313 includes/class.options.php:473
144
+ msgid ""
145
+ "<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are "
146
+ "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\"."
147
+ msgstr ""
148
+ "<code>De appelboom|Appelsienen|Gele bananen</code> Negeer koppen die exact "
149
+ "overeenkomen met \"De appelboom\", \"Appelsienen\" or \"Gele bananen\"."
150
+
151
+ #: includes/class.admin.php:315 includes/class.options.php:475
152
+ msgid "<strong>Note:</strong> This is not case sensitive."
153
+ msgstr "<strong>Opmerking:</strong> Dit is niet hoofdlettergevoelig."
154
+
155
+ #: includes/class.options.php:163
156
+ msgid "Enable Support"
157
+ msgstr "Ondersteuning inschakelen"
158
+
159
+ #: includes/class.options.php:164
160
+ msgid "Select the post types to enable the support for table of contents."
161
+ msgstr "Selecteer de berichttypes met ondersteuning voor inhoudsopgaves."
162
+
163
+ #: includes/class.options.php:171
164
+ msgid "Auto Insert"
165
+ msgstr "Automatisch invoegen"
166
+
167
+ #: includes/class.options.php:172
168
+ msgid ""
169
+ "Select the post types which will have the table of contents automatically "
170
+ "inserted."
171
+ msgstr ""
172
+ "Selecteer de berichttypes die de inhoudsopgave automatisch ingevoegd krijgen."
173
+
174
+ #: includes/class.options.php:173
175
+ msgid ""
176
+ "NOTE: The table of contents will only be automatically inserted on post "
177
+ "types for which it has been enabled."
178
+ msgstr ""
179
+ "OPMERKING: de inhoudsopgave zal enkel automatisch ingevoegd worden voor "
180
+ "berichttypes waarvoor ondersteuning ingeschakeld is."
181
+
182
+ #: includes/class.options.php:180
183
+ msgid "Position"
184
+ msgstr "Positie"
185
+
186
+ #: includes/class.options.php:181
187
+ msgid "Choose where where you want to display the table of contents."
188
+ msgstr "Kies waar de inhoudsopgave moet komen."
189
+
190
+ #: includes/class.options.php:184
191
+ msgid "Before first heading (default)"
192
+ msgstr "Voor de eerste kop (standaard)"
193
+
194
+ #: includes/class.options.php:185
195
+ msgid "After first heading"
196
+ msgstr "Na de eerste kop"
197
+
198
+ #: includes/class.options.php:186
199
+ msgid "Top"
200
+ msgstr "Bovenaan"
201
+
202
+ #: includes/class.options.php:187
203
+ msgid "Bottom"
204
+ msgstr "Onderaan"
205
+
206
+ #: includes/class.options.php:193
207
+ msgid "Show when"
208
+ msgstr "Tonen wanneer"
209
+
210
+ #: includes/class.options.php:194
211
+ msgid "or more headings are present"
212
+ msgstr "of als meerdere koppen aanwezig zijn"
213
+
214
+ #: includes/class.options.php:201
215
+ msgid "Display Header Label"
216
+ msgstr "Koplabel tonen"
217
+
218
+ #: includes/class.options.php:202
219
+ msgid "Show header text above the table of contents."
220
+ msgstr "Toon een koptekst boven de inhoudsopgave."
221
+
222
+ #: includes/class.options.php:208
223
+ msgid "Header Label"
224
+ msgstr "Koplabel"
225
+
226
+ #: includes/class.options.php:209
227
+ msgid "Eg: Contents, Table of Contents, Page Contents"
228
+ msgstr "Bv. Inhoud, Inhoudsopgave, Op deze pagina"
229
+
230
+ #: includes/class.options.php:211
231
+ msgid "Contents"
232
+ msgstr "Inhoud"
233
+
234
+ #: includes/class.options.php:215
235
+ msgid "Toggle View"
236
+ msgstr "Zichtbaarheid wijzigen"
237
+
238
+ #: includes/class.options.php:216
239
+ msgid "Allow the user to toggle the visibility of the table of contents."
240
+ msgstr ""
241
+ "Sta de gebruiker toe de zichtbaarheid van de inhoudsopgave te wijzigen."
242
+
243
+ #: includes/class.options.php:236
244
+ msgid "Initial View"
245
+ msgstr "Initiële zichtbaarheid"
246
+
247
+ #: includes/class.options.php:237
248
+ msgid "Initially hide the table of contents."
249
+ msgstr "Verberg initieel de inhoudsopgave."
250
+
251
+ #: includes/class.options.php:243
252
+ msgid "Show as Hierarchy"
253
+ msgstr "Toon als hiërarchie."
254
+
255
+ #: includes/class.options.php:250
256
+ msgid "Counter"
257
+ msgstr "Teller"
258
+
259
+ #: includes/class.options.php:254
260
+ msgid "Decimal (default)"
261
+ msgstr "Decimaal (standaard)"
262
+
263
+ #: includes/class.options.php:255
264
+ msgid "Numeric"
265
+ msgstr "Numeriek"
266
+
267
+ #: includes/class.options.php:256
268
+ msgid "Roman"
269
+ msgstr "Romeins"
270
+
271
+ #: includes/class.options.php:257
272
+ msgid "None"
273
+ msgstr "Geen"
274
+
275
+ #: includes/class.options.php:263
276
+ msgid "Smooth Scroll"
277
+ msgstr "Vloeiend scrollen"
278
+
279
+ #: includes/class.options.php:275
280
+ msgid "Width"
281
+ msgstr "Breedte"
282
+
283
+ #: includes/class.options.php:280
284
+ msgid "Fixed"
285
+ msgstr "Vast"
286
+
287
+ #: includes/class.options.php:294
288
+ msgid "Relative"
289
+ msgstr "Relatief"
290
+
291
+ #: includes/class.options.php:306 includes/class.options.php:351
292
+ msgid "Custom"
293
+ msgstr "Aangepast"
294
+
295
+ #: includes/class.options.php:308
296
+ msgid "User Defined"
297
+ msgstr "Gebruikersgedefinieerd"
298
+
299
+ #: includes/class.options.php:316
300
+ msgid "Custom Width"
301
+ msgstr "Aangepaste breedte"
302
+
303
+ #: includes/class.options.php:317
304
+ msgid ""
305
+ "Select the User Defined option from the Width option to utilitze the custom "
306
+ "width."
307
+ msgstr ""
308
+ "Selecteer de optie Gebruikersgedefinieerd bij de optie Breedte om de "
309
+ "aangepaste breedte te gebruiken."
310
+
311
+ #: includes/class.options.php:323
312
+ msgid "Float"
313
+ msgstr "Zwevend"
314
+
315
+ #: includes/class.options.php:327
316
+ msgid "None (Default)"
317
+ msgstr "Geen (standaard)"
318
+
319
+ #: includes/class.options.php:328
320
+ msgid "Left"
321
+ msgstr "Links"
322
+
323
+ #: includes/class.options.php:329
324
+ msgid "Right"
325
+ msgstr "Rechts"
326
+
327
+ #: includes/class.options.php:335
328
+ msgid "Font Size"
329
+ msgstr "Lettergrootte"
330
+
331
+ #: includes/class.options.php:342
332
+ msgid "Theme"
333
+ msgstr "Thema"
334
+
335
+ #: includes/class.options.php:343
336
+ msgid ""
337
+ "The theme is only applied to the table of contents which is auto inserted "
338
+ "into the post. The Table of Contents widget will inherit the theme widget "
339
+ "styles."
340
+ msgstr ""
341
+ "Het thema wordt enkel gebruikt bij de inhoudsopgaves die automatisch "
342
+ "ingevoegd worden. De widgets met een inhoudsopgave zullen de stijl van het "
343
+ "thema overerven."
344
+
345
+ #: includes/class.options.php:346
346
+ msgid "Grey"
347
+ msgstr "Grijs"
348
+
349
+ #: includes/class.options.php:347
350
+ msgid "Light Blue"
351
+ msgstr "Lichtblauw"
352
+
353
+ #: includes/class.options.php:348
354
+ msgid "White"
355
+ msgstr "Wit"
356
+
357
+ #: includes/class.options.php:349
358
+ msgid "Black"
359
+ msgstr "Zwart"
360
+
361
+ #: includes/class.options.php:350
362
+ msgid "Transparent"
363
+ msgstr "Doorzichtig"
364
+
365
+ #: includes/class.options.php:357
366
+ msgid "Custom Theme"
367
+ msgstr "Aangepast thema"
368
+
369
+ #: includes/class.options.php:358
370
+ msgid "For the following settings to apply, select the Custom Theme option."
371
+ msgstr "Selecteer de optie Aangepast thema om volgende opties toe te passen."
372
+
373
+ #: includes/class.options.php:363
374
+ msgid "Background Color"
375
+ msgstr "Kleur achtergrond"
376
+
377
+ #: includes/class.options.php:370
378
+ msgid "Border Color"
379
+ msgstr "Kleur rand"
380
+
381
+ #: includes/class.options.php:377
382
+ msgid "Title Color"
383
+ msgstr "Kleur titel"
384
+
385
+ #: includes/class.options.php:384
386
+ msgid "Link Color"
387
+ msgstr "Kleur snelkoppeling"
388
+
389
+ #: includes/class.options.php:391
390
+ msgid "Link Hover Color"
391
+ msgstr "Kleur snelkoppeling bij hover"
392
+
393
+ #: includes/class.options.php:398
394
+ msgid "Link Visited Color"
395
+ msgstr "Kleur bezochte snelkoppeling"
396
+
397
+ #: includes/class.options.php:410
398
+ msgid "Lowercase"
399
+ msgstr "Kleine letters"
400
+
401
+ #: includes/class.options.php:411
402
+ msgid "Ensure anchors are in lowercase."
403
+ msgstr "Zorg ervoor dat de ankers in kleine letters zijn."
404
+
405
+ #: includes/class.options.php:417
406
+ msgid "Hyphenate"
407
+ msgstr "Met streepjes"
408
+
409
+ #: includes/class.options.php:418
410
+ msgid "Use - rather than _ in anchors."
411
+ msgstr "Gebruik - in plaats van _ in ankers."
412
+
413
+ #: includes/class.options.php:424
414
+ msgid "Homepage"
415
+ msgstr "Startpagina"
416
+
417
+ #: includes/class.options.php:425
418
+ msgid "Show the table of contents for qualifying items on the homepage."
419
+ msgstr ""
420
+ "Toon de inhoudsopgave op de startpagina voor in aanmerking komende items."
421
+
422
+ #: includes/class.options.php:431
423
+ msgid "CSS"
424
+ msgstr "CSS"
425
+
426
+ #: includes/class.options.php:432
427
+ msgid ""
428
+ "Prevent the loading the core CSS styles. When selected, the appearance "
429
+ "options from above will be ignored."
430
+ msgstr ""
431
+ "De basis CSS niet laden. Als dit geselecteerd is, zullen de opties hierboven "
432
+ "genegeerd worden."
433
+
434
+ #: includes/class.options.php:480
435
+ msgid "Smooth Scroll Offset"
436
+ msgstr "Offset voor vloeiend schuiven"
437
+
438
+ #: includes/class.options.php:481
439
+ msgid ""
440
+ "If you have a consistent menu across the top of your site, you can adjust "
441
+ "the top offset to stop the headings from appearing underneath the top menu. "
442
+ "A setting of 30 accommodates the WordPress admin bar. This setting only has "
443
+ "an effect after you have enabled Smooth Scroll option."
444
+ msgstr ""
445
+ "Als je een vaste menu hebt aan de bovenkant van je site, kan je de offset "
446
+ "aanpassen om te vermijden dat de inhoudstafel onder de menu komt. 30 is een "
447
+ "aanbevolen waarden om de WordPress-adminbar te compenseren. Deze optie werkt "
448
+ "enkel als je de optie Vloeiend schuiven aan hebt staan."
449
+
450
+ #: includes/class.options.php:488
451
+ msgid "Limit Path"
452
+ msgstr "Pad beperken"
453
+
454
+ #: includes/class.options.php:489
455
+ msgid ""
456
+ "Restrict generation of the table of contents to pages that match the "
457
+ "required path. This path is from the root of your site and always begins "
458
+ "with a forward slash."
459
+ msgstr ""
460
+ "Beperk de generatie van de inhoudsopgave tot pagina's waarvoor het pad "
461
+ "overeenkomt met het vereiste pad. Dit pad is vanaf de wortel van je site en "
462
+ "begint met een voorwaartse schuine streep."
463
+
464
+ #: includes/class.options.php:490
465
+ msgid "Eg: /wiki/, /corporate/annual-reports/"
466
+ msgstr "Bv /wiki/, /bedrijf/rapporten/"
467
+
468
+ #: includes/class.options.php:495
469
+ msgid "Default Anchor Prefix"
470
+ msgstr "Standaard ankervoorvoegsel"
471
+
472
+ #: includes/class.options.php:496
473
+ msgid ""
474
+ "Anchor targets are restricted to alphanumeric characters as per HTML "
475
+ "specification (see readme for more detail). The default anchor prefix will "
476
+ "be used when no characters qualify. When left blank, a number will be used "
477
+ "instead."
478
+ msgstr ""
479
+ "Ankers bestaan enkel uit alpanumerieke waarden, zoals de HTML-standaard "
480
+ "vereist (zie readme voor meer details). Dit is het standaardanker als geen "
481
+ "enkel ander teken in aanmerking komt. Indien leeg zal een getal gebruikt "
482
+ "worden."
483
+
484
+ #: includes/class.options.php:497
485
+ msgid ""
486
+ "This option normally applies to content written in character sets other than "
487
+ "ASCII."
488
+ msgstr ""
489
+ "Deze optie is normaal enkel nodig voor inhoud die niet in ASCII geschreven "
490
+ "is."
491
+
492
+ #: includes/class.options.php:498
493
+ msgid "Eg: i, toc_index, index, _"
494
+ msgstr "Bv. i, toc, index, _"
495
+
496
+ #: includes/class.options.php:504
497
+ msgid "Widget Affix Selector"
498
+ msgstr "Widget affix selector"
499
+
500
+ #: includes/class.options.php:505
501
+ msgid ""
502
+ "To enable the option to affix or pin the Table of Contents widget enter the "
503
+ "theme's sidebar class or id."
504
+ msgstr ""
505
+ "Om de optie om de widget met de inhoudsopgave vast te zetten moet je het id "
506
+ "of de klasse van de zijbalk van het thema opgeven."
507
+
508
+ #: includes/class.options.php:506
509
+ msgid ""
510
+ "Since every theme is different, this can not be determined automatically. If "
511
+ "you are unsure how to find the sidebar's class or id, please ask the theme's "
512
+ "support persons."
513
+ msgstr ""
514
+ "Omdat elk thema anders is, kan dit niet vanzelf gebeuren. Als je niet goed "
515
+ "weet wat je hier moet doen, is het best contact op te nemen met de auteur "
516
+ "van het thema."
517
+
518
+ #: includes/class.options.php:507
519
+ msgid "Eg: .widget-area or #sidebar"
520
+ msgstr "Bv .widget-area of #sidebar"
521
+
522
+ #: includes/class.options.php:755
523
+ #, php-format
524
+ msgid ""
525
+ "The callback function used for the <strong>%s</strong> setting is missing."
526
+ msgstr ""
527
+ "Deze callback-functie is gebruikt omdat de optie <strong>%s</strong> "
528
+ "ontbreekt."
529
+
530
+ #: includes/class.widget-toc.php:22
531
+ msgid "Display the table of contents."
532
+ msgstr "Toon de inhoudsopgave."
533
+
534
+ #: includes/class.widget-toc.php:318
535
+ msgid "Title"
536
+ msgstr "Titel."
537
+
538
+ #: includes/class.widget-toc.php:325
539
+ msgid "Active Section Highlight Color:"
540
+ msgstr "Kleur actieve selectie:"
541
+
542
+ #: includes/class.widget-toc.php:333
543
+ msgid "Affix or pin the widget."
544
+ msgstr "Affix of zet de widget vast"
545
+
546
+ #: includes/class.widget-toc.php:337
547
+ msgid ""
548
+ "If you choose to affix the widget, do not add any other widgets on the "
549
+ "sidebar. Also, make sure you have only one instance Table of Contents widget "
550
+ "on the page."
551
+ msgstr ""
552
+ "Als je ervoor kiest de widget vast te zetten, mag je geen andere widgets aan "
553
+ "de zijbalk toevoegen. Zorg er ook voor dat er slechts één widget met "
554
+ "inhoudsopgave op de pagina te zien is."
555
+
556
+ #: includes/inc.admin-options-page.php:9
557
+ msgid "General"
558
+ msgstr "Algemeen"
559
+
560
+ #: includes/inc.admin-options-page.php:27
561
+ msgid "Appearance"
562
+ msgstr "Weergave"
563
+
564
+ #: includes/inc.admin-options-page.php:45
565
+ msgid "Advanced"
566
+ msgstr "Geavanceerd"
567
+
568
+ #: includes/inc.admin-options-page.php:61
569
+ msgid "Save Changes"
570
+ msgstr "Wijzigingen opslaan"
571
+
572
+ #~ msgid "Easy Table of Contents"
573
+ #~ msgstr "Easy Inhoudsopgave"
574
+
575
+ #~ msgid "http://connections-pro.com/"
576
+ #~ msgstr "http://connections-pro.com/"
577
+
578
+ #~ msgid ""
579
+ #~ "Adds a user friendly and fully automatic way to create and display a "
580
+ #~ "table of contents generated from the page content."
581
+ #~ msgstr ""
582
+ #~ "Voegt een gebruiksvriendelijke en volledig automatische manier toe om een "
583
+ #~ "inhoudsopgave te maken en te tonen, op basis van de inhoud van de pagina."
584
+
585
+ #~ msgid "Steven A. Zahm"
586
+ #~ msgstr "Steven A. Zahm"
languages/ez_toc.pot ADDED
@@ -0,0 +1,545 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
+ "Project-Id-Version: Easy Table of Contents\n"
6
+ "POT-Creation-Date: 2016-02-24 13:41-0500\n"
7
+ "PO-Revision-Date: 2015-11-09 09:47-0500\n"
8
+ "Last-Translator: Steven A. Zahm <helpdesk@connections-pro.com>\n"
9
+ "Language-Team: Steven A. Zahm <helpdesk@connections-pro.com>\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.7\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "X-Poedit-WPHeader: easy-table-of-contents.php\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
19
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: *.js\n"
22
+
23
+ #: includes/class.admin.php:60
24
+ msgid "Settings"
25
+ msgstr ""
26
+
27
+ #: includes/class.admin.php:92 includes/class.admin.php:93
28
+ #: includes/class.admin.php:145 includes/class.widget-toc.php:27
29
+ #: includes/inc.admin-options-page.php:2
30
+ msgid "Table of Contents"
31
+ msgstr ""
32
+
33
+ #: includes/class.admin.php:188
34
+ msgid "Disable the automatic insertion of the table of contents."
35
+ msgstr ""
36
+
37
+ #: includes/class.admin.php:199
38
+ msgid "Insert table of contents."
39
+ msgstr ""
40
+
41
+ #: includes/class.admin.php:211
42
+ msgid "Advanced:"
43
+ msgstr ""
44
+
45
+ #: includes/class.admin.php:218
46
+ msgid "NOTE:"
47
+ msgstr ""
48
+
49
+ #: includes/class.admin.php:220
50
+ msgid ""
51
+ "Using the advanced options below will override the global advanced settings."
52
+ msgstr ""
53
+
54
+ #: includes/class.admin.php:229 includes/class.options.php:445
55
+ msgid "Headings:"
56
+ msgstr ""
57
+
58
+ #: includes/class.admin.php:235 includes/class.options.php:446
59
+ msgid ""
60
+ "Select the heading to consider when generating the table of contents. "
61
+ "Deselecting a heading will exclude it."
62
+ msgstr ""
63
+
64
+ #: includes/class.admin.php:237 includes/class.options.php:449
65
+ msgid "Heading 1 (h1)"
66
+ msgstr ""
67
+
68
+ #: includes/class.admin.php:238 includes/class.options.php:450
69
+ msgid "Heading 2 (h2)"
70
+ msgstr ""
71
+
72
+ #: includes/class.admin.php:239 includes/class.options.php:451
73
+ msgid "Heading 3 (h3)"
74
+ msgstr ""
75
+
76
+ #: includes/class.admin.php:240 includes/class.options.php:452
77
+ msgid "Heading 4 (h4)"
78
+ msgstr ""
79
+
80
+ #: includes/class.admin.php:241 includes/class.options.php:453
81
+ msgid "Heading 5 (h5)"
82
+ msgstr ""
83
+
84
+ #: includes/class.admin.php:242 includes/class.options.php:454
85
+ msgid "Heading 6 (h6)"
86
+ msgstr ""
87
+
88
+ #: includes/class.admin.php:252
89
+ msgid "Alternate Headings"
90
+ msgstr ""
91
+
92
+ #: includes/class.admin.php:258
93
+ msgid ""
94
+ "Specify alternate table of contents header string. Add the header to be "
95
+ "replaced and the alternate header on a single line separated with a pipe "
96
+ "<code>|</code>. Put each additional original and alternate header on its own "
97
+ "line."
98
+ msgstr ""
99
+
100
+ #: includes/class.admin.php:275 includes/class.admin.php:309
101
+ #: includes/class.options.php:469
102
+ msgid "Examples:"
103
+ msgstr ""
104
+
105
+ #: includes/class.admin.php:277
106
+ msgid ""
107
+ "<code>Level [1.1]|Alternate TOC Header</code> Replaces Level [1.1] in the "
108
+ "table of contents with Alternate TOC Header."
109
+ msgstr ""
110
+
111
+ #: includes/class.admin.php:279
112
+ msgid "<strong>Note:</strong> This is case sensitive."
113
+ msgstr ""
114
+
115
+ #: includes/class.admin.php:286 includes/class.options.php:460
116
+ msgid "Exclude Headings"
117
+ msgstr ""
118
+
119
+ #: includes/class.admin.php:292 includes/class.options.php:461
120
+ msgid ""
121
+ "Specify headings to be excluded from appearing in the table of contents. "
122
+ "Separate multiple headings with a pipe <code>|</code>. Use an asterisk "
123
+ "<code>*</code> as a wildcard to match other text."
124
+ msgstr ""
125
+
126
+ #: includes/class.admin.php:311 includes/class.options.php:471
127
+ msgid "<code>Fruit*</code> Ignore headings starting with \"Fruit\"."
128
+ msgstr ""
129
+
130
+ #: includes/class.admin.php:312 includes/class.options.php:472
131
+ msgid ""
132
+ "<code>*Fruit Diet*</code> Ignore headings with \"Fruit Diet\" somewhere in "
133
+ "the heading."
134
+ msgstr ""
135
+
136
+ #: includes/class.admin.php:313 includes/class.options.php:473
137
+ msgid ""
138
+ "<code>Apple Tree|Oranges|Yellow Bananas</code> Ignore headings that are "
139
+ "exactly \"Apple Tree\", \"Oranges\" or \"Yellow Bananas\"."
140
+ msgstr ""
141
+
142
+ #: includes/class.admin.php:315 includes/class.options.php:475
143
+ msgid "<strong>Note:</strong> This is not case sensitive."
144
+ msgstr ""
145
+
146
+ #: includes/class.options.php:163
147
+ msgid "Enable Support"
148
+ msgstr ""
149
+
150
+ #: includes/class.options.php:164
151
+ msgid "Select the post types to enable the support for table of contents."
152
+ msgstr ""
153
+
154
+ #: includes/class.options.php:171
155
+ msgid "Auto Insert"
156
+ msgstr ""
157
+
158
+ #: includes/class.options.php:172
159
+ msgid ""
160
+ "Select the post types which will have the table of contents automatically "
161
+ "inserted."
162
+ msgstr ""
163
+
164
+ #: includes/class.options.php:173
165
+ msgid ""
166
+ "NOTE: The table of contents will only be automatically inserted on post "
167
+ "types for which it has been enabled."
168
+ msgstr ""
169
+
170
+ #: includes/class.options.php:180
171
+ msgid "Position"
172
+ msgstr ""
173
+
174
+ #: includes/class.options.php:181
175
+ msgid "Choose where where you want to display the table of contents."
176
+ msgstr ""
177
+
178
+ #: includes/class.options.php:184
179
+ msgid "Before first heading (default)"
180
+ msgstr ""
181
+
182
+ #: includes/class.options.php:185
183
+ msgid "After first heading"
184
+ msgstr ""
185
+
186
+ #: includes/class.options.php:186
187
+ msgid "Top"
188
+ msgstr ""
189
+
190
+ #: includes/class.options.php:187
191
+ msgid "Bottom"
192
+ msgstr ""
193
+
194
+ #: includes/class.options.php:193
195
+ msgid "Show when"
196
+ msgstr ""
197
+
198
+ #: includes/class.options.php:194
199
+ msgid "or more headings are present"
200
+ msgstr ""
201
+
202
+ #: includes/class.options.php:201
203
+ msgid "Display Header Label"
204
+ msgstr ""
205
+
206
+ #: includes/class.options.php:202
207
+ msgid "Show header text above the table of contents."
208
+ msgstr ""
209
+
210
+ #: includes/class.options.php:208
211
+ msgid "Header Label"
212
+ msgstr ""
213
+
214
+ #: includes/class.options.php:209
215
+ msgid "Eg: Contents, Table of Contents, Page Contents"
216
+ msgstr ""
217
+
218
+ #: includes/class.options.php:211
219
+ msgid "Contents"
220
+ msgstr ""
221
+
222
+ #: includes/class.options.php:215
223
+ msgid "Toggle View"
224
+ msgstr ""
225
+
226
+ #: includes/class.options.php:216
227
+ msgid "Allow the user to toggle the visibility of the table of contents."
228
+ msgstr ""
229
+
230
+ #: includes/class.options.php:236
231
+ msgid "Initial View"
232
+ msgstr ""
233
+
234
+ #: includes/class.options.php:237
235
+ msgid "Initially hide the table of contents."
236
+ msgstr ""
237
+
238
+ #: includes/class.options.php:243
239
+ msgid "Show as Hierarchy"
240
+ msgstr ""
241
+
242
+ #: includes/class.options.php:250
243
+ msgid "Counter"
244
+ msgstr ""
245
+
246
+ #: includes/class.options.php:254
247
+ msgid "Decimal (default)"
248
+ msgstr ""
249
+
250
+ #: includes/class.options.php:255
251
+ msgid "Numeric"
252
+ msgstr ""
253
+
254
+ #: includes/class.options.php:256
255
+ msgid "Roman"
256
+ msgstr ""
257
+
258
+ #: includes/class.options.php:257
259
+ msgid "None"
260
+ msgstr ""
261
+
262
+ #: includes/class.options.php:263
263
+ msgid "Smooth Scroll"
264
+ msgstr ""
265
+
266
+ #: includes/class.options.php:275
267
+ msgid "Width"
268
+ msgstr ""
269
+
270
+ #: includes/class.options.php:280
271
+ msgid "Fixed"
272
+ msgstr ""
273
+
274
+ #: includes/class.options.php:294
275
+ msgid "Relative"
276
+ msgstr ""
277
+
278
+ #: includes/class.options.php:306 includes/class.options.php:351
279
+ msgid "Custom"
280
+ msgstr ""
281
+
282
+ #: includes/class.options.php:308
283
+ msgid "User Defined"
284
+ msgstr ""
285
+
286
+ #: includes/class.options.php:316
287
+ msgid "Custom Width"
288
+ msgstr ""
289
+
290
+ #: includes/class.options.php:317
291
+ msgid ""
292
+ "Select the User Defined option from the Width option to utilitze the custom "
293
+ "width."
294
+ msgstr ""
295
+
296
+ #: includes/class.options.php:323
297
+ msgid "Float"
298
+ msgstr ""
299
+
300
+ #: includes/class.options.php:327
301
+ msgid "None (Default)"
302
+ msgstr ""
303
+
304
+ #: includes/class.options.php:328
305
+ msgid "Left"
306
+ msgstr ""
307
+
308
+ #: includes/class.options.php:329
309
+ msgid "Right"
310
+ msgstr ""
311
+
312
+ #: includes/class.options.php:335
313
+ msgid "Font Size"
314
+ msgstr ""
315
+
316
+ #: includes/class.options.php:342
317
+ msgid "Theme"
318
+ msgstr ""
319
+
320
+ #: includes/class.options.php:343
321
+ msgid ""
322
+ "The theme is only applied to the table of contents which is auto inserted "
323
+ "into the post. The Table of Contents widget will inherit the theme widget "
324
+ "styles."
325
+ msgstr ""
326
+
327
+ #: includes/class.options.php:346
328
+ msgid "Grey"
329
+ msgstr ""
330
+
331
+ #: includes/class.options.php:347
332
+ msgid "Light Blue"
333
+ msgstr ""
334
+
335
+ #: includes/class.options.php:348
336
+ msgid "White"
337
+ msgstr ""
338
+
339
+ #: includes/class.options.php:349
340
+ msgid "Black"
341
+ msgstr ""
342
+
343
+ #: includes/class.options.php:350
344
+ msgid "Transparent"
345
+ msgstr ""
346
+
347
+ #: includes/class.options.php:357
348
+ msgid "Custom Theme"
349
+ msgstr ""
350
+
351
+ #: includes/class.options.php:358
352
+ msgid "For the following settings to apply, select the Custom Theme option."
353
+ msgstr ""
354
+
355
+ #: includes/class.options.php:363
356
+ msgid "Background Color"
357
+ msgstr ""
358
+
359
+ #: includes/class.options.php:370
360
+ msgid "Border Color"
361
+ msgstr ""
362
+
363
+ #: includes/class.options.php:377
364
+ msgid "Title Color"
365
+ msgstr ""
366
+
367
+ #: includes/class.options.php:384
368
+ msgid "Link Color"
369
+ msgstr ""
370
+
371
+ #: includes/class.options.php:391
372
+ msgid "Link Hover Color"
373
+ msgstr ""
374
+
375
+ #: includes/class.options.php:398
376
+ msgid "Link Visited Color"
377
+ msgstr ""
378
+
379
+ #: includes/class.options.php:410
380
+ msgid "Lowercase"
381
+ msgstr ""
382
+
383
+ #: includes/class.options.php:411
384
+ msgid "Ensure anchors are in lowercase."
385
+ msgstr ""
386
+
387
+ #: includes/class.options.php:417
388
+ msgid "Hyphenate"
389
+ msgstr ""
390
+
391
+ #: includes/class.options.php:418
392
+ msgid "Use - rather than _ in anchors."
393
+ msgstr ""
394
+
395
+ #: includes/class.options.php:424
396
+ msgid "Homepage"
397
+ msgstr ""
398
+
399
+ #: includes/class.options.php:425
400
+ msgid "Show the table of contents for qualifying items on the homepage."
401
+ msgstr ""
402
+
403
+ #: includes/class.options.php:431
404
+ msgid "CSS"
405
+ msgstr ""
406
+
407
+ #: includes/class.options.php:432
408
+ msgid ""
409
+ "Prevent the loading the core CSS styles. When selected, the appearance "
410
+ "options from above will be ignored."
411
+ msgstr ""
412
+
413
+ #: includes/class.options.php:480
414
+ msgid "Smooth Scroll Offset"
415
+ msgstr ""
416
+
417
+ #: includes/class.options.php:481
418
+ msgid ""
419
+ "If you have a consistent menu across the top of your site, you can adjust "
420
+ "the top offset to stop the headings from appearing underneath the top menu. "
421
+ "A setting of 30 accommodates the WordPress admin bar. This setting only has "
422
+ "an effect after you have enabled Smooth Scroll option."
423
+ msgstr ""
424
+
425
+ #: includes/class.options.php:488
426
+ msgid "Limit Path"
427
+ msgstr ""
428
+
429
+ #: includes/class.options.php:489
430
+ msgid ""
431
+ "Restrict generation of the table of contents to pages that match the "
432
+ "required path. This path is from the root of your site and always begins "
433
+ "with a forward slash."
434
+ msgstr ""
435
+
436
+ #: includes/class.options.php:490
437
+ msgid "Eg: /wiki/, /corporate/annual-reports/"
438
+ msgstr ""
439
+
440
+ #: includes/class.options.php:495
441
+ msgid "Default Anchor Prefix"
442
+ msgstr ""
443
+
444
+ #: includes/class.options.php:496
445
+ msgid ""
446
+ "Anchor targets are restricted to alphanumeric characters as per HTML "
447
+ "specification (see readme for more detail). The default anchor prefix will "
448
+ "be used when no characters qualify. When left blank, a number will be used "
449
+ "instead."
450
+ msgstr ""
451
+
452
+ #: includes/class.options.php:497
453
+ msgid ""
454
+ "This option normally applies to content written in character sets other than "
455
+ "ASCII."
456
+ msgstr ""
457
+
458
+ #: includes/class.options.php:498
459
+ msgid "Eg: i, toc_index, index, _"
460
+ msgstr ""
461
+
462
+ #: includes/class.options.php:504
463
+ msgid "Widget Affix Selector"
464
+ msgstr ""
465
+
466
+ #: includes/class.options.php:505
467
+ msgid ""
468
+ "To enable the option to affix or pin the Table of Contents widget enter the "
469
+ "theme's sidebar class or id."
470
+ msgstr ""
471
+
472
+ #: includes/class.options.php:506
473
+ msgid ""
474
+ "Since every theme is different, this can not be determined automatically. If "
475
+ "you are unsure how to find the sidebar's class or id, please ask the theme's "
476
+ "support persons."
477
+ msgstr ""
478
+
479
+ #: includes/class.options.php:507
480
+ msgid "Eg: .widget-area or #sidebar"
481
+ msgstr ""
482
+
483
+ #: includes/class.options.php:755
484
+ #, php-format
485
+ msgid ""
486
+ "The callback function used for the <strong>%s</strong> setting is missing."
487
+ msgstr ""
488
+
489
+ #: includes/class.widget-toc.php:22
490
+ msgid "Display the table of contents."
491
+ msgstr ""
492
+
493
+ #: includes/class.widget-toc.php:318
494
+ msgid "Title"
495
+ msgstr ""
496
+
497
+ #: includes/class.widget-toc.php:325
498
+ msgid "Active Section Highlight Color:"
499
+ msgstr ""
500
+
501
+ #: includes/class.widget-toc.php:333
502
+ msgid "Affix or pin the widget."
503
+ msgstr ""
504
+
505
+ #: includes/class.widget-toc.php:337
506
+ msgid ""
507
+ "If you choose to affix the widget, do not add any other widgets on the "
508
+ "sidebar. Also, make sure you have only one instance Table of Contents widget "
509
+ "on the page."
510
+ msgstr ""
511
+
512
+ #: includes/inc.admin-options-page.php:9
513
+ msgid "General"
514
+ msgstr ""
515
+
516
+ #: includes/inc.admin-options-page.php:27
517
+ msgid "Appearance"
518
+ msgstr ""
519
+
520
+ #: includes/inc.admin-options-page.php:45
521
+ msgid "Advanced"
522
+ msgstr ""
523
+
524
+ #: includes/inc.admin-options-page.php:61
525
+ msgid "Save Changes"
526
+ msgstr ""
527
+
528
+ #. Plugin Name of the plugin/theme
529
+ msgid "Easy Table of Contents"
530
+ msgstr ""
531
+
532
+ #. Plugin URI of the plugin/theme
533
+ #. Author URI of the plugin/theme
534
+ msgid "http://connections-pro.com/"
535
+ msgstr ""
536
+
537
+ #. Description of the plugin/theme
538
+ msgid ""
539
+ "Adds a user friendly and fully automatic way to create and display a table "
540
+ "of contents generated from the page content."
541
+ msgstr ""
542
+
543
+ #. Author of the plugin/theme
544
+ msgid "Steven A. Zahm"
545
+ msgstr ""