[various] Replace remaining $a->page by DI::page()
This commit is contained in:
parent
b351fabb4f
commit
d3717045f7
27 changed files with 394 additions and 393 deletions
|
@ -35,7 +35,7 @@ function showmore_addon_settings(&$a, &$s)
|
|||
|
||||
/* Add our stylesheet to the page so we can make our settings look nice */
|
||||
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.DI::baseUrl()->get().'/addon/showmore/showmore.css'.'" media="all"/>'."\r\n";
|
||||
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.DI::baseUrl()->get().'/addon/showmore/showmore.css'.'" media="all"/>'."\r\n";
|
||||
|
||||
$enable_checked = (intval(PConfig::get(local_user(), 'showmore', 'disable')) ? '' : ' checked="checked"');
|
||||
$chars = PConfig::get(local_user(), 'showmore', 'chars', 1100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue