Changeset 590


Ignore:
Timestamp:
Mar 18, 2017 12:36:17 PM (7 years ago)
Author:
anonymous
Message:

Minor fixes. Increment version to 2.2.0-5.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/version.txt

    r550 r590  
    1 2.2.0-4
     12.2.0-5
  • trunk/js/Utilities.js

    r552 r590  
    2222
    2323/*
    24 * Emulates a sprintf function.
     24Emulates a sprintf function. Placeholders are {1}
{N}.
     25Some versions of this function were zero-indexed; this one is not.
    2526---------------------------------------------------------------------
    26 "{0} is dead, but {1} is alive! {0} {2}".format("ASP", "ASP.NET")
     27"{1} is dead, but {2} is alive! {1} {3}".format("ASP", "ASP.NET")
    2728
    2829outputs
    2930
    30 ASP is dead, but ASP.NET is alive! ASP {2}
     31ASP is dead, but ASP.NET is alive! ASP {3}
    3132---------------------------------------------------------------------
    3233*
  • trunk/lib/HTML.inc.php

    r534 r590  
    177177
    178178    /**
    179      * Prints option fields for a select form. Works only with enum or set
     179     * Get an array of option fields for a select form. Works only with enum or set
    180180     * data types in table columns.
    181181     *
     
    226226
    227227    /**
    228      * Prints a select menu containing the specified values and keys of a table.
     228     * Prints select menu options with the specified array of keys and values.
    229229     *
    230230     */
  • trunk/lib/Navigation.inc.php

    r534 r590  
    6060
    6161        // Define current_page_url here because _SERVER, not a static scalar, cannot be defined in the defaults above.
    62         // Using PHP_SELF for legacy compatability, but it might make sense to override this with REQUEST_URI.
     62        // Using PHP_SELF for legacy compatibility, but it might make sense to override this with REQUEST_URI.
    6363        // This could be overwritten by passed params.
    6464        $this->_params['current_page_url'] = $_SERVER['PHP_SELF'];
  • trunk/lib/SpellCheck.inc.php

    r503 r590  
    106106                pspell_config_personal($this->_pspell_cfg_handle, $this->getParam('personal_wordlist'));
    107107                $this->_use_personal_wordlist = true;
    108                 $app->logMsg(sprintf('Using personal wordlist: %s', $this->getParam('personal_wordlist')), LOG_DEBUG, __FILE__, __LINE__);
    109108            }
    110109        }
  • trunk/lib/Utilities.inc.php

    r580 r590  
    782782{
    783783    // Data is stored in static variable.
    784     static $args;
     784    static $args = array();
    785785
    786786    if (is_array($data)) {
Note: See TracChangeset for help on using the changeset viewer.