changed to this:
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
4dce3d8224
commit
fb817b18ad
12 changed files with 24 additions and 24 deletions
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue