Dotclear

Changeset 3359


Ignore:
Timestamp:
02/10/15 16:50:38 (9 years ago)
Author:
brol
Message:

voir changelog

Location:
plugins/sitemaps
Files:
10 added
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • plugins/sitemaps/_admin.php

    r975 r3359  
    33# 
    44# This file is part of Sitemaps, a plugin for DotClear2. 
    5 # Copyright (c) 2006-2009 Pep and contributors. 
     5# Copyright (c) 2006-2015 Pep and contributors. 
    66# Licensed under the GPL version 2.0 license. 
    77# See LICENSE file or 
     
    99# 
    1010# -- END LICENSE BLOCK ------------------------------------ 
    11 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 
     11if (!defined('DC_CONTEXT_ADMIN')) return; 
    1212 
    1313$_menu['Blog']->addItem(__('Sitemaps'),'plugin.php?p=sitemaps','index.php?pf=sitemaps/icon.png', 
    1414          preg_match('/plugin.php\?p=sitemaps(&.*)?$/',$_SERVER['REQUEST_URI']), 
    1515          $core->auth->check('contentadmin',$core->blog->id)); 
    16 ?> 
     16           
     17$core->addBehavior('adminDashboardFavorites','sitemapsDashboardFavorites'); 
     18 
     19function sitemapsDashboardFavorites($core,$favs) 
     20{ 
     21     $favs->register('sitemaps', array( 
     22          'title' => __('Sitemaps'), 
     23          'url' => 'plugin.php?p=sitemaps', 
     24          'small-icon' => 'index.php?pf=sitemaps/icon.png', 
     25          'large-icon' => 'index.php?pf=sitemaps/icon-big.png', 
     26          'permissions' => 'usage,contentadmin' 
     27     )); 
     28} 
  • plugins/sitemaps/_define.php

    r1470 r3359  
    33# 
    44# This file is part of Sitemaps, a plugin for DotClear2. 
    5 # Copyright (c) 2006-2009 Pep and contributors. 
     5# Copyright (c) 2006-2015 Pep and contributors. 
    66# Licensed under the GPL version 2.0 license. 
    77# See LICENSE file or 
     
    99# 
    1010# -- END LICENSE BLOCK ------------------------------------ 
    11 if (!defined('DC_RC_PATH')) { return; } 
     11if (!defined('DC_RC_PATH')) return; 
     12 
    1213$this->registerModule( 
    1314     /* Name */          "Sitemaps", 
    1415     /* Description*/    "Add XML Sitemaps", 
    1516     /* Author */        "Pep and contributors", 
    16      /* Version */       '1.0', 
    17      /* Permissions */   'contentadmin' 
     17     /* Version */       '1.1-RC5', 
     18     /* Properties */ 
     19     array( 
     20          'permissions' => 'contentadmin', 
     21          'type' => 'plugin', 
     22          'dc_min' => '2.6', 
     23          'support' => 'http://lab.dotclear.org/wiki/plugin/sitemaps', 
     24          'details' => 'http://plugins.dotaddict.org/dc2/details/sitemaps' 
     25     ) 
    1826); 
    19 ?> 
  • plugins/sitemaps/_install.php

    r1297 r3359  
    33# 
    44# This file is part of Sitemaps, a plugin for DotClear2. 
    5 # Copyright (c) 2006-2009 Pep and contributors. 
     5# Copyright (c) 2006-2015 Pep and contributors. 
    66# Licensed under the GPL version 2.0 license. 
    77# See LICENSE file or 
     
    99# 
    1010# -- END LICENSE BLOCK ------------------------------------ 
    11 if (!defined('DC_CONTEXT_ADMIN')) exit; 
     11if (!defined('DC_CONTEXT_ADMIN')) return; 
    1212 
    1313$package_version = $core->plugins->moduleInfo('sitemaps','version'); 
     
    2020try { 
    2121     // Default settings 
    22      $core->blog->settings->setNameSpace('sitemaps'); 
    23      $core->blog->settings->put('sitemaps_active',false,'boolean','Sitemaps activation',false,true); 
     22     $core->blog->settings->addNameSpace('sitemaps'); 
     23     $core->blog->settings->sitemaps->put('sitemaps_active',false,'boolean','Sitemaps activation',false,true); 
    2424 
    25      $core->blog->settings->put('sitemaps_home_url',   true,'boolean','',false,true); 
    26      $core->blog->settings->put('sitemaps_home_pr',    1,   'double', '',false,true); 
    27      $core->blog->settings->put('sitemaps_home_fq',    3,   'integer','',false,true); 
     25     $core->blog->settings->sitemaps->put('sitemaps_home_url',   true,'boolean','',false,true); 
     26     $core->blog->settings->sitemaps->put('sitemaps_home_pr',    1,   'double', '',false,true); 
     27     $core->blog->settings->sitemaps->put('sitemaps_home_fq',    3,   'integer','',false,true); 
    2828 
    29      $core->blog->settings->put('sitemaps_feeds_url',  true,'boolean','',false,true); 
    30      $core->blog->settings->put('sitemaps_feeds_pr',   1,   'double', '',false,true); 
    31      $core->blog->settings->put('sitemaps_feeds_fq',   2,   'integer','',false,true); 
     29     $core->blog->settings->sitemaps->put('sitemaps_feeds_url',  true,'boolean','',false,true); 
     30     $core->blog->settings->sitemaps->put('sitemaps_feeds_pr',   1,   'double', '',false,true); 
     31     $core->blog->settings->sitemaps->put('sitemaps_feeds_fq',   2,   'integer','',false,true); 
    3232 
    33      $core->blog->settings->put('sitemaps_posts_url',  true,'boolean','',false,true); 
    34      $core->blog->settings->put('sitemaps_posts_pr',   1,   'double', '',false,true); 
    35      $core->blog->settings->put('sitemaps_posts_fq',   3,   'integer','',false,true); 
     33     $core->blog->settings->sitemaps->put('sitemaps_posts_url',  true,'boolean','',false,true); 
     34     $core->blog->settings->sitemaps->put('sitemaps_posts_pr',   1,   'double', '',false,true); 
     35     $core->blog->settings->sitemaps->put('sitemaps_posts_fq',   3,   'integer','',false,true); 
    3636 
    37      $core->blog->settings->put('sitemaps_pages_url',  true,'boolean','',false,true); 
    38      $core->blog->settings->put('sitemaps_pages_pr',   1,   'double', '',false,true); 
    39      $core->blog->settings->put('sitemaps_pages_fq',   0,   'integer','',false,true); 
     37     $core->blog->settings->sitemaps->put('sitemaps_pages_url',  true,'boolean','',false,true); 
     38     $core->blog->settings->sitemaps->put('sitemaps_pages_pr',   1,   'double', '',false,true); 
     39     $core->blog->settings->sitemaps->put('sitemaps_pages_fq',   0,   'integer','',false,true); 
    4040 
    41      $core->blog->settings->put('sitemaps_cats_url',   true,'boolean','',false,true); 
    42      $core->blog->settings->put('sitemaps_cats_pr',    0.6, 'double', '',false,true); 
    43      $core->blog->settings->put('sitemaps_cats_fq',    4,   'integer','',false,true); 
     41     $core->blog->settings->sitemaps->put('sitemaps_cats_url',   true,'boolean','',false,true); 
     42     $core->blog->settings->sitemaps->put('sitemaps_cats_pr',    0.6, 'double', '',false,true); 
     43     $core->blog->settings->sitemaps->put('sitemaps_cats_fq',    4,   'integer','',false,true); 
    4444 
    45      $core->blog->settings->put('sitemaps_tags_url',   true,'boolean','',false,true); 
    46      $core->blog->settings->put('sitemaps_tags_pr',    0.6, 'double', '',false,true); 
    47      $core->blog->settings->put('sitemaps_tags_fq',    4,   'integer','',false,true); 
     45     $core->blog->settings->sitemaps->put('sitemaps_tags_url',   true,'boolean','',false,true); 
     46     $core->blog->settings->sitemaps->put('sitemaps_tags_pr',    0.6, 'double', '',false,true); 
     47     $core->blog->settings->sitemaps->put('sitemaps_tags_fq',    4,   'integer','',false,true); 
    4848 
    4949     // Search engines notification 
     
    5656          'mslive'  => array( 
    5757               'name'    => 'MS Live Search', 
    58                'url'     => 'http://webmaster.live.com/webmaster/ping.aspx' 
     58               'url'     => 'http://www.bing.com/webmaster/ping.aspx' 
    5959          ), 
    6060          'bing'    => array( 
     
    6464          'yahoo'   => array( 
    6565               'name'    => 'Yahoo!', 
    66                'url'     => 'http://search.yahooapis.com/SiteExplorerService/V1/ping' 
     66               'url'     => 'http://www.bing.com/webmaster/ping.aspx' 
    6767          ) 
    6868     ); 
    69      $core->blog->settings->put('sitemaps_engines',@serialize($search_engines),'string','',true,true); 
     69     $core->blog->settings->sitemaps->put('sitemaps_engines',@serialize($search_engines),'string','',true,true); 
    7070 
    7171     // Preferences 
    72      $core->blog->settings->put('sitemaps_pings','google','string','',false,true); 
     72     $core->blog->settings->sitemaps->put('sitemaps_pings','google','string','',false,true); 
    7373 
    74      $core->blog->settings->setNameSpace('system'); 
    7574     $core->setVersion('sitemaps',$package_version); 
    7675     unset($package_version,$installed_version); 
     
    8281     return false; 
    8382} 
    84 ?> 
  • plugins/sitemaps/_prepend.php

    r1470 r3359  
    33# 
    44# This file is part of Sitemaps, a plugin for DotClear2. 
    5 # Copyright (c) 2006-2009 Pep and contributors. 
     5# Copyright (c) 2006-2015 Pep and contributors. 
    66# Licensed under the GPL version 2.0 license. 
    77# See LICENSE file or 
     
    99# 
    1010# -- END LICENSE BLOCK ------------------------------------ 
    11 if (!defined('DC_RC_PATH')) { return; } 
     11if (!defined('DC_RC_PATH')) return; 
    1212 
    13 $GLOBALS['__autoload']['dcSitemaps'] = dirname(__FILE__).'/inc/class.dc.sitemaps.php'; 
     13global $core, $__autoload; 
     14 
     15$__autoload['dcSitemaps'] = dirname(__FILE__).'/inc/class.dc.sitemaps.php'; 
    1416 
    1517// Behavior(s) 
    16 $GLOBALS['core']->addBehavior('publicBeforeDocument', array('sitemapsBehaviors','addTemplatePath')); 
    17  
    1818class sitemapsBehaviors 
    1919{ 
     
    2525} 
    2626 
     27$core->addBehavior('publicBeforeDocument', array('sitemapsBehaviors','addTemplatePath')); 
     28 
     29 
    2730// URL Handler(s) 
    28 $GLOBALS['core']->url->register('gsitemap','sitemap.xml','^sitemap[_\.]xml$',array('sitemapsUrlHandlers','sitemap')); 
    29  
    3031class sitemapsUrlHandlers extends dcUrlHandlers 
    3132{ 
     
    3435          global $core,$_ctx; 
    3536           
    36           if (!$core->blog->settings->sitemaps_active) { 
     37          if (!$core->blog->settings->sitemaps->sitemaps_active) { 
    3738               self::p404(); 
    3839               return; 
     
    4950     } 
    5051} 
    51 ?> 
     52 
     53$core->url->register('gsitemap','sitemap.xml','^sitemap[_\.]xml$',array('sitemapsUrlHandlers','sitemap')); 
  • plugins/sitemaps/_public.php

    r975 r3359  
    33# 
    44# This file is part of Sitemaps, a plugin for DotClear2. 
    5 # Copyright (c) 2006-2009 Pep and contributors. 
     5# Copyright (c) 2006-2015 Pep and contributors. 
    66# Licensed under the GPL version 2.0 license. 
    77# See LICENSE file or 
     
    99# 
    1010# -- END LICENSE BLOCK ------------------------------------ 
    11 if (!defined('DC_RC_PATH')) { return; } 
     11if (!defined('DC_RC_PATH')) return; 
    1212 
    1313$core->tpl->addBlock('SitemapEntries'        ,array('sitemapsTemplates','SitemapEntries')); 
     
    7070     } 
    7171} 
    72 ?> 
  • plugins/sitemaps/inc/class.dc.sitemaps.php

    r1470 r3359  
    33# 
    44# This file is part of Sitemaps, a plugin for DotClear2. 
    5 # Copyright (c) 2006-2009 Pep and contributors. 
     5# Copyright (c) 2006-2015 Pep and contributors. 
    66# Licensed under the GPL version 2.0 license. 
    77# See LICENSE file or 
     
    99# 
    1010# -- END LICENSE BLOCK ------------------------------------ 
     11if (!defined('DC_RC_PATH')) {return;} 
     12 
    1113class dcSitemaps 
    1214{ 
     
    3032               'post', 
    3133               $this->blog->url.$this->core->url->getBase('post').'/', 
    32                $this->blog->settings->sitemaps_posts_fq, 
    33                $this->blog->settings->sitemaps_posts_pr 
     34               $this->blog->settings->sitemaps->sitemaps_posts_fq, 
     35               $this->blog->settings->sitemaps->sitemaps_posts_pr 
    3436          ); 
    3537          $this->addPostType( 
    3638               'page', 
    3739               $this->blog->url.$this->core->url->getBase('pages').'/', 
    38                $this->blog->settings->sitemaps_pages_fq, 
    39                $this->blog->settings->sitemaps_pages_pr 
     40               $this->blog->settings->sitemaps->sitemaps_pages_fq, 
     41               $this->blog->settings->sitemaps->sitemaps_pages_pr 
    4042          ); 
    4143     } 
     
    4446     public function getURLs() 
    4547     { 
    46           if ($this->blog->settings->sitemaps_active && empty($this->urls)) { 
     48          if ($this->blog->settings->sitemaps->sitemaps_active && empty($this->urls)) { 
    4749               $this->collectURLs(); 
    4850          } 
     
    118120     { 
    119121          // Homepage URL 
    120           if ($this->blog->settings->sitemaps_home_url) 
     122          if ($this->blog->settings->sitemaps->sitemaps_home_url) 
    121123          { 
    122                $freq = $this->getFrequency($this->blog->settings->sitemaps_home_fq); 
    123                $prio = $this->getPriority($this->blog->settings->sitemaps_home_pr); 
     124               $freq = $this->getFrequency($this->blog->settings->sitemaps->sitemaps_home_fq); 
     125               $prio = $this->getPriority($this->blog->settings->sitemaps->sitemaps_home_pr); 
    124126 
    125127               $this->addEntry($this->blog->url,$prio,$freq); 
     
    127129 
    128130          // Main syndication feeds URLs 
    129           if ($this->core->blog->settings->sitemaps_feeds_url) 
     131          if ($this->core->blog->settings->sitemaps->sitemaps_feeds_url) 
    130132          { 
    131                $freq = $this->getFrequency($this->blog->settings->sitemaps_feeds_fq); 
    132                $prio = $this->getPriority($this->blog->settings->sitemaps_feeds_pr); 
     133               $freq = $this->getFrequency($this->blog->settings->sitemaps->sitemaps_feeds_fq); 
     134               $prio = $this->getPriority($this->blog->settings->sitemaps->sitemaps_feeds_pr); 
    133135 
    134136               $this->addEntry( 
     
    141143 
    142144          // Posts entries URLs 
    143           if ($this->core->blog->settings->sitemaps_posts_url) { 
     145          if ($this->core->blog->settings->sitemaps->sitemaps_posts_url) { 
    144146               $this->collectEntriesURLs('post'); 
    145147          } 
    146148 
    147149          // Pages entries URLs 
    148           if ($this->core->plugins->moduleExists('pages') && $this->core->blog->settings->sitemaps_pages_url) { 
     150          if ($this->core->plugins->moduleExists('pages') && $this->core->blog->settings->sitemaps->sitemaps_pages_url) { 
    149151               $this->collectEntriesURLs('page'); 
    150152          } 
    151153 
    152154          // Categories URLs 
    153           if ($this->core->blog->settings->sitemaps_cats_url) 
     155          if ($this->core->blog->settings->sitemaps->sitemaps_cats_url) 
    154156          { 
    155                $freq = $this->getFrequency($this->blog->settings->sitemaps_cats_fq); 
    156                $prio = $this->getPriority($this->blog->settings->sitemaps_cats_pr); 
     157               $freq = $this->getFrequency($this->blog->settings->sitemaps->sitemaps_cats_fq); 
     158               $prio = $this->getPriority($this->blog->settings->sitemaps->sitemaps_cats_pr); 
    157159 
    158                $cats = $this->blog->getCategories(); 
     160               $cats = $this->blog->getCategories(array('post_type'=>'post')); 
    159161               while ($cats->fetch()) { 
    160162                    $this->addEntry( 
     
    164166          } 
    165167 
    166           if ($this->core->plugins->moduleExists('metadata') && $this->core->blog->settings->sitemaps_tags_url) 
     168          if ($this->core->plugins->moduleExists('tags') && $this->core->blog->settings->sitemaps->sitemaps_tags_url) 
    167169          { 
    168                $freq = $this->getFrequency($this->blog->settings->sitemaps_tags_fq); 
    169                $prio = $this->getPriority($this->blog->settings->sitemaps_tags_pr); 
     170               $freq = $this->getFrequency($this->blog->settings->sitemaps->sitemaps_tags_fq); 
     171               $prio = $this->getPriority($this->blog->settings->sitemaps->sitemaps_tags_pr); 
    170172                
    171173               $meta = new dcMeta($this->core); 
     
    179181           
    180182          // External parts ? 
    181           # --BEHAVIOR-- packagerAfterCreate 
     183          # --BEHAVIOR-- sitemapsURLsCollect 
    182184          $this->core->callBehavior('sitemapsURLsCollect', $this); 
    183185     } 
    184186} 
    185 ?> 
  • plugins/sitemaps/index.php

    r975 r3359  
    33# 
    44# This file is part of Sitemaps, a plugin for DotClear2. 
    5 # Copyright (c) 2006-2009 Pep and contributors. 
     5# Copyright (c) 2006-2015 Pep and contributors. 
    66# Licensed under the GPL version 2.0 license. 
    77# See LICENSE file or 
     
    99# 
    1010# -- END LICENSE BLOCK ------------------------------------ 
    11 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 
     11if (!defined('DC_CONTEXT_ADMIN')) return; 
     12 
     13$page_title = __('XML Sitemaps'); 
    1214 
    1315$periods = array( 
     
    3537$msg = ''; 
    3638$default_tab = 'sitemaps_options'; 
    37 $active = $core->blog->settings->sitemaps_active; 
     39$active = $core->blog->settings->sitemaps->sitemaps_active; 
    3840 
    3941foreach ($map_parts as $k => $v) { 
    40      ${$v.'_url'} = $core->blog->settings->get('sitemaps_'.$v.'_url'); 
    41      ${$v.'_pr'}  = $core->blog->settings->get('sitemaps_'.$v.'_pr'); 
    42      ${$v.'_fq'}  = $core->blog->settings->get('sitemaps_'.$v.'_fq'); 
    43 } 
    44  
    45 $engines = @unserialize($core->blog->settings->sitemaps_engines); 
    46 $default_pings = explode(',',$core->blog->settings->sitemaps_pings); 
     42     ${$v.'_url'} = $core->blog->settings->sitemaps->get('sitemaps_'.$v.'_url'); 
     43     ${$v.'_pr'}  = $core->blog->settings->sitemaps->get('sitemaps_'.$v.'_pr'); 
     44     ${$v.'_fq'}  = $core->blog->settings->sitemaps->get('sitemaps_'.$v.'_fq'); 
     45} 
     46 
     47$engines = @unserialize($core->blog->settings->sitemaps->sitemaps_engines); 
     48$default_pings = explode(',',$core->blog->settings->sitemaps->sitemaps_pings); 
    4749 
    4850// Save new configuration 
     
    5052     try 
    5153     { 
    52           $core->blog->settings->setNameSpace('sitemaps'); 
     54          $core->blog->settings->addNameSpace('sitemaps'); 
    5355 
    5456          $active = (empty($_POST['active']))?false:true; 
    55           $core->blog->settings->put('sitemaps_active',$active,'boolean'); 
     57          $core->blog->settings->sitemaps->put('sitemaps_active',$active,'boolean'); 
    5658 
    5759          foreach ($map_parts as $k => $v) { 
     
    6062               ${$v.'_fq'}  = min(abs(intval($_POST[$v.'_fq'])),6); 
    6163 
    62                $core->blog->settings->put('sitemaps_'.$v.'_url', ${$v.'_url'}, 'boolean'); 
    63                $core->blog->settings->put('sitemaps_'.$v.'_pr' , ${$v.'_pr'}, 'double'); 
    64                $core->blog->settings->put('sitemaps_'.$v.'_fq' , ${$v.'_fq'}, 'integer'); 
     64               $core->blog->settings->sitemaps->put('sitemaps_'.$v.'_url', ${$v.'_url'}, 'boolean'); 
     65               $core->blog->settings->sitemaps->put('sitemaps_'.$v.'_pr' , ${$v.'_pr'}, 'double'); 
     66               $core->blog->settings->sitemaps->put('sitemaps_'.$v.'_fq' , ${$v.'_fq'}, 'integer'); 
    6567          } 
    6668          $core->blog->triggerBlog(); 
     
    8183               $new_prefs = implode(',',$_POST['pings']); 
    8284          } 
    83           $core->blog->settings->setNamespace('sitemaps'); 
    84           $core->blog->settings->put('sitemaps_pings',$new_prefs,'string'); 
     85          $core->blog->settings->addNamespace('sitemaps'); 
     86          $core->blog->settings->sitemaps->put('sitemaps_pings',$new_prefs,'string'); 
    8587          http::redirect('plugin.php?p='.$p.'&prefs=1'); 
    8688          exit; 
     
    126128<html> 
    127129<head> 
    128      <title><?php echo __('XML Sitemaps'); ?></title> 
     130  <title><?php echo $page_title; ?></title> 
    129131     <?php echo dcPage::jsPageTabs($default_tab); ?> 
    130132</head> 
    131133<body> 
    132 <h2><?php echo html::escapeHTML($core->blog->name); ?> &gt; <?php echo __('XML Sitemaps'); ?></h2> 
    133 <?php if (!empty($msg)) echo '<p class="message">'.$msg.'</p>'; ?> 
     134<?php 
     135     echo dcPage::breadcrumb( 
     136          array( 
     137               html::escapeHTML($core->blog->name) => '', 
     138               '<span class="page-title">'.$page_title.'</span>' => '' 
     139          )); 
     140 
     141if (!empty($msg)) { 
     142  dcPage::success($msg); 
     143} 
     144?> 
    134145<!-- Configuration panel --> 
    135146<div class="multi-part" id="sitemaps_options" title="<?php echo __('Configuration'); ?>"> 
    136147     <form method="post" action="<?php echo http::getSelfURI(); ?>"> 
    137      <fieldset> 
    138           <legend><?php echo __('Plugin activation'); ?></legend> 
     148     <div class="fieldset"> 
     149          <h4><?php echo __('Plugin activation'); ?></h4> 
    139150          <p class="field"> 
    140151          <label class=" classic"><?php echo form::checkbox('active', 1, $active); ?>&nbsp; 
     
    142153          </label> 
    143154          </p> 
    144      </fieldset> 
    145      <fieldset> 
    146           <legend><?php echo __('For your information'); ?></legend> 
    147           <p> 
     155          <p class="info"> 
    148156          <?php echo __("This blog's Sitemap URL:"); ?>&nbsp; 
    149157          <strong><?php echo $core->blog->url.$core->url->getBase('gsitemap'); ?></strong> 
    150158          </p> 
    151      </fieldset> 
    152      <fieldset> 
    153           <legend><?php echo __('Elements to integrate'); ?></legend> 
     159     </div> 
     160      
     161     <div class="fieldset"> 
     162          <h4><?php echo __('Elements to integrate'); ?></h4> 
    154163          <table class="maximal"> 
    155164          <tbody> 
     
    157166          <tr> 
    158167          <td> 
    159                <label class=" classic"> 
     168               <label class="classic"> 
    160169               <?php echo form::checkbox($v.'_url', 1, ${$v.'_url'});?> 
    161170               &nbsp;<?php echo $k;?> 
     
    163172          </td> 
    164173          <td> 
    165                <label class=" classic"><?php echo __('Priority'); ?>&nbsp; 
     174               <label class="classic"><?php echo __('Priority'); ?>&nbsp; 
    166175               <?php echo form::field($v.'_pr', 4, 4, ${$v.'_pr'}); ?> 
    167176               </label> 
    168177          </td> 
    169178          <td> 
    170                <label class=" classic"><?php echo __('Periodicity'); ?>&nbsp; 
     179               <label class="classic"><?php echo __('Periodicity'); ?>&nbsp; 
    171180               <?php echo form::combo($v.'_fq', $periods, ${$v.'_fq'}); ?> 
    172181               </label> 
     
    176185     </tbody> 
    177186     </table> 
    178      </fieldset> 
     187     </div> 
    179188 
    180189     <p><input type="hidden" name="p" value="sitemaps" /> 
     
    191200<div class="multi-part" id="sitemaps_notifications" title="<?php echo __('Search engines notification'); ?>"> 
    192201     <form method="post" action="<?php echo http::getSelfURI(); ?>"> 
    193      <fieldset> 
    194           <legend><?php echo __('Available search engines'); ?></legend> 
     202     <div class="fieldset"> 
     203          <h4><?php echo __('Available search engines'); ?></h4> 
    195204          <table class="maximal"> 
    196205               <tbody> 
     
    198207               <tr> 
    199208               <td> 
    200                     <label class=" classic"> 
     209                    <label class="classic"> 
    201210                    <?php echo form::checkbox('pings[]', $eng, in_array($eng,$default_pings));?> 
    202211                    &nbsp;<?php echo $eng_infos['name'];?> 
     
    207216               </tbody> 
    208217          </table> 
    209      </fieldset> 
     218     </div> 
    210219     <p><input type="hidden" name="p" value="sitemaps" /> 
    211220     <?php echo $core->formNonce(); ?> 
     
    217226     </form> 
    218227</div> 
    219  
     228<?php dcPage::helpBlock('sitemaps'); ?> 
    220229</body> 
    221230</html> 
  • plugins/sitemaps/locales/fr/main.po

    r1795 r3359  
    1313"X-Poedit-Country: FRANCE\n" 
    1414"X-Poedit-SourceCharset: iso-8859-1\n" 
     15 
     16msgid "Add XML Sitemaps" 
     17msgstr "Ajoutez Sitemaps XML" 
    1518 
    1619#: _admin.php:13 
     
    6669msgstr "Catégories" 
    6770 
    68 #: index.php:29 
    69 msgid "Tags" 
    70 msgstr "Tags" 
    71  
    7271#: index.php:103 
    7372msgid "Response does not seem OK" 
     
    102101msgid "Configuration" 
    103102msgstr "Configuration" 
    104  
    105 #: index.php:138 
    106 msgid "Plugin activation" 
    107 msgstr "Activation de l'extension" 
    108103 
    109104#: index.php:141 
Note: See TracChangeset for help on using the changeset viewer.

Sites map