show selected cachetime in admin panel

pull/281/head
Tobias Diekershoff 2015-07-12 08:52:29 +02:00
parent cf06804bc8
commit 7b1c6557f3
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ function curweather_plugin_admin (&$a, &$o) {
if(! is_site_admin())
return;
$appid = get_config('curweather','appid');
$cachetime = get_config('curweather','cachetime');
$t = get_markup_template("admin.tpl", "addon/curweather/" );
$o = replace_macros ($t, array(
'$submit' => t('Save Settings'),