Vergleich admin/modules/tools/module_meta.php - 1.6.0 - 1.6.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: module_meta.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id: module_meta.php 5620 2011-09-26 18:23:52Z ralgith $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 29Zeile 29
	$sub_menu['70'] = array("id" => "optimizedb", "title" => $lang->optimize_database, "link" => "index.php?module=tools-optimizedb");
$sub_menu['80'] = array("id" => "file_verification", "title" => $lang->file_verification, "link" => "index.php?module=tools-file_verification");


	$sub_menu['70'] = array("id" => "optimizedb", "title" => $lang->optimize_database, "link" => "index.php?module=tools-optimizedb");
$sub_menu['80'] = array("id" => "file_verification", "title" => $lang->file_verification, "link" => "index.php?module=tools-file_verification");


	$plugins->run_hooks_by_ref("admin_tools_menu", $sub_menu);

	$sub_menu = $plugins->run_hooks("admin_tools_menu", $sub_menu);

	
$page->add_menu_item($lang->tools_and_maintenance, "tools", "index.php?module=tools", 50, $sub_menu);


	
$page->add_menu_item($lang->tools_and_maintenance, "tools", "index.php?module=tools", 50, $sub_menu);


Zeile 59Zeile 59
		'statistics' => array('active' => 'statistics', 'file' => 'statistics.php'),
);


		'statistics' => array('active' => 'statistics', 'file' => 'statistics.php'),
);


	$plugins->run_hooks_by_ref("admin_tools_action_handler", $actions);

	$actions = $plugins->run_hooks("admin_tools_action_handler", $actions);


$sub_menu = array();
$sub_menu['10'] = array("id" => "adminlog", "title" => $lang->administrator_log, "link" => "index.php?module=tools-adminlog");


$sub_menu = array();
$sub_menu['10'] = array("id" => "adminlog", "title" => $lang->administrator_log, "link" => "index.php?module=tools-adminlog");

Zeile 69Zeile 69
	$sub_menu['50'] = array("id" => "warninglog", "title" => $lang->user_warning_log, "link" => "index.php?module=tools-warninglog");
$sub_menu['60'] = array("id" => "statistics", "title" => $lang->statistics, "link" => "index.php?module=tools-statistics");


	$sub_menu['50'] = array("id" => "warninglog", "title" => $lang->user_warning_log, "link" => "index.php?module=tools-warninglog");
$sub_menu['60'] = array("id" => "statistics", "title" => $lang->statistics, "link" => "index.php?module=tools-statistics");


	$plugins->run_hooks_by_ref("admin_tools_menu_logs", $sub_menu);

	$sub_menu = $plugins->run_hooks("admin_tools_menu_logs", $sub_menu);

	
if(!isset($actions[$action]))
{

	
if(!isset($actions[$action]))
{

Zeile 113Zeile 113
		"statistics" => $lang->can_view_statistics,
);


		"statistics" => $lang->can_view_statistics,
);


	$plugins->run_hooks_by_ref("admin_tools_permissions", $admin_permissions);

	$plugins->run_hooks("admin_tools_permissions", $admin_permissions);

	
return array("name" => $lang->tools_and_maintenance, "permissions" => $admin_permissions, "disporder" => 50);
}

	
return array("name" => $lang->tools_and_maintenance, "permissions" => $admin_permissions, "disporder" => 50);
}