[PLUGINS] +set de base
[lhc/web/www.git] / www / plugins / seo-v1 / exec / seo_config.php
1 <?php
2 /**
3 * BouncingOrange SPIP SEO plugin
4 *
5 * @category SEO
6 * @package SPIP_SEO
7 * @author Pierre ROUSSET (p.rousset@gmail.com)
8 * @copyright Copyright (c) 2009 BouncingOrange (http://www.bouncingorange.com)
9 * @license http://opensource.org/licenses/gpl-2.0.php General Public License (GPL 2.0)
10 */
11
12 if (!defined('_ECRIRE_INC_VERSION')) return;
13
14 function exec_seo_config(){
15
16 if (!autoriser('configurer', 'configuration')){
17 include_spip('inc/minipres');
18 echo minipres();
19 exit();
20 }
21
22 ///// PAGE /////
23
24 $titre_page = _T('icone_configuration_site');
25 $rubrique = 'configuration';
26 $sous_rubrique = 'seo';
27
28 $commencer_page = charger_fonction('commencer_page', 'inc');
29 echo($commencer_page(_T('seo:seo') . ' - ' . $titre_page, $rubrique, $sous_rubrique));
30
31 $page_result = ''
32 . '<br /><br /><br />'
33 . gros_titre(_T('titre_page_config_contenu'), '', false)
34 . barre_onglets($rubrique, $sous_rubrique)
35 . debut_gauche($rubrique, true)
36 . pipeline('affiche_gauche', array('args' => array('exec' => 'seo_config'), 'data' => ''))
37 . creer_colonne_droite($rubrique, true)
38 . pipeline('affiche_droite', array('args' => array('exec' => 'seo_config'), 'data' => ''))
39 . debut_droite($rubrique, true);
40
41 // Insert Head //
42
43 // Meta tag //
44
45 // Canonical URL //
46
47 // Google Webmaster Tools //
48
49 // Google Analytics //
50
51 $page_result .= recuperer_fond('prive/configurer_seo');
52
53 echo $page_result, pipeline('affiche_milieu', array('args' => array('exec' => $sous_rubrique), 'data' => '')), fin_gauche(), fin_page();
54 }
55
56 ?>