From 5e2928752ee100050fd8442f1957e3af282568d1 Mon Sep 17 00:00:00 2001 From: yellowled Date: Wed, 9 Apr 2008 11:56:33 +0000 Subject: [PATCH] Modified generated code for serendipity_authors_plugin to use an ul. --- include/plugin_internal.inc.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/include/plugin_internal.inc.php b/include/plugin_internal.inc.php index 6fa38d2..3ba07b7 100644 --- a/include/plugin_internal.inc.php +++ b/include/plugin_internal.inc.php @@ -1741,12 +1741,14 @@ class serendipity_authors_plugin extends serendipity_plugin { $html = ''; if ($is_form) { - $html .= '
'; + $html .= ''; } $image = $this->get_config('image', serendipity_getTemplateFile('img/xml.gif')); $image = (($image == "'none'" || $image == 'none') ? '' : $image); + $html .= '
    ' . "\n"; + if (is_array($authors) && count($authors)) { foreach ($authors as $auth) { @@ -1759,7 +1761,7 @@ class serendipity_authors_plugin extends serendipity_plugin { $entrycount = ""; } - $html .= '
    '; + $html .= '
  • '; if ($is_form) { $html .= ''; @@ -1769,16 +1771,18 @@ class serendipity_authors_plugin extends serendipity_plugin { $html .= 'XML '; } $html .= ''. htmlspecialchars($auth['realname']) . $entrycount . ''; - $html .= '
  • ' . "\n"; + $html .= '' . "\n"; } } + $html .= '
' . "\n"; + if ($is_form) { - $html .= '

'; + $html .= '
'; } $html .= sprintf( - '
%s', + '
%s
', $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'], ALL_AUTHORS, @@ -1786,7 +1790,7 @@ class serendipity_authors_plugin extends serendipity_plugin { ); if ($is_form) { - $html .= '
'; + $html .= ''; } print $html; } -- 2.39.5