1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-23 14:56:51 +02:00

Various minor fixes

This commit is contained in:
Ryan Cramer
2022-03-11 13:27:31 -05:00
parent 989b94e532
commit d743606b70
3 changed files with 3 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ if(!defined("PROCESSWIRE_INSTALL")) die();
<!-- FOOTER -->
<footer id='pw-footer' class='uk-margin'>
<div class='pw-container uk-container uk-container-center'>
<p>ProcessWire 3.x &copy; 2021</p>
<p>ProcessWire 3.x &copy; 2022</p>
</div>
</footer>

View File

@@ -210,6 +210,7 @@ class SelectableOptionConfig extends Wire {
$f->label = $this->_('What options do you want pre-selected? (if any)');
$f->collapsed = Inputfield::collapsedBlank;
$f->description = sprintf($this->_('This field also serves as a preview of your selected input type (%s) and options.'), $inputfieldClass);
if(!$f instanceof InputfieldHasArrayValue) $f->addOption('', $this->_('None'));
foreach($options as $option) {
$f->addOption($option->id, $option->title);
}