Fix: doxygen

This commit is contained in:
Laurent Destailleur 2013-07-18 23:39:29 +02:00
parent 22f57e3350
commit c943ef8edb
2 changed files with 10 additions and 9 deletions

View File

@ -77,7 +77,7 @@ class modMyModule extends DolibarrModules
// 'login' => 0, // Set this to 1 if module has its own login method directory (core/login) // 'login' => 0, // Set this to 1 if module has its own login method directory (core/login)
// 'substitutions' => 0, // Set this to 1 if module has its own substitution function file (core/substitutions) // 'substitutions' => 0, // Set this to 1 if module has its own substitution function file (core/substitutions)
// 'menus' => 0, // Set this to 1 if module has its own menus handler directory (core/menus) // 'menus' => 0, // Set this to 1 if module has its own menus handler directory (core/menus)
// 'theme' => 0, // Set this to 1 if module has its own theme directory (core/theme) // 'theme' => 0, // Set this to 1 if module has its own theme directory (theme)
// 'tpl' => 0, // Set this to 1 if module overwrite template dir (core/tpl) // 'tpl' => 0, // Set this to 1 if module overwrite template dir (core/tpl)
// 'barcode' => 0, // Set this to 1 if module has its own barcode directory (core/modules/barcode) // 'barcode' => 0, // Set this to 1 if module has its own barcode directory (core/modules/barcode)
// 'models' => 0, // Set this to 1 if module has its own models directory (core/modules/xxx) // 'models' => 0, // Set this to 1 if module has its own models directory (core/modules/xxx)

View File

@ -234,6 +234,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
} }
} }
$dirthemes=array_unique($dirthemes); $dirthemes=array_unique($dirthemes);
// Now dir_themes=array('/themes') or dir_themes=array('/theme','/mymodule/theme')
$selected_theme=''; $selected_theme='';
if (empty($foruserprofile)) $selected_theme=$conf->global->MAIN_THEME; if (empty($foruserprofile)) $selected_theme=$conf->global->MAIN_THEME;
@ -290,10 +291,10 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
print '<table class="nobordernopadding" width="100%">'; print '<table class="nobordernopadding" width="100%">';
$i=0; $i=0;
foreach($dirthemes as $dir) foreach($dirthemes as $dir)
{ {
$dirtheme=dol_buildpath($dir,0); //print $dirroot.$dir;exit;
$dirtheme=dol_buildpath($dir,0); // This include loop on $conf->file->dol_document_root
$urltheme=dol_buildpath($dir,1); $urltheme=dol_buildpath($dir,1);
if (is_dir($dirtheme)) if (is_dir($dirtheme))