Zeile 6 | Zeile 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 5380 2011-02-21 12:04:43Z Tomm $
| * $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 23 | Zeile 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 40 | Zeile 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 63 | Zeile 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); }
|