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']; |
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 |
} |
} |