sorti de la fabrique
This commit is contained in:
parent
2f4142499b
commit
82b8fbc553
11 changed files with 252 additions and 0 deletions
106
fabrique_redirectmobile.php
Normal file
106
fabrique_redirectmobile.php
Normal file
File diff suppressed because one or more lines are too long
16
formulaires/configurer_redirectmobile.html
Normal file
16
formulaires/configurer_redirectmobile.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<div class="formulaire_spip formulaire_configurer formulaire_#FORM">
|
||||
|
||||
<h3 class="titrem"><:redirectmobile:cfg_titre_parametrages:/></h3>
|
||||
|
||||
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
|
||||
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
|
||||
|
||||
<form method="post" action="#ENV{action}">
|
||||
<div>
|
||||
#ACTION_FORMULAIRE
|
||||
|
||||
<input type="hidden" name="_meta_casier" value="redirectmobile" />
|
||||
<p class="boutons"><span class="image_loading"> </span><input type="submit" class="submit" value="<:bouton_enregistrer|attribut_html:/>" /></p>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
14
lang/paquet-redirectmobile_fr.php
Normal file
14
lang/paquet-redirectmobile_fr.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// R
|
||||
'redirectmobile_description' => '',
|
||||
'redirectmobile_nom' => 'Redirect Mobile',
|
||||
'redirectmobile_slogan' => '',
|
||||
);
|
20
lang/redirectmobile_fr.php
Normal file
20
lang/redirectmobile_fr.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// R
|
||||
'redirectmobile_titre' => 'Redirect Mobile',
|
||||
|
||||
// C
|
||||
'cfg_exemple' => 'Exemple',
|
||||
'cfg_exemple_explication' => 'Explication de cet exemple',
|
||||
'cfg_titre_parametrages' => 'Paramétrages',
|
||||
|
||||
// T
|
||||
'titre_page_configurer_redirectmobile' => 'Redirect Mobile',
|
||||
);
|
24
paquet.xml
Normal file
24
paquet.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<paquet
|
||||
prefix="redirectmobile"
|
||||
categorie="communication"
|
||||
version="1.0.0"
|
||||
etat="dev"
|
||||
compatibilite="[3.2.6-dev;3.3.*]"
|
||||
logo="prive/themes/spip/images/redirectmobile-xx.svg"
|
||||
documentation=""
|
||||
>
|
||||
<!--
|
||||
Paquet généré le 2020-12-26 10:34:32
|
||||
-->
|
||||
|
||||
<nom>Redirect Mobile</nom>
|
||||
|
||||
|
||||
<auteur lien='https://gamuza.fr'>tofulm</auteur>
|
||||
|
||||
<licence>GNU/GPL</licence>
|
||||
|
||||
<pipeline nom="autoriser" inclure="redirectmobile_autorisations.php" />
|
||||
|
||||
|
||||
</paquet>
|
7
prive/squelettes/contenu/configurer_redirectmobile.html
Normal file
7
prive/squelettes/contenu/configurer_redirectmobile.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
[(#AUTORISER{configurer,_redirectmobile}|sinon_interdire_acces)]
|
||||
|
||||
<h1 class="grostitre"><:redirectmobile:titre_page_configurer_redirectmobile:/></h1>
|
||||
|
||||
<div class="ajax">
|
||||
#FORMULAIRE_CONFIGURER_REDIRECTMOBILE
|
||||
</div>
|
2
prive/themes/spip/images/redirectmobile-xx.svg
Normal file
2
prive/themes/spip/images/redirectmobile-xx.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 13 KiB |
21
redirectmobile_autorisations.php
Normal file
21
redirectmobile_autorisations.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* Définit les autorisations du plugin Redirect Mobile
|
||||
*
|
||||
* @plugin Redirect Mobile
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Redirectmobile\Autorisations
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fonction d'appel pour le pipeline
|
||||
* @pipeline autoriser */
|
||||
function redirectmobile_autoriser() {
|
||||
}
|
14
redirectmobile_fonctions.php
Normal file
14
redirectmobile_fonctions.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Fonctions utiles au plugin Redirect Mobile
|
||||
*
|
||||
* @plugin Redirect Mobile
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Redirectmobile\Fonctions
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
14
redirectmobile_options.php
Normal file
14
redirectmobile_options.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Options au chargement du plugin Redirect Mobile
|
||||
*
|
||||
* @plugin Redirect Mobile
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Redirectmobile\Options
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
14
redirectmobile_pipelines.php
Normal file
14
redirectmobile_pipelines.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
/**
|
||||
* Utilisations de pipelines par Redirect Mobile
|
||||
*
|
||||
* @plugin Redirect Mobile
|
||||
* @copyright 2020
|
||||
* @author tofulm
|
||||
* @licence GNU/GPL
|
||||
* @package SPIP\Redirectmobile\Pipelines
|
||||
*/
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) {
|
||||
return;
|
||||
}
|
Loading…
Add table
Reference in a new issue