squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

day.php File Reference

Go to the source code of this file.

Namespaces

 plugins
 

Functions

if(! sqGetGlobalVar('year', $year, SQ_FORM)||! is_numeric($year)) if(! sqGetGlobalVar('month', $month, SQ_FORM)||! is_numeric($month)) if(! sqGetGlobalVar('day', $day, SQ_FORM)||! is_numeric($day)) day_header ()
 
 initialize_events ()
 
 display_events ()
 

Variables

const SM_PATH '../../'
 
if($month<=0) if($year<=0) if($day<=0) $prev_date = mktime(0, 0, 0, $month , $day - 1, $year)
 
 $next_date = mktime(0, 0, 0, $month , $day + 1, $year)
 
 $prev_day = date ('d',$prev_date)
 
 $prev_month = date ('m',$prev_date)
 
 $prev_year = date ('Y',$prev_date)
 
 $next_day = date ('d',$next_date)
 
 $next_month = date ('m',$next_date)
 
 $next_year = date ('Y',$next_date)
 
 $calself =basename($PHP_SELF)
 
 $daily_events = array()
 

Function Documentation

◆ day_header()

if (! sqGetGlobalVar( 'year', $year, SQ_FORM)||! is_numeric( $year)) if (! sqGetGlobalVar( 'month', $month, SQ_FORM)||! is_numeric( $month)) if (! sqGetGlobalVar( 'day', $day, SQ_FORM)||! is_numeric( $day)) day_header ( )

displays head of day calendar view

Returns
void @access private

Definition at line 42 of file day.php.

References $color, $next_date, $next_day, $next_month, $next_year, $prev_date, $prev_day, $prev_month, $prev_year, _(), date_intl(), and html_tag().

◆ display_events()

display_events ( )

main loop for displaying daily events

Returns
void @access private

Definition at line 94 of file day.php.

References $color, $daily_events, _(), date_intl(), and html_tag().

◆ initialize_events()

initialize_events ( )

events for specific day are inserted into "daily" array

Returns
void @access private

Definition at line 68 of file day.php.

References $calendardata, and $daily_events.

Variable Documentation

◆ $calself

$calself =basename($PHP_SELF)

Definition at line 168 of file day.php.

◆ $daily_events

$daily_events = array()

Definition at line 170 of file day.php.

Referenced by display_events(), and initialize_events().

◆ $next_date

$next_date = mktime(0, 0, 0, $month , $day + 1, $year)

Definition at line 160 of file day.php.

Referenced by day_header(), and startcalendar().

◆ $next_day

$next_day = date ('d',$next_date)

Definition at line 164 of file day.php.

Referenced by day_header().

◆ $next_month

$next_month = date ('m',$next_date)

Definition at line 165 of file day.php.

Referenced by day_header(), and startcalendar().

◆ $next_year

$next_year = date ('Y',$next_date)

Definition at line 166 of file day.php.

Referenced by day_header(), and startcalendar().

◆ $prev_date

if ( $month<=0) if ( $year<=0) if ( $day<=0) $prev_date = mktime(0, 0, 0, $month , $day - 1, $year)

Definition at line 159 of file day.php.

Referenced by day_header(), and startcalendar().

◆ $prev_day

$prev_day = date ('d',$prev_date)

Definition at line 161 of file day.php.

Referenced by day_header().

◆ $prev_month

$prev_month = date ('m',$prev_date)

Definition at line 162 of file day.php.

Referenced by day_header(), and startcalendar().

◆ $prev_year

$prev_year = date ('Y',$prev_date)

Definition at line 163 of file day.php.

Referenced by day_header(), and startcalendar().

◆ SM_PATH

const SM_PATH '../../'

@ignore

Definition at line 14 of file day.php.