From: rabuzarus <> Date: Tue, 10 May 2016 15:30:06 +0000 (+0200) Subject: theme-settings: Add a note for the background Image X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1f994aa17a861073009b6aa213893dfd48db4746;p=friendica.git theme-settings: Add a note for the background Image --- diff --git a/config.php b/config.php index 0fad473e48..cb4610e590 100644 --- a/config.php +++ b/config.php @@ -50,6 +50,8 @@ function frio_form(&$a, $arr) { } } + $background_image_help = "" . t("Note: "). "".t("Check image permissions if all users are allowed to visit the image"); + $t = get_markup_template('theme_settings.tpl'); $o .= replace_macros($t, array( @@ -62,7 +64,7 @@ function frio_form(&$a, $arr) { '$link_color' => array_key_exists("link_color", $disable) ? "" : array('frio_link_color', t('Link color'), $arr['link_color'], '', $link_colors), '$bgcolor' => array_key_exists("bgcolor", $disable) ? "" : array('frio_background_color', t('Set the background color'), $arr['bgcolor']), '$contentbg_transp' => array_key_exists("contentbg_transp", $disable) ? "" : array('frio_contentbg_transp', t("Content background transparency"), ($arr["contentbg_transp"] ? $arr["contentbg_transp"] : 0 )), - '$background_image' => array_key_exists("background_image", $disable ) ? "" : array('frio_background_image', t('Set the background image'), $arr['background_image']), + '$background_image' => array_key_exists("background_image", $disable ) ? "" : array('frio_background_image', t('Set the background image'), $arr['background_image'], $background_image_help), '$bg_image_options' => Image::get_options($arr), ));