diff --git a/e107_plugins/download/e_cron.php b/e107_plugins/download/e_cron.php new file mode 100644 index 000000000..3dd3b62a6 --- /dev/null +++ b/e107_plugins/download/e_cron.php @@ -0,0 +1,55 @@ + "Prune Download Log older than 12 months", // Prune downloads history + 'function' => "pruneLog", + 'category' => '', + 'description' => "Non functional at the moment" + ); + + return $cron; + } + + + + function pruneLog() + { + // Whatever code you wish. + e107::getMessage()->add("Executed dummy function within gsitemap/e_cron.php"); + return ; + } + + + + +} + + + +?> \ No newline at end of file diff --git a/e107_plugins/download/languages/English/admin_download.php b/e107_plugins/download/languages/English/admin_download.php index 0f916c18f..ac8922301 100644 --- a/e107_plugins/download/languages/English/admin_download.php +++ b/e107_plugins/download/languages/English/admin_download.php @@ -211,16 +211,7 @@ define("DOWLAN_196", "list"); define("DOWLAN_197", "random"); define("DOWLAN_198", "Filter"); -define("DOWLAN_199", "Beware: after pruning the statistics shown per download might not reflect their total history!"); -define("DOWLAN_200", "Number"); -define("DOWLAN_201", "Year/month"); -define("DOWLAN_202", "Prune downloads history"); -define("DOWLAN_203", "Download history records deleted."); -define("DOWLAN_204", "Back to prune overview"); -define("DOWLAN_205", "Prune downloads history details"); -define("DOWLAN_206", "Download history record deleted."); -define("DOWLAN_207", "Back to prune details overview"); -define("DOWLAN_208", "Prune downloads history"); + define("DOWLAN_HELP_1", "Help"); define("DOWLAN_HELP_2", "
Create/edit a download.
Enter only one of: File, URL or Mirror.
Ensure you select a category, otherwise your download will not be visible on the downloads page.
"); diff --git a/e107_plugins/download/plugin.xml b/e107_plugins/download/plugin.xml index ed82ea610..fe4288701 100755 --- a/e107_plugins/download/plugin.xml +++ b/e107_plugins/download/plugin.xml @@ -14,7 +14,7 @@ DOWLAN_31 DOWLAN_32 DOWLAN_112 - DOWLAN_128 + DOWLAN_128