aboutsummaryrefslogtreecommitdiff
path: root/mod/garbagecollector/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/garbagecollector/views/default')
-rw-r--r--mod/garbagecollector/views/default/settings/garbagecollector/edit.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/mod/garbagecollector/views/default/settings/garbagecollector/edit.php b/mod/garbagecollector/views/default/settings/garbagecollector/edit.php
new file mode 100644
index 000000000..19ae3d245
--- /dev/null
+++ b/mod/garbagecollector/views/default/settings/garbagecollector/edit.php
@@ -0,0 +1,20 @@
+<?php
+ $period = $vars['entity']->period;
+ if (!$period) $period = 'monthly';
+
+?>
+<p>
+ <?php echo elgg_echo('garbagecollector:period'); ?>
+
+ <?php
+ echo elgg_view('input/pulldown', array(
+ 'internalname' => 'params[period]',
+ 'options_values' => array(
+ 'weekly' => elgg_echo('garbagecollector:weekly'),
+ 'monthly' => elgg_echo('garbagecollector:monthly'),
+ 'yearly' => elgg_echo('garbagecollector:yearly'),
+ ),
+ 'value' => $period
+ ));
+ ?>
+</p>