Work on modulebuilder
This commit is contained in:
parent
bfa50b8d1d
commit
9e629bdb02
@ -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
|
||||||
|
|||||||
BIN
htdocs/modulebuilder/template/img/object_mytest.png
Normal file
BIN
htdocs/modulebuilder/template/img/object_mytest.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 360 B |
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user