aboutsummaryrefslogtreecommitdiff
path: root/mod/garbagecollector/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-28 17:50:36 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-28 17:50:36 +0000
commit474144e6ba90c5cb5bb99ad03c81aba71ccfa8c1 (patch)
tree2b7a9a4c2227cf70033722e74b829810b1ab59d5 /mod/garbagecollector/views
parent91f01f82dd59405598324501c7932bffde234979 (diff)
downloadelgg-474144e6ba90c5cb5bb99ad03c81aba71ccfa8c1.tar.gz
elgg-474144e6ba90c5cb5bb99ad03c81aba71ccfa8c1.tar.bz2
Introducing the Elgg garbage collector.
git-svn-id: https://code.elgg.org/elgg/trunk@2336 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/garbagecollector/views')
-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>