mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
clean baseline
This commit is contained in:
parent
649051be6f
commit
4a300cfdf0
|
|
@ -2010,12 +2010,6 @@ parameters:
|
|||
count: 2
|
||||
path: ../../htdocs/admin/tools/ui/components/buttons.php
|
||||
|
||||
-
|
||||
message: '#^Parameter \#7 \$params of function dolGetButtonAction expects array\{confirm\?\: array\{url\?\: string, title\?\: string, content\?\: string, action\-btn\-label\?\: string, cancel\-btn\-label\?\: string, modal\?\: bool\}, attr\?\: array\<string, mixed\>, areDropdownButtons\?\: bool, backtopage\?\: string, lang\?\: string, enabled\?\: bool, perm\?\: int\<0, 1\>, label\?\: string, \.\.\.\}, array\{confirm\: true\} given\.$#'
|
||||
identifier: argument.type
|
||||
count: 2
|
||||
path: ../../htdocs/admin/tools/ui/components/test_buttons.php
|
||||
|
||||
-
|
||||
message: '#^Variable \$massactionbutton in empty\(\) always exists and is always falsy\.$#'
|
||||
identifier: empty.variable
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ llxHeader('', 'Documentation and examples for theme');
|
|||
$url = '#'.$id;
|
||||
$userRight = 1;
|
||||
$params = array(
|
||||
'confirm' => true
|
||||
'confirm' => [],
|
||||
);
|
||||
|
||||
print dolGetButtonAction($label, $html, $actionType, $url, $id, $userRight, $params);
|
||||
|
|
@ -172,7 +172,7 @@ llxHeader('', 'Documentation and examples for theme');
|
|||
'title' => 'Your title to display',
|
||||
'action-btn-label' => 'Your confirm label',
|
||||
'cancel-btn-label' => 'Your cancel label',
|
||||
'content' => 'Content to display with <strong>HTML</strong> compatible <ul><li>test 01</li><li>test 02</li><li>test 03</li></ul>'
|
||||
'content' => 'Content to display with <strong>HTML</strong> compatible <ul><li>test 01</li><li>test 02</li><li>test 03</li></ul>',
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -193,7 +193,7 @@ llxHeader('', 'Documentation and examples for theme');
|
|||
$url = '#'.$id;
|
||||
$userRight = 0;
|
||||
$params = array(
|
||||
'confirm' => true,
|
||||
'confirm' => [],
|
||||
);
|
||||
|
||||
print dolGetButtonAction($label, $html, $actionType, $url, $id, $userRight, $params);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user