diff --git a/e107_plugins/log/admin_config.php b/e107_plugins/log/admin_config.php index 08f7a8246..1796b3ca5 100644 --- a/e107_plugins/log/admin_config.php +++ b/e107_plugins/log/admin_config.php @@ -8,8 +8,6 @@ * * Stats logging plugin - admin functions * - * $URL$ - * $Id$ */ require_once('../../class2.php'); @@ -491,7 +489,9 @@ switch ($action) //=========================================================== // DELETE HISTORY //=========================================================== - $text = "
+ $mes->addWarning(ADSTAT_L76); + $text = " +
@@ -506,7 +506,7 @@ switch ($action) "; $text .= ""; } @@ -551,11 +551,10 @@ switch ($action)
".$frm->admin_button('delete_history',LAN_DELETE,'delete')." - ".ADSTAT_L76."
- "; - $ns->tablerender(ADSTAT_L69, $text); + "; + $ns->tablerender(ADSTAT_L69, $mes->render().$text); break; // case 'history' } diff --git a/e107_plugins/log/languages/English_admin_log.php b/e107_plugins/log/languages/English_admin_log.php index d3029767a..eecc6cc3a 100644 --- a/e107_plugins/log/languages/English_admin_log.php +++ b/e107_plugins/log/languages/English_admin_log.php @@ -6,8 +6,6 @@ * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * $URL$ - * $Id$ */ //define("ADSTAT_ON", "On"); @@ -84,7 +82,7 @@ define ('ADSTAT_L69', 'Delete historical data'); define ('ADSTAT_L70', 'Delete data older than:'); define ('ADSTAT_L71', 'Delete Data'); define ('ADSTAT_L72', 'Confirm deletion of data older than first day of:'); -define ('ADSTAT_L73', 'Confirm'); +//define ('ADSTAT_L73', 'Confirm'); define ('ADSTAT_L74', '(List of data entries which will be deleted below)'); define ('ADSTAT_L75', 'Records for deletion'); define ('ADSTAT_L76', 'Caution! Once deleted, the data cannot be recovered. Backup or export your database first');
-
".ADSTAT_L74." + ".$frm->admin_button('actually_delete', LAN_CONFDELETE, 'delete')."
".ADSTAT_L74."
".ADSTAT_L75."".implode("
",get_for_delete($keep_year,$keep_month))."