dolibarr 20.0.0
index.php File Reference

Dolibarr home page. More...

Go to the source code of this file.

Functions

 showWeather ($totallate, $text, $options, $morecss='')
 Show weather logo.
 
 getWeatherStatus ($totallate)
 get weather status for conf 'MAIN_METEO_LEVELx'
 

Detailed Description

Dolibarr home page.

Definition in file index.php.

Function Documentation

◆ getWeatherStatus()

getWeatherStatus ( $totallate)

get weather status for conf 'MAIN_METEO_LEVELx'

Parameters
int$totallateNb of element late
Returns
stdClass Return img tag of weather

Definition at line 837 of file index.php.

References getDolGlobalString().

Referenced by showWeather().

◆ showWeather()

showWeather ( $totallate,
$text,
$options,
$morecss = '' )

Show weather logo.

Logo to show depends on $totallate and values for conf 'MAIN_METEO_LEVELx'

Parameters
int$totallateNb of element late
string$textText to show on logo
string$optionsMore parameters on img tag
string$morecssMore CSS
Returns
string Return img tag of weather

Definition at line 822 of file index.php.

References getWeatherStatus(), and img_weather().