WP-Table Reloaded - Version 1.6.1

Version Description

This upgrade fixes a few minor bugs and enhances the WP Search integration and the import.

Download this release

Release Info

Developer TobiasBg
Plugin Icon wp plugin WP-Table Reloaded
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6 to 1.6.1

admin/admin-style.css CHANGED
@@ -1 +1 @@
1
- #wp-table-reloaded-list .table-id{font-size:12px;font-weight:bold;text-shadow:rgba(255,255,255,0.8) 0 1px 0;}#wp-table-reloaded-list .sorting,#wp-table-reloaded-list .sorting_asc,#wp-table-reloaded-list .sorting_desc{cursor:pointer;white-space:nowrap;}#wp-table-reloaded-list .sorting span{background-repeat:no-repeat;background-position:center;background-image:url('../img/bg.gif');margin-right:-5px;}#wp-table-reloaded-list .sorting_asc span{background-repeat:no-repeat;background-position:center;background-image:url('../img/asc.gif');}#wp-table-reloaded-list .sorting_desc span{background-repeat:no-repeat;background-position:center;background-image:url('../img/desc.gif');}#wp-table-reloaded-list .check-column{width:24px!important;padding:7px 7px 8px 0!important;text-align:right;}#wp-table-reloaded-list .even{background-color:#F9F9F9;}#wp-table-reloaded-list{margin-top:10px;margin-bottom:10px;}#table_contents .row-hidden td,#table_contents .row-hidden th,#table_contents .row-hidden textarea,#table_contents .column-hidden,#table_contents .column-hidden textarea{background-color:#FFE0E0;}#table_contents .focus{height:84px;}#options_custom_css{width:600px;height:100px;}#options_custom_css.focus{height:300px;}.wp-table-reloaded-table-information td{padding:5px 0 5px 0;width:90%;}.wp-table-reloaded-newtable td{padding:5px 0 5px 0;width:85%;}.wp-table-reloaded-table-information th{font-weight:normal;text-align:left;padding:5px 10px 5px 0;vertical-align:middle;width:10%;min-width:130px;}.wp-table-reloaded-newtable,.wp-table-reloaded-table-information,.wp-table-reloaded-table-information input,.wp-table-reloaded-table-information textarea{width:100%;}.wp-table-reloaded-options td{padding:5px 0 5px 0;}.wp-table-reloaded-options th{font-weight:normal;text-align:left;padding:5px 10px 5px 0;vertical-align:middle;}.wp-table-reloaded-data-manipulation{width:100%;}.wp-table-reloaded-data-manipulation td{padding-top:7px!important;padding-bottom:7px!important;line-height:2.2em;}.widefat td{vertical-align:baseline!important;}#table_custom_fields td{vertical-align:middle!important;}#table_contents td{white-space:nowrap;vertical-align:middle!important;}#table_contents th{white-space:nowrap;vertical-align:middle!important;text-align:center;}#table_contents textarea{min-width:180px;width:100%;}#table_contents .table-head td,#table_contents .table-foot td{padding:7px 7px 8px;line-height:1.3em;text-align:center;text-shadow:rgba(255,255,255,0.8) 0 1px 0;font-weight:bold;}#table_contents .check-column{font-weight:bold;padding-left:5px;padding-right:5px;}.no-wrap{white-space:nowrap;}.hide_link,.expand_link{position:absolute;right:10px;font-weight:normal;cursor:pointer;padding:0!important;}#uninstall_plugin_link{color:#BC0B0B;}.postbox h3.hndle{cursor:pointer!important;}div.postbox .expand_link{display:none;}div.closed .expand_link{display:inline!important;}div.closed .hide_link{display:none;}#TB_ajaxContent .wp-table-reloaded{border-collapse:separate;border-spacing:1px;background-color:#CDCDCD;margin:10px 0 15px 0;font-size:8pt;width:100%;text-align:left;}#TB_ajaxContent .wp-table-reloaded th{background-color:#E6EEEE;border:1px solid #FFF;padding:4px;}#TB_ajaxContent .wp-table-reloaded td{color:#3D3D3D;padding:4px;background-color:#FFF;vertical-align:top;}#TB_ajaxContent .wp-table-reloaded .even td{background-color:#FFF;}#TB_ajaxContent .wp-table-reloaded .odd td{background-color:#F0F0F6;}#TB_ajaxContent .wp-table-reloaded .row-hover tr:hover td{background-color:#D0D0D6;}.dataTables_wrapper{clear:both;}.dataTables_processing{position:absolute;top:0;left:50%;width:250px;margin-left:-125px;border:1px solid #ddd;text-align:center;color:#999;font-size:11px;padding:2px 0;}.dataTables_length{width:50%;float:left;}.dataTables_filter{width:45%;float:right;text-align:right;}.dataTables_info{width:60%;float:left;}.dataTables_paginate{width:44px;* width:50px;float:right;text-align:right;}.paging_full_numbers{width:400px;height:22px;line-height:22px;}.paging_full_numbers span.paginate_button,.paging_full_numbers span.paginate_active{border:1px solid #aaa;-webkit-border-radius:5px;-moz-border-radius:5px;padding:2px 5px;margin:0 3px;cursor:pointer;*cursor:hand;}.paging_full_numbers span.paginate_button{background-color:#ddd;}.paging_full_numbers span.paginate_button:hover{background-color:#ccc;}.paging_full_numbers span.paginate_active{background-color:#99B3FF;}
1
+ #wp-table-reloaded-list .table-id{font-size:12px;font-weight:bold;text-shadow:rgba(255,255,255,0.8) 0 1px 0;}#wp-table-reloaded-list .sorting,#wp-table-reloaded-list .sorting_asc,#wp-table-reloaded-list .sorting_desc{cursor:pointer;white-space:nowrap;}#wp-table-reloaded-list .sorting span{background-repeat:no-repeat;background-position:center;background-image:url('../img/bg.gif');margin-right:-5px;}#wp-table-reloaded-list .sorting_asc span{background-repeat:no-repeat;background-position:center;background-image:url('../img/asc.gif');}#wp-table-reloaded-list .sorting_desc span{background-repeat:no-repeat;background-position:center;background-image:url('../img/desc.gif');}#wp-table-reloaded-list .check-column{width:24px!important;padding:7px 7px 8px 0!important;text-align:right;}#wp-table-reloaded-list .even{background-color:#F9F9F9;}#wp-table-reloaded-list{margin-top:10px;margin-bottom:10px;}#table_contents .row-hidden td,#table_contents .row-hidden th,#table_contents .row-hidden textarea,#table_contents .column-hidden,#table_contents .column-hidden textarea{background-color:#FFE0E0;}#table_contents .focus{height:84px;}#options_custom_css{width:600px;height:100px;}#options_custom_css.focus{height:300px;}.wp-table-reloaded-table-information td{padding:5px 0 5px 0;width:90%;}.wp-table-reloaded-newtable td{padding:5px 0 5px 0;width:85%;}.wp-table-reloaded-table-information th{font-weight:normal;text-align:left;padding:5px 10px 5px 0;vertical-align:middle;width:10%;min-width:130px;}.wp-table-reloaded-newtable,.wp-table-reloaded-table-information,.wp-table-reloaded-table-information input,.wp-table-reloaded-table-information textarea{width:100%;}.wp-table-reloaded-options td{padding:5px 0 5px 0;}.wp-table-reloaded-options th{font-weight:normal;text-align:left;padding:5px 10px 5px 0;vertical-align:middle;}.wp-table-reloaded-data-manipulation{width:100%;}.wp-table-reloaded-data-manipulation td{padding-top:7px!important;padding-bottom:7px!important;line-height:2.2em;}.widefat td{vertical-align:baseline!important;}#table_custom_fields td{vertical-align:middle!important;}#table_contents td{white-space:nowrap;vertical-align:middle!important;}#table_contents th{white-space:nowrap;vertical-align:middle!important;text-align:center;}#table_contents textarea{min-width:180px;width:100%;}#table_contents .table-head td,#table_contents .table-foot td{padding:7px 7px 8px;line-height:1.3em;text-align:center;text-shadow:rgba(255,255,255,0.8) 0 1px 0;font-weight:bold;}#table_contents .check-column{font-weight:bold;padding-left:5px;padding-right:5px;text-align:right;}.no-wrap{white-space:nowrap;}.hide_link,.expand_link{position:absolute;right:10px;font-weight:normal;cursor:pointer;padding:0!important;}#uninstall_plugin_link{color:#BC0B0B;}.postbox h3.hndle{cursor:pointer!important;}div.postbox .expand_link{display:none;}div.closed .expand_link{display:inline!important;}div.closed .hide_link{display:none;}#TB_ajaxContent .wp-table-reloaded{border-collapse:separate;border-spacing:1px;background-color:#CDCDCD;margin:10px 0 15px 0;font-size:8pt;width:100%;text-align:left;}#TB_ajaxContent .wp-table-reloaded th{background-color:#E6EEEE;border:1px solid #FFF;padding:4px;}#TB_ajaxContent .wp-table-reloaded td{color:#3D3D3D;padding:4px;background-color:#FFF;vertical-align:top;}#TB_ajaxContent .wp-table-reloaded .even td{background-color:#FFF;}#TB_ajaxContent .wp-table-reloaded .odd td{background-color:#F0F0F6;}#TB_ajaxContent .wp-table-reloaded .row-hover tr:hover td{background-color:#D0D0D6;}.dataTables_wrapper{clear:both;position:relative;zoom:1;}.dataTables_processing{position:absolute;top:0;left:50%;width:250px;margin-left:-125px;border:1px solid #ddd;text-align:center;color:#999;font-size:11px;padding:2px 0;}.dataTables_length{width:50%;float:left;}.dataTables_filter{width:45%;float:right;text-align:right;}.dataTables_info{width:60%;float:left;}.dataTables_paginate{width:44px;* width:50px;float:right;text-align:right;}.paging_full_numbers{width:400px;height:22px;line-height:22px;}.paging_full_numbers span.paginate_button,.paging_full_numbers span.paginate_active{border:1px solid #aaa;-webkit-border-radius:5px;-moz-border-radius:5px;padding:2px 5px;margin:0 3px;cursor:pointer;*cursor:hand;}.paging_full_numbers span.paginate_button{background-color:#ddd;}.paging_full_numbers span.paginate_button:hover{background-color:#ccc;}.paging_full_numbers span.paginate_active{background-color:#99B3FF;}
admin/admin-style.dev.css CHANGED
@@ -143,6 +143,7 @@
143
  font-weight: bold;
144
  padding-left:5px;
145
  padding-right:5px;
 
146
  }
147
 
