diff --git a/system/pages/admin/tools/account.php b/admin/pages/mass_account.php similarity index 100% rename from system/pages/admin/tools/account.php rename to admin/pages/mass_account.php diff --git a/system/pages/admin/tools/teleport.php b/admin/pages/mass_teleport.php similarity index 100% rename from system/pages/admin/tools/teleport.php rename to admin/pages/mass_teleport.php diff --git a/admin/pages/tools.php b/admin/pages/tools.php index 4992b7f9..fa75d750 100644 --- a/admin/pages/tools.php +++ b/admin/pages/tools.php @@ -21,7 +21,7 @@ if (preg_match("/[^A-z0-9_\-]/", $tool)) { return; } -$file = SYSTEM . 'pages/admin/tools/' . $tool . '.php'; +$file = ADMIN . 'tools/' . $tool . '.php'; if (@file_exists($file)) { require $file; diff --git a/admin/template/menus.php b/admin/template/menus.php index 5f8c1f10..460c03dd 100644 --- a/admin/template/menus.php +++ b/admin/template/menus.php @@ -34,8 +34,8 @@ $menus = [ ], ['name' => 'Tools', 'icon' => 'tools', 'order' => 100, 'link' => [ - ['name' => 'Mass Account Actions', 'link' => 'tools&tool=account', 'order' => 10], - ['name' => 'Mass Teleport Actions', 'link' => 'tools&tool=teleport', 'order' => 20], + ['name' => 'Mass Account Actions', 'link' => 'mass_account', 'icon' => 'globe', 'order' => 10], + ['name' => 'Mass Teleport Actions', 'link' => 'mass_teleport', 'icon' => 'globe', 'order' => 20], ['name' => 'Notepad', 'link' => 'notepad', 'icon' => 'marker', 'order' => 30], ['name' => 'phpinfo', 'link' => 'phpinfo', 'icon' => 'server', 'order' => 40], ],