diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-27 19:47:24 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-27 19:47:24 +0000 |
commit | 2af513f0ad0e6b692e95bf9f0ec1ba9dc4501ed0 (patch) | |
tree | e9a4bbf267eb39b558784a95933060a960ad7121 /mod/logrotate/views/default | |
parent | 312cab981f0b8dc8bb7e03d19460884b8d673aff (diff) | |
download | elgg-2af513f0ad0e6b692e95bf9f0ec1ba9dc4501ed0.tar.gz elgg-2af513f0ad0e6b692e95bf9f0ec1ba9dc4501ed0.tar.bz2 |
Fixes #3253. Merged in Shashank's patch.
git-svn-id: http://code.elgg.org/elgg/trunk@9033 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/logrotate/views/default')
-rw-r--r-- | mod/logrotate/views/default/settings/logrotate/edit.php | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/mod/logrotate/views/default/settings/logrotate/edit.php b/mod/logrotate/views/default/settings/logrotate/edit.php index c73bec52c..206051780 100644 --- a/mod/logrotate/views/default/settings/logrotate/edit.php +++ b/mod/logrotate/views/default/settings/logrotate/edit.php @@ -6,10 +6,14 @@ */ $period = $vars['entity']->period; +$time = $vars['entity']->time; if (!$period) { $period = 'monthly'; } - + +if (!$time) { + $time = 'monthly'; +} ?> <p> <?php echo elgg_echo('logrotate:period'); ?> @@ -25,4 +29,20 @@ if (!$period) { 'value' => $period )); ?> + + <?php echo elgg_echo('<br>'); ?> + + <?php echo elgg_echo('logrotate:date'); ?> + + <?php + echo elgg_view('input/pulldown', array( + 'internalname' => 'params[time]', + 'options_values' => array( + 'weekly' => elgg_echo('logrotate:week'), + 'monthly' => elgg_echo('logrotate:month'), + 'yearly' => elgg_echo('logrotate:year'), + ), + 'value' => $time + )); + ?> </p> |