if ($access{'global'}) {
        if ($access{'supervision'} == 1) {
                if ($out_titles eq 1 ) {  
	             print "<td align=center>\n";
	             print "<h3>$text{'index_supervision'}</h3>\n";
                }
		$logldap_icon = { "icon" => "images/log_ldap.gif",
			     "name" => $text{'logldap_title'},
			     "link" => "logusers_ldap.cgi" };
		$psSV_icon = { "icon" => "/webminlog/images/icon.gif",
			     "name" => $text{'sv_histAct_title'},
			     "link" => "/webminlog/search.cgi?uall=1&mall=0&module=tarantella&tall=1"};
		$defstta_icon = { "icon" => "images/dirdefs_stta.gif",
			     "name" => $text{'dirdefstta_title'},
			     "link" => "dirdef_stta.cgi" };
		$loghttp_icon = { "icon" => "images/log_http.gif",
			     "name" => $text{'loghttp_title'},
			     "link" => "log_http.cgi" };
		$loghttpacc_icon = { "icon" => "images/log_httpacc.gif",
			     "name" => $text{'loghttpacc_title'},
			     "link" => "log_httpacc.cgi" };
		$loghttps_icon = { "icon" => "images/log_https.gif",
			     "name" => $text{'loghttps_title'},
			     "link" => "log_https.cgi" };
		$loghttpsacc_icon = { "icon" => "images/log_httpsacc.gif",
			     "name" => $text{'loghttpsacc_title'},
			     "link" => "log_httpsacc.cgi" };
		$logstta_icon = { "icon" => "images/dirlogs_tta.gif",
			     "name" => $text{'dirlogstta_title'},
			     "link" => "dirlogs_tta.cgi" };
		$logssttacache_icon = { "icon" => "images/dirlogs_cache.gif",
			     "name" => $text{'dirlogscache_title'},
			     "link" => "dirlogs_cache.cgi" };
		$logsldap_icon = { "icon" => "images/dirlogs_ldap.gif",
			     "name" => $text{'logldapsrv_title'},
			     "link" => "log_ldap.cgi" };
		$acclogldap_icon = { "icon" => "images/log_ldapacc.gif",
			     "name" => $text{'logaccldap_title'},
			     "link" => "logldap_acc.cgi" };
		$logsldapcache_icon = { "icon" => "images/dirlogs_cache.gif",
			     "name" => $text{'logldapcachesrv_title'},
			     "link" => "logldap_cache.cgi" };
		$acclogldapcache_icon = { "icon" => "images/log_ldapacc.gif",
			     "name" => $text{'logaccldapcache_title'},
			     "link" => "logldapcache_acc.cgi" };
		$syslog_icon = { "icon" => "images/log_system.gif",
			     "name" => $text{'logsystem_title'},
			     "link" => "log_system.cgi" };
		$savedir_icon = { "icon" => "images/save_dir.gif",
			     "name" => $text{'dirsave_title'},
			     "link" => "dir_save.cgi" };
                if ($interface eq "tabs" ) {
	             &outconfig_icons("supervision", "index.cgi",
	                 $psSV_icon,$logldap_icon, $defstta_icon );
                } else {
	             &config_icons("supervision", "index.cgi",
	                 $psSV_icon,$logldap_icon, $defstta_icon );
                }
                if ($out_titles eq 1 ) {  
	             print "</td><td align=center>\n";
	             print "<h3>$text{'index_supervision'}</h3>\n";
                }
                if ($interface eq "tabs" ) {
	             &outconfig_icons("supervision", "index.cgi",
	                 $logstta_icon,$logsldap_icon,$acclogldap_icon );
                } else {
	             &config_icons("supervision", "index.cgi",
	                 $logstta_icon,$logsldap_icon,$acclogldap_icon );
                }
                if ($out_titles eq 1 ) {  
	             print "</td><td align=center>\n";
	             print "<h3>$text{'index_supervision'}</h3>\n";
                }
                if ( $config{'is_ldapcache'} eq "true" ) {
                   if ($interface eq "tabs" ) {
	             &outconfig_icons("supervision", "index.cgi",
	                 $logsldapcache_icon,$acclogldapcache_icon,
		         $logssttacache_icon )
                   } else {
	             &config_icons("supervision", "index.cgi",
	                 $logsldapcache_icon,$acclogldapcache_icon,
		         $logssttacache_icon )
                   }
                }
                if ($out_titles eq 1 ) {  
	             print "</td><td align=center>\n";
	             print "<h3>$text{'index_supervision'}</h3>\n";
                }
                if ($interface eq "tabs" ) {
	             &outconfig_icons("global", "global.cgi?",
	                 $syslog_icon, $loghttp_icon, $loghttpacc_icon );
                } else {
	             &config_icons("global", "global.cgi?",
	                 $syslog_icon, $loghttp_icon, $loghttpacc_icon);
                }
                if ($out_titles eq 1 ) {  
	             print "</td><td align=center>\n";
	             print "<h3>$text{'index_supervision'}</h3>\n";
                }
                if ($interface eq "tabs" ) {
	             &outconfig_icons("global", "global.cgi?",
	                 $loghttps_icon, $loghttpsacc_icon, $savedir_icon );
                } else {
	             &config_icons("global", "global.cgi?",
	                 $loghttps_icon, $loghttpsacc_icon, $savedir_icon );
                }
	}
}