148
  .no-wrap {
@@ -209,6 +210,8 @@ div.closed .hide_link { display: none; }
209
 
210
  .dataTables_wrapper {
211
  clear: both;
 
 
212
  }
213
 
214
  .dataTables_processing {
143
  font-weight: bold;
144
  padding-left:5px;
145
  padding-right:5px;
146
+ text-align: right;
147
  }
148
 
149
  .no-wrap {
210
 
211
  .dataTables_wrapper {
212
  clear: both;
213
+ position: relative;
214
+ zoom: 1;
215
  }
216
 
217
  .dataTables_processing {
controllers/controller-admin.php CHANGED
@@ -81,42 +81,6 @@ class WP_Table_Reloaded_Controller_Admin extends WP_Table_Reloaded_Controller_Ba
81
  * @var array
82
  */
83
  var $default_tables = array();
84
-
85
- /**
86
- * Default structure of a new table (one cell, default table options)
87
- * @var array
88
- */
89
- var $default_table = array(
90
- 'id' => 0,
91
- 'data' => array( 0 => array( 0 => '' ) ),
92
- 'name' => '',
93
- 'description' => '',
94
- 'last_modified' => '0000-00-00 00:00:00',
95
- 'last_editor_id' => '',
96
- 'visibility' => array(
97
- 'rows' => array(),
98
- 'columns' => array()
99
- ),
100
- 'options' => array(
101
- 'alternating_row_colors' => true,
102
- 'row_hover' => false,
103
- 'first_row_th' => true,
104
- 'table_footer' => false,
105
- 'print_name' => false,
106
- 'print_name_position' => 'above',
107
- 'print_description' => false,
108
- 'print_description_position' => 'below',
109
- 'use_tablesorter' => true,
110
- 'datatables_sort' => true,
111
- 'datatables_paginate' => true,
112
- 'datatables_lengthchange' => true,
113
- 'datatables_filter' => true,
114
- 'datatables_info' => true,
115
- 'datatables_tabletools' => false,
116
- 'datatables_customcommands' => ''
117
- ),
118
- 'custom_fields' => array()
119
- );
120
 
121
  /**
122
  * Instance of the WP_Table_Reloaded_Helper class, which has additional functions for frontend and backend, stored in separate file for better overview and maintenance
@@ -335,7 +299,7 @@ class WP_Table_Reloaded_Controller_Admin extends WP_Table_Reloaded_Controller_Ba
335
  $messages = array(
336
  0 => false,
337
  1 => sprintf( __( 'Welcome to WP-Table Reloaded %s. If you encounter any questions or problems, please refer to the <a href="%s">FAQ</a>, the <a href="%s">documentation</a>, and the <a href="%s">support</a> section.', WP_TABLE_RELOADED_TEXTDOMAIN ), $this->options['installed_version'], 'http://tobias.baethge.com/go/wp-table-reloaded/faq/', 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/', 'http://tobias.baethge.com/go/wp-table-reloaded/support/' ),
338
- 2 => sprintf( __( 'Thank you for upgrading to WP-Table Reloaded %s.', WP_TABLE_RELOADED_TEXTDOMAIN ), $this->options['installed_version'] ) . ' ' . __( 'Among other things, this version adds support for "colspan" and "rowspan" of table cells and enables the WP Search to search through tables.', WP_TABLE_RELOADED_TEXTDOMAIN ) . ' ' . sprintf( __( 'Please read the <a href="%s">release announcement</a> for more information.', WP_TABLE_RELOADED_TEXTDOMAIN ), "http://tobias.baethge.com/go/wp-table-reloaded/release-announcement/{$this->options['installed_version']}/" ) . '<br/>' . sprintf( __( 'If you like the new features and enhancements, I would appreciate a small <a href="%s">donation</a>. Thank you.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/donate/' )
339
  );
340
  $message = ( isset( $messages[ $this->options['show_welcome_message'] ] ) ) ? $messages[ $this->options['show_welcome_message'] ] : false;
341
  if ( $message ) {
@@ -856,63 +820,81 @@ class WP_Table_Reloaded_Controller_Admin extends WP_Table_Reloaded_Controller_Ba
856
  if ( isset( $_POST['submit'] ) && isset( $_POST['import_from'] ) ) {
857
  check_admin_referer( $this->get_nonce( 'import' ) );
858
 
859
- if ( 'file-upload' == $_POST['import_from'] && !empty( $_FILES['import_file']['tmp_name'] ) ) {
860
- $this->import_instance->tempname = $_FILES['import_file']['tmp_name'];
861
- $this->import_instance->filename = $_FILES['import_file']['name'];
862
- $this->import_instance->mimetype = $_FILES['import_file']['type'];
863
- $this->import_instance->import_from = 'file-upload';
864
- $this->import_instance->import_format = $_POST['import_format'];
865
- $this->import_instance->import_table();
866
- $error = $this->import_instance->error;
867
- $imported_table = $this->import_instance->imported_table;
868
- $this->import_instance->unlink_uploaded_file();
869
- } elseif ( 'server' == $_POST['import_from'] && !empty( $_POST['import_server'] ) ) {
870
- $this->import_instance->tempname = $_POST['import_server'];
871
- $this->import_instance->filename = __( 'Imported Table', WP_TABLE_RELOADED_TEXTDOMAIN );
872
- $this->import_instance->mimetype = sprintf( __( 'from %s', WP_TABLE_RELOADED_TEXTDOMAIN ), $_POST['import_server'] );
873
- $this->import_instance->import_from = 'server';
874
- $this->import_instance->import_format = $_POST['import_format'];
875
- $this->import_instance->import_table();
876
- $error = $this->import_instance->error;
877
- $imported_table = $this->import_instance->imported_table;
878
- } elseif ( 'form-field' == $_POST['import_from'] && !empty( $_POST['import_data'] ) ) {
879
- $this->import_instance->tempname = '';
880
- $this->import_instance->filename = __( 'Imported Table', WP_TABLE_RELOADED_TEXTDOMAIN );
881
- $this->import_instance->mimetype = __( 'via form', WP_TABLE_RELOADED_TEXTDOMAIN );
882
- $this->import_instance->import_from = 'form-field';
883
- $this->import_instance->import_data = stripslashes( $_POST['import_data'] );
884
- $this->import_instance->import_format = $_POST['import_format'];
885
- $this->import_instance->import_table();
886
- $error = $this->import_instance->error;
887
- $imported_table = $this->import_instance->imported_table;
888
- } elseif ( 'url' == $_POST['import_from'] && !empty( $_POST['import_url'] ) ) {
889
- $this->import_instance->tempname = '';
890
- $this->import_instance->filename = __( 'Imported Table', WP_TABLE_RELOADED_TEXTDOMAIN );
891
- $this->import_instance->mimetype = sprintf( __( 'from %s', WP_TABLE_RELOADED_TEXTDOMAIN ), $_POST['import_url'] );
892
- $this->import_instance->import_from = 'url';
893
- $url = clean_url( $_POST['import_url'] );
894
- $temp_data = wp_remote_fopen( $url );
895
- $this->import_instance->import_data = ( false !== $temp_data ) ? $temp_data : '';
896
- $this->import_instance->import_format = $_POST['import_format'];
897
- $this->import_instance->import_table();
898
- $error = $this->import_instance->error;
899
- $imported_table = $this->import_instance->imported_table;
900
- } else { // no valid data submitted
 
 
 
 
 
 
 
 
 
 
 
 
901
  $this->helper->print_header_message( __( 'Table could not be imported.', WP_TABLE_RELOADED_TEXTDOMAIN ) );
902
  $this->load_view( 'import' );
903
  return;
904
  }
905
 
906
- $table = array_merge( $this->default_table, $imported_table );
 
 
 
 
 
 
 
907
 
908
  if ( isset( $_POST['import_addreplace'] ) && isset( $_POST['import_addreplace_table'] ) && ( 'replace' == $_POST['import_addreplace'] ) && $this->table_exists( $_POST['import_addreplace_table'] ) ) {
909
  $existing_table = $this->load_table( $_POST['import_addreplace_table'] );
910
- $table['id'] = $existing_table['id'];
911
- $table['name'] = $existing_table['name'];
912
- $table['description'] = $existing_table['description'];
913
  $success_message = sprintf( __( 'Table %s (%s) replaced successfully.', WP_TABLE_RELOADED_TEXTDOMAIN ), $this->helper->safe_output( $table['name'] ), $this->helper->safe_output( $table['id'] ) );
914
  unset( $existing_table );
915
  } else {
 
916
  $table['id'] = $this->get_new_table_id();
917
  $success_message = _n( 'Table imported successfully.', 'Tables imported successfully.', 1, WP_TABLE_RELOADED_TEXTDOMAIN );
918
  }
@@ -957,14 +939,14 @@ class WP_Table_Reloaded_Controller_Admin extends WP_Table_Reloaded_Controller_Ba
957
  $this->load_view( 'edit', compact( 'table_id' ) );
958
  } elseif ( isset( $_POST['import_wp_table_reloaded_dump_file'] ) ) {
959
  check_admin_referer( $this->get_nonce( 'import_dump' ) );
960
-
961
  // check if user is admin
962
  if ( !current_user_can( 'manage_options' ) ) {
963
  $this->helper->print_header_message( __( 'You do not have sufficient rights to perform this action.', WP_TABLE_RELOADED_TEXTDOMAIN ) );
964
  $this->load_view( 'options' );
965
  return;
966
  }
967
-
968
  // check if file was uploaded
969
  if ( empty( $_FILES['dump_file']['tmp_name'] ) ) {
970
  $this->helper->print_header_message( __( 'You did not upload a WP-Table Reloaded dump file.', WP_TABLE_RELOADED_TEXTDOMAIN ) );
81
  * @var array
82
  */
83
  var $default_tables = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
  /**
86
  * Instance of the WP_Table_Reloaded_Helper class, which has additional functions for frontend and backend, stored in separate file for better overview and maintenance
299
  $messages = array(
300
  0 => false,
301
  1 => sprintf( __( 'Welcome to WP-Table Reloaded %s. If you encounter any questions or problems, please refer to the <a href="%s">FAQ</a>, the <a href="%s">documentation</a>, and the <a href="%s">support</a> section.', WP_TABLE_RELOADED_TEXTDOMAIN ), $this->options['installed_version'], 'http://tobias.baethge.com/go/wp-table-reloaded/faq/', 'http://tobias.baethge.com/go/wp-table-reloaded/documentation/', 'http://tobias.baethge.com/go/wp-table-reloaded/support/' ),
302
+ 2 => sprintf( __( 'Thank you for upgrading to WP-Table Reloaded %s.', WP_TABLE_RELOADED_TEXTDOMAIN ), $this->options['installed_version'] ) . ' ' . sprintf( __( 'Please read the <a href="%s">release announcement</a> for more information.', WP_TABLE_RELOADED_TEXTDOMAIN ), "http://tobias.baethge.com/go/wp-table-reloaded/release-announcement/{$this->options['installed_version']}/" ) . '<br/>' . sprintf( __( 'If you like the new features and enhancements, I would appreciate a small <a href="%s">donation</a>. Thank you.', WP_TABLE_RELOADED_TEXTDOMAIN ), 'http://tobias.baethge.com/go/wp-table-reloaded/donate/' )
303
  );
304
  $message = ( isset( $messages[ $this->options['show_welcome_message'] ] ) ) ? $messages[ $this->options['show_welcome_message'] ] : false;
305
  if ( $message ) {
820
  if ( isset( $_POST['submit'] ) && isset( $_POST['import_from'] ) ) {
821
  check_admin_referer( $this->get_nonce( 'import' ) );
822
 
823
+ $import_error = false;
824
+ switch( $_POST['import_from'] ) {
825
+ case 'file-upload':
826
+ if ( !empty( $_FILES['import_file']['tmp_name'] ) ) {
827
+ $this->import_instance->tempname = $_FILES['import_file']['tmp_name'];
828
+ $this->import_instance->filename = $_FILES['import_file']['name'];
829
+ $this->import_instance->mimetype = $_FILES['import_file']['type'];
830
+ $this->import_instance->import_from = 'file-upload';
831
+ $unlink_file = true;
832
+ } else {
833
+ $import_error = true;
834
+ }
835
+ break;
836
+ case 'server':
837
+ if ( !empty( $_POST['import_server'] ) ) {
838
+ $this->import_instance->tempname = $_POST['import_server'];
839
+ $this->import_instance->filename = __( 'Imported Table', WP_TABLE_RELOADED_TEXTDOMAIN );
840
+ $this->import_instance->mimetype = sprintf( __( 'from %s', WP_TABLE_RELOADED_TEXTDOMAIN ), $_POST['import_server'] );
841
+ $this->import_instance->import_from = 'server';
842
+ } else {
843
+ $import_error = true;
844
+ }
845
+ break;
846
+ case 'form-field':
847
+ if ( !empty( $_POST['import_data'] ) ) {
848
+ $this->import_instance->tempname = '';
849
+ $this->import_instance->filename = __( 'Imported Table', WP_TABLE_RELOADED_TEXTDOMAIN );
850
+ $this->import_instance->mimetype = __( 'via form', WP_TABLE_RELOADED_TEXTDOMAIN );
851
+ $this->import_instance->import_from = 'form-field';
852
+ $this->import_instance->import_data = stripslashes( $_POST['import_data'] );
853
+ } else {
854
+ $import_error = true;
855
+ }
856
+ break;
857
+ case 'url':
858
+ if ( !empty( $_POST['import_url'] ) ) {
859
+ $this->import_instance->tempname = '';
860
+ $this->import_instance->filename = __( 'Imported Table', WP_TABLE_RELOADED_TEXTDOMAIN );
861
+ $this->import_instance->mimetype = sprintf( __( 'from %s', WP_TABLE_RELOADED_TEXTDOMAIN ), $_POST['import_url'] );
862
+ $this->import_instance->import_from = 'url';
863
+ $url = clean_url( $_POST['import_url'] );
864
+ $temp_data = wp_remote_fopen( $url );
865
+ $this->import_instance->import_data = ( false !== $temp_data ) ? $temp_data : '';
866
+ } else {
867
+ $import_error = true;
868
+ }
869
+ break;
870
+ default:
871
+ // no valid import source
872
+ $import_error = true;
873
+ }
874
+
875
+ if ( $import_error ) {
876
+ // no valid data submitted
877
  $this->helper->print_header_message( __( 'Table could not be imported.', WP_TABLE_RELOADED_TEXTDOMAIN ) );
878
  $this->load_view( 'import' );
879
  return;
880
  }
881
 
882
+ // do import with the config set above
883
+ $this->import_instance->import_format = $_POST['import_format'];
884
+ $this->import_instance->import_table();
885
+ $error = $this->import_instance->error;
886
+ $imported_table = $this->import_instance->imported_table;
887
+
888
+ if ( isset( $unlink_file) && $unlink_file )
889
+ $this->import_instance->unlink_uploaded_file();
890
 
891
  if ( isset( $_POST['import_addreplace'] ) && isset( $_POST['import_addreplace_table'] ) && ( 'replace' == $_POST['import_addreplace'] ) && $this->table_exists( $_POST['import_addreplace_table'] ) ) {
892
  $existing_table = $this->load_table( $_POST['import_addreplace_table'] );
893
+ $table = array_merge( $existing_table, $imported_table );
 
 
894
  $success_message = sprintf( __( 'Table %s (%s) replaced successfully.', WP_TABLE_RELOADED_TEXTDOMAIN ), $this->helper->safe_output( $table['name'] ), $this->helper->safe_output( $table['id'] ) );
895
  unset( $existing_table );
896
  } else {
897
+ $table = array_merge( $this->default_table, $imported_table );
898
  $table['id'] = $this->get_new_table_id();
899
  $success_message = _n( 'Table imported successfully.', 'Tables imported successfully.', 1, WP_TABLE_RELOADED_TEXTDOMAIN );
900
  }
939
  $this->load_view( 'edit', compact( 'table_id' ) );
940
  } elseif ( isset( $_POST['import_wp_table_reloaded_dump_file'] ) ) {
941
  check_admin_referer( $this->get_nonce( 'import_dump' ) );
942
+
943
  // check if user is admin
944
  if ( !current_user_can( 'manage_options' ) ) {
945
  $this->helper->print_header_message( __( 'You do not have sufficient rights to perform this action.', WP_TABLE_RELOADED_TEXTDOMAIN ) );
946
  $this->load_view( 'options' );
947
  return;
948
  }
949
+
950
  // check if file was uploaded
951
  if ( empty( $_FILES['dump_file']['tmp_name'] ) ) {
952
  $this->helper->print_header_message( __( 'You did not upload a WP-Table Reloaded dump file.', WP_TABLE_RELOADED_TEXTDOMAIN ) );
controllers/controller-base.php CHANGED
@@ -35,6 +35,42 @@ class WP_Table_Reloaded_Controller_Base {
35
  'table' => 'wp_table_reloaded_data'
36
  );
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  /**
39
  * Slug that will be appended to the URL of the plugin by WordPress, e.g. http://example.com/wp-admin/tools.php?page=wp-table-reloaded
40
  * @var string
35
  'table' => 'wp_table_reloaded_data'
36
  );
37
 
38
+ /**
39
+ * Default structure of a new table (one cell, default table options)
40
+ * @var array
41
+ */
42
+ var $default_table = array(
43
+ 'id' => 0,
44
+ 'data' => array( 0 => array( 0 => '' ) ),
45
+ 'name' => '',
46
+ 'description' => '',
47
+ 'last_modified' => '0000-00-00 00:00:00',
48
+ 'last_editor_id' => '',
49
+ 'visibility' => array(
50
+ 'rows' => array(),
51
+ 'columns' => array()
52
+ ),
53
+ 'options' => array(
54
+ 'alternating_row_colors' => true,
55
+ 'row_hover' => false,
56
+ 'first_row_th' => true,
57
+ 'table_footer' => false,
58
+ 'print_name' => false,
59
+ 'print_name_position' => 'above',
60
+ 'print_description' => false,
61
+ 'print_description_position' => 'below',
62
+ 'use_tablesorter' => true,
63
+ 'datatables_sort' => true,
64
+ 'datatables_paginate' => true,
65
+ 'datatables_lengthchange' => true,
66
+ 'datatables_filter' => true,
67
+ 'datatables_info' => true,
68
+ 'datatables_tabletools' => false,
69
+ 'datatables_customcommands' => ''
70
+ ),
71
+ 'custom_fields' => array()
72
+ );
73
+
74
  /**
75
  * Slug that will be appended to the URL of the plugin by WordPress, e.g. http://example.com/wp-admin/tools.php?page=wp-table-reloaded
76
  * @var string
controllers/controller-frontend.php CHANGED
@@ -103,6 +103,7 @@ class WP_Table_Reloaded_Controller_Frontend extends WP_Table_Reloaded_Controller
103
  'field' => '',
104
  'format' => ''
105
  );
 
106
  $atts = shortcode_atts( $default_atts, $atts );
107
 
108
  // allow a filter to determine behavior of this function, by overwriting its behavior, just need to return something other than false
@@ -185,6 +186,7 @@ class WP_Table_Reloaded_Controller_Frontend extends WP_Table_Reloaded_Controller
185
  'cellpadding' => false,
186
  'border' => false
187
  );
 
188
  $atts = shortcode_atts( $default_atts, $atts );
189
 
190
  // allow a filter to determine behavior of this function, by overwriting its behavior, just need to return something other than false
@@ -301,7 +303,7 @@ class WP_Table_Reloaded_Controller_Frontend extends WP_Table_Reloaded_Controller
301
 
302
  // render/generate the table HTML
303
  $render = $this->create_class_instance( 'WP_Table_Reloaded_Render', 'render.class.php' );
304
- $render->output_options = $output_options;
305
  $render->table = $table;
306
  $output = $render->render_table();
307
 
@@ -362,6 +364,7 @@ class WP_Table_Reloaded_Controller_Frontend extends WP_Table_Reloaded_Controller
362
  foreach ( $hidden_rows as $row_idx ) {
363
  unset( $table['data'][ $row_idx ] );
364
  }
 
365
  $table['data'] = array_merge( $table['data'] );
366
  foreach ( $table['data'] as $row_idx => $row ) {
367
  foreach ( $hidden_columns as $col_idx ) {
@@ -369,15 +372,28 @@ class WP_Table_Reloaded_Controller_Frontend extends WP_Table_Reloaded_Controller
369
  }
370
  $table['data'][ $row_idx ] = array_merge( $row );
371
  }
372
- $search_tables[ $table_id ] = $table['data'];
 
 
 
 
 
 
 
 
373
  }
374
 
375
  // for all search terms loop through all tables's cells (those cells are all visible, because we filtered before!)
376
  $query_result = array(); // array of all search words that were found, and the table IDs where they were found
377
  foreach ( $query_array as $search_term ) {
378
  $search_term = addslashes_gpc( $search_term ); // escapes with esc_sql
379
- foreach ( $search_tables as $table_id => $table_data ) {
380
- foreach ( $table_data as $table_row ) {
 
 
 
 
 
381
  foreach ( $table_row as $table_cell ) {
382
  if ( false !== stripos( $table_cell, $search_term ) ){
383
  // we found the $search_term in the cell
103
  'field' => '',
104
  'format' => ''
105
  );
106
+ $default_atts = apply_filters( 'wp_table_reloaded_shortcode_table_info_default_atts', $default_atts );
107
  $atts = shortcode_atts( $default_atts, $atts );
108
 
109
  // allow a filter to determine behavior of this function, by overwriting its behavior, just need to return something other than false
186
  'cellpadding' => false,
187
  'border' => false
188
  );
189
+ $default_atts = apply_filters( 'wp_table_reloaded_shortcode_table_default_atts', $default_atts );
190
  $atts = shortcode_atts( $default_atts, $atts );
191
 
192
  // allow a filter to determine behavior of this function, by overwriting its behavior, just need to return something other than false
303
 
304
  // render/generate the table HTML
305
  $render = $this->create_class_instance( 'WP_Table_Reloaded_Render', 'render.class.php' );
306
+ $render->output_options = apply_filters( 'wp_table_reloaded_frontend_output_options', $output_options, $table['id'], $table );
307
  $render->table = $table;
308
  $output = $render->render_table();
309
 
364
  foreach ( $hidden_rows as $row_idx ) {
365
  unset( $table['data'][ $row_idx ] );
366
  }
367
+ $table['data'] = ( !isset( $table['data'] ) ) ? array() : $table['data']; // make sure $table['data'] exists for the next steps
368
  $table['data'] = array_merge( $table['data'] );
369
  foreach ( $table['data'] as $row_idx => $row ) {
370
  foreach ( $hidden_columns as $col_idx ) {
372
  }
373
  $table['data'][ $row_idx ] = array_merge( $row );
374
  }
375
+ // add name and description to searched items, if they are displayed with the table
376
+ $table_name = ( isset( $table['options']['print_name'] ) && $table['options']['print_name'] ) ? $table['name'] : '';
377
+ $table_description = ( isset( $table['options']['print_description'] ) && $table['options']['print_description'] ) ? $table['description'] : '';
378
+
379
+ $search_tables[ $table_id ] = array(
380
+ 'data' => $table['data'],
381
+ 'name' => $table_name,
382
+ 'description' => $table_description
383
+ );
384
  }
385
 
386
  // for all search terms loop through all tables's cells (those cells are all visible, because we filtered before!)
387
  $query_result = array(); // array of all search words that were found, and the table IDs where they were found
388
  foreach ( $query_array as $search_term ) {
389
  $search_term = addslashes_gpc( $search_term ); // escapes with esc_sql
390
+ foreach ( $search_tables as $table_id => $table ) {
391
+ if ( false !== stripos( $table['name'], $search_term ) || false !== stripos( $table['description'], $search_term ) ){
392
+ // we found the $search_term in the name or description (and they are shown)
393
+ $query_result[ $search_term ][] = $table_id; // add table ID to result list
394
+ continue; // don't need to search through this table any further, continue with next table
395
+ }
396
+ foreach ( $table['data'] as $table_row ) {
397
  foreach ( $table_row as $table_cell ) {
398
  if ( false !== stripos( $table_cell, $search_term ) ){
399
  // we found the $search_term in the cell
css/datatables.css CHANGED
@@ -17,7 +17,9 @@
17
  }
18
 
19
  .dataTables_wrapper {
20
- min-height: 302px;
 
 
21
  _height: 302px;
22
  clear: both;
23
  }
17
  }
18
 
19
  .dataTables_wrapper {
20
+ position: relative;
21
+ zoom: 1;
22
+ min-height: 302px;
23
  _height: 302px;
24
  clear: both;
25
  }
languages/wp-table-reloaded.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Translation of the WordPress plugin WP-Table Reloaded 1.6 by Tobias B&auml;thge.
2
  # Copyright (C) 2010 Tobias B&auml;thge
3
  # This file is distributed under the same license as the WP-Table Reloaded package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: WP-Table Reloaded 1.6\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-table-reloaded\n"
11
- "POT-Creation-Date: 2010-01-08 10:39+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -133,51 +133,51 @@ msgstr ""
133
  msgid "Edit"
134
  msgstr ""
135
 
136
- #: controllers/controller-admin.php:292
137
  msgid "Czech"
138
  msgstr ""
139
 
140
- #: controllers/controller-admin.php:293
141
  msgid "German"
142
  msgstr ""
143
 
144
- #: controllers/controller-admin.php:294
145
  msgid "English"
146
  msgstr ""
147
 
148
- #: controllers/controller-admin.php:295
149
  msgid "Spanish"
150
  msgstr ""
151
 
152
- #: controllers/controller-admin.php:296
153
  msgid "Finnish"
154
  msgstr ""
155
 
156
- #: controllers/controller-admin.php:297
157
  msgid "Hindi"
158
  msgstr ""
159
 
160
- #: controllers/controller-admin.php:298
161
  msgid "Italian"
162
  msgstr ""
163
 
164
- #: controllers/controller-admin.php:299
165
  msgid "Japanese"
166
  msgstr ""
167
 
168
- #: controllers/controller-admin.php:300
169
  msgid "Brazilian Portuguese"
170
  msgstr ""
171
 
172
- #: controllers/controller-admin.php:301
173
  msgid "Slovak"
174
  msgstr ""
175
 
176
- #: controllers/controller-admin.php:302
177
  msgid "Swedish"
178
  msgstr ""
179
 
180
- #: controllers/controller-admin.php:337
181
  #, php-format
182
  msgid ""
183
  "Welcome to WP-Table Reloaded %s. If you encounter any questions or problems, "
@@ -185,41 +185,35 @@ msgid ""
185
  "\">documentation</a>, and the <a href=\"%s\">support</a> section."
186
  msgstr ""
187
 
188
- #: controllers/controller-admin.php:338
189
  #, php-format
190
  msgid "Thank you for upgrading to WP-Table Reloaded %s."
191
  msgstr ""
192
 
193
- #: controllers/controller-admin.php:338
194
- msgid ""
195
- "Among other things, this version adds support for \"colspan\" and \"rowspan"
196
- "\" of table cells and enables the WP Search to search through tables."
197
- msgstr ""
198
-
199
- #: controllers/controller-admin.php:338
200
  #, php-format
201
  msgid ""
202
  "Please read the <a href=\"%s\">release announcement</a> for more information."
203
  msgstr ""
204
 
205
- #: controllers/controller-admin.php:338
206
  #, php-format
207
  msgid ""
208
  "If you like the new features and enhancements, I would appreciate a small <a "
209
  "href=\"%s\">donation</a>. Thank you."
210
  msgstr ""
211
 
212
- #: controllers/controller-admin.php:343
213
  msgid "Hide this message"
214
  msgstr ""
215
 
216
- #: controllers/controller-admin.php:351
217
  msgid ""
218
  "Thanks for using this plugin! You've installed WP-Table Reloaded over a "
219
  "month ago."
220
  msgstr ""
221
 
222
- #: controllers/controller-admin.php:351
223
  #, php-format
224
  msgid ""
225
  "If it works and you are satisfied with the results of managing your %s "
@@ -230,7 +224,7 @@ msgid_plural ""
230
  msgstr[0] ""
231
  msgstr[1] ""
232
 
233
- #: controllers/controller-admin.php:352
234
  #, php-format
235
  msgid ""
236
  "<a href=\"%s\">Donations</a> help me to continue support and development of "
@@ -238,247 +232,247 @@ msgid ""
238
  "free time! Thank you!"
239
  msgstr ""
240
 
241
- #: controllers/controller-admin.php:353
242
  msgid "Sure, no problem!"
243
  msgstr ""
244
 
245
- #: controllers/controller-admin.php:354
246
  msgid "I already donated."
247
  msgstr ""
248
 
249
- #: controllers/controller-admin.php:355
250
  msgid "No, thanks. Don't ask again."
251
  msgstr ""
252
 
253
- #: controllers/controller-admin.php:383
254
  #, php-format
255
  msgid "Table &quot;%s&quot; added successfully."
256
  msgstr ""
257
 
258
- #: controllers/controller-admin.php:414
259
  #, php-format
260
  msgid ""
261
  "Table edited successfully. This Table now has the ID %s. You'll need to "
262
  "adjust existing shortcodes accordingly."
263
  msgstr ""
264
 
265
- #: controllers/controller-admin.php:416
266
  #, php-format
267
  msgid ""
268
  "The ID could not be changed from %s to %s, because there already is a Table "
269
  "with that ID."
270
  msgstr ""
271
 
272
- #: controllers/controller-admin.php:419
273
  msgid "Table edited successfully."
274
  msgstr ""
275
 
276
- #: controllers/controller-admin.php:465
277
  msgid "Rows swapped successfully."
278
  msgstr ""
279
 
280
- #: controllers/controller-admin.php:486
281
  msgid "Columns swapped successfully."
282
  msgstr ""
283
 
284
- #: controllers/controller-admin.php:515
285
  msgid "Table sorted successfully."
286
  msgstr ""
287
 
288
- #: controllers/controller-admin.php:536
289
  msgid "Row moved successfully."
290
  msgstr ""
291
 
292
- #: controllers/controller-admin.php:561
293
  msgid "Column moved successfully."
294
  msgstr ""
295
 
296
- #: controllers/controller-admin.php:569
297
  msgid "Row could not be deleted."
298
  msgid_plural "Rows could not be deleted."
299
  msgstr[0] ""
300
  msgstr[1] ""
301
 
302
- #: controllers/controller-admin.php:578
303
  msgid "Row deleted successfully."
304
  msgid_plural "Rows deleted successfully."
305
  msgstr[0] ""
306
  msgstr[1] ""
307
 
308
- #: controllers/controller-admin.php:588
309
  msgid "Column could not be deleted."
310
  msgid_plural "Columns could not be deleted."
311
  msgstr[0] ""
312
  msgstr[1] ""
313
 
314
- #: controllers/controller-admin.php:601
315
  msgid "Column deleted successfully."
316
  msgid_plural "Columns deleted successfully."
317
  msgstr[0] ""
318
  msgstr[1] ""
319
 
320
- #: controllers/controller-admin.php:624
321
  msgid "Row inserted successfully."
322
  msgid_plural "Rows inserted successfully."
323
  msgstr[0] ""
324
  msgstr[1] ""
325
 
326
- #: controllers/controller-admin.php:651
327
  msgid "Column inserted successfully."
328
  msgid_plural "Columns inserted successfully."
329
  msgstr[0] ""
330
  msgstr[1] ""
331
 
332
- #: controllers/controller-admin.php:666
333
  msgid "Row added successfully."
334
  msgid_plural "Rows added successfully."
335
  msgstr[0] ""
336
  msgstr[1] ""
337
 
338
- #: controllers/controller-admin.php:680
339
  msgid "Column added successfully."
340
  msgid_plural "Columns added successfully."
341
  msgstr[0] ""
342
  msgstr[1] ""
343
 
344
- #: controllers/controller-admin.php:687
345
  msgid "Could not add Custom Data Field, because you did not enter a name."
346
  msgstr ""
347
 
348
- #: controllers/controller-admin.php:692
349
  msgid ""
350
  "Could not add Custom Data Field, because the name you entered is reserved "
351
  "for other table data."
352
  msgstr ""
353
 
354
- #: controllers/controller-admin.php:698
355
  msgid ""
356
  "Could not add Custom Data Field, because the name contained illegal "
357
  "characters."
358
  msgstr ""
359
 
360
- #: controllers/controller-admin.php:702
361
  msgid ""
362
  "Could not add Custom Data Field, because a Field with that name already "
363
  "exists."
364
  msgstr ""
365
 
366
- #: controllers/controller-admin.php:708
367
  msgid "Custom Data Field added successfully."
368
  msgstr ""
369
 
370
- #: controllers/controller-admin.php:748 controllers/controller-admin.php:804
371
  msgid "Copy of"
372
  msgstr ""
373
 
374
- #: controllers/controller-admin.php:752
375
  msgid "Table copied successfully."
376
  msgid_plural "Tables copied successfully."
377
  msgstr[0] ""
378
  msgstr[1] ""
379
 
380
- #: controllers/controller-admin.php:758
381
  msgid "Table deleted successfully."
382
  msgid_plural "Tables deleted successfully."
383
  msgstr[0] ""
384
  msgstr[1] ""
385
 
386
- #: controllers/controller-admin.php:779 controllers/controller-admin.php:917
387
- #: controllers/controller-admin.php:955
388
  msgid "Table imported successfully."
389
  msgid_plural "Tables imported successfully."
390
  msgstr[0] ""
391
  msgstr[1] ""
392
 
393
- #: controllers/controller-admin.php:786
394
  msgid "You did not select any tables!"
395
  msgstr ""
396
 
397
- #: controllers/controller-admin.php:809
398
  #, php-format
399
  msgid "Table &quot;%s&quot; copied successfully."
400
  msgstr ""
401
 
402
- #: controllers/controller-admin.php:827
403
  #, php-format
404
  msgid "Table &quot;%s&quot; deleted successfully."
405
  msgstr ""
406
 
407
- #: controllers/controller-admin.php:835
408
  msgid "Custom Data Field deleted successfully."
409
  msgstr ""
410
 
411
- #: controllers/controller-admin.php:837
412
  msgid "Custom Data Field could not be deleted."
413
  msgstr ""
414
 
415
- #: controllers/controller-admin.php:843
416
  msgid "Delete failed."
417
  msgstr ""
418
 
419
- #: controllers/controller-admin.php:871 controllers/controller-admin.php:880
420
- #: controllers/controller-admin.php:890
421
  msgid "Imported Table"
422
  msgstr ""
423
 
424
- #: controllers/controller-admin.php:872 controllers/controller-admin.php:891
425
  #, php-format
426
  msgid "from %s"
427
  msgstr ""
428
 
429
- #: controllers/controller-admin.php:881
430
  msgid "via form"
431
  msgstr ""
432
 
433
- #: controllers/controller-admin.php:901 controllers/controller-admin.php:933
434
  msgid "Table could not be imported."
435
  msgstr ""
436
 
437
- #: controllers/controller-admin.php:913
438
  #, php-format
439
  msgid "Table %s (%s) replaced successfully."
440
  msgstr ""
441
 
442
- #: controllers/controller-admin.php:963 controllers/controller-admin.php:1149
443
  msgid "You do not have sufficient rights to perform this action."
444
  msgstr ""
445
 
446
- #: controllers/controller-admin.php:970
447
  msgid "You did not upload a WP-Table Reloaded dump file."
448
  msgstr ""
449
 
450
- #: controllers/controller-admin.php:979
451
  msgid "The uploaded dump file is empty. Please upload a valid dump file."
452
  msgstr ""
453
 
454
- #: controllers/controller-admin.php:1008
455
  msgid "All Tables, Settings and Options were successfully imported."
456
  msgstr ""
457
 
458
- #: controllers/controller-admin.php:1037
459
  #, php-format
460
  msgid "Table &quot;%s&quot; exported successfully."
461
  msgstr ""
462
 
463
- #: controllers/controller-admin.php:1082 views/view-options.php:223
464
  msgid "You do not have sufficient rights to access the Plugin Options."
465
  msgstr ""
466
 
467
- #: controllers/controller-admin.php:1136
468
  msgid "Options saved successfully."
469
  msgstr ""
470
 
471
- #: controllers/controller-admin.php:1199
472
  msgid "There is no table with this ID!"
473
  msgstr ""
474
 
475
- #: controllers/controller-admin.php:1236
476
  msgid ""
477
  "Thank you very much! Your donation is highly appreciated. You just "
478
  "contributed to the further development of WP-Table Reloaded!"
479
  msgstr ""
480
 
481
- #: controllers/controller-admin.php:1238
482
  #, php-format
483
  msgid ""
484
  "No problem! I still hope you enjoy the benefits that WP-Table Reloaded "
@@ -487,285 +481,285 @@ msgid ""
487
  "a>."
488
  msgstr ""
489
 
490
- #: controllers/controller-admin.php:1238 controllers/controller-admin.php:1656
491
  msgid "Donate"
492
  msgstr ""
493
 
494
- #: controllers/controller-admin.php:1265 controllers/controller-admin.php:1273
495
  msgid "List of Tables"
496
  msgstr ""
497
 
498
- #. #-#-#-#-# plugin.pot (WP-Table Reloaded 1.6) #-#-#-#-#
499
  #. Plugin Name of an extension
500
- #: controllers/controller-admin.php:1265 controllers/controller-admin.php:1270
501
- #: controllers/controller-admin.php:1272
502
  msgid "WP-Table Reloaded"
503
  msgstr ""
504
 
505
- #: controllers/controller-admin.php:1266 controllers/controller-admin.php:1296
506
  msgid "Add new Table"
507
  msgstr ""
508
 
509
- #: controllers/controller-admin.php:1267
510
  #, php-format
511
  msgid "Edit Table &quot;%s&quot; (ID %s)"
512
  msgstr ""
513
 
514
- #: controllers/controller-admin.php:1268 controllers/controller-admin.php:1297
515
  msgid "Import a Table"
516
  msgstr ""
517
 
518
- #: controllers/controller-admin.php:1269 controllers/controller-admin.php:1298
519
  msgid "Export a Table"
520
  msgstr ""
521
 
522
- #: controllers/controller-admin.php:1270 controllers/controller-admin.php:1304
523
  #: views/view-edit.php:338 views/view-edit.php:353 views/view-export.php:10
524
  msgid "Plugin Options"
525
  msgstr ""
526
 
527
- #: controllers/controller-admin.php:1271
528
  msgid "About WP-Table Reloaded"
529
  msgstr ""
530
 
531
- #: controllers/controller-admin.php:1274
532
  #, php-format
533
  msgid "Preview of Table &quot;%s&quot; (ID %s)"
534
  msgstr ""
535
 
536
- #: controllers/controller-admin.php:1295
537
  msgid "List Tables"
538
  msgstr ""
539
 
540
- #: controllers/controller-admin.php:1305
541
  msgid "About the plugin"
542
  msgstr ""
543
 
544
- #: controllers/controller-admin.php:1652
545
  msgid "WP-Table Reloaded Plugin Page"
546
  msgstr ""
547
 
548
- #: controllers/controller-admin.php:1652
549
  msgid "Plugin Page"
550
  msgstr ""
551
 
552
- #: controllers/controller-admin.php:1653
553
  msgid "Frequently Asked Questions"
554
  msgstr ""
555
 
556
- #: controllers/controller-admin.php:1653
557
  msgid "FAQ"
558
  msgstr ""
559
 
560
- #: controllers/controller-admin.php:1654
561
  msgid "Support"
562
  msgstr ""
563
 
564
- #: controllers/controller-admin.php:1655
565
  msgid "Plugin Documentation"
566
  msgstr ""
567
 
568
- #: controllers/controller-admin.php:1655
569
  msgid "Documentation"
570
  msgstr ""
571
 
572
- #: controllers/controller-admin.php:1656
573
  msgid "Support WP-Table Reloaded with your donation!"
574
  msgstr ""
575
 
576
- #: controllers/controller-admin.php:1695
577
  msgid ""
578
  "Do you really want to activate this? You should only do that right before "
579
  "uninstallation!"
580
  msgstr ""
581
 
582
- #: controllers/controller-admin.php:1696
583
  msgid "URL of link to insert"
584
  msgstr ""
585
 
586
- #: controllers/controller-admin.php:1697
587
  msgid "Text of link"
588
  msgstr ""
589
 
590
- #: controllers/controller-admin.php:1698
591
  msgid ""
592
  "To insert the following HTML code for a link into a cell, just click the "
593
  "cell after closing this dialog."
594
  msgstr ""
595
 
596
- #: controllers/controller-admin.php:1699
597
  msgid ""
598
  "To insert an image, click the cell into which you want to insert the image."
599
  msgstr ""
600
 
601
- #: controllers/controller-admin.php:1699
602
  msgid ""
603
  "The Media Library will open, from which you can select the desired image or "
604
  "insert the image URL."
605
  msgstr ""
606
 
607
- #: controllers/controller-admin.php:1699
608
  #, php-format
609
  msgid "Click the &quot;%s&quot; button to insert the image."
610
  msgstr ""
611
 
612
- #: controllers/controller-admin.php:1699
613
  msgid "Insert into Post"
614
  msgstr ""
615
 
616
- #: controllers/controller-admin.php:1700
617
  msgid ""
618
  "To combine cells within a row, click into the cell to the right of the cell "
619
  "that has the content the combined cells shall have."
620
  msgstr ""
621
 
622
- #: controllers/controller-admin.php:1701
623
  msgid ""
624
  "To combine cells within a column, click into the cell below the cell that "
625
  "has the content the combined cells shall have."
626
  msgstr ""
627
 
628
- #: controllers/controller-admin.php:1702
629
  msgid "Do you want to copy the selected tables?"
630
  msgstr ""
631
 
632
- #: controllers/controller-admin.php:1703
633
  msgid ""
634
  "The selected tables and all content will be erased. Do you really want to "
635
  "delete them?"
636
  msgstr ""
637
 
638
- #: controllers/controller-admin.php:1704
639
  msgid ""
640
  "Do you really want to import the selected tables from the wp-Table plugin?"
641
  msgstr ""
642
 
643
- #: controllers/controller-admin.php:1705
644
  msgid "Do you want to copy this table?"
645
  msgstr ""
646
 
647
- #: controllers/controller-admin.php:1706
648
  msgid ""
649
  "The complete table and all content will be erased. Do you really want to "
650
  "delete it?"
651
  msgstr ""
652
 
653
- #: controllers/controller-admin.php:1707
654
  msgid "Do you really want to delete the selected rows?"
655
  msgstr ""
656
 
657
- #: controllers/controller-admin.php:1708
658
  msgid "Do you really want to delete the selected columns?"
659
  msgstr ""
660
 
661
- #: controllers/controller-admin.php:1709 controllers/controller-admin.php:1713
662
- #: controllers/controller-admin.php:1715
663
  msgid "You have not selected any rows."
664
  msgstr ""
665
 
666
- #: controllers/controller-admin.php:1710 controllers/controller-admin.php:1714
667
- #: controllers/controller-admin.php:1716
668
  msgid "You have not selected any columns."
669
  msgstr ""
670
 
671
- #: controllers/controller-admin.php:1711
672
  msgid "You can not delete all rows of the table at once!"
673
  msgstr ""
674
 
675
- #: controllers/controller-admin.php:1712
676
  msgid "You can not delete all columns of the table at once!"
677
  msgstr ""
678
 
679
- #: controllers/controller-admin.php:1717
680
  msgid "Do you really want to import this table from the wp-Table plugin?"
681
  msgstr ""
682
 
683
- #: controllers/controller-admin.php:1718
684
  msgid "Do you really want to uninstall the plugin and delete ALL data?"
685
  msgstr ""
686
 
687
- #: controllers/controller-admin.php:1719
688
  msgid "Are you really sure?"
689
  msgstr ""
690
 
691
- #: controllers/controller-admin.php:1720
692
  msgid "Do you really want to change the ID of the table?"
693
  msgstr ""
694
 
695
- #: controllers/controller-admin.php:1721
696
  msgid "To show this Custom Data Field, use this shortcode:"
697
  msgstr ""
698
 
699
- #: controllers/controller-admin.php:1722
700
  msgid "To show this table, use this shortcode:"
701
  msgstr ""
702
 
703
- #: controllers/controller-admin.php:1723
704
  msgid ""
705
  "Warning: You will lose all current Tables and Settings! You should create a "
706
  "backup first. Be warned!"
707
  msgstr ""
708
 
709
- #: controllers/controller-admin.php:1724
710
  msgid ""
711
  "You have made changes to the content of this table and not yet saved them."
712
  msgstr ""
713
 
714
- #: controllers/controller-admin.php:1724
715
  #, php-format
716
  msgid ""
717
  "You should first click &quot;%s&quot; or they will be lost if you navigate "
718
  "away from this page."
719
  msgstr ""
720
 
721
- #: controllers/controller-admin.php:1724 views/view-edit.php:41
722
  #: views/view-edit.php:253 views/view-edit.php:392 views/view-edit.php:443
723
  msgid "Update Changes"
724
  msgstr ""
725
 
726
- #: controllers/controller-admin.php:1766 views/view-about.php:14
727
  #: views/view-list.php:2
728
  msgid "Table"
729
  msgstr ""
730
 
731
- #: controllers/controller-admin.php:1796
732
  msgid "Please wait..."
733
  msgstr ""
734
 
735
- #: controllers/controller-admin.php:1797
736
  msgid "Show _MENU_ Tables"
737
  msgstr ""
738
 
739
- #: controllers/controller-admin.php:1798 views/view-ajax_list.php:53
740
  #: views/view-export.php:71 views/view-list.php:88
741
  msgid "No tables were found."
742
  msgstr ""
743
 
744
- #: controllers/controller-admin.php:1799
745
  msgid "_START_ to _END_ of _TOTAL_ Tables"
746
  msgstr ""
747
 
748
- #: controllers/controller-admin.php:1800
749
  msgid "(filtered from _MAX_ Tables)"
750
  msgstr ""
751
 
752
- #: controllers/controller-admin.php:1801
753
  msgid "Filter:"
754
  msgstr ""
755
 
756
- #: controllers/controller-admin.php:1802
757
  msgid "First"
758
  msgstr ""
759
 
760
- #: controllers/controller-admin.php:1803
761
  msgid "Back"
762
  msgstr ""
763
 
764
- #: controllers/controller-admin.php:1804
765
  msgid "Next"
766
  msgstr ""
767
 
768
- #: controllers/controller-admin.php:1805
769
  msgid "Last"
770
  msgstr ""
771
 
1
+ # Translation of the WordPress plugin WP-Table Reloaded 1.6.1 by Tobias B&auml;thge.
2
  # Copyright (C) 2010 Tobias B&auml;thge
3
  # This file is distributed under the same license as the WP-Table Reloaded package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: WP-Table Reloaded 1.6.1\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-table-reloaded\n"
11
+ "POT-Creation-Date: 2010-01-30 17:55+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
133
  msgid "Edit"
134
  msgstr ""
135
 
136
+ #: controllers/controller-admin.php:256
137
  msgid "Czech"
138
  msgstr ""
139
 
140
+ #: controllers/controller-admin.php:257
141
  msgid "German"
142
  msgstr ""
143
 
144
+ #: controllers/controller-admin.php:258
145
  msgid "English"
146
  msgstr ""
147
 
148
+ #: controllers/controller-admin.php:259
149
  msgid "Spanish"
150
  msgstr ""
151
 
152
+ #: controllers/controller-admin.php:260
153
  msgid "Finnish"
154
  msgstr ""
155
 
156
+ #: controllers/controller-admin.php:261
157
  msgid "Hindi"
158
  msgstr ""
159
 
160
+ #: controllers/controller-admin.php:262
161
  msgid "Italian"
162
  msgstr ""
163
 
164
+ #: controllers/controller-admin.php:263
165
  msgid "Japanese"
166
  msgstr ""
167
 
168
+ #: controllers/controller-admin.php:264
169
  msgid "Brazilian Portuguese"
170
  msgstr ""
171
 
172
+ #: controllers/controller-admin.php:265
173
  msgid "Slovak"
174
  msgstr ""
175
 
176
+ #: controllers/controller-admin.php:266
177
  msgid "Swedish"
178
  msgstr ""
179
 
180
+ #: controllers/controller-admin.php:301
181
  #, php-format
182
  msgid ""
183
  "Welcome to WP-Table Reloaded %s. If you encounter any questions or problems, "
185
  "\">documentation</a>, and the <a href=\"%s\">support</a> section."
186
  msgstr ""
187
 
188
+ #: controllers/controller-admin.php:302
189
  #, php-format
190
  msgid "Thank you for upgrading to WP-Table Reloaded %s."
191
  msgstr ""
192
 
193
+ #: controllers/controller-admin.php:302
 
 
 
 
 
 
194
  #, php-format
195
  msgid ""
196
  "Please read the <a href=\"%s\">release announcement</a> for more information."
197
  msgstr ""
198
 
199
+ #: controllers/controller-admin.php:302
200
  #, php-format
201
  msgid ""
202
  "If you like the new features and enhancements, I would appreciate a small <a "
203
  "href=\"%s\">donation</a>. Thank you."
204
  msgstr ""
205
 
206
+ #: controllers/controller-admin.php:307
207
  msgid "Hide this message"
208
  msgstr ""
209
 
210
+ #: controllers/controller-admin.php:315
211
  msgid ""
212
  "Thanks for using this plugin! You've installed WP-Table Reloaded over a "
213
  "month ago."
214
  msgstr ""
215
 
216
+ #: controllers/controller-admin.php:315
217
  #, php-format
218
  msgid ""
219
  "If it works and you are satisfied with the results of managing your %s "
224
  msgstr[0] ""
225
  msgstr[1] ""
226
 
227
+ #: controllers/controller-admin.php:316
228
  #, php-format
229
  msgid ""
230
  "<a href=\"%s\">Donations</a> help me to continue support and development of "
232
  "free time! Thank you!"
233
  msgstr ""
234
 
235
+ #: controllers/controller-admin.php:317
236
  msgid "Sure, no problem!"
237
  msgstr ""
238
 
239
+ #: controllers/controller-admin.php:318
240
  msgid "I already donated."
241
  msgstr ""
242
 
243
+ #: controllers/controller-admin.php:319
244
  msgid "No, thanks. Don't ask again."
245
  msgstr ""
246
 
247
+ #: controllers/controller-admin.php:347
248
  #, php-format
249
  msgid "Table &quot;%s&quot; added successfully."
250
  msgstr ""
251
 
252
+ #: controllers/controller-admin.php:378
253
  #, php-format
254
  msgid ""
255
  "Table edited successfully. This Table now has the ID %s. You'll need to "
256
  "adjust existing shortcodes accordingly."
257
  msgstr ""
258
 
259
+ #: controllers/controller-admin.php:380
260
  #, php-format
261
  msgid ""
262
  "The ID could not be changed from %s to %s, because there already is a Table "
263
  "with that ID."
264
  msgstr ""
265
 
266
+ #: controllers/controller-admin.php:383
267
  msgid "Table edited successfully."
268
  msgstr ""
269
 
270
+ #: controllers/controller-admin.php:429
271
  msgid "Rows swapped successfully."
272
  msgstr ""
273
 
274
+ #: controllers/controller-admin.php:450
275
  msgid "Columns swapped successfully."
276
  msgstr ""
277
 
278
+ #: controllers/controller-admin.php:479
279
  msgid "Table sorted successfully."
280
  msgstr ""
281
 
282
+ #: controllers/controller-admin.php:500
283
  msgid "Row moved successfully."
284
  msgstr ""
285
 
286
+ #: controllers/controller-admin.php:525
287
  msgid "Column moved successfully."
288
  msgstr ""
289
 
290
+ #: controllers/controller-admin.php:533
291
  msgid "Row could not be deleted."
292
  msgid_plural "Rows could not be deleted."
293
  msgstr[0] ""
294
  msgstr[1] ""
295
 
296
+ #: controllers/controller-admin.php:542
297
  msgid "Row deleted successfully."
298
  msgid_plural "Rows deleted successfully."
299
  msgstr[0] ""
300
  msgstr[1] ""
301
 
302
+ #: controllers/controller-admin.php:552
303
  msgid "Column could not be deleted."
304
  msgid_plural "Columns could not be deleted."
305
  msgstr[0] ""
306
  msgstr[1] ""
307
 
308
+ #: controllers/controller-admin.php:565
309
  msgid "Column deleted successfully."
310
  msgid_plural "Columns deleted successfully."
311
  msgstr[0] ""
312
  msgstr[1] ""
313
 
314
+ #: controllers/controller-admin.php:588
315
  msgid "Row inserted successfully."
316
  msgid_plural "Rows inserted successfully."
317
  msgstr[0] ""
318
  msgstr[1] ""
319
 
320
+ #: controllers/controller-admin.php:615
321
  msgid "Column inserted successfully."
322
  msgid_plural "Columns inserted successfully."
323
  msgstr[0] ""
324
  msgstr[1] ""
325
 
326
+ #: controllers/controller-admin.php:630
327
  msgid "Row added successfully."
328
  msgid_plural "Rows added successfully."
329
  msgstr[0] ""
330
  msgstr[1] ""
331
 
332
+ #: controllers/controller-admin.php:644
333
  msgid "Column added successfully."
334
  msgid_plural "Columns added successfully."
335
  msgstr[0] ""
336
  msgstr[1] ""
337
 
338
+ #: controllers/controller-admin.php:651
339
  msgid "Could not add Custom Data Field, because you did not enter a name."
340
  msgstr ""
341
 
342
+ #: controllers/controller-admin.php:656
343
  msgid ""
344
  "Could not add Custom Data Field, because the name you entered is reserved "
345
  "for other table data."
346
  msgstr ""
347
 
348
+ #: controllers/controller-admin.php:662
349
  msgid ""
350
  "Could not add Custom Data Field, because the name contained illegal "
351
  "characters."
352
  msgstr ""
353
 
354
+ #: controllers/controller-admin.php:666
355
  msgid ""
356
  "Could not add Custom Data Field, because a Field with that name already "
357
  "exists."
358
  msgstr ""
359
 
360
+ #: controllers/controller-admin.php:672
361
  msgid "Custom Data Field added successfully."
362
  msgstr ""
363
 
364
+ #: controllers/controller-admin.php:712 controllers/controller-admin.php:768
365
  msgid "Copy of"
366
  msgstr ""
367
 
368
+ #: controllers/controller-admin.php:716
369
  msgid "Table copied successfully."
370
  msgid_plural "Tables copied successfully."
371
  msgstr[0] ""
372
  msgstr[1] ""
373
 
374
+ #: controllers/controller-admin.php:722
375
  msgid "Table deleted successfully."
376
  msgid_plural "Tables deleted successfully."
377
  msgstr[0] ""
378
  msgstr[1] ""
379
 
380
+ #: controllers/controller-admin.php:743 controllers/controller-admin.php:899
381
+ #: controllers/controller-admin.php:937
382
  msgid "Table imported successfully."
383
  msgid_plural "Tables imported successfully."
384
  msgstr[0] ""
385
  msgstr[1] ""
386
 
387
+ #: controllers/controller-admin.php:750
388
  msgid "You did not select any tables!"
389
  msgstr ""
390
 
391
+ #: controllers/controller-admin.php:773
392
  #, php-format
393
  msgid "Table &quot;%s&quot; copied successfully."
394
  msgstr ""
395
 
396
+ #: controllers/controller-admin.php:791
397
  #, php-format
398
  msgid "Table &quot;%s&quot; deleted successfully."
399
  msgstr ""
400
 
401
+ #: controllers/controller-admin.php:799
402
  msgid "Custom Data Field deleted successfully."
403
  msgstr ""
404
 
405
+ #: controllers/controller-admin.php:801
406
  msgid "Custom Data Field could not be deleted."
407
  msgstr ""
408
 
409
+ #: controllers/controller-admin.php:807
410
  msgid "Delete failed."
411
  msgstr ""
412
 
413
+ #: controllers/controller-admin.php:839 controllers/controller-admin.php:849
414
+ #: controllers/controller-admin.php:860
415
  msgid "Imported Table"
416
  msgstr ""
417
 
418
+ #: controllers/controller-admin.php:840 controllers/controller-admin.php:861
419
  #, php-format
420
  msgid "from %s"
421
  msgstr ""
422
 
423
+ #: controllers/controller-admin.php:850
424
  msgid "via form"
425
  msgstr ""
426
 
427
+ #: controllers/controller-admin.php:877 controllers/controller-admin.php:915
428
  msgid "Table could not be imported."
429
  msgstr ""
430
 
431
+ #: controllers/controller-admin.php:894
432
  #, php-format
433
  msgid "Table %s (%s) replaced successfully."
434
  msgstr ""
435
 
436
+ #: controllers/controller-admin.php:945 controllers/controller-admin.php:1131
437
  msgid "You do not have sufficient rights to perform this action."
438
  msgstr ""
439
 
440
+ #: controllers/controller-admin.php:952
441
  msgid "You did not upload a WP-Table Reloaded dump file."
442
  msgstr ""
443
 
444
+ #: controllers/controller-admin.php:961
445
  msgid "The uploaded dump file is empty. Please upload a valid dump file."
446
  msgstr ""
447
 
448
+ #: controllers/controller-admin.php:990
449
  msgid "All Tables, Settings and Options were successfully imported."
450
  msgstr ""
451
 
452
+ #: controllers/controller-admin.php:1019
453
  #, php-format
454
  msgid "Table &quot;%s&quot; exported successfully."
455
  msgstr ""
456
 
457
+ #: controllers/controller-admin.php:1064 views/view-options.php:223
458
  msgid "You do not have sufficient rights to access the Plugin Options."
459
  msgstr ""
460
 
461
+ #: controllers/controller-admin.php:1118
462
  msgid "Options saved successfully."
463
  msgstr ""
464
 
465
+ #: controllers/controller-admin.php:1181
466
  msgid "There is no table with this ID!"
467
  msgstr ""
468
 
469
+ #: controllers/controller-admin.php:1218
470
  msgid ""
471
  "Thank you very much! Your donation is highly appreciated. You just "
472
  "contributed to the further development of WP-Table Reloaded!"
473
  msgstr ""
474
 
475
+ #: controllers/controller-admin.php:1220
476
  #, php-format
477
  msgid ""
478
  "No problem! I still hope you enjoy the benefits that WP-Table Reloaded "
481
  "a>."
482
  msgstr ""
483
 
484
+ #: controllers/controller-admin.php:1220 controllers/controller-admin.php:1638
485
  msgid "Donate"
486
  msgstr ""
487
 
488
+ #: controllers/controller-admin.php:1247 controllers/controller-admin.php:1255
489
  msgid "List of Tables"
490
  msgstr ""
491
 
492
+ #. #-#-#-#-# plugin.pot (WP-Table Reloaded 1.6.1) #-#-#-#-#
493
  #. Plugin Name of an extension
494
+ #: controllers/controller-admin.php:1247 controllers/controller-admin.php:1252
495
+ #: controllers/controller-admin.php:1254
496
  msgid "WP-Table Reloaded"
497
  msgstr ""
498
 
499
+ #: controllers/controller-admin.php:1248 controllers/controller-admin.php:1278
500
  msgid "Add new Table"
501
  msgstr ""
502
 
503
+ #: controllers/controller-admin.php:1249
504
  #, php-format
505
  msgid "Edit Table &quot;%s&quot; (ID %s)"
506
  msgstr ""
507
 
508
+ #: controllers/controller-admin.php:1250 controllers/controller-admin.php:1279
509
  msgid "Import a Table"
510
  msgstr ""
511
 
512
+ #: controllers/controller-admin.php:1251 controllers/controller-admin.php:1280
513
  msgid "Export a Table"
514
  msgstr ""
515
 
516
+ #: controllers/controller-admin.php:1252 controllers/controller-admin.php:1286
517
  #: views/view-edit.php:338 views/view-edit.php:353 views/view-export.php:10
518
  msgid "Plugin Options"
519
  msgstr ""
520
 
521
+ #: controllers/controller-admin.php:1253
522
  msgid "About WP-Table Reloaded"
523
  msgstr ""
524
 
525
+ #: controllers/controller-admin.php:1256
526
  #, php-format
527
  msgid "Preview of Table &quot;%s&quot; (ID %s)"
528
  msgstr ""
529
 
530
+ #: controllers/controller-admin.php:1277
531
  msgid "List Tables"
532
  msgstr ""
533
 
534
+ #: controllers/controller-admin.php:1287
535
  msgid "About the plugin"
536
  msgstr ""
537
 
538
+ #: controllers/controller-admin.php:1634
539
  msgid "WP-Table Reloaded Plugin Page"
540
  msgstr ""
541
 
542
+ #: controllers/controller-admin.php:1634
543
  msgid "Plugin Page"
544
  msgstr ""
545
 
546
+ #: controllers/controller-admin.php:1635
547
  msgid "Frequently Asked Questions"
548
  msgstr ""
549
 
550
+ #: controllers/controller-admin.php:1635
551
  msgid "FAQ"
552
  msgstr ""
553
 
554
+ #: controllers/controller-admin.php:1636
555
  msgid "Support"
556
  msgstr ""
557
 
558
+ #: controllers/controller-admin.php:1637
559
  msgid "Plugin Documentation"
560
  msgstr ""
561
 
562
+ #: controllers/controller-admin.php:1637
563
  msgid "Documentation"
564
  msgstr ""
565
 
566
+ #: controllers/controller-admin.php:1638
567
  msgid "Support WP-Table Reloaded with your donation!"
568
  msgstr ""
569
 
570
+ #: controllers/controller-admin.php:1677
571
  msgid ""
572
  "Do you really want to activate this? You should only do that right before "
573
  "uninstallation!"
574
  msgstr ""
575
 
576
+ #: controllers/controller-admin.php:1678
577
  msgid "URL of link to insert"
578
  msgstr ""
579
 
580
+ #: controllers/controller-admin.php:1679
581
  msgid "Text of link"
582
  msgstr ""
583
 
584
+ #: controllers/controller-admin.php:1680
585
  msgid ""
586
  "To insert the following HTML code for a link into a cell, just click the "
587
  "cell after closing this dialog."
588
  msgstr ""
589
 
590
+ #: controllers/controller-admin.php:1681
591
  msgid ""
592
  "To insert an image, click the cell into which you want to insert the image."
593
  msgstr ""
594
 
595
+ #: controllers/controller-admin.php:1681
596
  msgid ""
597
  "The Media Library will open, from which you can select the desired image or "
598
  "insert the image URL."
599
  msgstr ""
600
 
601
+ #: controllers/controller-admin.php:1681
602
  #, php-format
603
  msgid "Click the &quot;%s&quot; button to insert the image."
604
  msgstr ""
605
 
606
+ #: controllers/controller-admin.php:1681
607
  msgid "Insert into Post"
608
  msgstr ""
609
 
610
+ #: controllers/controller-admin.php:1682
611
  msgid ""
612
  "To combine cells within a row, click into the cell to the right of the cell "
613
  "that has the content the combined cells shall have."
614
  msgstr ""
615
 
616
+ #: controllers/controller-admin.php:1683
617
  msgid ""
618
  "To combine cells within a column, click into the cell below the cell that "
619
  "has the content the combined cells shall have."
620
  msgstr ""
621
 
622
+ #: controllers/controller-admin.php:1684
623
  msgid "Do you want to copy the selected tables?"
624
  msgstr ""
625
 
626
+ #: controllers/controller-admin.php:1685
627
  msgid ""
628
  "The selected tables and all content will be erased. Do you really want to "
629
  "delete them?"
630
  msgstr ""
631
 
632
+ #: controllers/controller-admin.php:1686
633
  msgid ""
634
  "Do you really want to import the selected tables from the wp-Table plugin?"
635
  msgstr ""
636
 
637
+ #: controllers/controller-admin.php:1687
638
  msgid "Do you want to copy this table?"
639
  msgstr ""
640
 
641
+ #: controllers/controller-admin.php:1688
642
  msgid ""
643
  "The complete table and all content will be erased. Do you really want to "
644
  "delete it?"
645
  msgstr ""
646
 
647
+ #: controllers/controller-admin.php:1689
648
  msgid "Do you really want to delete the selected rows?"
649
  msgstr ""
650
 
651
+ #: controllers/controller-admin.php:1690
652
  msgid "Do you really want to delete the selected columns?"
653
  msgstr ""
654
 
655
+ #: controllers/controller-admin.php:1691 controllers/controller-admin.php:1695
656
+ #: controllers/controller-admin.php:1697
657
  msgid "You have not selected any rows."
658
  msgstr ""
659
 
660
+ #: controllers/controller-admin.php:1692 controllers/controller-admin.php:1696
661
+ #: controllers/controller-admin.php:1698
662
  msgid "You have not selected any columns."
663
  msgstr ""
664
 
665
+ #: controllers/controller-admin.php:1693
666
  msgid "You can not delete all rows of the table at once!"
667
  msgstr ""
668
 
669
+ #: controllers/controller-admin.php:1694
670
  msgid "You can not delete all columns of the table at once!"
671
  msgstr ""
672
 
673
+ #: controllers/controller-admin.php:1699
674
  msgid "Do you really want to import this table from the wp-Table plugin?"
675
  msgstr ""
676
 
677
+ #: controllers/controller-admin.php:1700
678
  msgid "Do you really want to uninstall the plugin and delete ALL data?"
679
  msgstr ""
680
 
681
+ #: controllers/controller-admin.php:1701
682
  msgid "Are you really sure?"
683
  msgstr ""
684
 
685
+ #: controllers/controller-admin.php:1702
686
  msgid "Do you really want to change the ID of the table?"
687
  msgstr ""
688
 
689
+ #: controllers/controller-admin.php:1703
690
  msgid "To show this Custom Data Field, use this shortcode:"
691
  msgstr ""
692
 
693
+ #: controllers/controller-admin.php:1704
694
  msgid "To show this table, use this shortcode:"
695
  msgstr ""
696
 
697
+ #: controllers/controller-admin.php:1705
698
  msgid ""
699
  "Warning: You will lose all current Tables and Settings! You should create a "
700
  "backup first. Be warned!"
701
  msgstr ""
702
 
703
+ #: controllers/controller-admin.php:1706
704
  msgid ""
705
  "You have made changes to the content of this table and not yet saved them."
706
  msgstr ""
707
 
708
+ #: controllers/controller-admin.php:1706
709
  #, php-format
710
  msgid ""
711
  "You should first click &quot;%s&quot; or they will be lost if you navigate "
712
  "away from this page."
713
  msgstr ""
714
 
715
+ #: controllers/controller-admin.php:1706 views/view-edit.php:41
716
  #: views/view-edit.php:253 views/view-edit.php:392 views/view-edit.php:443
717
  msgid "Update Changes"
718
  msgstr ""
719
 
720
+ #: controllers/controller-admin.php:1748 views/view-about.php:14
721
  #: views/view-list.php:2
722
  msgid "Table"
723
  msgstr ""
724
 
725
+ #: controllers/controller-admin.php:1778
726
  msgid "Please wait..."
727
  msgstr ""
728
 
729
+ #: controllers/controller-admin.php:1779
730
  msgid "Show _MENU_ Tables"
731
  msgstr ""
732
 
733
+ #: controllers/controller-admin.php:1780 views/view-ajax_list.php:53
734
  #: views/view-export.php:71 views/view-list.php:88
735
  msgid "No tables were found."
736
  msgstr ""
737
 
738
+ #: controllers/controller-admin.php:1781
739
  msgid "_START_ to _END_ of _TOTAL_ Tables"
740
  msgstr ""
741
 
742
+ #: controllers/controller-admin.php:1782
743
  msgid "(filtered from _MAX_ Tables)"
744
  msgstr ""
745
 
746
+ #: controllers/controller-admin.php:1783
747
  msgid "Filter:"
748
  msgstr ""
749
 
750
+ #: controllers/controller-admin.php:1784
751
  msgid "First"
752
  msgstr ""
753
 
754
+ #: controllers/controller-admin.php:1785
755
  msgid "Back"
756
  msgstr ""
757
 
758
+ #: controllers/controller-admin.php:1786
759
  msgid "Next"
760
  msgstr ""
761
 
762
+ #: controllers/controller-admin.php:1787
763
  msgid "Last"
764
  msgstr ""
765
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: TobiasBg
3
  Donate link: http://tobias.baethge.com/donate/
4
  Tags: html,table,data,editor,csv,import,export,excel,widget,admin,sidebar
5
  Requires at least: 2.8
6
- Tested up to: 2.9.1
7
- Stable tag: 1.6
8
 
9
  WP-Table Reloaded lets you manage tables in a comfortable backend in WP's admin area, without any knowledge of HTML, and can add valuable features.
10
 
@@ -106,6 +106,13 @@ I'm also happy about [donations](http://tobias.baethge.com/donate/) or something
106
 
107
  == Changelog ==
108
 
 
 
 
 
 
 
 
109
  = Version 1.6 =
110
  * feature: Support for "rowspan" and "colspan" in tables
111
  * feature: WP Search will now also search in tables
@@ -196,6 +203,9 @@ I'm also happy about [donations](http://tobias.baethge.com/donate/) or something
196
 
197
  == Upgrade Notice ==
198
 
 
 
 
199
  = 1.6 =
200
  This upgrade adds features like "colspan"/"rowspan" support, support for the WP Search, and more. WordPress 2.8 or higher is now required!
201
 
3
  Donate link: http://tobias.baethge.com/donate/
4
  Tags: html,table,data,editor,csv,import,export,excel,widget,admin,sidebar
5
  Requires at least: 2.8
6
+ Tested up to: 2.9.2
7
+ Stable tag: 1.6.1
8
 
9
  WP-Table Reloaded lets you manage tables in a comfortable backend in WP's admin area, without any knowledge of HTML, and can add valuable features.
10
 
106
 
107
  == Changelog ==
108
 
109
+ = Version 1.6.1 =
110
+ * enhancement: let WP Search also search table name and description
111
+ * enhancement: replacing a table during an import will leave options untouched and only replace table data
112
+ * bugfix: better fix for DataTables invisibility issue in IE 7
113
+ * enhancement: add 3 new plugin filters for frontend
114
+ * bugfix: fix for problem with search, if data is empty somehow
115
+
116
  = Version 1.6 =
117
  * feature: Support for "rowspan" and "colspan" in tables
118
  * feature: WP Search will now also search in tables
203
 
204
  == Upgrade Notice ==
205
 
206
+ = 1.6.1 =
207
+ This upgrade fixes a few minor bugs and enhances the WP Search integration and the import.
208
+
209
  = 1.6 =
210
  This upgrade adds features like "colspan"/"rowspan" support, support for the WP Search, and more. WordPress 2.8 or higher is now required!
211
 
wp-table-reloaded.php CHANGED
@@ -4,14 +4,14 @@
4
  *
5
  * @package WP-Table Reloaded
6
  * @author Tobias B&auml;thge
7
- * @version 1.6
8
  */
9
 
10
  /*
11
  Plugin Name: WP-Table Reloaded
12
  Plugin URI: http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/
13
  Description: This plugin allows you to create and easily manage tables in the admin-area of WordPress. A comfortable backend allows an easy manipulation of table data. You can then include the tables into your posts, on your pages or in text widgets by using a shortcode or a template tag function. Tables can be imported and exported from/to CSV, XML and HTML.
14
- Version: 1.6
15
  Author: Tobias B&auml;thge
16
  Author URI: http://tobias.baethge.com/
17
  Author eMail: wordpress@tobias.baethge.com
@@ -46,7 +46,7 @@ if ( !defined( 'WP_TABLE_RELOADED_BASENAME' ) )
46
  if ( !defined( 'WP_TABLE_RELOADED__FILE__' ) )
47
  define( 'WP_TABLE_RELOADED__FILE__', __FILE__ );
48
  if ( !defined( 'WP_TABLE_RELOADED_PLUGIN_VERSION' ) )
49
- define( 'WP_TABLE_RELOADED_PLUGIN_VERSION', '1.6' );
50
 
51
  /**
52
  * Decide whether admin controller or frontend controller is loaded
4
  *
5
  * @package WP-Table Reloaded
6
  * @author Tobias B&auml;thge
7
+ * @version 1.6.1
8
  */
9
 
10
  /*
11
  Plugin Name: WP-Table Reloaded
12
  Plugin URI: http://tobias.baethge.com/wordpress-plugins/wp-table-reloaded-english/
13
  Description: This plugin allows you to create and easily manage tables in the admin-area of WordPress. A comfortable backend allows an easy manipulation of table data. You can then include the tables into your posts, on your pages or in text widgets by using a shortcode or a template tag function. Tables can be imported and exported from/to CSV, XML and HTML.
14
+ Version: 1.6.1
15
  Author: Tobias B&auml;thge
16
  Author URI: http://tobias.baethge.com/
17
  Author eMail: wordpress@tobias.baethge.com
46
  if ( !defined( 'WP_TABLE_RELOADED__FILE__' ) )
47
  define( 'WP_TABLE_RELOADED__FILE__', __FILE__ );
48
  if ( !defined( 'WP_TABLE_RELOADED_PLUGIN_VERSION' ) )
49
+ define( 'WP_TABLE_RELOADED_PLUGIN_VERSION', '1.6.1' );
50
 
51
  /**
52
  * Decide whether admin controller or frontend controller is loaded