Plugin Directory

Changeset 1319823


Ignore:
Timestamp:
01/02/2016 08:52:43 AM (10 years ago)
Author:
neoxx
Message:

3.31

  • adapted trigger of error-messages on settings-page to work with copy & paste
  • fixed some typos
Location:
generalstats/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • generalstats/trunk/generalstats.php

    r1210896 r1319823  
    66Description: Counts the number of users, categories, posts, comments, pages, links, tags, link-categories, words in posts, words in comments and words in pages.
    77Author: Dr. Bernhard Riedl
    8 Version: 3.30
     8Version: 3.31
    99Author URI: http://www.bernhard-riedl.com/
    1010*/
     
    17301730
    17311731    function head_meta() {
    1732         echo("<meta name=\"".$this->get_nicename()."\" content=\"3.30\"/>\n");
     1732        echo("<meta name=\"".$this->get_nicename()."\" content=\"3.31\"/>\n");
    17331733    }
    17341734
     
    33023302    */
    33033303
    3304     jQuery('#<?php echo($this->get_prefix().'form_settings'); ?> input:text').keyup(function (e) {
     3304    jQuery('#<?php echo($this->get_prefix().'form_settings'); ?> input:text').on('input', function (e) {
    33053305        var submit_elements=jQuery('#<?php echo($this->get_prefix().'form_settings'); ?> :submit');
    33063306
     
    35263526            <li>You can activate an optional ".$this->get_section_link($this->options_page_sections, 'ajax_refresh', 'Ajax refresh for automatical updates')." of your stats-output.</li>
    35273527
    3528             <li>Don't forget to adopt the ".$this->get_section_link($this->options_page_sections, 'performance', 'caching and performance options')." to your server environment.</li>
     3528            <li>Don't forget to adapt the ".$this->get_section_link($this->options_page_sections, 'performance', 'caching and performance options')." to your server environment.</li>
    35293529
    35303530            <li>Before you publish the results you can use the ".$this->get_section_link($this->options_page_sections, 'preview', 'Preview Section').".</li>
     
    35513551            <li>You can add available stats or remove selected stats by moving them between the lists. This can be done either by using drag and drop or clicking on the double-arrow<div class="dashicons dashicons-leftright"></div>.</li>
    35523552
    3553             <li>To customize the descriptions of a stat click on it and edit the output name in the form which appears either on the right or below the lists. After clicking <strong>Change</strong> the selected stat's name will be adopted.</li>
     3553            <li>To customize the descriptions of a stat click on it and edit the output name in the form which appears either on the right or below the lists. After clicking <strong>Change</strong> the selected stat's name will be adapted.</li>
    35543554
    35553555            <li>To re-order the stats within a list either use drag and drop or click on the arrows<div class="dashicons dashicons-arrow-up"></div><div class="dashicons dashicons-arrow-down"></div>on the left side of the particular stat.</li>
     
    37643764
    37653765    function callback_settings_manual_selection() { ?>
    3766         In this section you can adopt your stats-selection 'by hand'. Changes you make here are only reflected in the <?php echo($this->get_section_link($this->options_page_sections, 'selection_gui', 'Selection GUI Section')); ?> after clicking on <strong>Save Changes</strong>.
     3766        In this section you can adapt your stats-selection 'by hand'. Changes you make here are only reflected in the <?php echo($this->get_section_link($this->options_page_sections, 'selection_gui', 'Selection GUI Section')); ?> after clicking on <strong>Save Changes</strong>.
    37673767    <?php }
    37683768
     
    38973897
    38983898    function setting_ajax_refresh_time($params=array()) {
    3899         $this->setting_textfield('ajax_refresh_time', 'options', 4, 'onkeyup="'.$this->get_prefix().'check_integer(jQuery(this), 1, 3600);"');
     3899        $this->setting_textfield('ajax_refresh_time', 'options', 4, 'oninput="'.$this->get_prefix().'check_integer(jQuery(this), 1, 3600);"');
    39003900    }
    39013901    function setting_renew_nonce($params=array()) {
     
    39223922
    39233923    function setting_cache_time($params=array()) {
    3924         $this->setting_textfield('cache_time', 'options', 5, 'onkeyup="'.$this->get_prefix().'check_integer(jQuery(this), 0, 86400);"');
     3924        $this->setting_textfield('cache_time', 'options', 5, 'oninput="'.$this->get_prefix().'check_integer(jQuery(this), 0, 86400);"');
    39253925    }
    39263926
     
    39303930
    39313931    function setting_rows_at_once($params=array()) {
    3932         $this->setting_textfield('rows_at_once', 'options', 5, 'onkeyup="'.$this->get_prefix().'check_integer(jQuery(this), 1, 10000);"');
     3932        $this->setting_textfield('rows_at_once', 'options', 5, 'oninput="'.$this->get_prefix().'check_integer(jQuery(this), 1, 10000);"');
    39333933    }
    39343934
  • generalstats/trunk/readme.txt

    r1290562 r1319823  
    230230== Changelog ==
    231231
     232= 3.31 =
     233
     234* adapted trigger of error-messages on settings-page to work with copy & paste
     235* fixed some typos
     236
    232237= 3.30 =
    233238
     
    248253
    249254* made settings-page retina/hdpi-display ready
    250 * adopted settings-page to be fully touch-display enabled
     255* adapted settings-page to be fully touch-display enabled
    251256* renamed settings-page sections
    252257* added "Auto-Submitted: auto-generated" to mail-headers
     
    279284* removed PHP closing tag before EOF
    280285* removed reference sign on function calls
    281 * adopted plugin-links to the new structure of wordpress.org
     286* adapted plugin-links to the new structure of wordpress.org
    282287* cleaned-up code
    283288
     
    288293= 2.34 =
    289294
    290 * adopted 'Defaults'-string to use WordPress internal i18n
     295* adapted 'Defaults'-string to use WordPress internal i18n
    291296* updated support section
    292297* updated project-information
     
    295300
    296301* changed handling of contextual help for WordPress 3.3
    297 * adopted handling of default settings
     302* adapted handling of default settings
    298303* external files are now registered in init-hook
    299304
Note: See TracChangeset for help on using the changeset viewer.