Update box_task.php
This commit is contained in:
parent
a31d5cc193
commit
24e780cb0c
@ -52,10 +52,12 @@ class box_task extends ModeleBoxes
|
||||
$this->boxlabel="Tasks";
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Charge les donnees en memoire pour affichage ulterieur
|
||||
* \param $max Nombre maximum d'enregistrements a charger
|
||||
*/
|
||||
/**
|
||||
* Load data for box to show them later
|
||||
*
|
||||
* @param int $max Maximum number of records to load
|
||||
* @return void
|
||||
*/
|
||||
function loadBox($max=5)
|
||||
{
|
||||
global $conf, $user, $langs, $db;
|
||||
@ -126,6 +128,13 @@ class box_task extends ModeleBoxes
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to show box
|
||||
*
|
||||
* @param array $head Array with properties of box title
|
||||
* @param array $contents Array with properties of box lines
|
||||
* @return void
|
||||
*/
|
||||
function showBox($head = null, $contents = null)
|
||||
{
|
||||
parent::showBox($this->info_box_head, $this->info_box_contents);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user