Skip to content
Extraits de code Groupes Projets
Valider 7df18e9f rédigé par cerdic's avatar cerdic
Parcourir les fichiers

#FORMULAIRE_RECHERCHE_ECRIRE pour l'espace prive

parent 81a430e3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -390,6 +390,8 @@ prive/formulaires/editer_rubrique.html -text
prive/formulaires/editer_rubrique.php -text
prive/formulaires/inc-logo_auteur.html -text
prive/formulaires/login.php -text
prive/formulaires/recherche_ecrire.html -text
prive/formulaires/recherche_ecrire.php -text
prive/formulaires/selecteur_groupe_mot.html -text
prive/formulaires/selecteur_groupe_mot_fonctions.php -text
prive/ical_prive.html -text
......
<div class="formulaire_spip formulaire_recherche">
<form action="[(#ENV{action})]" method="get"><div>
[(#ENV{action}|form_hidden)]
[<input type="hidden" name="lang" value="(#ENV{lang})" />]
<label for="recherche"><:info_rechercher_02:></label>
<input type="text" class="text" size="10" name="recherche" id="recherche"[ value="(#ENV{recherche})"] accesskey="4" />
<input type='image' src='[(#CHEMIN_IMAGE{loupe.png})]' name='submit' class="image" alt='<:info_rechercher|attribut_html:>' />
[(#ENV{recherche}|oui)<a href='#ENV{action}' title='<:annuler_recherche|attribut_html:>'>[(#CHEMIN{img_pack/annuler-recherche.png}|balise_img|inserer_attribut{alt,<:annuler_recherche:>})]</a>]
</div></form>
</div>
<?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2009 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
\***************************************************************************/
if (!defined("_ECRIRE_INC_VERSION")) return;
// chargement des valeurs par defaut des champs du formulaire
function formulaires_recherche_ecrire_charger_dist($action = ''){
if ($GLOBALS['spip_lang'] != $GLOBALS['meta']['langue_site'])
$lang = $GLOBALS['spip_lang'];
else
$lang='';
return
array(
'action' => ($action ? $action : generer_url_ecrire('recherche')), # action specifique, ne passe pas par Verifier, ni Traiter
'recherche' => _request('recherche'),
'lang' => $lang
);
}
?>
......@@ -408,9 +408,15 @@ div.brouteur_rubrique_on div a { color: #000; }
#wysiwyg a { /*color: #604A7F;*/ text-decoration: underline; }
#wysiwyg a:hover { /*color: #f57900;*/ text-decoration: underline; }
.spip_recherche { width: 240px; float: [(#GET{right})]; }
.spip_recherche .recherche{ padding: 3px; width: 200px; font-size: 10px; border: 1px solid #fff; background-color: #GET{foncee}; color: #fff; margin: 0 3px 6px 0; }
/* version old style */
.spip_recherche { width: 240px; float: [(#GET{right})]; border:0;background:none;}
.spip_recherche .recherche { padding: 3px; width: 200px; font-size: 10px; border: 1px solid #fff; background-color: #GET{foncee}; color: #fff; margin: 0 3px 6px 0; }
.spip_recherche .submit {vertical-align:middle;}
/* version moderne */
.formulaire_spip.formulaire_recherche { width: 240px; float: [(#GET{right})]; border:0;background:none;}
.formulaire_spip.formulaire_recherche .text{ padding: 3px; width: 200px; font-size: 10px; border: 1px solid #fff; background-color: #GET{foncee}; color: #fff; margin: 0 3px 6px 0; }
.formulaire_spip.formulaire_recherche label {display:none;}
.formulaire_spip.formulaire_recherche .submit,.formulaire_spip.formulaire_recherche .image {vertical-align:middle;}
.boutonlien { font-weight: bold; font-size: 9px; }
a.boutonlien:hover { color: #454545; text-decoration: none; }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter