Changeset 635


Ignore:
Timestamp:
Sep 26, 2018 10:02:58 PM (6 years ago)
Author:
anonymous
Message:

Minor tweaks

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/PageNumbers.inc.php

    r502 r635  
    4545    public $first_item;        // The counter for the first item on this page (zero index).
    4646    public $last_item;         // The counter for the last item on this page (zero index).
    47     public $max_num_links = 9; // The max number of links to show on page (odd numbers look best).
     47    public $max_num_links = 5; // The max number of links to show on page (odd numbers look best).
    4848    protected $_num_links;        // The number of links to show on page.
    49     protected $_per_page = 25;    // Items per page.
     49    protected $_per_page = 50;    // Items per page.
    5050
    5151    // Flags to ensure all necessary values have been set before calling calculate().
  • trunk/lib/SortOrder.inc.php

    r502 r635  
    6262        $images_path = $app->getParam('images_path') ? $app->getParam('images_path') : '/admin/_widgets';
    6363        $this->asc_widget = sprintf('<img src="%s/sort_ascending.gif" alt="%s" width="11" height="7" border="0" />', $images_path, _("Ascending"));
    64         $this->desc_widget = sprintf('<img src="%s/sort_descending.gif" alt="%s" width="11" height="7" border="0" />', $images_path, _("Ascending"));
     64        $this->desc_widget = sprintf('<img src="%s/sort_descending.gif" alt="%s" width="11" height="7" border="0" />', $images_path, _("Descending"));
    6565
    6666        // Setup prefs object.
  • trunk/lib/Validator.inc.php

    r601 r635  
    319319    * @param   string   $file  Filename to log (usually __FILE__)
    320320    * @param   int      $line  Line number to log (usually __LINE__)
    321     * @return  const           One of the constant values: Validate::EMAIL_SUCCESS|Validate::EMAIL_REGEX_FAIL|Validate::EMAIL_LENGTH_FAIL|Validate::EMAIL_MX_FAIL
     321    * @return  const           One of the constant values: Validator::EMAIL_SUCCESS|Validator::EMAIL_REGEX_FAIL|Validator::EMAIL_LENGTH_FAIL|Validator::EMAIL_MX_FAIL
    322322    * @author  Quinn Comendant <quinn@strangecode.com>
    323323    */
     
    441441    * http://en.wikipedia.org/wiki/Luhn_algorithm
    442442    *
    443     * @param  string  $val   The input data to validate..
     443    * @param  string  $val   The input data to validate.
    444444    * @param  string  $cc_num      Card number to verify.
    445445    * @param  string  $cc_type     Optional, card type to do specific checks.
Note: See TracChangeset for help on using the changeset viewer.