• Bonjour à tous,

    le générateur est en cours de mise à jour.
    Le forum de support est ouvert.

    Amicalement MasterMan.

[HOW TO] Coché langue FR et sans sous titre par default

BobRegMan

Membre
Inscrit
15 Mars 2014
Discussions
16
Messages
41
Réactions
0
Points
0
Localisation
sous la pluie
Bonjour,

Si vous voulez coché par défaut la langue FR et sans sous titres voila comment faire. pour encore gagné du temps

Bien sur il est adaptable a ce que vous voulez sélectionné par défaut


Fichiers a Modifié

\prez_inc\info.php

Pour les Langues
Trouver :

PHP:
	case 'film'; case 'serie'; case 'jeu'; case 'dvd_spectacle'; case 'manga'; case 'ebook'; case 'film_x'; case 'blu_ray'; case 'magazine'; case 'log';
	  echo '<tr>
        <td width="45%" align="left" '.$colors_cadre_g.' >Langue :</td>
        <td '.$colors_cadre_d.' onMouseover="ddrivetip(\'Indiquer la langue de votre release\' )"; onMouseout="hideddrivetip()">
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Francais" /> <img src="./images/flags/Francais.png" width="18" height="12" border="0" align="top" alt="Français" title="Français">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Anglais" /> <img src="./images/flags/Anglais.png" width="18" height="12" border="0" align="top" alt="Anglais" title="Anglais">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Allemand" /> <img src="./images/flags/Allemand.png" width="18" height="12" border="0" align="top" alt="Allemand" title="Allemand">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Italien" /> <img src="./images/flags/Italien.png" width="18" height="12" border="0" align="top" alt="Italien" title="Italien">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Espagnol" /> <img src="./images/flags/Espagnol.png" width="18" height="12" border="0" align="top" alt="Espagnol" title="Espagnol">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Multilangue" /> <img src="./images/flags/Multilangue.png" width="18" height="12" border="0" align="top" alt="Multilangue" title="Multilangue">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Autres" /> Autres';
		echo '</td>
      </tr>';

Remplacer Par :

PHP:
	case 'film'; case 'serie'; case 'jeu'; case 'dvd_spectacle'; case 'manga'; case 'ebook'; case 'film_x'; case 'blu_ray'; case 'magazine'; case 'log';
	  echo '<tr>
        <td width="45%" align="left" '.$colors_cadre_g.' >Langue :</td>
        <td '.$colors_cadre_d.' onMouseover="ddrivetip(\'Indiquer la langue de votre release\' )"; onMouseout="hideddrivetip()">
			<input name="repid['. $tmp . '][langue][]" type="checkbox" checked="checked" id="langue" value="Francais" /> <img src="./images/flags/Francais.png" width="18" height="12" border="0" align="top" alt="Français" title="Français">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Anglais" /> <img src="./images/flags/Anglais.png" width="18" height="12" border="0" align="top" alt="Anglais" title="Anglais">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Allemand" /> <img src="./images/flags/Allemand.png" width="18" height="12" border="0" align="top" alt="Allemand" title="Allemand">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Italien" /> <img src="./images/flags/Italien.png" width="18" height="12" border="0" align="top" alt="Italien" title="Italien">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Espagnol" /> <img src="./images/flags/Espagnol.png" width="18" height="12" border="0" align="top" alt="Espagnol" title="Espagnol">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Multilangue" /> <img src="./images/flags/Multilangue.png" width="18" height="12" border="0" align="top" alt="Multilangue" title="Multilangue">  
			<input name="repid['. $tmp . '][langue][]" type="checkbox" id="langue" value="Autres" /> Autres';
		echo '</td>
      </tr>';

Pour les sous titres
Trouver :

PHP:
	case 'film'; case 'serie'; case 'dvd_spectacle'; case 'manga'; case 'film_x'; case 'blu_ray'; case 'jeu';
	  echo '<tr>
        <td width="45%" align="left" '.$colors_cadre_g.' >Sous-titres :</td>
        <td '.$colors_cadre_d.' onMouseover="ddrivetip(\'Indiquer la présence de sous-titres de votre release\' )"; onMouseout="hideddrivetip()">
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Aucun" /> Aucun<br />
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Francais" /> <img src="./images/flags/Francais.png" width="18" height="12" border="0" align="top" alt="Français" title="Français">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Anglais" /> <img src="./images/flags/Anglais.png" width="18" height="12" border="0" align="top" alt="Anglais" title="Anglais">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Allemand" /> <img src="./images/flags/Allemand.png" width="18" height="12" border="0" align="top" alt="Allemand" title="Allemand">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Italien" /> <img src="./images/flags/Italien.png" width="18" height="12" border="0" align="top" alt="Italien" title="Italien">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Espagnol" /> <img src="./images/flags/Espagnol.png" width="18" height="12" border="0" align="top" alt="Espagnol" title="Espagnol">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Autres" /> Autres
		</td>
      </tr>';


Remplacer Par :

PHP:
	case 'film'; case 'serie'; case 'dvd_spectacle'; case 'manga'; case 'film_x'; case 'blu_ray'; case 'jeu';
	  echo '<tr>
        <td width="45%" align="left" '.$colors_cadre_g.' >Sous-titres :</td>
        <td '.$colors_cadre_d.' onMouseover="ddrivetip(\'Indiquer la présence de sous-titres de votre release\' )"; onMouseout="hideddrivetip()">
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" checked="checked" id="soustitres" value="Aucun" /> Aucun<br />
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Francais" /> <img src="./images/flags/Francais.png" width="18" height="12" border="0" align="top" alt="Français" title="Français">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Anglais" /> <img src="./images/flags/Anglais.png" width="18" height="12" border="0" align="top" alt="Anglais" title="Anglais">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Allemand" /> <img src="./images/flags/Allemand.png" width="18" height="12" border="0" align="top" alt="Allemand" title="Allemand">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Italien" /> <img src="./images/flags/Italien.png" width="18" height="12" border="0" align="top" alt="Italien" title="Italien">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Espagnol" /> <img src="./images/flags/Espagnol.png" width="18" height="12" border="0" align="top" alt="Espagnol" title="Espagnol">  
			<input name="repid['. $tmp . '][soustitres][]" type="checkbox" id="soustitres" value="Autres" /> Autres
		</td>
      </tr>';

Amicalement
 
Dernière édition:
Discussions
1 576
Messages
7 723
Membres
781
Dernier membre
Retour
Haut Bas