|
|
@ -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']); |
|
|
|