/[dolibarr]/dolibarr/htdocs/telephonie/distributeurs/pre.inc.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/distributeurs/pre.inc.php

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

revision 1.3 by rodolphe, Tue Jun 21 12:33:06 2005 UTC revision 1.4 by rodolphe, Thu Aug 11 13:48:10 2005 UTC
# Line 82  function llxHeader($head = "", $title="" Line 82  function llxHeader($head = "", $title=""
82        while ($i < $num)        while ($i < $num)
83          {          {
84            $row = $db->fetch_row($resql);            $row = $db->fetch_row($resql);
85    
86              $texte = $row[0];
87    
88              if (strlen($texte) > 15)
89                {
90                  $texte = substr($texte,0,12)."...";
91                }
92                        
93            $menu->add_submenu(DOL_URL_ROOT.'/telephonie/distributeurs/distributeur.php?id='.$row[1], $row[0]);            $menu->add_submenu(DOL_URL_ROOT.'/telephonie/distributeurs/distributeur.php?id='.$row[1], $texte);
94    
95            $i++;            $i++;
96          }          }

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