forked from Cavemanon/cavepaintings
ExtensionInfo conversions what have I done
This commit is contained in:
31
ext/home/info.php
Normal file
31
ext/home/info.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Name: Home Page
|
||||
* Author: Bzchan <bzchan@animemahou.com>
|
||||
* License: GPLv2
|
||||
* Visibility: admin
|
||||
* Description: Displays a front page with logo, search box and image count
|
||||
* Documentation:
|
||||
*
|
||||
*/
|
||||
|
||||
class HomeInfo extends ExtensionInfo
|
||||
{
|
||||
public const KEY = "home";
|
||||
|
||||
public $key = self::KEY;
|
||||
public $name = "Home Page";
|
||||
public $authors =["Bzchan"=>"bzchan@animemahou.com"];
|
||||
public $license = self::LICENSE_GPLV2;
|
||||
public $visibility = self::VISIBLE_ADMIN;
|
||||
public $description = "Displays a front page with logo, search box and image count";
|
||||
public $documentation =
|
||||
"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.";
|
||||
}
|
Reference in New Issue
Block a user