Core update (better event handling)
This commit is contained in:
parent
73f9cf1844
commit
3bc9ae710b
2 changed files with 4 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
Yellow 0.4.10
|
||||
Yellow 0.4.11
|
||||
=============
|
||||
Yellow is for people who make websites. [Visit website](http://datenstrom.se/yellow).
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
// Yellow main class
|
||||
class Yellow
|
||||
{
|
||||
const Version = "0.4.10";
|
||||
const Version = "0.4.11";
|
||||
var $page; //current page
|
||||
var $pages; //pages from file system
|
||||
var $config; //configuration
|
||||
|
@ -443,11 +443,7 @@ class YellowPage
|
|||
$this->yellow->config->get("serverBase"), rtrim($this->yellow->config->get("webinterfaceLocation"), '/').$this->location));
|
||||
foreach($this->yellow->plugins->plugins as $key=>$value)
|
||||
{
|
||||
if(method_exists($value["obj"], "onParseMeta"))
|
||||
{
|
||||
$output = $value["obj"]->onParseMeta($this, $this->rawData);
|
||||
if(!is_null($output)) break;
|
||||
}
|
||||
if(method_exists($value["obj"], "onParseMeta")) $value["obj"]->onParseMeta($this, $this->rawData);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -468,7 +464,7 @@ class YellowPage
|
|||
if(method_exists($value["obj"], "onParseContent"))
|
||||
{
|
||||
$output = $value["obj"]->onParseContent($this, $this->parserData);
|
||||
if(!is_null($output)) { $this->parserData = $output; break; }
|
||||
if(!is_null($output)) { $this->parserData = $output; }
|
||||
}
|
||||
}
|
||||
if(!$this->isExisting("description"))
|
||||
|
|
Loading…
Add table
Reference in a new issue