Fork me on GitHub

Rapport de message :*
 

Re: Communauté: correction et traduction module

Titre du sujet : Re: Communauté: correction et traduction module
par Ghia sur 01/07/2010 12:16:55

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.
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

144 Personne(s) en ligne (132 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 144 | Plus ...