This commit is contained in:
Shish
2023-11-11 21:49:12 +00:00
parent 848797030e
commit fd1bb21f9d
235 changed files with 1551 additions and 1591 deletions

View File

@ -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 =

View File

@ -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");
}
}