traduction en français
parent
de4039bb04
commit
cf882192b3
|
@ -19,7 +19,7 @@ class categoriespageAdminBehaviors
|
||||||
{
|
{
|
||||||
public static function main() {
|
public static function main() {
|
||||||
|
|
||||||
require_once '/_widgets.php';
|
require_once '_widgets.php';
|
||||||
|
|
||||||
$menu = $GLOBALS['_menu'];
|
$menu = $GLOBALS['_menu'];
|
||||||
$core = $GLOBALS['core'];
|
$core = $GLOBALS['core'];
|
||||||
|
|
13
index.php
13
index.php
|
@ -1,15 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
# -- BEGIN LICENSE BLOCK ----------------------------------
|
/* -- BEGIN LICENSE BLOCK ----------------------------------
|
||||||
#
|
#
|
||||||
# This file is part of categoriesMode, a plugin for Dotclear 2.
|
# This file is part of Categories Page, a plugin for Dotclear 2.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007-2011 Adjaya and contributors
|
# Copyright (c) 2013 Pierre Van Glabeke, Bernard Le Roux
|
||||||
# Licensed under the GPL version 2.0 license.
|
# Licensed under the GPL version 2.0 license.
|
||||||
# See LICENSE file or
|
# See LICENSE file or
|
||||||
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||||
#
|
#
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------*/
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -18,8 +17,10 @@ indexCategoriesPage::main();
|
||||||
|
|
||||||
|
|
||||||
class indexCategoriesPage {
|
class indexCategoriesPage {
|
||||||
|
|
||||||
public static function main() {
|
public static function main() {
|
||||||
require_once 'ConstCategoriesPage.php';
|
require_once 'ConstCategoriesPage.php';
|
||||||
|
|
||||||
$core = $GLOBALS['core'];
|
$core = $GLOBALS['core'];
|
||||||
$ns = $core->blog->settings->addNameSpace( ConstCategoriesPage::NS);
|
$ns = $core->blog->settings->addNameSpace( ConstCategoriesPage::NS);
|
||||||
if ( $ns->get(ConstCategoriesPage::PLUGIN_IS_ACTIVE) === null) {
|
if ( $ns->get(ConstCategoriesPage::PLUGIN_IS_ACTIVE) === null) {
|
||||||
|
@ -63,7 +64,7 @@ class indexCategoriesPage {
|
||||||
'<div id="categoriesmode_options">
|
'<div id="categoriesmode_options">
|
||||||
<form method="post" action="plugin.php">
|
<form method="post" action="plugin.php">
|
||||||
<div class="fieldset">
|
<div class="fieldset">
|
||||||
<h4>'. __('Plugin activation').'</h4>
|
<h4>'. __('Plugin config').'</h4>
|
||||||
<p class="field">
|
<p class="field">
|
||||||
<label class=" classic">'. form::checkbox('active', 1, $active).' '.
|
<label class=" classic">'. form::checkbox('active', 1, $active).' '.
|
||||||
__('Enable categoriesMode').
|
__('Enable categoriesMode').
|
||||||
|
|
|
@ -24,3 +24,15 @@ msgstr "Activer la page des catégories"
|
||||||
|
|
||||||
msgid "Categories"
|
msgid "Categories"
|
||||||
msgstr "Catégories"
|
msgstr "Catégories"
|
||||||
|
|
||||||
|
msgid "Configuration successfully updated."
|
||||||
|
msgstr "La configuration a été mise à jour"
|
||||||
|
|
||||||
|
msgid "Plugin config"
|
||||||
|
msgstr "Configuration du plugin"
|
||||||
|
|
||||||
|
msgid "Enable categoriesMode"
|
||||||
|
msgstr "Activation du plugin"
|
||||||
|
|
||||||
|
msgid "Save configuration"
|
||||||
|
msgstr "Sauvegarde de la configuration"
|
||||||
|
|
Loading…
Reference in New Issue