dolibarr 21.0.0-alpha
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 836 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 821 of file index.php.

References getWeatherStatus(), and img_weather().