forked from Cavemanon/cavepaintings
ExtensionInfo conversions what have I done
This commit is contained in:
40
ext/bbcode/info.php
Normal file
40
ext/bbcode/info.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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>";
|
||||
}
|
@@ -1,29 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* Name: BBCode
|
||||
* Author: Shish <webmaster@shishnet.org>
|
||||
* Link: http://code.shishnet.org/shimmie2/
|
||||
* License: GPLv2
|
||||
* Description: Turns BBCode into HTML
|
||||
* Documentation:
|
||||
* Supported tags:
|
||||
* <ul>
|
||||
* <li>[img]url[/img]
|
||||
* <li>[url]<a href="http://code.shishnet.org/shimmie2/">http://code.shishnet.org/</a>[/url]
|
||||
* <li>[email]<a href="mailto:webmaster@shishnet.org">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>
|
||||
*/
|
||||
|
||||
|
||||
class BBCode extends FormatterExtension
|
||||
{
|
||||
|
Reference in New Issue
Block a user