Changeset 29234 for _plugins_/jeux
- Timestamp:
- 18.06.2009 00:00:01 (8 months ago)
- Location:
- _plugins_/jeux
- Files:
-
- 5 modified
-
fonds/jeux_tous.html (modified) (1 diff)
-
jeu.html (modified) (1 diff)
-
jeux_fonctions.php (modified) (4 diffs)
-
lang/jeux_de.php (modified) (1 diff)
-
lang/jeux_it.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/jeux/fonds/jeux_tous.html
r26495 r29234 19 19 <td style="text-align:center">[(#DATE|affdate)] [(#DATE|heures)]:[(#DATE|minutes)]</td> 20 20 <td style="text-align:center"><BOUCLE_resultats(JEUX_RESULTATS){id_jeu}></BOUCLE_resultats>[(#TOTAL_BOUCLE|jeux_lien_jeu{jeux_resultats_jeu,#ID_JEU})]<//B_resultats></td> 21 <td style="text-align:center"> [(#REM|sinon{'jeux:resultat_'#TYPE_RESULTAT}|_T)]</td>21 <td style="text-align:center">#TYPE_RESULTAT_COURT</td> 22 22 </tr> 23 23 </BOUCLE_jeux> -
_plugins_/jeux/jeu.html
r29182 r29234 15 15 <h1 class="entry-title">[(#REM|sinon{<:jeux:jeu_court:>}|replace{@id@,#ID_JEU}|replace{@nom@,#TYPE_JEU})]</h1> 16 16 <p class="soustitre">[(#TITRE_PUBLIC|sinon{<:info_sans_titre:>})]</p> 17 [<div id="jeu-#ID_JEU" class="#EDIT{contenu} imagereduire_500">(#CONTENU *|traite_contenu_jeu{#ID_JEU}|image_reduire{500,0})</div>]17 [<div id="jeu-#ID_JEU" class="#EDIT{contenu} imagereduire_500">(#CONTENU_PROPRE|image_reduire{500,0})</div>] 18 18 19 19 [(#REM) Pied de page ] -
_plugins_/jeux/jeux_fonctions.php
r27643 r29234 73 73 } 74 74 75 // renvoie le titre du jeu que l'on peut trouver grace au separateur [titre]75 // renvoie le titre public du jeu que l'on peut trouver grace au separateur [titre] 76 76 function titre_jeu($texte) { 77 77 include_spip('jeux_utils'); … … 79 79 } 80 80 81 /* Quelques balises "raccourcis" */ 82 83 // extraction du titre public, equivalent a : #CONTENU*|titre_jeu 81 84 function balise_TITRE_PUBLIC_dist($p) { 82 85 $texte = champ_sql('contenu', $p); … … 84 87 return $p; 85 88 } 86 /* 89 90 // interpretation du jeu, equivalent a : #CONTENU*|traite_contenu_jeu{#ID_JEU} 87 91 function balise_CONTENU_PROPRE_dist($p) { 88 92 $id = champ_sql('id_jeu', $p); … … 91 95 return $p; 92 96 } 93 */ 97 98 // traduction longue du type de resultat 99 function balise_TYPE_RESULTAT_LONG_dist($p) { 100 $type = champ_sql('type_resultat', $p); 101 $p->code = "_T('jeux:resultat2_'.$type)"; 102 return $p; 103 } 104 105 // traduction courte du type de resultat 106 function balise_TYPE_RESULTAT_COURT_dist($p) { 107 $type = champ_sql('type_resultat', $p); 108 $p->code = "_T('jeux:resultat_'.$type)"; 109 return $p; 110 } 111 94 112 include_spip('public/interfaces'); 95 113 global $table_des_traitements; -
_plugins_/jeux/lang/jeux_de.php
r26496 r29234 5 5 $GLOBALS[$GLOBALS['idx_lang']] = array( 6 6 7 'alphabet' => "ABCDEFGHIJKLMNOPQRSTUVWXYZ-", 8 'aucun_jeu' => 'Kein Spiel', 7 9 'votre_choix' => "Ihre Wahl: ", 8 10 'votre_reponse' => "Ihre Antwort: ", -
_plugins_/jeux/lang/jeux_it.php
r26496 r29234 6 6 7 7 'alphabet' => "ABCDEFGHIJKLMNOPQRSTUVWXYZ-", 8 8 'aucun_jeu' => 'No game', 9 9 'votre_choix' => "La tua risposta: ", 10 10 'votre_reponse' => "La tua risposta: ",
