mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
[various] Use __DIR__ constant in all Page registerStylesheet and registerFooterScript calls
This commit is contained in:
parent
5c0b20b21f
commit
f0522a998b
10 changed files with 14 additions and 26 deletions
|
@ -25,9 +25,8 @@ function superblock_addon_settings(&$a, &$s)
|
|||
return;
|
||||
}
|
||||
|
||||
/* Add our stylesheet to the page so we can make our settings look nice */
|
||||
DI::page()->registerStylesheet(__DIR__ . '/superblock.css', 'all');
|
||||
|
||||
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/addon/superblock/superblock.css' . '" media="all" />' . "\r\n";
|
||||
|
||||
$words = DI::pConfig()->get(local_user(), 'system', 'blocked');
|
||||
if (!$words) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue