Move App to src
- Add `use Friendica\App;` wherever needed
This commit is contained in:
parent
56ee734b00
commit
20043914e6
197 changed files with 1321 additions and 996 deletions
|
@ -4,6 +4,8 @@
|
|||
* Theme settings
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
|
||||
function theme_content(App $a) {
|
||||
if (!local_user()) {
|
||||
return;
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* Maintainer: Tobias <https://diekershoff.homeunix.net/friendica/profile/tobias>
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
|
||||
function quattro_init(App $a) {
|
||||
$a->page['htmlhead'] .= '<script src="'.App::get_baseurl().'/view/theme/quattro/tinycon.min.js"></script>';
|
||||
$a->page['htmlhead'] .= '<script src="'.App::get_baseurl().'/view/theme/quattro/js/quattro.js"></script>';;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue