Skip to content

Commit

Permalink
privacy
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Sep 9, 2024
1 parent 58890d5 commit d5f94ca
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions themes/danbooru/page.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
class DanbooruPage extends Page
{
public function body_html(): HTMLElement
protected function body_html(): HTMLElement
{
global $config;

Expand Down Expand Up @@ -127,7 +127,7 @@ public function body_html(): HTMLElement
);
}

public function navlinks(Link $link, HTMLElement|string $desc, bool $active): HTMLElement
private function navlinks(Link $link, HTMLElement|string $desc, bool $active): HTMLElement
{
return A([
"class" => $active ? "current-page" : "tab",
Expand Down
4 changes: 2 additions & 2 deletions themes/danbooru2/page.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

class Danbooru2Page extends Page
{
public function body_html(): HTMLElement
protected function body_html(): HTMLElement
{
global $config;

Expand Down Expand Up @@ -135,7 +135,7 @@ public function body_html(): HTMLElement
);
}

public function navlinks(Link $link, HTMLElement|string $desc, bool $active): HTMLElement
private function navlinks(Link $link, HTMLElement|string $desc, bool $active): HTMLElement
{
return A([
"class" => $active ? "current-page" : "tab",
Expand Down
2 changes: 1 addition & 1 deletion themes/futaba/page.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class FutabaPage extends Page
{
public function body_html(): HTMLElement
protected function body_html(): HTMLElement
{
$left_block_html = [];
$main_block_html = [];
Expand Down
4 changes: 2 additions & 2 deletions themes/lite/page.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

class LitePage extends Page
{
public function body_html(): HTMLElement
protected function body_html(): HTMLElement
{
global $config;

Expand Down Expand Up @@ -116,7 +116,7 @@ protected function block_html(Block $block, bool $hidable = false): HTMLElement
return $html;
}

public function navlinks(Link $link, HTMLElement|string $desc, bool $active): HTMLElement
private function navlinks(Link $link, HTMLElement|string $desc, bool $active): HTMLElement
{
return A([
"class" => $active ? "tab-selected" : "tab",
Expand Down
2 changes: 1 addition & 1 deletion themes/warm/page.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class WarmPage extends Page
{
public function body_html(): HTMLElement
protected function body_html(): HTMLElement
{
global $config;

Expand Down

0 comments on commit d5f94ca

Please sign in to comment.