Ignore:
Timestamp:
Mar 4, 2007, 11:40:28 PM (17 years ago)
Author:
rub
Message:

Add on $conf value of the function get_recent_post_dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_notification.inc.php

    r1857 r1871  
    512512}
    513513
     514/*
     515  Call function get_recent_post_dates but
     516  the parameters to be passed to the function, as an indexed array.
     517 
     518*/
     519function get_recent_post_dates_array($args)
     520{
     521  return
     522    get_recent_post_dates
     523    (
     524      (empty($args['max_dates']) ? 3 : $args['max_dates']),
     525      (empty($args['max_elements']) ? 3 : $args['max_elements']),
     526      (empty($args['max_cats']) ? 3 : $args['max_cats'])
     527    );
     528}
     529
     530
    514531/**
    515532 * returns html description about recently published elements grouped by post date
Note: See TracChangeset for help on using the changeset viewer.