aboutsummaryrefslogtreecommitdiff
path: root/mod/logrotate/views
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-09-17 11:43:08 -0400
committercash <cash.costello@gmail.com>2011-09-17 11:43:08 -0400
commit2fb0c67f7a90f7f6d3f6f4e628225f85452f6191 (patch)
tree212039ce8d39480ebec31b67cef0cabdaafd6076 /mod/logrotate/views
parentc6b831196f6d6e144c0a4a7d3a4289a133e5b4ce (diff)
downloadelgg-2fb0c67f7a90f7f6d3f6f4e628225f85452f6191.tar.gz
elgg-2fb0c67f7a90f7f6d3f6f4e628225f85452f6191.tar.bz2
Fixes #3824 fixed deprecation warnings for plugin settings and usersettings
Diffstat (limited to 'mod/logrotate/views')
-rw-r--r--mod/logrotate/views/default/plugins/logrotate/settings.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/mod/logrotate/views/default/plugins/logrotate/settings.php b/mod/logrotate/views/default/plugins/logrotate/settings.php
index 64c7bf743..d9c4032fe 100644
--- a/mod/logrotate/views/default/plugins/logrotate/settings.php
+++ b/mod/logrotate/views/default/plugins/logrotate/settings.php
@@ -16,9 +16,9 @@ if (!$time) {
}
?>
<div>
- <?php echo elgg_echo('logrotate:period'); ?>
-
<?php
+
+ echo elgg_echo('logrotate:period') . ' ';
echo elgg_view('input/dropdown', array(
'name' => 'params[period]',
'options_values' => array(
@@ -29,14 +29,13 @@ if (!$time) {
'value' => $period
));
?>
-
- <?php echo elgg_echo('</div><div>'); ?>
-
- <?php echo elgg_echo('logrotate:date'); ?>
-
+</div>
+<div>
<?php
- echo elgg_view('input/pulldown', array(
- 'name' => 'params[time]',
+
+ echo elgg_echo('logrotate:delete') . ' ';
+ echo elgg_view('input/dropdown', array(
+ 'name' => 'params[delete]',
'options_values' => array(
'weekly' => elgg_echo('logrotate:week'),
'monthly' => elgg_echo('logrotate:month'),