- echo '<tr '. $HTML->boxGetAltRowStyle($j) .'>';
- if ($currentList->isError()) {
- echo '<td colspan="3">'.$currentList->getErrorMessage().'</td>';
- } else if($currentList->getStatus() == MAIL__MAILING_LIST_IS_REQUESTED) {
- echo '<td width="33%">'.
- '<strong>'.$currentList->getName().'</strong></td>'.
- '<td width="33%">'.htmlspecialchars($currentList->getDescription()). '</td>'.
- '<td width="33%" style="text-align:center">'._('Not activated yet').'</td>';
- } else {
- echo '<td width="33%">'.
- '<strong><a href="'.$currentList->getArchivesUrl().'">' .
- sprintf(_('%1$s Archives'), $currentList->getName()).'</a></strong></td>'.
- '<td>'.htmlspecialchars($currentList->getDescription()). '</td>'.
- '<td width="33%" style="text-align:center"><a href="'.$currentList->getExternalInfoUrl().'">'._('Subscribe/Unsubscribe/Preferences').'</a>'.
- '</td>';
+ if (!$currentList->isPermissionDeniedError()) {
+ echo '<tr '. $HTML->boxGetAltRowStyle($j) .'>';
+ if ($currentList->isError()) {
+ echo '<td colspan="3">'.$currentList->getErrorMessage().'</td>';
+ } else if($currentList->getStatus() == MAIL__MAILING_LIST_IS_REQUESTED) {
+ echo '<td width="33%">'.
+ '<strong>'.$currentList->getName().'</strong></td>'.
+ '<td width="33%">'.htmlspecialchars($currentList->getDescription()). '</td>'.
+ '<td width="33%" style="text-align:center">'._('Not activated yet').'</td>';
+ } else {
+ echo '<td width="33%">'.
+ '<strong><a href="'.$currentList->getArchivesUrl().'">' .
+ sprintf(_('%1$s Archives'), $currentList->getName()).'</a></strong></td>'.
+ '<td>'.htmlspecialchars($currentList->getDescription()). '</td>'.
+ '<td width="33%" style="text-align:center"><a href="'.$currentList->getExternalInfoUrl().'">'._('Subscribe/Unsubscribe/Preferences').'</a>'.
+ '</td>';
+ }
+ echo '</tr>';