From 9414877261fbd6562ec9cf55f7c309572910b9b0 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 26 Mar 2010 11:35:38 +0000 Subject: [PATCH] Fix: best autonomy of modules --- htdocs/admin/modules.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index b4ee0dc4d96..1e830d3afb1 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -471,15 +471,18 @@ foreach ($orders as $key => $value) } print "\n"; } + else if (preg_match('/^([^@]+)@([^@]+)$/i',$objMod->config_page_url,$regs)) + { + print ''.img_picto($langs->trans("Setup"),"setup").''; + } else { - //print ' '.$langs->trans("Setup").''; - print ' '.img_picto($langs->trans("Setup"),"setup").''; + print ''.img_picto($langs->trans("Setup"),"setup").''; } } else { - print "  "; + print " "; } }