traduction en français
parent
de4039bb04
commit
cf882192b3
|
@ -19,7 +19,7 @@ class categoriespageAdminBehaviors
|
|||
{
|
||||
public static function main() {
|
||||
|
||||
require_once '/_widgets.php';
|
||||
require_once '_widgets.php';
|
||||
|
||||
$menu = $GLOBALS['_menu'];
|
||||
$core = $GLOBALS['core'];
|
||||
|
|
13
index.php
13
index.php
|
@ -1,15 +1,14 @@
|
|||
<?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.
|
||||
# See LICENSE file or
|
||||
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
#
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
|
||||
# -- END LICENSE BLOCK ------------------------------------*/
|
||||
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
@ -18,8 +17,10 @@ indexCategoriesPage::main();
|
|||
|
||||
|
||||
class indexCategoriesPage {
|
||||
|
||||
public static function main() {
|
||||
require_once 'ConstCategoriesPage.php';
|
||||
|
||||
$core = $GLOBALS['core'];
|
||||
$ns = $core->blog->settings->addNameSpace( ConstCategoriesPage::NS);
|
||||
if ( $ns->get(ConstCategoriesPage::PLUGIN_IS_ACTIVE) === null) {
|
||||
|
@ -63,7 +64,7 @@ class indexCategoriesPage {
|
|||
'<div id="categoriesmode_options">
|
||||
<form method="post" action="plugin.php">
|
||||
<div class="fieldset">
|
||||
<h4>'. __('Plugin activation').'</h4>
|
||||
<h4>'. __('Plugin config').'</h4>
|
||||
<p class="field">
|
||||
<label class=" classic">'. form::checkbox('active', 1, $active).' '.
|
||||
__('Enable categoriesMode').
|
||||
|
|
|
@ -24,3 +24,15 @@ msgstr "Activer la page des catégories"
|
|||
|
||||
msgid "Categories"
|
||||
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