Updated core, new page status
This commit is contained in:
parent
874007ddbe
commit
9b719d5c01
1 changed files with 3 additions and 1 deletions
|
@ -447,7 +447,9 @@ class YellowPage {
|
|||
if (!$this->isExisting("titleContent")) $this->set("titleContent", $this->get("title"));
|
||||
if (!$this->isExisting("titleNavigation")) $this->set("titleNavigation", $this->get("title"));
|
||||
if (!$this->isExisting("titleHeader")) $this->set("titleHeader", $titleHeader);
|
||||
if ($this->get("status")=="hidden") $this->available = false;
|
||||
if ($this->get("status")=="unlisted") $this->visible = false;
|
||||
if ($this->get("status")=="shared") $this->available = false;
|
||||
if ($this->get("status")=="hidden") $this->available = false; //TODO: remove later, for backwards compatibility
|
||||
$this->set("pageRead", $this->yellow->lookup->normaliseUrl(
|
||||
$this->yellow->system->get("serverScheme"),
|
||||
$this->yellow->system->get("serverAddress"),
|
||||
|
|
Loading…
Add table
Reference in a new issue