bumps
This commit is contained in:
@ -11,7 +11,7 @@ class RandomListInfo extends ExtensionInfo
|
||||
public string $key = self::KEY;
|
||||
public string $name = "Random List";
|
||||
public string $url = "http://www.drudexsoftware.com";
|
||||
public array $authors = ["Drudex Software"=>"support@drudexsoftware.com"];
|
||||
public array $authors = ["Drudex Software" => "support@drudexsoftware.com"];
|
||||
public string $license = self::LICENSE_GPLV2;
|
||||
public string $description = "Allows displaying a page with random posts";
|
||||
public ?string $documentation =
|
||||
|
@ -72,7 +72,7 @@ class RandomList extends Extension
|
||||
|
||||
public function onPageSubNavBuilding(PageSubNavBuildingEvent $event)
|
||||
{
|
||||
if ($event->parent=="posts") {
|
||||
if ($event->parent == "posts") {
|
||||
$event->add_nav_link("posts_random", new Link('random'), "Shuffle");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user