Work on modulebuilder

This commit is contained in:
Laurent Destailleur 2017-06-02 20:01:25 +02:00
parent bfa50b8d1d
commit 9e629bdb02
4 changed files with 9 additions and 8 deletions

View File

@ -2556,6 +2556,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
$picto = $regs[1]; $picto = $regs[1];
$path = $regs[2]; // $path is $mymodule $path = $regs[2]; // $path is $mymodule
} }
// Clean parameters // Clean parameters
if (! preg_match('/(\.png|\.gif)$/i',$picto)) $picto .= '.png'; if (! preg_match('/(\.png|\.gif)$/i',$picto)) $picto .= '.png';
// If alt path are defined, define url where img file is, according to physical path // If alt path are defined, define url where img file is, according to physical path

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

View File

@ -2850,7 +2850,7 @@ span.dashboardlineko {
padding: 1px 2px 1px 2px; padding: 1px 2px 1px 2px;
border-radius: .25em; border-radius: .25em;
background-color: #af4705; background-color: #9f4705;
padding: 0px 5px 0px 5px; padding: 0px 5px 0px 5px;
top: -26px; top: -26px;
} }