From: garvinhicking Date: Mon, 10 Oct 2005 12:41:33 +0000 (+0000) Subject: Support smartyfied categories X-Git-Tag: 0.9~80 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cb94ea0d8fc4efe0e1ee79747be2dcd3b49410b1;p=s9y.git Support smartyfied categories --- diff --git a/docs/NEWS b/docs/NEWS index ec09295..27d7365 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 0.9-beta2 () ------------------------------------------------------------------------ + * The output of the category plugin can now be styled via Smarty + templating (plugin_categories.tpl) + * Admin entry overview: Show pagination on bottom of the list and allow filtering for showing drafts/publishs (garvinhicking) diff --git a/include/plugin_internal.inc.php b/include/plugin_internal.inc.php index b792d11..f7ca5f7 100644 --- a/include/plugin_internal.inc.php +++ b/include/plugin_internal.inc.php @@ -1151,7 +1151,7 @@ class serendipity_categories_plugin extends serendipity_plugin { $propbag->add('stackable', true); $propbag->add('author', 'Serendipity Team'); $propbag->add('version', '2.0'); - $propbag->add('configuration', array('authorid', 'parent_base', 'image', 'sort_order', 'sort_method', 'allow_select', 'hide_parallel')); + $propbag->add('configuration', array('authorid', 'parent_base', 'image', 'sort_order', 'sort_method', 'allow_select', 'hide_parallel', 'smarty')); $propbag->add('groups', array('FRONTEND_VIEWS')); } @@ -1238,6 +1238,13 @@ class serendipity_categories_plugin extends serendipity_plugin { $propbag->add('default', serendipity_getTemplateFile('img/xml.gif')); break; + case 'smarty': + $propbag->add('type', 'boolean'); + $propbag->add('name', CATEGORY_PLUGIN_TEMPLATE); + $propbag->add('description', CATEGORY_PLUGIN_TEMPLATE_DESC); + $propbag->add('default', false); + break; + default: return false; } @@ -1247,6 +1254,8 @@ class serendipity_categories_plugin extends serendipity_plugin { function generate_content(&$title) { global $serendipity; + $smarty = serendipity_db_bool($this->get_config('smarty', false)); + $which_category = $this->get_config('authorid'); $sort = $this->get_config('sort_order'); if ($sort == 'none') { @@ -1260,7 +1269,7 @@ class serendipity_categories_plugin extends serendipity_plugin { $html = ''; - if ($is_form) { + if (!$smarty && $is_form) { $html .= '
'; } @@ -1275,7 +1284,7 @@ class serendipity_categories_plugin extends serendipity_plugin { if (is_array($categories) && count($categories)) { $categories = serendipity_walkRecursive($categories, 'categoryid', 'parentid', VIEWMODE_THREADED); - foreach ($categories as $cat) { + foreach ($categories as $cid => $cat) { // Hide parents not wanted if ($use_parent && $use_parent != 'all') { if ($parentdepth == 0 && $cat['parentid'] != $use_parent && $cat['categoryid'] != $use_parent) { @@ -1308,36 +1317,55 @@ class serendipity_categories_plugin extends serendipity_plugin { } } - $html .= '
'; + $categories[$cid]['feedCategoryURL'] = serendipity_feedCategoryURL($cat, 'serendipityHTTPPath'); + $categories[$cid]['categoryURL'] = serendipity_categoryURL($cat, 'serendipityHTTPPath'); + $categories[$cid]['paddingPx'] = $cat['depth']*6; - if ($is_form) { - $html .= ''; - } - - if ( !empty($image) ) { - $html .= 'XML '; + if (!$smarty) { + $html .= '
'; + + if ($is_form) { + $html .= ''; + } + + if ( !empty($image) ) { + $html .= 'XML '; + } + $html .= ''. htmlspecialchars($cat['category_name']) .''; + $html .= '
' . "\n"; } - $html .= ''. htmlspecialchars($cat['category_name']) .''; - $html .= '
' . "\n"; } } - if ($is_form) { + if (!$smarty && $is_form) { $html .= '

'; } - $html .= sprintf( - '
%s', - - $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'], - ALL_CATEGORIES, - ALL_CATEGORIES - ); + if (!$smarty) { + $html .= sprintf( + '
%s', + + $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'], + ALL_CATEGORIES, + ALL_CATEGORIES + ); + } - if ($is_form) { + if (!$smarty && $is_form) { $html .= '
'; } - print $html; + + if (!$smarty) { + echo $html; + } else { + $serendipity['smarty']->assign(array( + 'is_form' => $is_form, + 'category_image' => $image, + 'form_url' => $serendipity['baseURL'] . $serendipity['indexFile'], + 'categories' => is_array($categories) ? $categories : array() + )); + echo serendipity_smarty_fetch('CATEGORIES', 'plugin_categories.tpl'); + } } } diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 1678768..a521658 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -777,3 +777,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index 4a4a33d..f88e688 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -791,3 +791,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_cs.inc.php b/lang/UTF-8/serendipity_lang_cs.inc.php index 968e853..ceac710 100644 --- a/lang/UTF-8/serendipity_lang_cs.inc.php +++ b/lang/UTF-8/serendipity_lang_cs.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 3690ee6..f4d739c 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index ccefb34..e39111e 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index d2bcc68..18fb042 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -791,3 +791,5 @@ @define('AUTHORS_ALLOW_SELECT', 'Ermöglicht Besuchern, Einträge mehrerer Autoren gleichzeitig darzustellen?'); @define('AUTHORS_ALLOW_SELECT_DESC', 'Falls diese Option aktiviert ist, wird eine Checkbox neben jedem Autoren angezeigt, damit Besucher mehrere Autoren gleichzeitig auswählen können.'); @define('AUTHOR_PLUGIN_DESC', 'Zeigt die Liste aller Autoren'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Smarty-Templating aktivieren?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'Falls diese Option aktiviert ist, wird das Kategorie-Plugin die Liste mittels Smarty-Templates ausgeben. Durch die Aktivierung der Option kann dann das Layout mittels der Template-Datei "plugin_categories.tpl" angepasst werden. Das Aktivieren dieser Option bringt Einbußungen bei der Performance mit sich, und daher sollten Sie die Option nur dann aktivieren, wenn ihnen die Anpassungen wichtig sind.'); diff --git a/lang/UTF-8/serendipity_lang_en.inc.php b/lang/UTF-8/serendipity_lang_en.inc.php index e26ed73..237a129 100644 --- a/lang/UTF-8/serendipity_lang_en.inc.php +++ b/lang/UTF-8/serendipity_lang_en.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_es.inc.php b/lang/UTF-8/serendipity_lang_es.inc.php index 0082650..235d5ad 100644 --- a/lang/UTF-8/serendipity_lang_es.inc.php +++ b/lang/UTF-8/serendipity_lang_es.inc.php @@ -804,3 +804,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 5b8f79b..16e04c1 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index 6336afb..802afee 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index 274835b..8df80ed 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -797,3 +797,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index c56ba7e..60599f8 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -791,3 +791,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 3d994b1..402d36c 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 2cc53fd..2f4d3a0 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 56d261b..e74df9f 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -794,3 +794,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 0a52fb7..e69363d 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 063fc22..105a10b 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index edb6d52..bb4790c 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 01aa05b..47e238f 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -795,3 +795,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 8386084..ff58fec 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -794,3 +794,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 389feb9..8fd65e2 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index 8a1e0a0..7b46470 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -793,3 +793,5 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index 9987b5a..829bc0a 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index fbd2947..bf0f475 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 0037550..712f0cc 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index 5e175fe..6869236 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -791,3 +791,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/addlang.txt b/lang/addlang.txt index a651ec0..d3a8961 100644 --- a/lang/addlang.txt +++ b/lang/addlang.txt @@ -1 +1,2 @@ -@define('ERROR_XSRF', 'Your browser did not sent a valid HTTP-Referrer string. This may have either been caused by a misconfigured browser/proxy or by a Cross Site Request Forgery (XSRF) aimed at you. The action you requested could not be completed.'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index c381c17..8f65db1 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -777,3 +777,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index 97c5fcf..ef7b7a7 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -791,3 +791,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index e6f1540..f26b857 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index 53be5d9..3313ba0 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 8abfd02..f318ccf 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index c9307a8..5dd2866 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -791,3 +791,5 @@ @define('AUTHORS_ALLOW_SELECT', 'Ermöglicht Besuchern, Einträge mehrerer Autoren gleichzeitig darzustellen?'); @define('AUTHORS_ALLOW_SELECT_DESC', 'Falls diese Option aktiviert ist, wird eine Checkbox neben jedem Autoren angezeigt, damit Besucher mehrere Autoren gleichzeitig auswählen können.'); @define('AUTHOR_PLUGIN_DESC', 'Zeigt die Liste aller Autoren'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Smarty-Templating aktivieren?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'Falls diese Option aktiviert ist, wird das Kategorie-Plugin die Liste mittels Smarty-Templates ausgeben. Durch die Aktivierung der Option kann dann das Layout mittels der Template-Datei "plugin_categories.tpl" angepasst werden. Das Aktivieren dieser Option bringt Einbußungen bei der Performance mit sich, und daher sollten Sie die Option nur dann aktivieren, wenn ihnen die Anpassungen wichtig sind.'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index 608997f..5229511 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 0777345..30689b2 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -804,3 +804,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index 68aded8..c02277d 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index f6a6264..92cc121 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index d363ee7..44c5ec7 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -797,3 +797,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index 8869ebd..cb48eff 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -791,3 +791,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index eb5e6f8..fa2bfae 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index d90cbe3..c1805fa 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index 80ec368..8c8cf18 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -794,3 +794,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 0b62c8f..c282091 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index 6490ee2..ea51fec 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 2463ee9..a3a699d 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index 8f275c1..62cccf6 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -795,3 +795,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index 3f7b392..131db5b 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -794,3 +794,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 389feb9..8fd65e2 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -790,3 +790,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index c011653..0b9be08 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -793,3 +793,5 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index ca4e496..261252e 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index b02be8b..fda660f 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -793,3 +793,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index ced4bb9..6702b6f 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -792,3 +792,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.'); diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index 75d2b5e..de9c033 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -791,3 +791,5 @@ @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'); +@define('CATEGORY_PLUGIN_TEMPLATE', 'Enable Smarty-Templates?'); +@define('CATEGORY_PLUGIN_TEMPLATE_DESC', 'If this option is enabled, the plugin will utilize Smarty-Templating features to output the category listing. If you enable this, you can change the layout via the "plugin_categories.tpl" template file. Enabling this option will impact performance, so if you do not need to make customizations, leave it disabled.');