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;
@ -15,7 +15,7 @@ function theme_content(&$a){
return clean_form($a, $colorset, $user);
}
function theme_post(&$a){
function theme_post(App &$a){
if(! local_user())
return;
@ -25,14 +25,14 @@ function theme_post(&$a){
}
function theme_admin(&$a){
function theme_admin(App &$a){
$colorset = get_config( 'duepuntozero', 'colorset');
$user = false;
return clean_form($a, $colorset, $user);
}
function theme_admin_post(&$a){
function theme_admin_post(App &$a){
if (isset($_POST['duepuntozero-settings-submit'])){
set_config('duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
}