We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b838dfa commit faa289bCopy full SHA for faa289b
1 file changed
templates/dropdown.class.tpl
@@ -1,14 +1,14 @@
1
<?php
2
3
class %%CLASSNAME%% extends CommonTreeDropdown {
4
- public $field_name = "%%FIELDNAME%%";
+ public $field_name = %%FIELDNAME%%;
5
public $can_be_translated = true;
6
7
static function getTypeName($nb=0) {
8
$item = [
9
"itemtype" => PluginFieldsField::getType(),
10
- "id" => "%%FIELDID%%",
11
- "label" => "%%LABEL%%"
+ "id" => %%FIELDID%%,
+ "label" => %%LABEL%%
12
];
13
$label = PluginFieldsLabelTranslation::getLabelFor($item);
14
return $label;
0 commit comments