diff --git a/blockem/blockem.php b/blockem/blockem.php
index 6d93de1d..e44ac622 100644
--- a/blockem/blockem.php
+++ b/blockem/blockem.php
@@ -44,7 +44,7 @@ function blockem_addon_settings (App $a, &$s)
}
/* Add our stylesheet to the page so we can make our settings look nice */
- $a->page['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
$words = PConfig::get(local_user(), 'blockem', 'words');
@@ -165,7 +165,7 @@ function blockem_conversation_start(App $a, array &$b)
$a->data['blockem'] = explode(',', $words);
}
- $a->page['htmlhead'] .= <<< EOT
+ DI::page()['htmlhead'] .= <<< EOT
' . "\r\n";
- $a->page['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
- $a->page['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
}
$s .= '';
@@ -387,7 +387,7 @@ function jappixmini_settings(App $a, &$s)
$s .= '';
- $a->page['htmlhead'] .= "' . "\r\n";
- $a->page['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
- $a->page['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
$username = PConfig::get(local_user(), 'jappixmini', 'username');
$username = str_replace("'", "\\'", $username);
@@ -557,7 +557,7 @@ function jappixmini_script(App $a)
}
// add javascript to start Jappix Mini
- $a->page['htmlhead'] .= "' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
// for jappixmini_addon_set_client_secret
- $a->page['htmlhead'] .= '' . "\r\n";
+ DI::page()['htmlhead'] .= '' . "\r\n";
// save hash of password
$o = str_replace("