Ajout onglet relevé

This commit is contained in:
Rodolphe Quiedeville 2005-07-24 12:15:28 +00:00
parent bfc923b0c7
commit 0079fff1d5
3 changed files with 23 additions and 5 deletions

View File

@ -135,6 +135,10 @@ else
$head[$h][1] = "Graph"; $head[$h][1] = "Graph";
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/energie/releve.php?id='.$compteur->id;
$head[$h][1] = "Relevés";
$h++;
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id; $head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
$head[$h][1] = "Groupe"; $head[$h][1] = "Groupe";
$h++; $h++;

View File

@ -81,7 +81,16 @@ else
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_graph.php?id='.$compteur->id; $head[$h][0] = DOL_URL_ROOT.'/energie/compteur_graph.php?id='.$compteur->id;
$head[$h][1] = "Graph"; $head[$h][1] = "Graph";
$a = 1; $a = $h;
$h++;
$head[$h][0] = DOL_URL_ROOT.'/energie/releve.php?id='.$compteur->id;
$head[$h][1] = "Relevés";
$h++;
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
$head[$h][1] = "Groupe";
$h++;
dolibarr_fiche_head($head, $a, $soc->nom); dolibarr_fiche_head($head, $a, $soc->nom);
@ -97,10 +106,12 @@ else
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr><td align="center">'; print '<tr><td align="center" colspan="2">';
$file = "day.".$compteur->id.".png"; $file = "day.".$compteur->id.".png";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">'; print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
print '</td><td align="center">'; print '</td></tr>';
print '<tr><td align="center" colspan="2">';
$file = "week.".$compteur->id.".png"; $file = "week.".$compteur->id.".png";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">'; print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
print '</td></tr>'; print '</td></tr>';

View File

@ -61,11 +61,14 @@ if ($_GET["id"] > 0)
$head[$h][1] = "Graph"; $head[$h][1] = "Graph";
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/energie/releve.php?id='.$compteur->id;
$head[$h][1] = "Relevés";
$h++;
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id; $head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
$head[$h][1] = "Groupe"; $head[$h][1] = "Groupe";
$a = $h;
$h++; $h++;
$a = 2;
dolibarr_fiche_head($head, $a, $soc->nom); dolibarr_fiche_head($head, $a, $soc->nom);