| @@ 145-147 (lines=3) @@ | ||
| 142 | <?php echo $divs->div_footer(); |
|
| 143 | $attributes = $statusInfo['attributes']; |
|
| 144 | $supportInfo = ''; |
|
| 145 | if (!empty($attributes['local_url'])) { |
|
| 146 | $supportInfo .= '<tr><td>' . ("WWW:") . '</td><td><a href="' . $attributes['local_url'] . '" target="_blank">' . $attributes['local_url'] . '</a></td></tr>'; |
|
| 147 | } |
|
| 148 | if (!empty($attributes['local_email'])) { |
|
| 149 | $supportInfo .= '<tr><td>' . ("email:") . '</td><td><a href="' . $attributes['local_email'] . '" target="_blank">' . $attributes['local_email'] . '</a></td></tr>'; |
|
| 150 | } |
|
| @@ 148-150 (lines=3) @@ | ||
| 145 | if (!empty($attributes['local_url'])) { |
|
| 146 | $supportInfo .= '<tr><td>' . ("WWW:") . '</td><td><a href="' . $attributes['local_url'] . '" target="_blank">' . $attributes['local_url'] . '</a></td></tr>'; |
|
| 147 | } |
|
| 148 | if (!empty($attributes['local_email'])) { |
|
| 149 | $supportInfo .= '<tr><td>' . ("email:") . '</td><td><a href="' . $attributes['local_email'] . '" target="_blank">' . $attributes['local_email'] . '</a></td></tr>'; |
|
| 150 | } |
|
| 151 | if (!empty($attributes['local_phone'])) { |
|
| 152 | $supportInfo .= '<tr><td>' . ("tel:") . '</td><td><a href="' . $attributes['local_phone'] . '" target="_blank">' . $attributes['local_phone'] . '</a></td></tr>'; |
|
| 153 | } |
|
| @@ 151-153 (lines=3) @@ | ||
| 148 | if (!empty($attributes['local_email'])) { |
|
| 149 | $supportInfo .= '<tr><td>' . ("email:") . '</td><td><a href="' . $attributes['local_email'] . '" target="_blank">' . $attributes['local_email'] . '</a></td></tr>'; |
|
| 150 | } |
|
| 151 | if (!empty($attributes['local_phone'])) { |
|
| 152 | $supportInfo .= '<tr><td>' . ("tel:") . '</td><td><a href="' . $attributes['local_phone'] . '" target="_blank">' . $attributes['local_phone'] . '</a></td></tr>'; |
|
| 153 | } |
|
| 154 | if ($supportInfo != '') { |
|
| 155 | $supportInfo = "<table><tr><th colspan='2'>" . sprintf(_("If you encounter problems, then you can obtain direct assistance from your %s at:"), $cat->nomenclature_inst) . "</th></tr>$supportInfo</table>"; |
|
| 156 | } else { |
|
| @@ 270-272 (lines=3) @@ | ||
| 267 | if (!empty($attributes['description'])) { |
|
| 268 | $out1 .= '<div>' . $attributes['description'] . '</div>'; |
|
| 269 | } |
|
| 270 | if (!empty($attributes['local_email'])) { |
|
| 271 | $out .= '<p>Email: <a href="mailto:' . $attributes['local_email'] . '">' . $attributes['local_email'] . '</a>'; |
|
| 272 | } |
|
| 273 | if (!empty($attributes['local_url'])) { |
|
| 274 | $out .= '<p>WWW: <a href="' . $attributes['local_url'] . '">' . $attributes['local_url'] . '</a>'; |
|
| 275 | } |
|
| @@ 276-278 (lines=3) @@ | ||
| 273 | if (!empty($attributes['local_url'])) { |
|
| 274 | $out .= '<p>WWW: <a href="' . $attributes['local_url'] . '">' . $attributes['local_url'] . '</a>'; |
|
| 275 | } |
|
| 276 | if (!empty($attributes['local_phone'])) { |
|
| 277 | $out .= '<p>Tel: <a href="' . $attributes['local_phone'] . '">' . $attributes['local_phone'] . '</a>'; |
|
| 278 | } |
|
| 279 | if ($out !== '') { |
|
| 280 | $out1 .= '<div class="user_info">'; |
|
| 281 | $out1 .= sprintf(_("If you encounter problems you should ask for help at your %s"), $this->nomenclature_inst); |
|