mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 00:06:55 +02:00
Bump version to 3.0.55 and a couple other minor adjustments
This commit is contained in:
@@ -1104,7 +1104,7 @@ class Page extends WireData implements \Countable, WireMatchable {
|
||||
*/
|
||||
public function getField($field) {
|
||||
$template = $this->template;
|
||||
$fieldgroup = $template ? $this->template->fieldgroup : null;
|
||||
$fieldgroup = $template ? $template->fieldgroup : null;
|
||||
if(!$fieldgroup) return null;
|
||||
if($this->outputFormatting && $fieldgroup->hasFieldContext($field)) {
|
||||
$value = $fieldgroup->getFieldContext($field);
|
||||
@@ -3826,5 +3826,23 @@ class Page extends WireData implements \Countable, WireMatchable {
|
||||
$result = $this->wire('pages')->$method($selector, $options);
|
||||
return $result;
|
||||
}
|
||||
|
||||
/*
|
||||
public function remove($key) {
|
||||
parent::remove($key);
|
||||
if(isset($this->data[$key])) {
|
||||
$a = parent::get('_statusCorruptedFields');
|
||||
if(!is_array($a)) $a = array();
|
||||
$k = array_search($key, $a);
|
||||
if($k !== false) {
|
||||
unset($a[$k]);
|
||||
if(empty($a)) $this->removeStatus(self::statusCorrupted);
|
||||
parent::set('_statusCorruptedFields', $a);
|
||||
}
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
@@ -45,7 +45,7 @@ class ProcessWire extends Wire {
|
||||
* Reversion revision number
|
||||
*
|
||||
*/
|
||||
const versionRevision = 54;
|
||||
const versionRevision = 55;
|
||||
|
||||
/**
|
||||
* Version suffix string (when applicable)
|
||||
|
@@ -22,6 +22,7 @@ $mainnav-width: 210px;
|
||||
$mainnav-width-wide: 230px; // bigger sidebar for wide screen?
|
||||
$masthead-height: 52px;
|
||||
|
||||
//noinspection CssInvalidPropertyValue
|
||||
@mixin word-wrap() {
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-word;
|
||||
@@ -1239,7 +1240,7 @@ body.pw-init .toggle-icon {
|
||||
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
#branding,{
|
||||
#branding {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
@@ -104,7 +104,7 @@
|
||||
|
||||
.ui-state-highlight,
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight,{
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
color: $highlight-color;
|
||||
background: $highlight-bg;
|
||||
border: none;
|
||||
@@ -188,6 +188,7 @@ p span.ui-state-error {
|
||||
.ui-dialog-titlebar-close {
|
||||
top: 50%;
|
||||
right: 15px;
|
||||
//noinspection CssInvalidPropertyValue
|
||||
background-color: none;
|
||||
color: $white;
|
||||
}
|
||||
|
@@ -444,7 +444,7 @@ class ProcessPageList extends Process implements ConfigurableModule {
|
||||
'label' => $this->_('Show All') . ' ' .
|
||||
'<small>' . sprintf($this->_('(%d pages)'), $items->getTotal()) . '</small>',
|
||||
'icon' => 'arrow-circle-right',
|
||||
'className' => 'separator',
|
||||
'className' => 'separator pw-pagelist-show-all',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -453,7 +453,7 @@ class ProcessPageList extends Process implements ConfigurableModule {
|
||||
'url' => $urls->admin . "page/add/?parent_id=$parentID",
|
||||
'label' => __('Add New', '/wire/templates-admin/default.php'),
|
||||
'icon' => 'plus-circle',
|
||||
'className' => 'separator',
|
||||
'className' => 'separator pw-nav-add',
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user