#11140 fix clippy context
This commit is contained in:
parent
5fe0f7fb08
commit
995737fc77
pandora_console/include
|
@ -296,14 +296,24 @@ function clippy_context_help($help=null)
|
||||||
$code = str_replace('{clippy}', '#'.$id, $code);
|
$code = str_replace('{clippy}', '#'.$id, $code);
|
||||||
$code = str_replace('{clippy_obj}', 'intro_'.$id, $code);
|
$code = str_replace('{clippy_obj}', 'intro_'.$id, $code);
|
||||||
|
|
||||||
$return = $code.'<div id="'.$id.'" class="inline"><a onclick="show_'.$id.'();" href="javascript: void(0);" >'.html_print_image(
|
if ($help === 'module_unknow') {
|
||||||
'images/info-warning.svg',
|
$img = html_print_image(
|
||||||
true,
|
'images/info-warning.svg',
|
||||||
[
|
true,
|
||||||
'class' => 'main_menu_icon invert_filter',
|
[
|
||||||
'style' => 'margin-left: -25px;',
|
'class' => 'main_menu_icon invert_filter',
|
||||||
]
|
'style' => 'margin-left: -25px;',
|
||||||
).'</a></div>
|
]
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
$img = html_print_image(
|
||||||
|
'images/info-warning.svg',
|
||||||
|
true,
|
||||||
|
['class' => 'main_menu_icon invert_filter']
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$return = $code.'<div id="'.$id.'" class="inline"><a onclick="show_'.$id.'();" href="javascript: void(0);" >'.$img.'</a></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function show_'.$id.'() {
|
function show_'.$id.'() {
|
||||||
|
|
Loading…
Reference in New Issue