Vergleich admin/modules/forum/module_meta.php - 1.6.2 - 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 25Zeile 25
	$sub_menu['30'] = array("id" => "moderation_queue", "title" => $lang->moderation_queue, "link" => "index.php?module=forum-moderation_queue");
$sub_menu['40'] = array("id" => "attachments", "title" => $lang->attachments, "link" => "index.php?module=forum-attachments");


	$sub_menu['30'] = array("id" => "moderation_queue", "title" => $lang->moderation_queue, "link" => "index.php?module=forum-moderation_queue");
$sub_menu['40'] = array("id" => "attachments", "title" => $lang->attachments, "link" => "index.php?module=forum-attachments");


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

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


$page->add_menu_item($lang->forums_and_posts, "forum", "index.php?module=forum", 20, $sub_menu);



$page->add_menu_item($lang->forums_and_posts, "forum", "index.php?module=forum", 20, $sub_menu);


Zeile 45Zeile 45
		'management' => array('active' => 'management', 'file' => 'management.php')
);


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


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

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

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

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

Zeile 70Zeile 70
		"attachments" => $lang->can_manage_attachments,
);


		"attachments" => $lang->can_manage_attachments,
);


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

	$admin_permissions = $plugins->run_hooks("admin_forum_permissions", $admin_permissions);

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

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