-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
|
||
namespace Shimmie2; | ||
|
||
use MicroHTML\HTMLElement; | ||
|
||
/** | ||
* Name: Danbooru Theme | ||
* Author: Bzchan <[email protected]> | ||
|
@@ -158,7 +160,7 @@ public function render() | |
EOD; | ||
} | ||
|
||
public function navlinks(Link $link, string $desc, bool $active): ?string | ||
public function navlinks(Link $link, HTMLElement|string $desc, bool $active): ?string | ||
{ | ||
$html = null; | ||
if ($active) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
|
||
namespace Shimmie2; | ||
|
||
use MicroHTML\HTMLElement; | ||
|
||
/** | ||
* Name: Danbooru 2 Theme | ||
* Author: Bzchan <[email protected]>, updated by Daniel Oaks <[email protected]> | ||
|
@@ -158,7 +160,7 @@ public function render() | |
EOD; | ||
} | ||
|
||
public function navlinks(Link $link, string $desc, bool $active): ?string | ||
public function navlinks(Link $link, HTMLElement|string $desc, bool $active): ?string | ||
{ | ||
$html = null; | ||
if ($active) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
|
||
namespace Shimmie2; | ||
|
||
use MicroHTML\HTMLElement; | ||
|
||
/** | ||
* Name: Lite Theme | ||
* Author: Zach Hall <[email protected]> | ||
|
@@ -129,7 +131,7 @@ public function block_to_html(Block $block, bool $hidable=false): string | |
return $html; | ||
} | ||
|
||
public function navlinks(Link $link, string $desc, bool $active): ?string | ||
public function navlinks(Link $link, HTMLElement|string $desc, bool $active): ?string | ||
{ | ||
$html = null; | ||
if ($active) { | ||
|