mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 19:00:26 +02:00
Deprecate e107_admin/message.php
No longer in use. Broken download reports have been moved to the Download plugin admin area.
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// FILE IS DEPRECATED - UP FOR REMOVAL IN THE FUTURE
|
||||||
|
|
||||||
require_once("../class2.php");
|
require_once("../class2.php");
|
||||||
|
|
||||||
e107::coreLan('message', true);
|
e107::coreLan('message', true);
|
||||||
@@ -15,8 +17,17 @@ e107::coreLan('message', true);
|
|||||||
$e_sub_cat = 'message';
|
$e_sub_cat = 'message';
|
||||||
require_once("auth.php");
|
require_once("auth.php");
|
||||||
$gen = new convert;
|
$gen = new convert;
|
||||||
|
$mes = e107::getMessage();
|
||||||
|
|
||||||
$messageTypes = array(/*"Broken Download",*/ "Dev Team Message");
|
// DO NOT TRANSLATE - warning for deprecated file.
|
||||||
|
e107::getMessage()->addWarning("This area is no longer in use and will be removed in the future. For reported broken downloads, see the Downloads Admin Area.");
|
||||||
|
|
||||||
|
$ns->tablerender("Received Messages", $mes->render());
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
$messageTypes = array("Broken Download", "Dev Team Message");
|
||||||
$queryString = "";
|
$queryString = "";
|
||||||
foreach($messageTypes as $types) {
|
foreach($messageTypes as $types) {
|
||||||
$queryString .= " gen_type='$types' OR";
|
$queryString .= " gen_type='$types' OR";
|
||||||
@@ -97,7 +108,5 @@ else
|
|||||||
}
|
}
|
||||||
$ns->tablerender(MESSLAN_1, $text);
|
$ns->tablerender(MESSLAN_1, $text);
|
||||||
|
|
||||||
require_once("footer.php");
|
*/
|
||||||
|
require_once("footer.php");
|
||||||
|
|
||||||
?>
|
|
@@ -6,6 +6,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// DEPRECATED FILE - UP FOR REMOVAL
|
||||||
|
|
||||||
|
/*
|
||||||
define("MESSLAN_1", "Received messages");
|
define("MESSLAN_1", "Received messages");
|
||||||
define("MESSLAN_2", "Delete Message");
|
define("MESSLAN_2", "Delete Message");
|
||||||
define("MESSLAN_3", "Message Deleted.");
|
define("MESSLAN_3", "Message Deleted.");
|
||||||
@@ -21,4 +24,4 @@ define("MESSLAN_11", "opens in new window");
|
|||||||
define("MESSLAN_12", "Message");
|
define("MESSLAN_12", "Message");
|
||||||
define("MESSLAN_13", "Link");
|
define("MESSLAN_13", "Link");
|
||||||
|
|
||||||
?>
|
?>*/
|
Reference in New Issue
Block a user