Ignore:
Timestamp:
04/19/11 15:06:32 (13 years ago)
Author:
eduardoalex
Message:

Ticket #1741 - Adição do dia da semana na visão diária

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/calendar/inc/class.uicalendar.inc.php

    r3914 r4074  
    17671767                        $now    = $GLOBALS['phpgw']->datetime->makegmttime(0, 0, 0, $this->bo->month, $this->bo->day, $this->bo->year); 
    17681768                        $now['raw'] += $GLOBALS['phpgw']->datetime->tz_offset; 
    1769  
     1769                         
     1770                        $week_days = array(lang('Sunday'), 
     1771                                                                lang('Monday'),  
     1772                                                                lang('Tuesday'), 
     1773                                                                lang('Wednesday'), 
     1774                                                                lang('Thrusday'),  
     1775                                                                lang('Friday'), 
     1776                                                                lang('Saturday')); 
     1777                         
     1778         
    17701779                        $p = $GLOBALS['phpgw']->template; 
    17711780                        $p->set_file( 
     
    17901799                                'small_calendar'        => $minical, 
    17911800                                'date'                          => $this->bo->long_date($now), 
     1801                                'day_of_week'           => $week_days[$now['dow']], 
    17921802                                'username'                      => $GLOBALS['phpgw']->common->grab_owner_name($this->bo->owner), 
    17931803                                'prev_day_link'         => $prev_day_link, 
Note: See TracChangeset for help on using the changeset viewer.