Plugin Directory

Changeset 1553910


Ignore:
Timestamp:
12/13/2016 06:50:11 PM (8 years ago)
Author:
Stefan M.
Message:

4.1.1

  • [Feature] Custom Table supports now vertical scrolling on to small devices. New CSS code will only be installed on clean install.
  • [Change] Premium Extensions will automatically activate and don't need a separate activation anymore
  • [Bugfix] Savebutton by the Global Mass Edit function working, if more than 1 page again
Location:
custom-tables/trunk
Files:
2 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • custom-tables/trunk/custom-tables.php

    r1515872 r1553910  
    44   Plugin URI: http://blog.murawski.ch/2011/08/custom-tables-wordpress-plugin/
    55   Description: Create Tables and show on a page/article. Usable for all kind of diffrent databases.
    6    Version: 4.1.0
     6   Version: 4.1.1
    77   Author: Web Updates KMU
    88   Author URI: http://wuk.ch/
     
    2727*/
    2828
    29 define('WCT_VERSION', '4.1.0'); 
     29define('WCT_VERSION', '4.1.1'); 
    3030define('WCT_DBVERSION', '2016101601');   
    3131
     
    219219           
    220220            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'));
    223223            }
    224224        }
     
    11541154                list($part1, $part2, $part3, $part4) = $parts;
    11551155                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; }
    11571157            }
    11581158        }
     
    11921192}
    11931193
     1194
     1195$setts = get_option('wuk_custom_tables');
     1196if ($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
    11941203if (function_exists('register_activation_hook')) { register_activation_hook(__FILE__, array('wuk_custom_tables', 'activate')); }
    11951204if (function_exists('register_uninstall_hook')) { register_uninstall_hook(__FILE__, array('wuk_custom_tables', 'uninstall')); }
  • custom-tables/trunk/pages/editcontent.php

    r1515872 r1553910  
    672672            echo $sortme;
    673673        }
    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
    678677       
    679678        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  
    11<?php
    2 
    3 $current = get_option('active_plugins');
    42
    53if (!isset($_GET['wcttab'])) { $_GET['wcttab'] = 'css_table'; }
     
    108}
    119
    12 if (in_array( 'custom-tables/custom-tables-widget.php', $current)) {
     10$setts = get_option('wuk_custom_tables');
     11if ($setts['form_serial'] != '') {
    1312    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>";
    1413               
     
    3029        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>
    3130        <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>
    3332        </table><input class=\"button-primary\" type=\"submit\" name=\"savecss\" value=\"". __('Save all Changes', 'wct') ."\" /></form>";
    3433        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  
    133133                    <input type=\"hidden\" id=\"Mx\"><input type=\"hidden\" id=\"My\"><input type=\"hidden\" id=\"hH\">";
    134134                }
    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\">";
    136136               
    137137                if ($table->headerline == '1') {
     
    647647                }
    648648
    649                 $out .= "</table>";
     649                $out .= "</table></div>";
    650650                $out = apply_filters('finished_table', $out);
    651651                $out .= "\n\n<div style=\"visibility:hidden;display:none;\">Custom Tables Plugin 05a1a29bdcae7b12229e651a9fd48b11</div>\n\n";
  • custom-tables/trunk/readme.txt

    r1515872 r1553910  
    9292User can create or modify the content of your tables if you enable this. There is no versioning system implemented.
    9393
     94= Update 4.1.1 Error / Missing Premium Feature Addons in Plugin List =
     95
     96The Addons which came prior to Version 4.1.1 separated, where integrated. They will automatically load themself after the premuim license will be entered.
     97If 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
    9499= Manual Deinstallation =
    95100
     
    110115
    111116== 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
    112122
    113123= 4.1.0 =
Note: See TracChangeset for help on using the changeset viewer.