| @@ 997-1001 (lines=5) @@ | ||
| 994 | ||
| 995 | $link = $about['author']['name']; |
|
| 996 | ||
| 997 | if (isset($about['author']['website'])) { |
|
| 998 | $link = Widget::Anchor($about['author']['name'], General::validateURL($about['author']['website'])); |
|
| 999 | } elseif (isset($about['author']['email'])) { |
|
| 1000 | $link = Widget::Anchor($about['author']['name'], 'mailto:' . $about['author']['email']); |
|
| 1001 | } |
|
| 1002 | ||
| 1003 | foreach ($about as $key => $value) { |
|
| 1004 | $fieldset = null; |
|
| @@ 246-252 (lines=7) @@ | ||
| 243 | // Authors |
|
| 244 | $author = $r['author']['name']; |
|
| 245 | ||
| 246 | if ($author) { |
|
| 247 | if (isset($r['author']['website'])) { |
|
| 248 | $author = Widget::Anchor($r['author']['name'], General::validateURL($r['author']['website'])); |
|
| 249 | } elseif (isset($r['author']['email'])) { |
|
| 250 | $author = Widget::Anchor($r['author']['name'], 'mailto:' . $r['author']['email']); |
|
| 251 | } |
|
| 252 | } |
|
| 253 | ||
| 254 | $author = Widget::TableData($author); |
|
| 255 | ||