40 lines
1.1 KiB
PHP
40 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Name: BBCode
|
|
* Author: Shish <webmaster@shishnet.org>
|
|
* Link: http://code.shishnet.org/shimmie2/
|
|
* License: GPLv2
|
|
* Description: Turns BBCode into HTML
|
|
*/
|
|
|
|
class BBCodeInfo extends ExtensionInfo
|
|
{
|
|
public const KEY = "bbcode";
|
|
|
|
public $key = self::KEY;
|
|
public $name = "BBCode";
|
|
public $url = self::SHIMMIE_URL;
|
|
public $authors = self::SHISH_AUTHOR;
|
|
public $license = self::LICENSE_GPLV2;
|
|
public $core = true;
|
|
public $description = "Turns BBCode into HTML";
|
|
public $documentation =
|
|
" Supported tags:
|
|
<ul>
|
|
<li>[img]url[/img]
|
|
<li>[url]<a href=\"{self::SHIMMIE_URL}\">http://code.shishnet.org/</a>[/url]
|
|
<li>[email]<a href=\"mailto:{self::SHISH_EMAIL}\">webmaster@shishnet.org</a>[/email]
|
|
<li>[b]<b>bold</b>[/b]
|
|
<li>[i]<i>italic</i>[/i]
|
|
<li>[u]<u>underline</u>[/u]
|
|
<li>[s]<s>strikethrough</s>[/s]
|
|
<li>[sup]<sup>superscript</sup>[/sup]
|
|
<li>[sub]<sub>subscript</sub>[/sub]
|
|
<li>[[wiki article]]
|
|
<li>[[wiki article|with some text]]
|
|
<li>[quote]text[/quote]
|
|
<li>[quote=Username]text[/quote]
|
|
<li>>>123 (link to image #123)
|
|
</ul>";
|
|
}
|