1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Update admin_ui.php

This commit is contained in:
Gábor
2016-11-03 08:53:23 +01:00
committed by GitHub
parent a0b7811af9
commit 83301cef11

View File

@@ -4475,8 +4475,8 @@ class e_admin_ui extends e_admin_controller_ui
{ {
$this->getTreeModel()->setMessages(); $this->getTreeModel()->setMessages();
// FIXME lan // FIXME lan
if($delcount) e107::getMessage()->addSuccess($tp->lanVars('[x] record(s) successfully deleted.', $delcount, true)); if($delcount) e107::getMessage()->addSuccess($tp->lanVars(RL_LAN_085, $delcount, true));
if($nfcount) e107::getMessage()->addError($tp->lanVars('[x] records not found and not deleted.', $nfcount,true)); if($nfcount) e107::getMessage()->addError($tp->lanVars(RL_LAN_086, $nfcount,true));
} }
//$this->redirect(); //$this->redirect();
@@ -6052,7 +6052,7 @@ class e_admin_form_ui extends e_form
".$this->text('searchquery', $current_query[0], 50, $input_options)." ".$this->text('searchquery', $current_query[0], 50, $input_options)."
<i class='fa fa-search searchquery form-control-feedback form-control-feedback-left'></i> <i class='fa fa-search searchquery form-control-feedback form-control-feedback-left'></i>
<span> <span>
".$this->select_open('filter_options', array('class' => 'form-control e-tip tbox select filter', 'id' => false, 'title'=>'Filter the results below'))." ".$this->select_open('filter_options', array('class' => 'form-control e-tip tbox select filter', 'id' => false, 'title'=>RL_LAN_088))."
".$this->option(LAN_FILTER_LABEL_DISPLAYALL, '')." ".$this->option(LAN_FILTER_LABEL_DISPLAYALL, '')."
".$this->option(LAN_FILTER_LABEL_CLEAR, '___reset___')." ".$this->option(LAN_FILTER_LABEL_CLEAR, '___reset___')."
".$this->renderBatchFilter('filter', $current_query[1])." ".$this->renderBatchFilter('filter', $current_query[1])."
@@ -6471,11 +6471,11 @@ class e_admin_form_ui extends e_form
//TODO today, yesterday, this-month, last-month . //TODO today, yesterday, this-month, last-month .
$dateFilters = array ( $dateFilters = array (
'hour' => "Past Hour", 'hour' => RL_LAN_127,
"day" => "Past 24 hours", "day" => RL_LAN_128,
"week" => "Past Week", "week" => RL_LAN_129,
"month" => "Past Month", "month" => RL_LAN_130,
"year" => "Past Year" "year" => RL_LAN_131
); );
foreach($dateFilters as $k => $name) foreach($dateFilters as $k => $name)