| @@ 1249-1253 (lines=5) @@ | ||
| 1246 | ||
| 1247 | $link = $about['author']['name']; |
|
| 1248 | ||
| 1249 | if (isset($about['author']['website'])) { |
|
| 1250 | $link = Widget::Anchor($about['author']['name'], General::validateURL($about['author']['website'])); |
|
| 1251 | } elseif (isset($about['author']['email'])) { |
|
| 1252 | $link = Widget::Anchor($about['author']['name'], 'mailto:' . $about['author']['email']); |
|
| 1253 | } |
|
| 1254 | ||
| 1255 | foreach ($about as $key => $value) { |
|
| 1256 | $fieldset = null; |
|
| @@ 237-243 (lines=7) @@ | ||
| 234 | // Authors |
|
| 235 | $author = $r['author']['name']; |
|
| 236 | ||
| 237 | if ($author) { |
|
| 238 | if (isset($r['author']['website'])) { |
|
| 239 | $author = Widget::Anchor($r['author']['name'], |
|
| 240 | General::validateURL($r['author']['website'])); |
|
| 241 | } elseif (isset($r['author']['email'])) { |
|
| 242 | $author = Widget::Anchor($r['author']['name'], 'mailto:' . $r['author']['email']); |
|
| 243 | } |
|
| 244 | } |
|
| 245 | ||
| 246 | $author = Widget::TableData($author); |
|