Removed notices in the frio theme (#5610)
* Removed notices in the frio theme * And fixed notices in the notifications * And some more in frio * Null is the default value * And some small notice in the probing removed * Added note * Clarified note * And a removed notice in OStatus
This commit is contained in:
parent
576aea124c
commit
1283b99c6f
6 changed files with 32 additions and 23 deletions
|
@ -15,14 +15,14 @@ function theme_post(App $a)
|
|||
}
|
||||
|
||||
if (isset($_POST['frio-settings-submit'])) {
|
||||
PConfig::set(local_user(), 'frio', 'scheme', $_POST['frio_scheme']);
|
||||
PConfig::set(local_user(), 'frio', 'nav_bg', $_POST['frio_nav_bg']);
|
||||
PConfig::set(local_user(), 'frio', 'nav_icon_color', $_POST['frio_nav_icon_color']);
|
||||
PConfig::set(local_user(), 'frio', 'link_color', $_POST['frio_link_color']);
|
||||
PConfig::set(local_user(), 'frio', 'background_color', $_POST['frio_background_color']);
|
||||
PConfig::set(local_user(), 'frio', 'contentbg_transp', $_POST['frio_contentbg_transp']);
|
||||
PConfig::set(local_user(), 'frio', 'background_image', $_POST['frio_background_image']);
|
||||
PConfig::set(local_user(), 'frio', 'bg_image_option', $_POST['frio_bg_image_option']);
|
||||
PConfig::set(local_user(), 'frio', 'scheme', defaults($_POST, 'frio_scheme'));
|
||||
PConfig::set(local_user(), 'frio', 'nav_bg', defaults($_POST, 'frio_nav_bg'));
|
||||
PConfig::set(local_user(), 'frio', 'nav_icon_color', defaults($_POST, 'frio_nav_icon_color'));
|
||||
PConfig::set(local_user(), 'frio', 'link_color', defaults($_POST, 'frio_link_color'));
|
||||
PConfig::set(local_user(), 'frio', 'background_color', defaults($_POST, 'frio_background_color'));
|
||||
PConfig::set(local_user(), 'frio', 'contentbg_transp', defaults($_POST, 'frio_contentbg_transp'));
|
||||
PConfig::set(local_user(), 'frio', 'background_image', defaults($_POST, 'frio_background_image'));
|
||||
PConfig::set(local_user(), 'frio', 'bg_image_option', defaults($_POST, 'frio_bg_image_option'));
|
||||
PConfig::set(local_user(), 'frio', 'css_modified', time());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue