1
0
Fork 0

changed to this:

---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 10:59:06 +01:00
commit fb817b18ad
12 changed files with 24 additions and 24 deletions

View file

@ -5,7 +5,7 @@
function theme_content(&$a){
function theme_content(App &$a){
if(!local_user())
return;
@ -17,7 +17,7 @@ function theme_content(&$a){
return quattro_form($a,$align, $color, $tfs, $pfs);
}
function theme_post(&$a){
function theme_post(App &$a){
if(! local_user())
return;
@ -30,7 +30,7 @@ function theme_post(&$a){
}
function theme_admin(&$a){
function theme_admin(App &$a){
$align = get_config('quattro', 'align' );
$color = get_config('quattro', 'color' );
$tfs = get_config("quattro","tfs");
@ -39,7 +39,7 @@ function theme_admin(&$a){
return quattro_form($a,$align, $color, $tfs, $pfs);
}
function theme_admin_post(&$a){
function theme_admin_post(App &$a){
if (isset($_POST['quattro-settings-submit'])){
set_config('quattro', 'align', $_POST['quattro_align']);
set_config('quattro', 'color', $_POST['quattro_color']);

View file

@ -7,7 +7,7 @@
* Maintainer: Tobias <https://diekershoff.homeunix.net/friendica/profile/tobias>
*/
function quattro_init(&$a) {
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>';;
}