Skip to content

Commit

Permalink
Merge pull request #2105 from frederic34/patch-11
Browse files Browse the repository at this point in the history
Fix 1733 Homepage boxes close button translation error
  • Loading branch information
eldy committed Nov 27, 2014
2 parents 8a8f9aa + 90b582b commit 8d33a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/boxes/modules_boxes.php
Expand Up @@ -228,7 +228,7 @@ function showBox($head, $contents)
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
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_title','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"');
print img_picto($langs->trans("Close2",$this->box_id),'close_title','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"');
$label=$head['text'];
if (! empty($head['graph'])) $label.=' ('.$langs->trans("Graph").')';
print '<input type="hidden" id="boxlabelentry'.$this->box_id.'" value="'.dol_escape_htmltag($label).'">';
Expand Down

0 comments on commit 8d33a69

Please sign in to comment.