1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 08:44:46 +02:00

Fix issue processwire/processwire-issues#1423 wording adjustment in FieldtypePage.module

This commit is contained in:
Ryan Cramer
2021-08-20 11:14:10 -04:00
parent 6c8d35f18d
commit c2db767863

View File

@@ -1435,7 +1435,7 @@ class FieldtypePage extends FieldtypeMulti implements Module, ConfigurableModule
$checkbox = $this->modules->get('InputfieldCheckbox');
$checkbox->attr('name', 'allowUnpub');
$checkbox->label = $this->_('Allow unpublished pages?');
$checkbox->description = $this->_('When checked, unpublished pages are allowed in the field value. Unpublished pages will not appear on the front-end, except to those with edit access.'); // Description for allowUnpub option
$checkbox->description = $this->_('When checked, unpublished pages will be selectable for input and allowed in the *unformatted* field value. They will still be excluded from the *formatted* field value either way.'); // Description for allowUnpub option
$checkbox->attr('value', 1);
$checkbox->attr('checked', $value ? 'checked' : '');
$checkbox->icon = 'eye-slash';