Doxygen
This commit is contained in:
parent
87ce3073d5
commit
9477257bfb
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2007-2008 Jérémie Ollivier <jeremie.o@laposte.net>
|
/* Copyright (C) 2007-2008 Jeremie Ollivier <jeremie.o@laposte.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -15,6 +15,14 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \file htdocs/cashdesk/affPied.php
|
||||||
|
* \ingroup cashdesk
|
||||||
|
* \brief Bottom of main page of point of sale module
|
||||||
|
* \version $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="pied">
|
<div class="pied">
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/includes/boxes/box_bookmarks.php
|
* \file htdocs/includes/boxes/box_bookmarks.php
|
||||||
* \ingroup bookmark
|
* \ingroup bookmark
|
||||||
* \brief Module de g<EFBFBD>n<EFBFBD>ration de l'affichage de la box bookmark
|
* \brief Module to generate box of bookmarks list
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
||||||
|
|||||||
@ -1,85 +0,0 @@
|
|||||||
<?php
|
|
||||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
|
||||||
|
|
||||||
class box_energie_graph extends ModeleBoxes {
|
|
||||||
|
|
||||||
var $boxcode="energie_graph";
|
|
||||||
var $boximg="object_energie";
|
|
||||||
var $boxlabel;
|
|
||||||
var $depends = array("energie"); // Box active si module energie actif
|
|
||||||
|
|
||||||
var $db;
|
|
||||||
var $param;
|
|
||||||
|
|
||||||
var $box_multiple = 1;
|
|
||||||
|
|
||||||
var $info_box_head = array();
|
|
||||||
var $info_box_contents = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Constructeur de la classe
|
|
||||||
*/
|
|
||||||
function box_energie_graph()
|
|
||||||
{
|
|
||||||
global $langs;
|
|
||||||
$langs->load("boxes");
|
|
||||||
|
|
||||||
$this->boxlabel=$langs->trans("EnergieGraph");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Charge les donn<EFBFBD>es en m<EFBFBD>moire pour affichage ult<EFBFBD>rieur
|
|
||||||
* \param $max Nombre maximum d'enregistrements <EFBFBD> charger
|
|
||||||
*/
|
|
||||||
function loadBox($max=5)
|
|
||||||
{
|
|
||||||
global $user, $langs, $db;
|
|
||||||
$langs->load("boxes");
|
|
||||||
|
|
||||||
$this->max=$max;
|
|
||||||
|
|
||||||
$text = '<a href="energie/">'.$langs->trans("Energie").'</a>';
|
|
||||||
|
|
||||||
$this->info_box_head = array('text' => $text,$max);
|
|
||||||
|
|
||||||
|
|
||||||
$file = "small-all.1.png";
|
|
||||||
$libelle = '<img border="0" src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
|
|
||||||
|
|
||||||
|
|
||||||
$this->info_box_contents[0][0] = array('td' => 'align="left" width="16"',
|
|
||||||
'logo' => $this->boximg,
|
|
||||||
'url' => DOL_URL_ROOT."/energie/compteur.php?id=".$objp->rowid);
|
|
||||||
$this->info_box_contents[0][1] = array('td' => 'align="left"',
|
|
||||||
'text' => $libelle,
|
|
||||||
'url' => DOL_URL_ROOT."/energie/compteur.php?id=".$objp->rowid);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function showBox()
|
|
||||||
{
|
|
||||||
parent::showBox($this->info_box_head, $this->info_box_contents);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
@ -1,101 +0,0 @@
|
|||||||
<?php
|
|
||||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
|
||||||
|
|
||||||
class box_energie_releve extends ModeleBoxes {
|
|
||||||
|
|
||||||
var $boxcode="energie";
|
|
||||||
var $boximg="object_energie";
|
|
||||||
var $boxlabel;
|
|
||||||
var $depends = array("energie");
|
|
||||||
|
|
||||||
var $db;
|
|
||||||
var $param;
|
|
||||||
|
|
||||||
var $info_box_head = array();
|
|
||||||
var $info_box_contents = array();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Constructeur de la classe
|
|
||||||
*/
|
|
||||||
function box_energie_releve()
|
|
||||||
{
|
|
||||||
global $langs;
|
|
||||||
$langs->load("boxes");
|
|
||||||
|
|
||||||
$this->boxlabel=$langs->trans("Energie");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Charge les donn<EFBFBD>es en m<EFBFBD>moire pour affichage ult<EFBFBD>rieur
|
|
||||||
* \param $max Nombre maximum d'enregistrements <EFBFBD> charger
|
|
||||||
*/
|
|
||||||
function loadBox($max=5)
|
|
||||||
{
|
|
||||||
global $user, $langs, $db;
|
|
||||||
$langs->load("boxes");
|
|
||||||
|
|
||||||
$this->max=$max;
|
|
||||||
|
|
||||||
$text = '<a href="energie/">'.$langs->trans("Energie").'</a>';
|
|
||||||
|
|
||||||
$this->info_box_head = array('text' => $text,$max);
|
|
||||||
|
|
||||||
|
|
||||||
$sql = "SELECT ec.libelle, ecr.valeur, ec.rowid";
|
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."energie_compteur_releve as ecr,";
|
|
||||||
$sql .= " ".MAIN_DB_PREFIX."energie_compteur as ec";
|
|
||||||
$sql .= " WHERE ecr.fk_compteur = ec.rowid";
|
|
||||||
$sql .= " ORDER BY ecr.date_releve DESC LIMIT 5";
|
|
||||||
$resql = $db->query($sql);
|
|
||||||
if ($resql)
|
|
||||||
{
|
|
||||||
$num = $db->num_rows($resql);
|
|
||||||
$i = 0;
|
|
||||||
$var=True;
|
|
||||||
while ($i < $num)
|
|
||||||
{
|
|
||||||
$objp = $db->fetch_object($resql);
|
|
||||||
|
|
||||||
$this->info_box_contents[$i][0] = array('td' => 'align="left" width="16"',
|
|
||||||
'logo' => $this->boximg,
|
|
||||||
'url' => DOL_URL_ROOT."/energie/compteur.php?id=".$objp->rowid);
|
|
||||||
|
|
||||||
$this->info_box_contents[$i][1] = array('td' => 'align="left"',
|
|
||||||
'text' => $objp->libelle,
|
|
||||||
'url' => DOL_URL_ROOT."/energie/compteur.php?id=".$objp->rowid);
|
|
||||||
|
|
||||||
$this->info_box_contents[$i][2] = array('td' => 'align="right"',
|
|
||||||
'text' => $objp->valeur);
|
|
||||||
|
|
||||||
|
|
||||||
$i++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function showBox()
|
|
||||||
{
|
|
||||||
parent::showBox($this->info_box_head, $this->info_box_contents);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
\file htdocs/includes/boxes/box_fournisseurs.php
|
\file htdocs/includes/boxes/box_fournisseurs.php
|
||||||
\ingroup fournisseurs
|
\ingroup fournisseurs
|
||||||
\brief Module de génération de l'affichage de la box fournisseurs
|
\brief Module to generate box of suppliers
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -52,8 +52,8 @@ class box_fournisseurs extends ModeleBoxes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Charge les données en mémoire pour affichage ultérieur
|
* \brief Charge les donn<EFBFBD>es en m<EFBFBD>moire pour affichage ult<EFBFBD>rieur
|
||||||
* \param $max Nombre maximum d'enregistrements à charger
|
* \param $max Nombre maximum d'enregistrements <EFBFBD> charger
|
||||||
*/
|
*/
|
||||||
function loadBox($max=5)
|
function loadBox($max=5)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
\file htdocs/includes/boxes/box_osc_client.php
|
\file htdocs/includes/boxes/box_osc_client.php
|
||||||
\ingroup osc
|
\ingroup osc
|
||||||
\brief Module de génération de l'affichage de la box osc client
|
\brief Module to generate box of shop customers
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -52,8 +52,8 @@ class box_osc_clients extends ModeleBoxes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Charge les données en mémoire pour affichage ultérieur
|
* \brief Charge les donn<EFBFBD>es en m<EFBFBD>moire pour affichage ult<EFBFBD>rieur
|
||||||
* \param $max Nombre maximum d'enregistrements à charger
|
* \param $max Nombre maximum d'enregistrements <EFBFBD> charger
|
||||||
*/
|
*/
|
||||||
function loadBox($max=5)
|
function loadBox($max=5)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,11 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/theme/eldy/graph-color.php
|
* \file htdocs/theme/auguria/graph-color.php
|
||||||
\brief Fichier de déclaration des couleurs pour les graphiques
|
* \brief File to declare colors to use to build graphics with theme Auguria
|
||||||
\ingroup core
|
* \ingroup core
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
||||||
$theme_bordercolor = array(235,235,224);
|
$theme_bordercolor = array(235,235,224);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,11 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/theme/eldy/graph-color.php
|
* \file htdocs/theme/eldy/graph-color.php
|
||||||
\brief Fichier de déclaration des couleurs pour les graphiques
|
* \brief File to declare colors to use to build graphics with theme Eldy
|
||||||
\ingroup core
|
* \ingroup core
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
||||||
$theme_bordercolor = array(235,235,224);
|
$theme_bordercolor = array(235,235,224);
|
||||||
|
|||||||
@ -18,11 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/theme/freelug/graph-color.php
|
* \file htdocs/theme/freelug/graph-color.php
|
||||||
\brief Fichier de declaration des couleurs pour les graphiques
|
* \brief File to declare colors to use to build graphics with theme Freelug
|
||||||
\ingroup core
|
* \ingroup core
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
||||||
$theme_bordercolor = array(235,235,224);
|
$theme_bordercolor = array(235,235,224);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,11 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/theme/yellow/graph-color.php
|
* \file htdocs/theme/yellow/graph-color.php
|
||||||
\brief Fichier de déclaration des couleurs pour les graphiques
|
* \brief File to declare colors to use to build graphics with theme Yellow
|
||||||
\ingroup core
|
* \ingroup core
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
||||||
$theme_bordercolor = array(235,235,224);
|
$theme_bordercolor = array(235,235,224);
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \file scripts/members/sync_members_dolibarr2ldap.php
|
* \file scripts/members/sync_members_dolibarr2ldap.php
|
||||||
* \ingroup ldap adherent
|
* \ingroup ldap member
|
||||||
* \brief Script de mise a jour des adherents dans LDAP depuis base Dolibarr
|
* \brief Script de mise a jour des adherents dans LDAP depuis base Dolibarr
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \file scripts/members/sync_members_ldap2dolibarr.php
|
* \file scripts/members/sync_members_ldap2dolibarr.php
|
||||||
* \ingroup ldap adherent
|
* \ingroup ldap member
|
||||||
* \brief Script de mise a jour des adherents dans Dolibarr depuis LDAP
|
* \brief Script de mise a jour des adherents dans Dolibarr depuis LDAP
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user