/[dolibarr]/dolibarr/htdocs/telephonie/ligne/stat.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/ligne/stat.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rodolphe, Fri Sep 2 09:56:24 2005 UTC revision 1.4 by rodolphe, Tue Sep 6 15:26:49 2005 UTC
# Line 136  if ($_GET["id"] or $_GET["numero"]) Line 136  if ($_GET["id"] or $_GET["numero"])
136            print '</td><td width="50%" valign="top" align="center">';            print '</td><td width="50%" valign="top" align="center">';
137    
138            $file = $img_root.$ligne->id."/graphgain.png";            $file = $img_root.$ligne->id."/graphgain.png";
139            if (file_exists($file))            if (file_exists($file) && $user->rights->telephonie->ligne->gain)
140              {              {
141                print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'" alt="CA Mensuel">';                print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'" alt="CA Mensuel">';
142              }              }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26