version 1.359, 2019/05/06 19:28:17
|
version 1.360, 2019/05/10 14:24:53
|
Line 5904 sub print_privacy {
|
Line 5904 sub print_privacy {
|
'',$othertitle); |
'',$othertitle); |
$itemcount ++; |
$itemcount ++; |
} else { |
} else { |
$datatable .= &mt('Nothing to set here, as there are no other domains'); |
my (@insttypes,%insttitles); |
|
if ((ref($types) eq 'ARRAY') && (ref($usertypes) eq 'HASH')) { |
|
@insttypes = @{$types}; |
|
%insttitles = %{$usertypes}; |
|
} |
|
foreach my $item (@insttypes,'default') { |
|
my $title; |
|
if ($item eq 'default') { |
|
$title = $othertitle; |
|
} else { |
|
$title = $insttitles{$item}; |
|
} |
|
$css_class = $itemcount%2?' class="LC_odd_row"':''; |
|
$datatable .= '<tr'.$css_class.'>'. |
|
'<td class="LC_left_item">'.$title.'</td>'. |
|
'<td class="LC_left_item">'. |
|
&mt('Nothing to set here, as there are no other domains'). |
|
'</td></tr>'; |
|
$itemcount ++; |
|
} |
} |
} |
} |
} |
} else { |
} else { |