diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-27 17:00:26 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-27 17:00:26 +0000 |
commit | 0af57b1b96d841c98496a29c8bdac11451e64971 (patch) | |
tree | 47b4c0c41ba6ff928cd55394bbc8590a26bd42aa /mod/logrotate/views/default/settings | |
parent | d33b1210925eb4077b582e0c17875103c09772c2 (diff) | |
download | elgg-0af57b1b96d841c98496a29c8bdac11451e64971.tar.gz elgg-0af57b1b96d841c98496a29c8bdac11451e64971.tar.bz2 |
Closes #215: Log rotation added.
git-svn-id: https://code.elgg.org/elgg/trunk@2318 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/logrotate/views/default/settings')
-rw-r--r-- | mod/logrotate/views/default/settings/logrotate/edit.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mod/logrotate/views/default/settings/logrotate/edit.php b/mod/logrotate/views/default/settings/logrotate/edit.php new file mode 100644 index 000000000..19b92c320 --- /dev/null +++ b/mod/logrotate/views/default/settings/logrotate/edit.php @@ -0,0 +1,20 @@ +<?php + $period = $vars['entity']->period; + if (!$period) $period = 'monthly'; + +?> +<p> + <?php echo elgg_echo('logrotate:period'); ?> + + <?php + echo elgg_view('input/pulldown', array( + 'internalname' => 'params[period]', + 'options_values' => array( + 'weekly' => elgg_echo('logrotate:weekly'), + 'monthly' => elgg_echo('logrotate:monthly'), + 'yearly' => elgg_echo('logrotate:yearly'), + ), + 'value' => $period + )); + ?> +</p> |