alpha_full/menu/barreRech.php
2026-04-06 22:58:51 +02:00

12 lines
1.0 KiB
PHP
Executable File

<?php
$nomFicAppelant = basename(__FILE__);
// ---------------------------------------------------
// barre recherche
// ---------------------------------------------------
$action='document.location.href=\'./index.php?affPageSite=20&typeDeRecherche=6&nomPrd=\'+this.value+\'&afficheRes=oui\';';
if ( $affMContext === true ) echo '<input type="text" name="recherche" id="rechInput" placeHolder="' .$catalogMsg[11]. '" onChange= "' .$action. '" onKeyPress="if (event.keyCode == 13) {\'"' .$action. '"\'};" onClick ="this.value=\'\';" ' .$mouseOverMenuContext. ' onContextMenu="return mContextuel(this, \'rechInput\',\'catalog\', \'11\', event);" style="cursor:context-menu">';
else echo '<input type="text" name="recherche" id="rechInput" placeHolder="' .$catalogMsg[11]. '" onChange= "' .$action. '" onKeyPress="if (event.keyCode == 13) {\'"' .$action. '"\'};" onClick ="this.value=\'\';" >';
dynamiqItemImage (0, 0, '#rechBtn', 'span', 'onClick="' .$action. '";', 'bouton', 15, '-', '-textClass-', $boutonStyle[15]);
?>