En principe le menu admin n'est plus nécessaire, car tous les fonctions sont accessible par le menu bloc.
Si on le veut, une suggestion est:
$adminmenu[0]['link'] = "admin/tools.php?op=index";
$adminmenu[0]['title'] = "Webmaster tools";
ou peut-être ajouter aussi celui du tools menu:
//create tools array
$tools[] = array ( 'title' => "General settings", 'link' => "tools.php?op=settings", 'main' => "1" );
if ($moduleConfig['proversion'] == '1')
{
$tools[] = array ( 'title' => "Pro-version settings", 'link' => "tools.php?op=pro", 'main' => "1" );
}
$tools[] = array ( 'title' => "Language options", 'link' => "tools.php?op=lang", 'main' => "1" );
$tools[] = array ( 'title' => "Create user fields", 'link' => "tools.php?op=userfields", 'main' => "1" );
$tools[] = array ( 'title' => "Create colours", 'link' => "tools.php?op=colours", 'main' => "1" );
$tools[] = array ( 'title' => "Deleted pedigree's", 'link' => "tools.php?op=deleted", 'main' => "1" );
$tools[] = array ( 'title' => "Database tools", 'link' => "tools.php?op=database", 'main' => "1" );
if (isset($db))
{
//create database submenu
$tools[] = array ( 'title' => "Own ancestors", 'link' => "tools.php?op=dbanc", 'main' => "0" );
$tools[] = array ( 'title' => "Incorrect gender", 'link' => "tools.php?op=fltypar", 'main' => "0" );
$tools[] = array ( 'title' => "User Queries", 'link' => "tools.php?op=userq", 'main' => "0" );
}
$tools[] = array ( 'title' => "Credits", 'link' => "tools.php?op=credits", 'main' => "1" );
Citation :For breeders/owners right now is everything empty. I'm not sure right now I'll use these fields
Il faut les ajouter d'abord.