added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
51d352922a
commit
e24c3a5b82
50 changed files with 224 additions and 164 deletions
|
@ -2,7 +2,9 @@
|
|||
require_once('view/theme/frio/php/Image.php');
|
||||
|
||||
function theme_content(App &$a) {
|
||||
if(!local_user()) { return;}
|
||||
if (!local_user()) {
|
||||
return;
|
||||
}
|
||||
$arr = array();
|
||||
|
||||
$arr["schema"] = get_pconfig(local_user(),'frio', 'schema');
|
||||
|
@ -18,7 +20,10 @@ function theme_content(App &$a) {
|
|||
}
|
||||
|
||||
function theme_post(App &$a) {
|
||||
if(!local_user()) { return;}
|
||||
if (!local_user()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isset($_POST['frio-settings-submit'])) {
|
||||
set_pconfig(local_user(), 'frio', 'schema', $_POST["frio_schema"]);
|
||||
set_pconfig(local_user(), 'frio', 'nav_bg', $_POST["frio_nav_bg"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue