show selected cachetime in admin panel

This commit is contained in:
Tobias Diekershoff 2015-07-12 08:52:29 +02:00
parent cf06804bc8
commit 7b1c6557f3

View File

@ -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'),