Fix: possibility to add an image with no link
Fix: use span
This commit is contained in:
parent
f565112bf8
commit
565fd81730
@ -379,7 +379,7 @@ function dol_fiche_head($links, $active='0', $title='', $notab=0, $picto='')
|
||||
}
|
||||
else
|
||||
{
|
||||
print $links[$i][1]."\n";
|
||||
print '<span class="tabspan">'.$links[$i][1].'</span>'."\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@ -878,6 +878,22 @@ td.tab {
|
||||
background: #dee7ec;
|
||||
}
|
||||
|
||||
span.tabspan {
|
||||
background: #dee7ec;
|
||||
color: #436976;
|
||||
font-family: <?php print $fontlist ?>;
|
||||
padding: 0px 6px;
|
||||
margin: 0em 0.2em;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
-moz-border-radius-topleft:6px;
|
||||
-moz-border-radius-topright:6px;
|
||||
|
||||
border-<?php print $right; ?>: 1px solid #555555;
|
||||
border-<?php print $left; ?>: 1px solid #D8D8D8;
|
||||
border-top: 1px solid #D8D8D8;
|
||||
}
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Boutons actions */
|
||||
/* ============================================================================== */
|
||||
|
||||
@ -863,6 +863,22 @@ td.tab {
|
||||
background: #dee7ec;
|
||||
}
|
||||
|
||||
span.tabspan {
|
||||
background: #dee7ec;
|
||||
color: #436976;
|
||||
font-family: <?php print $fontlist ?>;
|
||||
padding: 0px 6px;
|
||||
margin: 0em 0.2em;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
-moz-border-radius-topleft:6px;
|
||||
-moz-border-radius-topright:6px;
|
||||
|
||||
border-<?php print $right; ?>: 1px solid #555555;
|
||||
border-<?php print $left; ?>: 1px solid #D8D8D8;
|
||||
border-top: 1px solid #D8D8D8;
|
||||
}
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Boutons actions */
|
||||
/* ============================================================================== */
|
||||
|
||||
@ -716,6 +716,22 @@ a.tabimage {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
span.tabspan {
|
||||
background: #dee7ec;
|
||||
color: #436976;
|
||||
font-family: <?php print $fontlist ?>;
|
||||
padding: 0px 6px;
|
||||
margin: 0em 0.2em;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
-moz-border-radius-topleft:6px;
|
||||
-moz-border-radius-topright:6px;
|
||||
|
||||
border-<?php print $right; ?>: 1px solid #555555;
|
||||
border-<?php print $left; ?>: 1px solid #D8D8D8;
|
||||
border-top: 1px solid #D8D8D8;
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Boutons actions */
|
||||
|
||||
@ -723,6 +723,22 @@ a.tabimage {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
span.tabspan {
|
||||
background: #dee7ec;
|
||||
color: #436976;
|
||||
font-family: <?php print $fontlist ?>;
|
||||
padding: 0px 6px;
|
||||
margin: 0em 0.2em;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
-moz-border-radius-topleft:6px;
|
||||
-moz-border-radius-topright:6px;
|
||||
|
||||
border-<?php print $right; ?>: 1px solid #555555;
|
||||
border-<?php print $left; ?>: 1px solid #D8D8D8;
|
||||
border-top: 1px solid #D8D8D8;
|
||||
}
|
||||
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Boutons actions */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user