This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/home/info.php

26 lines
957 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class HomeInfo extends ExtensionInfo
{
public const KEY = "home";
public string $key = self::KEY;
public string $name = "Home Page";
2023-11-11 21:49:12 +00:00
public array $authors = ["Bzchan" => "bzchan@animemahou.com"];
public string $license = self::LICENSE_GPLV2;
2022-10-28 00:45:35 +00:00
public ExtensionVisibility $visibility = ExtensionVisibility::ADMIN;
public string $description = "Displays a front page with logo, search box and post count";
public ?string $documentation =
2024-08-31 16:05:18 +00:00
"Once enabled, the page will show up at the URL \"home\", so if you want
this to be the front page of your site, you should go to \"Board Config\"
and set \"Front Page\" to \"home\".
<p>The images used for the numbers can be changed from the board config
page. If you want to use your own numbers, upload them into a new folder
in <code>/ext/home/counters</code>, and they'll become available
alongside the default choices.";
}