From eeb8ef57c9bfa20fe5f7f4d28e06be5d44e6eddb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 30 Jul 2013 17:22:52 +0200 Subject: [PATCH] Fix: grip and close for title must differ from grip and close used for other styles. --- htdocs/core/boxes/modules_boxes.php | 6 +++--- htdocs/theme/amarok/img/close_title.png | Bin 0 -> 343 bytes htdocs/theme/amarok/img/grip_title.png | Bin 0 -> 140 bytes htdocs/theme/auguria/img/close_title.png | Bin 0 -> 353 bytes htdocs/theme/auguria/img/grip_title.png | Bin 0 -> 177 bytes htdocs/theme/bureau2crea/img/close_title.png | Bin 0 -> 353 bytes htdocs/theme/bureau2crea/img/grip_title.png | Bin 0 -> 177 bytes htdocs/theme/cameleo/img/close_title.png | Bin 0 -> 343 bytes htdocs/theme/cameleo/img/grip_title.png | Bin 0 -> 140 bytes htdocs/theme/eldy/img/close_title.png | Bin 0 -> 353 bytes htdocs/theme/eldy/img/grip_title.png | Bin 0 -> 177 bytes 11 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 htdocs/theme/amarok/img/close_title.png create mode 100644 htdocs/theme/amarok/img/grip_title.png create mode 100644 htdocs/theme/auguria/img/close_title.png create mode 100644 htdocs/theme/auguria/img/grip_title.png create mode 100644 htdocs/theme/bureau2crea/img/close_title.png create mode 100644 htdocs/theme/bureau2crea/img/grip_title.png create mode 100644 htdocs/theme/cameleo/img/close_title.png create mode 100644 htdocs/theme/cameleo/img/grip_title.png create mode 100644 htdocs/theme/eldy/img/close_title.png create mode 100644 htdocs/theme/eldy/img/grip_title.png diff --git a/htdocs/core/boxes/modules_boxes.php b/htdocs/core/boxes/modules_boxes.php index 2d83e26a870..b556e86c871 100644 --- a/htdocs/core/boxes/modules_boxes.php +++ b/htdocs/core/boxes/modules_boxes.php @@ -166,8 +166,8 @@ class ModeleBoxes // Can't be abtract as it is instanciated to build "empty" { print ''; // 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("Close",$this->box_id),'close','class="boxclose" rel="x:y" style="cursor:pointer;" id="imgclose'.$this->box_id.'"'); + 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.'"'); $label=$head['text']; if (! empty($head['graph'])) $label.=' ('.$langs->trans("Graph").')'; print ''; @@ -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 if (! empty($textnoformat)) print "\n".$textnoformat."\n"; - + print ""; } diff --git a/htdocs/theme/amarok/img/close_title.png b/htdocs/theme/amarok/img/close_title.png new file mode 100644 index 0000000000000000000000000000000000000000..aacac9fc4237261adb5bb78013b618a4cce24a7c GIT binary patch literal 343 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xa#^NA%Cx&(BWL^R}Y)RhkE)4%c zaKYZ?lYt_f1s;*b3=G`DAk4@xYmNj^kiEpy*OmPavmmcF^TQtIIH1sVPZ!4!jq_6{ z1!f&F;BlERv|QvrE0^uFn4?x4y1DMRvcB4q-ESKKCp@fDsc?_P1QEX`Td ze5Gtc`r_M$Df17l{WH5-JujR=duhqE-Ahh)GrxE^dumXc=Y3}*`GT^vI+&QF~b zn03T}$7TN9B_jV>xon@s9JLC27knpm^X_;3dpa)ot~?NNLM}5c;MLybv_I-9hHGDU zscg&r{o$9;xp&{yKQM@S?w+|cB)gV9?Sc2Dmnz2E4(#hBcUY{L9Vx%%td7@xS z52SZIzhLn5NS%bqtfdii_~&1mp`*z=;kh!`g=fue>K09Gsp(f3K6MJNpXaqCs=>^J zt!m=84zWgEDZv-ErtF`&Hl&xY-c$5me7m&6s;zx`{GQY8#S)g}ue@gExvM?N^58v{ s*t0pF`<@sVd_MlBy0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