changelog
parent
c0e8290c1b
commit
48a317e5bd
|
@ -13,7 +13,7 @@ if (!defined('DC_RC_PATH')) {
|
|||
return;
|
||||
}
|
||||
class ConstCategoriesPage {
|
||||
const VERSION = '0.2';
|
||||
const VERSION = '0.6';
|
||||
const NS = 'CategoriesPage';
|
||||
const PARAM = 'CategoriesPage';
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@ $this->registerModule(
|
|||
/* Name */ 'CategoriesPage',
|
||||
/* Description*/ 'Add a category list page',
|
||||
/* Author */ 'Pierre Van Glabeke, Bernard Le Roux',
|
||||
/* Version */ '0.5',
|
||||
/* Version */ '0.6',
|
||||
/* Properties */
|
||||
array(
|
||||
'permissions' => 'admin',
|
||||
'type' => 'plugin',
|
||||
'dc_min' => '2.8',
|
||||
'dc_min' => '2.9',
|
||||
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=326224#p326224',
|
||||
'details' => 'http://plugins.dotaddict.org/dc2/details/categoriesPage'
|
||||
)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
v0.6 - 05-11-2017 : Pierre Van Glabeke
|
||||
* modifs html
|
||||
* ajout dotty
|
||||
|
||||
v0.5 - 19-07-2015 : Pierre Van Glabeke
|
||||
* modif breadcrumb
|
||||
* héritage de thème mustek
|
||||
|
|
|
@ -8,11 +8,6 @@
|
|||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="dc-entry">
|
||||
<meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Categories page}} - {{tpl:BlogName encode_html="1"}}" />
|
||||
<meta property="dc.language" content="{{tpl:BlogLanguage}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
|
||||
<tpl:Categories>
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:lang Categories Page}} - {{tpl:BlogName encode_html="1"}}</title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-robots">
|
||||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
|
||||
<tpl:Categories>
|
||||
<link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
|
||||
</tpl:Categories>
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-categories"></tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<div id="content-info">
|
||||
<h2>{{tpl:lang Categories}}</h2>
|
||||
</div>
|
||||
|
||||
<div class="content-inner">
|
||||
<tpl:Categories>
|
||||
<div class="category post">
|
||||
<h3><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> ({{tpl:CategoryCount}})</h3>
|
||||
<div>{{tpl:CategoryDescription}}</div>
|
||||
|
||||
<p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
|
||||
title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a>
|
||||
|
||||
<tpl:SysIf operator="or" comments_active="1" pings_active="1">
|
||||
- <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
|
||||
title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a>
|
||||
</tpl:SysIf>
|
||||
</p>
|
||||
</div>
|
||||
</tpl:Categories>
|
||||
|
||||
</div>
|
||||
</tpl:Block>
|
|
@ -8,11 +8,6 @@
|
|||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="dc-entry">
|
||||
<meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Categories page}} - {{tpl:BlogName encode_html="1"}}" />
|
||||
<meta property="dc.language" content="{{tpl:BlogLanguage}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
|
||||
<tpl:Categories>
|
||||
|
|
|
@ -1,26 +1,32 @@
|
|||
# Language: Français
|
||||
# Module: CategoriesPage - 0.6
|
||||
# Date: 2017-11-05 19:17:08
|
||||
# Translated with translater 2017.05.10
|
||||
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Project-Id-Version: CategoriesPage 0.6\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: brol <contact@brol.info>\n"
|
||||
"PO-Revision-Date: 2017-11-05T19:17:08+00:00\n"
|
||||
"Last-Translator: brol\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=iso-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: _public.php:85
|
||||
#: _widgets.php:55
|
||||
#: default-templates/currywurst/categories.html:4
|
||||
#: default-templates/dotty/categories.html:4
|
||||
#: default-templates/mustek/categories.html:4
|
||||
msgid "Categories Page"
|
||||
msgstr "Page des catégories"
|
||||
|
||||
#: _widgets.php:58
|
||||
msgid "Link to categories"
|
||||
msgstr "Lien vers la page des catégories"
|
||||
|
||||
msgid "Add a category list page"
|
||||
msgstr "Ajoute une page listant les catégories"
|
||||
|
||||
msgid "All categories"
|
||||
msgstr "Toutes les catégories"
|
||||
|
||||
msgid "Categories Page"
|
||||
msgstr "Page des catégories"
|
||||
|
||||
msgid "Categories"
|
||||
msgstr "Catégories"
|
||||
|
||||
msgid "Link to categories"
|
||||
msgstr "Lien vers la page des catégories"
|
Loading…
Reference in New Issue