mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Replace deprecated $a->page with DI::page()
This commit is contained in:
parent
07269ebb69
commit
2ca621a92a
16 changed files with 33 additions and 31 deletions
|
@ -119,7 +119,7 @@ function show_button(Friendica\App $a, &$b) {
|
|||
$css_file = 'addon/smileybutton/view/default.css';
|
||||
$css_url = DI::baseUrl()->get().'/'.$css_file;
|
||||
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.$css_url.'" media="all" />'."\r\n";
|
||||
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.$css_url.'" media="all" />'."\r\n";
|
||||
|
||||
|
||||
//Get the correct image for the theme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue