aboutsummaryrefslogtreecommitdiff
path: root/mod/logrotate/views/default/settings
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logrotate/views/default/settings')
-rw-r--r--mod/logrotate/views/default/settings/logrotate/edit.php48
1 files changed, 0 insertions, 48 deletions
diff --git a/mod/logrotate/views/default/settings/logrotate/edit.php b/mod/logrotate/views/default/settings/logrotate/edit.php
deleted file mode 100644
index 64c7bf743..000000000
--- a/mod/logrotate/views/default/settings/logrotate/edit.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-/**
- * Elgg log rotator plugin settings.
- *
- * @package ElggLogRotate
- */
-
-$period = $vars['entity']->period;
-$time = $vars['entity']->time;
-if (!$period) {
- $period = 'monthly';
-}
-
-if (!$time) {
- $time = 'monthly';
-}
-?>
-<div>
- <?php echo elgg_echo('logrotate:period'); ?>
-
- <?php
- echo elgg_view('input/dropdown', array(
- 'name' => 'params[period]',
- 'options_values' => array(
- 'weekly' => elgg_echo('logrotate:weekly'),
- 'monthly' => elgg_echo('logrotate:monthly'),
- 'yearly' => elgg_echo('logrotate:yearly'),
- ),
- 'value' => $period
- ));
- ?>
-
- <?php echo elgg_echo('</div><div>'); ?>
-
- <?php echo elgg_echo('logrotate:date'); ?>
-
- <?php
- echo elgg_view('input/pulldown', array(
- 'name' => 'params[time]',
- 'options_values' => array(
- 'weekly' => elgg_echo('logrotate:week'),
- 'monthly' => elgg_echo('logrotate:month'),
- 'yearly' => elgg_echo('logrotate:year'),
- ),
- 'value' => $time
- ));
- ?>
-</div>