From 65158f8d0796108ef5534a91b6ee34bf55d29223 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 17 Sep 2011 11:27:12 -0400 Subject: Fixes #2990 updated the bundled plugins to use the new plugin/user settings structure --- .../default/plugins/garbagecollector/settings.php | 28 ++++++++++++++++++++++ .../default/settings/garbagecollector/edit.php | 28 ---------------------- 2 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 mod/garbagecollector/views/default/plugins/garbagecollector/settings.php delete mode 100644 mod/garbagecollector/views/default/settings/garbagecollector/edit.php (limited to 'mod/garbagecollector/views') diff --git a/mod/garbagecollector/views/default/plugins/garbagecollector/settings.php b/mod/garbagecollector/views/default/plugins/garbagecollector/settings.php new file mode 100644 index 000000000..3ade780f9 --- /dev/null +++ b/mod/garbagecollector/views/default/plugins/garbagecollector/settings.php @@ -0,0 +1,28 @@ +period; +if (!$period) { + $period = 'monthly'; +} + +?> +
+ + + 'params[period]', + 'options_values' => array( + 'weekly' => elgg_echo('garbagecollector:weekly'), + 'monthly' => elgg_echo('garbagecollector:monthly'), + 'yearly' => elgg_echo('garbagecollector:yearly'), + ), + 'value' => $period + )); + ?> +
diff --git a/mod/garbagecollector/views/default/settings/garbagecollector/edit.php b/mod/garbagecollector/views/default/settings/garbagecollector/edit.php deleted file mode 100644 index 3ade780f9..000000000 --- a/mod/garbagecollector/views/default/settings/garbagecollector/edit.php +++ /dev/null @@ -1,28 +0,0 @@ -period; -if (!$period) { - $period = 'monthly'; -} - -?> -
- - - 'params[period]', - 'options_values' => array( - 'weekly' => elgg_echo('garbagecollector:weekly'), - 'monthly' => elgg_echo('garbagecollector:monthly'), - 'yearly' => elgg_echo('garbagecollector:yearly'), - ), - 'value' => $period - )); - ?> -
-- cgit v1.2.3