Fix: Pb sécurité avec wrapper. Le script showgraph.php fait double emploi avec viewimage.php.
This commit is contained in:
parent
730078f437
commit
4a2a74ddc3
@ -83,12 +83,12 @@ if ($db->query($sql))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $db->error() . ' ' . $sql;
|
dolibarr_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</td><td valign="top" width="50%">'."\n";
|
print '</td><td valign="top" width="50%">'."\n";
|
||||||
|
|
||||||
print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph=ca/ca.mensuel.png" alt="CA Mensuel"><br /><br />';
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=ca/ca.mensuel.png" alt="CA Mensuel"><br /><br />';
|
||||||
|
|
||||||
print "\n</td></tr>\n";
|
print "\n</td></tr>\n";
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -32,13 +32,13 @@ print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
|||||||
|
|
||||||
print '<tr><td width="50%" valign="top">';
|
print '<tr><td width="50%" valign="top">';
|
||||||
|
|
||||||
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/commercials/clients.hebdomadaire.png" alt="Nouveaux clients par semaines" title="Nouveaux clients par semaine"><br /><br />'."\n";
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=commercials/clients.hebdomadaire.png" alt="Nouveaux clients par semaines" title="Nouveaux clients par semaine"><br /><br />'."\n";
|
||||||
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
print '</td><td valign="top" width="50%" rowspan="3">';
|
print '</td><td valign="top" width="50%" rowspan="3">';
|
||||||
|
|
||||||
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/lignes/commandes.mensuels.png" alt="Commandes de ligne par mois" title="Lignes Actives"><br /><br />'."\n";
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=lignes/commandes.mensuels.png" alt="Commandes de ligne par mois" title="Lignes Actives"><br /><br />'."\n";
|
||||||
|
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user