Fix: Pb scurit avec wrapper. Le script showgraph.php fait double emploi avec viewimage.php.

This commit is contained in:
Laurent Destailleur 2005-02-09 21:48:27 +00:00
parent 81ab5e937a
commit feabfa0ef5
7 changed files with 13 additions and 13 deletions

View File

@ -93,7 +93,7 @@ else
print $db->error() . ' ' . $sql;
}
//print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph=ca/gain_moyen_par_client.png" alt="Gain moyen par client"><br /><br />';
//print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=ca/gain_moyen_par_client.png" alt="Gain moyen par client"><br /><br />';
print '</td></tr>';
print '</table>';

View File

@ -97,11 +97,11 @@ if ($_GET["commid"])
print '</td><td valign="top" width="70%">';
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/commercials/'.$comm->id.'/clients.hebdomadaire.png" alt="Commandes de lignes par semaine" title="Lignes Actives"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=commercials/'.$comm->id.'/clients.hebdomadaire.png" alt="Commandes de lignes par semaine" title="Lignes Actives"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/commercials/'.$comm->id.'/lignes.commandes.hebdomadaire.png" alt="Commandes de lignes par semaine" title="Lignes Actives"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=commercials/'.$comm->id.'/lignes.commandes.hebdomadaire.png" alt="Commandes de lignes par semaine" title="Lignes Actives"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/commercials/'.$comm->id.'/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=commercials/'.$comm->id.'/lignes.commandes.mensuels.png" alt="Commandes de ligne par mois" title="Lignes Actives"><br /><br />'."\n";

View File

@ -59,7 +59,7 @@ if ($_GET["commid"])
print '<tr><td valign="top">';
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/commercials/'.$comm->id.'/ca.mensuel.png" alt="Chiffre d\'affaire mensuel" title="Chiffre d\'affaire mensuel"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=commercials/'.$comm->id.'/ca.mensuel.png" alt="Chiffre d\'affaire mensuel" title="Chiffre d\'affaire mensuel"><br /><br />'."\n";
print '</td></tr>';
print '</table>';

View File

@ -92,9 +92,9 @@ print '</td>';
print '</td><td valign="top" width="70%">';
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/lignes/commandes.hebdomadaire.png" alt="Commandes de ligne par semaines" title="Lignes Actives"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=lignes/commandes.hebdomadaire.png" alt="Commandes de ligne par semaines" title="Lignes Actives"><br /><br />'."\n";
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>';

View File

@ -68,11 +68,11 @@ print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'."\
print '<tr><td width="50%" valign="top">';
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/communications/heure_appel_nb.png" alt="Heure appel"><br /><br />';
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/heure_appel_nb.png" alt="Heure appel"><br /><br />';
print '</td><td valign="top" width="50%">';
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/communications/joursemaine_nb.png" alt="Jour de la semaine"><br /><br />';
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/joursemaine_nb.png" alt="Jour de la semaine"><br /><br />';
print '</td></tr>';

View File

@ -67,13 +67,13 @@ print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'."\
print '<tr><td width="50%" valign="top">'."\n";
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/communications/duree.png" alt="Duree Moyenne"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/duree.png" alt="Duree Moyenne"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/communications/dureemoyenne.png" alt="Duree Moyenne"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/dureemoyenne.png" alt="Duree Moyenne"><br /><br />'."\n";
print '</td><td valign="top" width="50%">'."\n";
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/communications/nbappelsparligne.png" alt="Duree Moyenne"><br /><br />';
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/nbappelsparligne.png" alt="Duree Moyenne"><br /><br />';
print '</td></tr>';

View File

@ -47,7 +47,7 @@ print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
print '<tr><td valign="top">';
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/lignes/lignes.actives.png" alt="Lignes Actives" title="Lignes Actives"><br /><br />'."\n";
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=lignes/lignes.actives.png" alt="Lignes Actives" title="Lignes Actives"><br /><br />'."\n";
/*
*