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

@@ -10,7 +10,7 @@ class LinkImageInfo extends ExtensionInfo
public string $key = self::KEY;
public string $name = "Link to Post";
public array $authors = ["Artanis"=>"artanis.00@gmail.com"];
public array $authors = ["Artanis" => "artanis.00@gmail.com"];
public string $description = "Show various forms of link to each image, for copy & paste";
public string $license = self::LICENSE_GPLV2;
public ?string $documentation = "There is one option in Board Config: Text Link Format.

View File

@@ -62,7 +62,7 @@ class LinkImageTheme extends Themelet
protected function url(string $url, string $content, string $type): string
{
if (empty($content)) {
$content=$url;
$content = $url;
}
switch ($type) {
@@ -93,7 +93,7 @@ class LinkImageTheme extends Themelet
return $text;
}
protected function link_code(string $label, string $content, $id=null): string
protected function link_code(string $label, string $content, $id = null): string
{
return "
<tr>