period;
$time = $vars['entity']->time;
if (!$period) {
$period = 'monthly';
}
if (!$time) {
$time = 'monthly';
}
?>
'params[period]',
'options_values' => array(
'weekly' => elgg_echo('logrotate:weekly'),
'monthly' => elgg_echo('logrotate:monthly'),
'yearly' => elgg_echo('logrotate:yearly'),
),
'value' => $period
));
?>
'); ?>
'params[time]',
'options_values' => array(
'weekly' => elgg_echo('logrotate:week'),
'monthly' => elgg_echo('logrotate:month'),
'yearly' => elgg_echo('logrotate:year'),
),
'value' => $time
));
?>