1
0
Fork 0

added much more curly braces + space between "if" and brace

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 11:56:34 +01:00
commit e24c3a5b82
50 changed files with 224 additions and 164 deletions

View file

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