Use css "pictomodule" for picto of modules
This commit is contained in:
parent
931586269a
commit
9fd4f839ec
@ -659,8 +659,8 @@ if ($mode == 'common')
|
|||||||
//if (is_array($objMod->phpmin)) $alttext.=($alttext?' - ':'').'PHP >= '.join('.',$objMod->phpmin);
|
//if (is_array($objMod->phpmin)) $alttext.=($alttext?' - ':'').'PHP >= '.join('.',$objMod->phpmin);
|
||||||
if (! empty($objMod->picto))
|
if (! empty($objMod->picto))
|
||||||
{
|
{
|
||||||
if (preg_match('/^\//i', $objMod->picto)) print img_picto($alttext, $objMod->picto, ' width="14px"', 1);
|
if (preg_match('/^\//i', $objMod->picto)) print img_picto($alttext, $objMod->picto, 'class="valignmiddle pictomodule"', 1);
|
||||||
else print img_object($alttext, $objMod->picto, 'class="valignmiddle" width="14px"');
|
else print img_object($alttext, $objMod->picto, 'class="valignmiddle pictomodule"');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@ -338,7 +338,7 @@ if ($object->fetch($id) >= 0)
|
|||||||
|
|
||||||
print '<div class="tagtd">';
|
print '<div class="tagtd">';
|
||||||
if (empty($obj->picto)) $obj->picto='generic';
|
if (empty($obj->picto)) $obj->picto='generic';
|
||||||
print img_object($langs->trans("EmailingTargetSelector").': '.get_class($obj), $obj->picto);
|
print img_object($langs->trans("EmailingTargetSelector").': '.get_class($obj), $obj->picto, 'class="valignmiddle pictomodule"');
|
||||||
print ' ';
|
print ' ';
|
||||||
print $obj->getDesc();
|
print $obj->getDesc();
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|||||||
@ -1287,6 +1287,9 @@ div.nopadding {
|
|||||||
.pictowarning {
|
.pictowarning {
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
|
.pictomodule {
|
||||||
|
width: 14px;
|
||||||
|
}
|
||||||
.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
|
.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
|
||||||
.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
|
.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
|
||||||
.tagtdnote span.pictoedit {
|
.tagtdnote span.pictoedit {
|
||||||
|
|||||||
@ -1479,6 +1479,9 @@ table.noborder tr.liste_titre td {
|
|||||||
.pictowarning {
|
.pictowarning {
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
|
.pictomodule {
|
||||||
|
width: 14px;
|
||||||
|
}
|
||||||
.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
|
.fiche .arearef img.pictoedit, .fiche .arearef span.pictoedit,
|
||||||
.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
|
.fiche .fichecenter img.pictoedit, .fiche .fichecenter span.pictoedit,
|
||||||
.tagtdnote span.pictoedit {
|
.tagtdnote span.pictoedit {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user