From: jtate Date: Sat, 1 Oct 2005 21:12:31 +0000 (+0000) Subject: Plugin to show authors in the sidebar. Much like the categories plugin with links... X-Git-Tag: 0.9~99 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3124b4175bf4ab82d0c3312d975d99eff26625e4;p=s9y.git Plugin to show authors in the sidebar. Much like the categories plugin with links to the authors, a form for filtering, and RSS feeds. Multi-User blogs are now much more interesting/useful. --- diff --git a/include/functions.inc.php b/include/functions.inc.php index 1266c45..a5701da 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -339,6 +339,12 @@ function serendipity_fetchAuthor($author) { return serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}authors WHERE " . (is_numeric($author) ? "authorid={$author};" : "username='" . serendipity_db_escape_string($author) . "';")); } +function serendipity_fetchAuthors() { + global $serendipity; + + return serendipity_db_query("SELECT * FROM {$serendipity['dbPrefix']}authors ORDER BY realname ASC;"); +} + /** * Split up a filename **/ diff --git a/include/plugin_api.inc.php b/include/plugin_api.inc.php index 8ab525a..b4e22c4 100644 --- a/include/plugin_api.inc.php +++ b/include/plugin_api.inc.php @@ -35,6 +35,7 @@ class serendipity_plugin_api { serendipity_plugin_api::create_plugin_instance('@serendipity_quicksearch_plugin'); serendipity_plugin_api::create_plugin_instance('@serendipity_archives_plugin'); serendipity_plugin_api::create_plugin_instance('@serendipity_categories_plugin'); + serendipity_plugin_api::create_plugin_instance('@serendipity_authors_plugin'); serendipity_plugin_api::create_plugin_instance('@serendipity_syndication_plugin'); serendipity_plugin_api::create_plugin_instance('@serendipity_superuser_plugin'); serendipity_plugin_api::create_plugin_instance('@serendipity_plug_plugin'); @@ -1084,4 +1085,4 @@ class serendipity_event extends serendipity_plugin { include_once S9Y_INCLUDE_PATH . 'include/plugin_internal.inc.php'; /* vim: set sts=4 ts=4 expandtab : */ -?> \ No newline at end of file +?> diff --git a/include/plugin_internal.inc.php b/include/plugin_internal.inc.php index 12588aa..aab6564 100644 --- a/include/plugin_internal.inc.php +++ b/include/plugin_internal.inc.php @@ -1341,5 +1341,102 @@ class serendipity_categories_plugin extends serendipity_plugin { } } +class serendipity_authors_plugin extends serendipity_plugin { + var $title = AUTHORS; + + function introspect(&$propbag) { + global $serendipity; + + $propbag->add('name', AUTHORS); + $propbag->add('description', AUTHOR_PLUGIN_DESC); + $propbag->add('stackable', true); + $propbag->add('author', 'Serendipity Team'); + $propbag->add('version', '2.0'); + $propbag->add('configuration', array('image', 'allow_select')); + $propbag->add('groups', array('FRONTEND_VIEWS')); + } + + function introspect_config_item($name, &$propbag) + { + global $serendipity; + switch($name) { + case 'allow_select': + $propbag->add('type', 'boolean'); + $propbag->add('name', AUTHORS_ALLOW_SELECT); + $propbag->add('description', AUTHORS_ALLOW_SELECT_DESC); + $propbag->add('default', true); + break; + + case 'image': + $propbag->add('type', 'string'); + $propbag->add('name', XML_IMAGE_TO_DISPLAY); + $propbag->add('description', XML_IMAGE_TO_DISPLAY_DESC); + $propbag->add('default', serendipity_getTemplateFile('img/xml.gif')); + break; + + default: + return false; + } + return true; + } + + function generate_content(&$title) { + global $serendipity; + + $sort = $this->get_config('sort_order'); + if ($sort == 'none') { + $sort = ''; + } else { + $sort .= ' ' . $this->get_config('sort_method'); + } + $is_form = serendipity_db_bool($this->get_config('allow_select')); + $authors = serendipity_fetchAuthors(); + $title = $this->title; + + $html = ''; + + if ($is_form) { + $html .= '
'; + } + + $image = $this->get_config('image', serendipity_getTemplateFile('img/xml.gif')); + $image = (($image == "'none'" || $image == 'none') ? '' : $image); + + if (is_array($authors) && count($authors)) { + foreach ($authors as $auth) { + + $html .= '
'; + + if ($is_form) { + $html .= ''; + } + + if ( !empty($image) ) { + $html .= 'XML '; + } + $html .= ''. htmlspecialchars($auth['realname']) .''; + $html .= '
' . "\n"; + } + } + + if ($is_form) { + $html .= '

