Use different class for a and img
This commit is contained in:
parent
0d346ac1c1
commit
2620abc6a0
@ -45,7 +45,8 @@ For developers:
|
||||
- New: Can add a link on title field of added dictionnary.
|
||||
- New: Uniformize code.
|
||||
- New: Add option WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER and
|
||||
WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER
|
||||
WORKFLOW_DISABLE_CLASSIFY_BILLED_FROM_ORDER.
|
||||
- New: A module can add several css and js.
|
||||
- New: removed deprecated methods
|
||||
ldap::connect, formadmin::select_lang,
|
||||
html::select_tva
|
||||
|
||||
@ -2630,7 +2630,7 @@ class Product extends CommonObject
|
||||
if ($nbbyrow) $return.= '<td width="'.ceil(100/$nbbyrow).'%" class="photo">';
|
||||
|
||||
$return.= "\n";
|
||||
$return.= '<a href="'.DOL_URL_ROOT.'/viewimage.php?modulepart=product&entity='.$this->entity.'&file='.urlencode($pdir.$photo).'" class="photo" target="_blank">';
|
||||
$return.= '<a href="'.DOL_URL_ROOT.'/viewimage.php?modulepart=product&entity='.$this->entity.'&file='.urlencode($pdir.$photo).'" class="aphoto" target="_blank">';
|
||||
|
||||
// Show image (width height=$maxHeight)
|
||||
// Si fichier vignette disponible et image source trop grande, on utilise la vignette, sinon on utilise photo origine
|
||||
|
||||
Loading…
Reference in New Issue
Block a user