fix travis error
This commit is contained in:
parent
24e780cb0c
commit
496379ced8
@ -24,7 +24,6 @@
|
||||
*/
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
|
||||
|
||||
|
||||
/**
|
||||
* Class to manage the box to show last invoices
|
||||
*/
|
||||
@ -159,4 +158,4 @@ class box_factures extends ModeleBoxes
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@ -18,15 +18,13 @@
|
||||
* \file htdocs/core/boxes/box_activite.php
|
||||
* \ingroup projet
|
||||
* \brief Module to show Projet activity of the current Year
|
||||
* \version $Id: box_projet.php,v 1.1 2012/09/11 Charles-François BENKE
|
||||
*/
|
||||
|
||||
include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
|
||||
|
||||
/**
|
||||
* Class to manage the box to show last projet
|
||||
*/
|
||||
class box_project extends ModeleBoxes
|
||||
class box_project extends ModeleBoxes
|
||||
{
|
||||
var $boxcode="project";
|
||||
var $boximg="object_projectpub";
|
||||
@ -51,11 +49,11 @@ class box_project extends ModeleBoxes
|
||||
}
|
||||
|
||||
/**
|
||||
* Load data for box to show them later
|
||||
*
|
||||
* @param int $max Maximum number of records to load
|
||||
* @return void
|
||||
*/
|
||||
* 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;
|
||||
|
||||
@ -27,9 +27,8 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php");
|
||||
/**
|
||||
* Class to manage the box to show last task
|
||||
*/
|
||||
class box_task extends ModeleBoxes
|
||||
class box_task extends ModeleBoxes
|
||||
{
|
||||
|
||||
var $boxcode="projet";
|
||||
var $boximg="object_projecttask";
|
||||
var $boxlabel;
|
||||
@ -41,9 +40,9 @@ class box_task extends ModeleBoxes
|
||||
var $info_box_contents = array();
|
||||
|
||||
/**
|
||||
* \brief Constructeur de la classe
|
||||
* @return void
|
||||
*/
|
||||
* \brief Constructeur de la classe
|
||||
* @return void
|
||||
*/
|
||||
function box_task()
|
||||
{
|
||||
global $langs;
|
||||
@ -51,13 +50,13 @@ class box_task extends ModeleBoxes
|
||||
$langs->load("projects");
|
||||
$this->boxlabel="Tasks";
|
||||
}
|
||||
|
||||
/**
|
||||
* Load data for box to show them later
|
||||
*
|
||||
* @param int $max Maximum number of records to load
|
||||
* @return void
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user