'; + } + + $html .= sprintf( + '
%s', + + $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'], + ALL_AUTHORS, + ALL_AUTHORS + ); + + if ($is_form) { + $html .= '
'; + } + print $html; + } +} + /* vim: set sts=4 ts=4 expandtab : */ ?> diff --git a/index.php b/index.php index 61143ad..33c41f1 100644 --- a/index.php +++ b/index.php @@ -72,6 +72,12 @@ if (isset($serendipity['POST']['isMultiCat']) && is_array($serendipity['POST'][' $is_multicat = false; } +if (isset($serendipity['POST']['isMultiAuth']) && is_array($serendipity['POST']['multiAuth'])) { + $is_multiauth = true; +} else { + $is_multiauth = false; +} + if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range']) && is_numeric($serendipity['GET']['range'])) { $_args = $serendipity['uriArguments']; @@ -344,7 +350,22 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range $serendipity['head_subtitle'] = $serendipity['blogTitle']; include_once(S9Y_INCLUDE_PATH . 'include/genpage.inc.php'); -} else if (preg_match(PAT_PERMALINK_AUTHORS, $uri, $matches)) { +} else if ($is_multiauth || preg_match(PAT_PERMALINK_AUTHORS, $uri, $matches)) { + if($is_multiauth) { + print "POST: "; + print_r($serendipity['POST']); + print "\n"; + $serendipity['GET']['viewAuthor'] = implode(';', $serendipity['POST']['multiAuth']); + $serendipity['uriArguments'][] = PATH_AUTHORS; + $serendipity['uriArguments'][] = serendipity_db_escape_string($serendipity['GET']['viewAuthor']) . '-multi'; + } elseif (preg_match('@/([0-9;]+)@', $uri, $multimatch)) { + $is_multiauth = true; + $serendipity['GET']['viewAuthor'] = $multimatch[1]; + } + print_r($serendipity['GET']); + + $serendipity['GET']['action'] = 'read'; + $_args = $serendipity['uriArguments']; /* Attempt to locate hidden variables within the URI */ @@ -359,9 +380,11 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range } } - $matches[1] = serendipity_searchPermalink($serendipity['permalinkAuthorStructure'], implode('/', $serendipity['uriArguments']), $matches[1], 'author'); - $serendipity['GET']['viewAuthor'] = $matches[1]; - $serendipity['GET']['action'] = 'read'; + if (!$is_multiauth) { + $matches[1] = serendipity_searchPermalink($serendipity['permalinkAuthorStructure'], implode('/', $serendipity['uriArguments']), $matches[1], 'author'); + $serendipity['GET']['viewAuthor'] = $matches[1]; + $serendipity['GET']['action'] = 'read'; + } $uInfo = serendipity_fetchUsers($serendipity['GET']['viewAuthor']); $serendipity['head_title'] = sprintf(ENTRIES_BY, $uInfo[0]['realname']); diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 64170ce..a4ba2b6 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -1,4 +1,4 @@ - @@ -773,3 +773,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index 063932d..b168731 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -789,3 +789,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index c905968..80572d1 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -789,3 +789,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index 7ef0c1a..2ac3104 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -788,3 +788,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 6f9b1be..2a6d7cf 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -800,3 +800,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 71fc76a..452bc32 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -788,3 +788,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 2e005a4..332bfe7 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -793,3 +793,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 673ea5c..c56ba7e 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -787,3 +787,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index c2ae315..4f277d2 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -788,3 +788,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 9675501..9fb150b 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. @@ -790,3 +790,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 2cfe8b3..0495b2c 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -789,3 +789,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 74921c2..e413b0b 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -789,3 +789,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 56e3c15..d5d8446 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -789,3 +789,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 2622cfb..1c1001d 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -791,3 +791,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index ab044bf..8386084 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -790,3 +790,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index b9637a1..389feb9 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -786,3 +786,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index a362789..004b9b2 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -789,3 +789,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index a2b381e..20ce582 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -788,3 +788,7 @@ @define('INSTALL_PERMALINK_FEEDAUTHOR_DESC', 'Here you can define the relative URL structure beginning from your base URL to where RSS-feeds from specific users may be viewed. You can use the variables %id%, %realname%, %username%, %email% and any other characters.'); @define('INSTALL_PERMALINK_FEEDAUTHOR', 'Permalink RSS-Feed Author URL structure'); @define('INSTALL_PERMALINK_AUTHORSPATH', 'Path to authors'); +@define('AUTHORS', 'Authors'); +@define('AUTHORS_ALLOW_SELECT', 'Allow visitors to display multiple authors at once?'); +@define('AUTHORS_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each author in this sidebar plugin. Users can check those boxes and see entries matching their selection.'); +@define('AUTHOR_PLUGIN_DESC', 'Shows a list of authors'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index 587e730..23bdf7c 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ -