if ($access{'addusr'} && $config{'is_masterHost'} eq "true" ) {
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_users'}</h3>\n";
        }
        @olinks = ("tta_addusr.cgi","tta_modusr.cgi","tta_delusr.cgi","tta_loadusrs.cgi");
        @otitles = map { /^tta_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^tta_(\S+).cgi/; "images/$1.gif"; } @olinks;
        if ($interface eq "tabs" ) {
          $i=0;
          foreach $lnk (@olinks) {
             print "<table border bgcolor=#ffffff><tr><td><a href=/$lnk>",
                   "<img src=./images/$oicons[$i] alt=\"\" border=0></a>",
                   "</td></tr></table>\n";
             print "<a href=/$lnk>$otitles[$i]</a></td>\n";
             i++;
             if ($pos++ % $cols == $cols - 1) { print "</tr>\n"; } 
          }
        } else {
          &icons_table(\@olinks, \@otitles, \@oicons);
        }
}
if ($access{'addou'} && $config{'is_masterHost'} eq "true" ) {
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_ou'}</h3></center>\n";
        }
        @olinks = ("tta_addou.cgi", "tta_modou.cgi", "tta_delou.cgi");
        @otitles = map { /^tta_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^tta_(\S+).cgi/; "images/$1.gif"; } @olinks;
        &icons_table(\@olinks, \@otitles, \@oicons);
}
if ( $access{'addhostsuser'} && $config{'is_masterHost'} eq "true" ) {
    if ( $config{'is_ldapcache'} eq "true" ) {
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_apps'}</h3>\n";
        }
        @olinks = ("cache_addapps.cgi","cache_delapps.cgi");
        @otitles = map { /^cache_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^cache_(\S+).cgi/; "images/$1.gif"; } @olinks;
        &icons_table(\@olinks, \@otitles, \@oicons);
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_grpapps'}</h3></center>\n";
        }
        @olinks = ("cache_addgrpapps.cgi", "cache_delgrpapps.cgi");
        @otitles = map { /^cache_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^cache_(\S+).cgi/; "images/$1.gif"; } @olinks;
        &icons_table(\@olinks, \@otitles, \@oicons);
       
    } else {
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_hostsuser'}</h3></center>\n";
        }
        @olinks = ("tta_addhostsuser.cgi", "tta_delhostsuser.cgi");
        @otitles = map { /^tta_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^tta_(\S+).cgi/; "images/$1.gif"; } @olinks;
        &icons_table(\@olinks, \@otitles, \@oicons);
    }
}
if ($access{'addhosts'} && $config{'is_masterHost'} eq "true" ) {
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_hosts'}</h3>\n";
        }
        @olinks = ("tta_addhosts.cgi","tta_delhosts.cgi");
        @otitles = map { /^tta_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^tta_(\S+).cgi/; "images/$1.gif"; } @olinks;
        &icons_table(\@olinks, \@otitles, \@oicons);
}
if ($access{'addgrphosts'} && $config{'is_masterHost'} eq "true" ) {
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_grphosts'}</h3></center>\n";
        }
        @olinks = ("tta_addgrphosts.cgi", "tta_delgrphosts.cgi");
        @otitles = map { /^tta_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^tta_(\S+).cgi/; "images/$1.gif"; } @olinks;
        &icons_table(\@olinks, \@otitles, \@oicons);
}
if ( $access{'addhostsuser'} && $config{'is_masterHost'} eq "true" ) {
    if ( $config{'is_ldapcache'} eq "true" ) {
	print "<td valign=top align=Center>\n";
        if ($out_titles eq 1 ) {
	    print "<h3>$text{'index_domains'}</h3></center>\n";
        }
        @olinks = ("cache_adddomains.cgi", "cache_deldomains.cgi");
        @otitles = map { /^cache_(\S+).cgi/; $text{$1."_title"} } @olinks;
        @oicons = map { /^cache_(\S+).cgi/; "images/$1.gif"; } @olinks;
        &icons_table(\@olinks, \@otitles, \@oicons);
    }
}
