forked from friendica/friendica-addons
show selected cachetime in admin panel
This commit is contained in:
parent
cf06804bc8
commit
7b1c6557f3
|
@ -198,6 +198,7 @@ function curweather_plugin_admin (&$a, &$o) {
|
||||||
if(! is_site_admin())
|
if(! is_site_admin())
|
||||||
return;
|
return;
|
||||||
$appid = get_config('curweather','appid');
|
$appid = get_config('curweather','appid');
|
||||||
|
$cachetime = get_config('curweather','cachetime');
|
||||||
$t = get_markup_template("admin.tpl", "addon/curweather/" );
|
$t = get_markup_template("admin.tpl", "addon/curweather/" );
|
||||||
$o = replace_macros ($t, array(
|
$o = replace_macros ($t, array(
|
||||||
'$submit' => t('Save Settings'),
|
'$submit' => t('Save Settings'),
|
||||||
|
|
Loading…
Reference in a new issue