Vergleich admin/modules/style/module_meta.php - 1.6.1 - 1.6.10

  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 23Zeile 23
	$sub_menu['10'] = array("id" => "themes", "title" => $lang->themes, "link" => "index.php?module=style-themes");
$sub_menu['20'] = array("id" => "templates", "title" => $lang->templates, "link" => "index.php?module=style-templates");


	$sub_menu['10'] = array("id" => "themes", "title" => $lang->themes, "link" => "index.php?module=style-themes");
$sub_menu['20'] = array("id" => "templates", "title" => $lang->templates, "link" => "index.php?module=style-templates");


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

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


$page->add_menu_item($lang->templates_and_style, "style", "index.php?module=style", 40, $sub_menu);
return true;


$page->add_menu_item($lang->templates_and_style, "style", "index.php?module=style", 40, $sub_menu);
return true;

Zeile 40Zeile 40
		'themes' => array('active' => 'themes', 'file' => 'themes.php')
);


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


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

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

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

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

Zeile 63Zeile 63
		"templates" => $lang->can_manage_templates,
);


		"templates" => $lang->can_manage_templates,
);


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

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

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

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