Browse Source

Pictos Fontawesome dans les article/rubriques : ajout d'une explication + les chaines de langue

master
jeanmarie 6 months ago
parent
commit
a7feee95d1
  1. 8
      base/html5up_twenty.php
  2. 5
      lang/html5up_twenty_fr.php

8
base/html5up_twenty.php

@ -10,11 +10,12 @@ function html5up_twenty_declarer_champs_extras($champs = array()) {
'saisie' => 'input',
'options' => array(
'nom' => 'picto_fa',
'label' => _T('html5up_twenty:picto_fa'),
'label' => _T('html5up_twenty:picto_fa'),
'explication' => _T('html5up_twenty:picto_fa_explication'),
'placeholder' => _T('html5up_twenty:picto_fa_placeholder'),
'defaut' => '',
'rows' => 10,
'sql' => "text DEFAULT '' NOT NULL",
'placeholder' => _T('html5up_twenty:picto_fa_placeholder'),
)
);
$champs['spip_rubriques']['picto_fa'] = array(
@ -22,10 +23,11 @@ function html5up_twenty_declarer_champs_extras($champs = array()) {
'options' => array(
'nom' => 'picto_fa',
'label' => _T('html5up_twenty:picto_fa'),
'explication' => _T('html5up_twenty:picto_fa_explication'),
'placeholder' => _T('html5up_twenty:picto_fa_placeholder'),
'defaut' => '',
'rows' => 10,
'sql' => "text DEFAULT '' NOT NULL",
'placeholder' => _T('html5up_twenty:picto_fa_placeholder'),
)
);
return $champs;

5
lang/html5up_twenty_fr.php

@ -37,6 +37,11 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
// M
'menu' => 'Menu',
// P
'picto_fa' => 'Picto Fontawesome dans l\'enête',
'picto_fa_explication' => 'Indiquez ici le nom du picto que souhaitez voir afficher au dessus du titre sans le préfixe (fas, fab, fal...)',
'picto_fa_placeholder' => 'fa-grip-horizontal',
// S
'suite' => 'Suite',

Loading…
Cancel
Save