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
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
require_once('view/theme/frio/php/Image.php');
|
||||
|
||||
function theme_content(&$a) {
|
||||
function theme_content(App &$a) {
|
||||
if(!local_user()) { return;}
|
||||
$arr = array();
|
||||
|
||||
|
@ -17,7 +17,7 @@ function theme_content(&$a) {
|
|||
return frio_form($a, $arr);
|
||||
}
|
||||
|
||||
function theme_post(&$a) {
|
||||
function theme_post(App &$a) {
|
||||
if(!local_user()) { return;}
|
||||
if (isset($_POST['frio-settings-submit'])) {
|
||||
set_pconfig(local_user(), 'frio', 'schema', $_POST["frio_schema"]);
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @todo Check if this is really needed.
|
||||
*/
|
||||
function load_page(&$a) {
|
||||
function load_page(App &$a) {
|
||||
if(isset($_GET["mode"]) AND ($_GET["mode"] == "minimal")) {
|
||||
require "view/theme/frio/minimal.php";
|
||||
} elseif((isset($_GET["mode"]) AND ($_GET["mode"] == "none"))) {
|
||||
|
|
|
@ -11,7 +11,7 @@ $frio = "view/theme/frio";
|
|||
|
||||
global $frio;
|
||||
|
||||
function frio_init(&$a) {
|
||||
function frio_init(App &$a) {
|
||||
|
||||
// disable the events module link in the profile tab
|
||||
$a->theme_events_in_profile = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue