dolibarr  16.0.5
Functions
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. More...
 
 getWeatherStatus ($totallate)
 get weather level $conf->global->MAIN_METEO_LEVELx More...
 

Detailed Description

Dolibarr home page.

Definition in file index.php.

Function Documentation

◆ getWeatherStatus()

getWeatherStatus (   $totallate)

get weather level $conf->global->MAIN_METEO_LEVELx

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

Definition at line 814 of file index.php.

◆ showWeather()

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

Show weather logo.

Logo to show depends on $totallate and values for $conf->global->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 798 of file index.php.