Code comment
This commit is contained in:
parent
1e0a660d24
commit
c3970f1a52
@ -3090,7 +3090,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
|
|
||||||
//if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
|
//if (in_array($picto, array('switch_off', 'switch_on', 'off', 'on')))
|
||||||
if (empty($srconly) && in_array($pictowithoutext, array(
|
if (empty($srconly) && in_array($pictowithoutext, array(
|
||||||
'bank', 'close_title', 'delete', 'edit', 'filter', 'grip_title', 'off', 'on', 'play', 'playdisabled', 'printer', 'resize',
|
'bank', 'close_title', 'delete', 'edit', 'filter', 'grip', 'grip_title', 'off', 'on', 'play', 'playdisabled', 'printer', 'resize',
|
||||||
'switch_off', 'switch_on', 'unlink', 'uparrow')
|
'switch_off', 'switch_on', 'unlink', 'uparrow')
|
||||||
)) {
|
)) {
|
||||||
$fakey = $pictowithoutext;
|
$fakey = $pictowithoutext;
|
||||||
@ -3132,7 +3132,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
elseif ($pictowithoutext == 'filter') {
|
elseif ($pictowithoutext == 'filter') {
|
||||||
$fakey = 'fa-'.$pictowithoutext;
|
$fakey = 'fa-'.$pictowithoutext;
|
||||||
}
|
}
|
||||||
elseif ($pictowithoutext == 'grip_title') {
|
elseif ($pictowithoutext == 'grip_title' || $pictowithoutext == 'grip') {
|
||||||
$fakey = 'fa-arrows';
|
$fakey = 'fa-arrows';
|
||||||
}
|
}
|
||||||
elseif ($pictowithoutext == 'printer') {
|
elseif ($pictowithoutext == 'printer') {
|
||||||
|
|||||||
@ -29,7 +29,7 @@ if (empty($object) || ! is_object($object))
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- BEGIN PHP TEMPLATE AJAXROW.TPL.PHP - Script to enable drag and drop on tables -->
|
<!-- BEGIN PHP TEMPLATE AJAXROW.TPL.PHP - Script to enable drag and drop on lines of a table -->
|
||||||
<?php
|
<?php
|
||||||
$id=$object->id;
|
$id=$object->id;
|
||||||
$fk_element=$object->fk_element;
|
$fk_element=$object->fk_element;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user