(Each project requires you to login separately)

contactlist

Changeset 228

Show
Ignore:
Timestamp:
11/05/08 07:52:26 (2 months ago)
Author:
quan
Message:

decreasing the next birthdays shown in a block to 14 days only. 60 days seemed to be too much

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ContactList/pnblocks/nextbirthdays.php

    r203 r228  
    2727    return array('module'         => 'ContactList', 
    2828                 'text_type'      => 'NextBirthdays', 
    29                  'text_type_long' => 'Show next birthdays of next 60 days of buddy list', 
     29                 'text_type_long' => 'Show next birthdays of next 14 days of buddy list', 
    3030                 'allow_multiple' => true, 
    3131                 'form_content'   => false, 
     
    7272    if (!(count($buddies)>0)) return false; 
    7373    foreach ($buddies as $buddy) { 
    74         if (($buddy['daystonextbirthday'] >= 0) && ($buddy['daystonextbirthday'] < 60)){ 
     74        if (($buddy['daystonextbirthday'] >= 0) && ($buddy['daystonextbirthday'] < 14)){ 
    7575            $res[] = $buddy; 
    7676            $c++; 
 
 
Powered by Trac
Design by Arcsin