/[dolibarr]/dolibarr/htdocs/includes/boxes/modules_boxes.php
ViewVC logotype

Diff of /dolibarr/htdocs/includes/boxes/modules_boxes.php

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

revision 1.14 by ccomb, Tue Nov 15 15:41:54 2005 UTC revision 1.15 by eldy, Sat Dec 3 04:05:41 2005 UTC
# Line 113  class ModeleBoxes Line 113  class ModeleBoxes
113                      {                      {
114                          $logo=eregi_replace("^object_","",$contents[$i][$j]['logo']);                          $logo=eregi_replace("^object_","",$contents[$i][$j]['logo']);
115                          print img_object($langs->trans("Show"),$logo);                          print img_object($langs->trans("Show"),$logo);
116                          print '</a></td><td '.$tdparam.'><a href="'.$contents[$i][$j]['url'].'"';                          if (isset($contents[$i][$j]['url'])) print '</a>';
117                          print ' title="'.$textewithnotags.'"';                          print '</td><td '.$tdparam.'>';
118                          //print ' alt="'.$textewithnotags.'"';      // Pas de alt sur un "<a href>"                          if (isset($contents[$i][$j]['url']))
119                          print isset($contents[$i][$j]['target'])?' target="'.$contents[$i][$j]['target'].'"':'';                          {
120                          print '>';                              print '<a href="'.$contents[$i][$j]['url'].'" title="'.$textewithnotags.'"';
121                                //print ' alt="'.$textewithnotags.'"';      // Pas de alt sur un "<a href>"
122                                print isset($contents[$i][$j]['target'])?' target="'.$contents[$i][$j]['target'].'"':'';
123                                print '>';
124                            }
125                      }                      }
126                      $maxlength=$this->MAXLENGTHBOX;                      $maxlength=$this->MAXLENGTHBOX;
127                      if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];                      if (isset($contents[$i][$j]['maxlength'])) $maxlength=$contents[$i][$j]['maxlength'];
# Line 131  class ModeleBoxes Line 135  class ModeleBoxes
135                          $texte2=substr($texte2,0,$maxlength)."...";                          $texte2=substr($texte2,0,$maxlength)."...";
136                      }                      }
137                      print $texte;                      print $texte;
138                      if ($contents[$i][$j]['url']) print '</a>';                      if (isset($contents[$i][$j]['url'])) print '</a>';
139                      print $texte2;                      print $texte2;
140                      print "</td>";                      print "</td>";
141                  }                  }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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