Update Admin\Parser\BBCode page
This commit is contained in:
parent
ca12c38f2d
commit
426f3f3a14
1 changed files with 8 additions and 3 deletions
|
@ -559,7 +559,7 @@ class BBCode extends Parser
|
|||
$name,
|
||||
"{$name}_attr",
|
||||
['Other attr subhead', $tagStr, $name],
|
||||
__(['Allowed %s attr info', $name])
|
||||
['Allowed %s attr info', $name]
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -577,8 +577,13 @@ class BBCode extends Parser
|
|||
/**
|
||||
* Формирует данные для формы
|
||||
*/
|
||||
protected function formEditSub(/* mixed */ $data, string $name, string $class, /* string|array */ $legend, string $info): array
|
||||
{
|
||||
protected function formEditSub(
|
||||
/* mixed */ $data,
|
||||
string $name,
|
||||
string $class,
|
||||
/* string|array */ $legend,
|
||||
/* string|array */ $info
|
||||
): array {
|
||||
$yn = [1 => __('Yes'), 0 => __('No')];
|
||||
$fields = [];
|
||||
$other = '_attr' !== \substr($name, -5);
|
||||
|
|
Loading…
Add table
Reference in a new issue