Changeset 1553910
- Timestamp:
- 12/13/2016 06:50:11 PM (8 years ago)
- Location:
- custom-tables/trunk
- Files:
-
- 2 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
custom-tables/trunk/custom-tables.php
r1515872 r1553910 4 4 Plugin URI: http://blog.murawski.ch/2011/08/custom-tables-wordpress-plugin/ 5 5 Description: Create Tables and show on a page/article. Usable for all kind of diffrent databases. 6 Version: 4.1. 06 Version: 4.1.1 7 7 Author: Web Updates KMU 8 8 Author URI: http://wuk.ch/ … … 27 27 */ 28 28 29 define('WCT_VERSION', '4.1. 0');29 define('WCT_VERSION', '4.1.1'); 30 30 define('WCT_DBVERSION', '2016101601'); 31 31 … … 219 219 220 220 if ($this->prem_chk() == true) { 221 wp_enqueue_script('jquery-ui-multiselect', plugins_url('custom-tables/jquery/jquery.multiselect.js') , array('jquery'));222 wp_enqueue_style('jquery-ui-multiselect-css', plugins_url('custom-tables/jquery/jquery.multiselect.css'));221 //wp_enqueue_script('jquery-ui-multiselect', plugins_url('custom-tables/jquery/jquery.multiselect.js') , array('jquery')); 222 //wp_enqueue_style('jquery-ui-multiselect-css', plugins_url('custom-tables/jquery/jquery.multiselect.css')); 223 223 } 224 224 } … … 1154 1154 list($part1, $part2, $part3, $part4) = $parts; 1155 1155 if (($part2 % 4) == substr($part3,2,1) AND ($part1 % 9) == substr($part2,0,1) AND ($part1 % 5) == substr($part2,3,1) AND $part4 == (($part3 + 4) % 8).(($part1 + $part3 * 39) % 7 ).(($part2 + 12 + $part3 / (2/7)) % 3 ).(($part2 * 27 + 1) % 3 )) { return true; } 1156 else { return false; }1156 else { $this->settings['form_serial'] = ''; update_option('wuk_custom_tables', $this->settings); return false; } 1157 1157 } 1158 1158 } … … 1192 1192 } 1193 1193 1194 1195 $setts = get_option('wuk_custom_tables'); 1196 if ($setts['form_serial'] != '') { 1197 $wctpath = explode(DIRECTORY_SEPARATOR."custom-tables",plugin_dir_path( __FILE__ )); 1198 $wctpath = $wctpath[0].DIRECTORY_SEPARATOR."custom-tables".DIRECTORY_SEPARATOR; 1199 include($wctpath."ct-search.php"); 1200 include($wctpath."ct-widget.php"); 1201 } 1202 1194 1203 if (function_exists('register_activation_hook')) { register_activation_hook(__FILE__, array('wuk_custom_tables', 'activate')); } 1195 1204 if (function_exists('register_uninstall_hook')) { register_uninstall_hook(__FILE__, array('wuk_custom_tables', 'uninstall')); } -
custom-tables/trunk/pages/editcontent.php
r1515872 r1553910 672 672 echo $sortme; 673 673 } 674 else { 675 echo ($globaledit == '1' ? "<tr><td colspan=\"10\"><input type=\"submit\" name=\"submit\" value=\"". __('Save all Changes', 'wct') ."\"></td></tr>" : "")." 676 </tbody>".($globaledit == '1' ? "</form>" : ""); 677 } 674 675 echo ($globaledit == '1' ? "<tr><td colspan=\"10\"><input type=\"submit\" name=\"submit\" value=\"". __('Save all Changes', 'wct') ."\"></td></tr>" : "")."</tbody>".($globaledit == '1' ? "</form>" : ""); 676 678 677 679 678 echo "</table><br/><form action=\"".$wctmp.$tableid."&wcttab=content&action=new&wcts=".$_GET['wcts']."&wcttab2=".$_GET['wcttab2']."\" method=\"post\"><input type=\"submit\" name=\"submit\" value=\"". __('New Entry', 'wct') ."\"></form>"; -
custom-tables/trunk/pages/setup_css.php
r788814 r1553910 1 1 <?php 2 3 $current = get_option('active_plugins');4 2 5 3 if (!isset($_GET['wcttab'])) { $_GET['wcttab'] = 'css_table'; } … … 10 8 } 11 9 12 if (in_array( 'custom-tables/custom-tables-widget.php', $current)) { 10 $setts = get_option('wuk_custom_tables'); 11 if ($setts['form_serial'] != '') { 13 12 echo "<div style=\"padding-top:15px;\"><table vspace=\"0\" hspace=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"background-image:url(" . plugins_url('custom-tables/img/tab.png') . ");height:30px;\" ><tr>"; 14 13 … … 30 29 echo "<h3>".__('Edit Table CSS', 'wct')."</h3><form name=\"template\" id=\"template\" action=\"admin.php?page=wct_css&wcttab=css_table\" method=\"post\"><table><tr><td> 31 30 <textarea cols=\"90\" rows=\"25\" name=\"newcontent\" id=\"newcontent\" tabindex=\"1\">".stripslashes($this->settings['css'])."</textarea> 32 </td><td><b>".__('Possible WCT Styles','wct').":</b><br/><textarea readonly rows=\"26\" cols=\"25\" name=\"possible\">. wct-sortdown\n.wct-sortup\n.wct-search\n.wctarchiveheader\n.wctarchiveul\n.wctarchiveli\n.wctarchivea\n.wct-table\n.wct-headline\n.wct-td1\n.wct-td2\n.wct-td-hover\n.wct-cell\n.wct-overlay\n.wct-pagefield\n.wct-errorfield\n.wct-button\n.wct-select\n.wct-option\n\n.wct-formint6\n.wct-formint11\n.wct-formchar32\n.wct-formchar64\n.wct-formchar128\n.wct-formtext\n.wct-formdate\n.wct-formpic</textarea></td></tr>31 </td><td><b>".__('Possible WCT Styles','wct').":</b><br/><textarea readonly rows=\"26\" cols=\"25\" name=\"possible\">.table-responsive\n.wct-sortdown\n.wct-sortup\n.wct-search\n.wctarchiveheader\n.wctarchiveul\n.wctarchiveli\n.wctarchivea\n.wct-table\n.wct-headline\n.wct-td1\n.wct-td2\n.wct-td-hover\n.wct-cell\n.wct-overlay\n.wct-pagefield\n.wct-errorfield\n.wct-button\n.wct-select\n.wct-option\n\n.wct-formint6\n.wct-formint11\n.wct-formchar32\n.wct-formchar64\n.wct-formchar128\n.wct-formtext\n.wct-formdate\n.wct-formpic</textarea></td></tr> 33 32 </table><input class=\"button-primary\" type=\"submit\" name=\"savecss\" value=\"". __('Save all Changes', 'wct') ."\" /></form>"; 34 33 printf(__('If you have defined a SALT by the table like %s, the CSS Stylesheet will change the CSS from %s to %s','wct'), '<input type=\'text\' value=\'css="10"\' size=\'12\' readonly/>', '<input type=\'text\' value=\'.wct-table\' size=\'12\' readonly/>', '<input type=\'text\' value=\'.wct10-table\' size=\'12\' readonly/>'); -
custom-tables/trunk/pages/show_table.php
r1508594 r1553910 133 133 <input type=\"hidden\" id=\"Mx\"><input type=\"hidden\" id=\"My\"><input type=\"hidden\" id=\"hH\">"; 134 134 } 135 $out .= "< table name=\"wct".$css."-table\" id=\"wct".$css."-table\" class=\"wct".$css."-table\">";135 $out .= "<div class=\"table-responsiv\"><table name=\"wct".$css."-table\" id=\"wct".$css."-table\" class=\"wct".$css."-table\">"; 136 136 137 137 if ($table->headerline == '1') { … … 647 647 } 648 648 649 $out .= "</table> ";649 $out .= "</table></div>"; 650 650 $out = apply_filters('finished_table', $out); 651 651 $out .= "\n\n<div style=\"visibility:hidden;display:none;\">Custom Tables Plugin 05a1a29bdcae7b12229e651a9fd48b11</div>\n\n"; -
custom-tables/trunk/readme.txt
r1515872 r1553910 92 92 User can create or modify the content of your tables if you enable this. There is no versioning system implemented. 93 93 94 = Update 4.1.1 Error / Missing Premium Feature Addons in Plugin List = 95 96 The Addons which came prior to Version 4.1.1 separated, where integrated. They will automatically load themself after the premuim license will be entered. 97 If you update to the Version 4.1.1 and had the Addons activated, you will get an error message "the plugins do not anymore exists". This is correct and will be only shown once. Please ignore it. 98 94 99 = Manual Deinstallation = 95 100 … … 110 115 111 116 == Changelog == 117 118 = 4.1.1 = 119 * [Feature] Custom Table supports now vertical scrolling on to small devices. New CSS code will only be installed on clean install. 120 * [Change] Premium Extensions will automatically activate and don't need a separate activation anymore 121 * [Bugfix] Savebutton by the Global Mass Edit function working, if more than 1 page again 112 122 113 123 = 4.1.0 =
Note: See TracChangeset
for help on using the changeset viewer.