mirror of
https://github.com/processwire/processwire.git
synced 2025-08-22 14:23:05 +02:00
Bump version to 3.0.122 plus some other minor adjustments
This commit is contained in:
@@ -44,7 +44,7 @@ class ProcessWire extends Wire {
|
|||||||
* Reversion revision number
|
* Reversion revision number
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const versionRevision = 121;
|
const versionRevision = 122;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Version suffix string (when applicable)
|
* Version suffix string (when applicable)
|
||||||
|
@@ -90,7 +90,7 @@ class InputfieldCheckbox extends Inputfield {
|
|||||||
$attrs['value'] = $this->checkedValue;
|
$attrs['value'] = $this->checkedValue;
|
||||||
|
|
||||||
if($this->getSetting('entityEncodeLabel') !== false) {
|
if($this->getSetting('entityEncodeLabel') !== false) {
|
||||||
$label = $this->entityEncode($label);
|
$label = $this->entityEncode($label, Inputfield::textFormatBasic);
|
||||||
}
|
}
|
||||||
|
|
||||||
$out =
|
$out =
|
||||||
|
@@ -24,6 +24,14 @@ class InputfieldSubmit extends Inputfield {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Names of submit buttons created
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
protected static $submitNames = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional dropdown actions added to the button
|
* Additional dropdown actions added to the button
|
||||||
*
|
*
|
||||||
@@ -64,6 +72,11 @@ class InputfieldSubmit extends Inputfield {
|
|||||||
return parent::get($key);
|
return parent::get($key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setAttribute($key, $value) {
|
||||||
|
if($key === 'name') self::$submitNames[$value] = $value;
|
||||||
|
return parent::setAttribute($key, $value);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show another copy of this button in the header?
|
* Show another copy of this button in the header?
|
||||||
*
|
*
|
||||||
@@ -263,4 +276,14 @@ class InputfieldSubmit extends Inputfield {
|
|||||||
$this->addActionItem('link', $url, $label, $icon);
|
$this->addActionItem('link', $url, $label, $icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* #pw-internal
|
||||||
|
*
|
||||||
|
* @return array()
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
static public function getSubmitNames() {
|
||||||
|
return self::$submitNames;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -536,7 +536,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
|||||||
* Set a Lister session variable
|
* Set a Lister session variable
|
||||||
*
|
*
|
||||||
* @param string $key
|
* @param string $key
|
||||||
* @param string|int $value
|
* @param string|int|array $value
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function sessionSet($key, $value) {
|
public function sessionSet($key, $value) {
|
||||||
@@ -549,7 +549,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
|
|||||||
* Get a Lister session variable
|
* Get a Lister session variable
|
||||||
*
|
*
|
||||||
* @param string $key
|
* @param string $key
|
||||||
* @return string|int|null
|
* @return string|int|array|null
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function sessionGet($key) {
|
public function sessionGet($key) {
|
||||||
|
Reference in New Issue
Block a user