From e00a1f99086e7babd4e6272efec086d9953a121e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Thu, 3 Nov 2016 08:40:25 +0100 Subject: [PATCH 1/3] Update lan_admin_log.php Small corrections. Add pharses and lang codes. --- e107_languages/English/admin/lan_admin_log.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/e107_languages/English/admin/lan_admin_log.php b/e107_languages/English/admin/lan_admin_log.php index 4d88c6a95..105c5dff8 100644 --- a/e107_languages/English/admin/lan_admin_log.php +++ b/e107_languages/English/admin/lan_admin_log.php @@ -82,6 +82,10 @@ define("RL_LAN_081", "Mail bounces"); define("RL_LAN_082", "User bans"); define("RL_LAN_083", "Mail bounce resets"); define("RL_LAN_084", "Temporary accounts"); +define("RL_LAN_085", "[x] record(s) successfully deleted!"); +define("RL_LAN_086", "[x] records not found and not deleted!"); +define("RL_LAN_087", "Details"); +define("RL_LAN_088", "Filter the results below"); // Intentional gap define("RL_LAN_090", "Download ID"); define("RL_LAN_091", "Detailed timings"); @@ -122,5 +126,14 @@ define("RL_LAN_123", "User audit trail class"); define("RL_LAN_124", "User audit trail actions"); define("RL_LAN_125", "System Logs Maintenance"); define("RL_LAN_126", "Total [x] entries matching search condition"); +define("RL_LAN_127", "Past Hour"); +define("RL_LAN_128", "Past 24 hours"); +define("RL_LAN_129", "Past Week"); +define("RL_LAN_130", "Past Month"); +define("RL_LAN_131", "Past Year"); +define("RL_LAN_132", "Informative"); +define("RL_LAN_133", "Notice"); +define("RL_LAN_134", "Warning"); +define("RL_LAN_135", "Fatal"); // define("RL_LAN_JS_CONFIRM", "Are you sure?"); -?> \ No newline at end of file +?> From a0b7811af90699c4e28a52a28d66779dded6326d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Thu, 3 Nov 2016 08:47:48 +0100 Subject: [PATCH 2/3] Update admin_log.php --- e107_admin/admin_log.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/e107_admin/admin_log.php b/e107_admin/admin_log.php index d0a43dcd7..82a2321fa 100644 --- a/e107_admin/admin_log.php +++ b/e107_admin/admin_log.php @@ -162,7 +162,7 @@ class admin_log_ui extends e_admin_ui 'dblog_title' => array ( 'title' => LAN_TITLE, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), 'dblog_remarks' => array ( 'title' => RL_LAN_033, 'type' => 'method', 'data' => 'str', 'width' => '35%', 'filter'=>true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), - 'options' => array ( 'title' => 'Options', 'type' => null, 'nolist'=>true, 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ), + 'options' => array ( 'title' => LAN_OPTIONS, 'type' => null, 'nolist'=>true, 'data' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center last', 'forced' => '1', ), ); protected $fieldpref = array( 'dblog_datestamp', 'dblog_type', 'dblog_eventcode', 'dblog_user_id', 'dblog_ip', 'dblog_title', 'dblog_remarks'); @@ -549,7 +549,7 @@ class admin_log_form_ui extends e_admin_form_ui case 'filter': case 'batch': - return array('Informative','Notice','Warning','Fatal'); + return array(RL_LAN_132,RL_LAN_133,RL_LAN_134,RL_LAN_135); break; } } @@ -639,7 +639,7 @@ class admin_log_form_ui extends e_admin_form_ui if(strpos($text,'Array')!==false || strlen($text)>300) { $id = $this->getController()->getListModel()->get('dblog_id'); - $ret ="Details"; + $ret ="".RL_LAN_087.""; $ret .= "