Fix: grip and close for title must differ from grip and close used for
other styles.
@ -166,8 +166,8 @@ class ModeleBoxes // Can't be abtract as it is instanciated to build "empty"
|
|||||||
{
|
{
|
||||||
print '</td><td class="nocellnopadd boxclose nowrap">';
|
print '</td><td class="nocellnopadd boxclose nowrap">';
|
||||||
// The image must have the class 'boxhandle' beause it's value used in DOM draggable objects to define the area used to catch the full object
|
// The image must have the class 'boxhandle' beause it's value used in DOM draggable objects to define the area used to catch the full object
|
||||||
print img_picto($langs->trans("MoveBox",$this->box_id),'grip','class="boxhandle hideonsmartphone" style="cursor:move;"');
|
print img_picto($langs->trans("MoveBox",$this->box_id),'grip_title','class="boxhandle hideonsmartphone" style="cursor:move;"');
|
||||||
print img_picto($langs->trans("Close",$this->box_id),'close','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"');
|
print img_picto($langs->trans("Close",$this->box_id),'close_title','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"');
|
||||||
$label=$head['text'];
|
$label=$head['text'];
|
||||||
if (! empty($head['graph'])) $label.=' ('.$langs->trans("Graph").')';
|
if (! empty($head['graph'])) $label.=' ('.$langs->trans("Graph").')';
|
||||||
print '<input type="hidden" id="boxlabelentry'.$this->box_id.'" value="'.dol_escape_htmltag($label).'">';
|
print '<input type="hidden" id="boxlabelentry'.$this->box_id.'" value="'.dol_escape_htmltag($label).'">';
|
||||||
@ -242,7 +242,7 @@ class ModeleBoxes // Can't be abtract as it is instanciated to build "empty"
|
|||||||
else print $text2withnotags; // show text with html cleaning
|
else print $text2withnotags; // show text with html cleaning
|
||||||
|
|
||||||
if (! empty($textnoformat)) print "\n".$textnoformat."\n";
|
if (! empty($textnoformat)) print "\n".$textnoformat."\n";
|
||||||
|
|
||||||
print "</td>";
|
print "</td>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
htdocs/theme/amarok/img/close_title.png
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
htdocs/theme/amarok/img/grip_title.png
Normal file
|
After Width: | Height: | Size: 140 B |
BIN
htdocs/theme/auguria/img/close_title.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
htdocs/theme/auguria/img/grip_title.png
Normal file
|
After Width: | Height: | Size: 177 B |
BIN
htdocs/theme/bureau2crea/img/close_title.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
htdocs/theme/bureau2crea/img/grip_title.png
Normal file
|
After Width: | Height: | Size: 177 B |
BIN
htdocs/theme/cameleo/img/close_title.png
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
htdocs/theme/cameleo/img/grip_title.png
Normal file
|
After Width: | Height: | Size: 140 B |
BIN
htdocs/theme/eldy/img/close_title.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
htdocs/theme/eldy/img/grip_title.png
Normal file
|
After Width: | Height: | Size: 177 B |