Changeset 29614 for _plugins_/rers
- Timestamp:
- 02.07.2009 21:32:46 (7 months ago)
- Location:
- _plugins_/rers
- Files:
-
- 1 added
- 8 modified
-
article.html (modified) (1 diff)
-
exec/articles.php (modified) (1 diff)
-
exec/mots_edit.php (modified) (2 diffs)
-
exec/rers_aide.php (modified) (1 diff)
-
fonds/cfg_rers.html (modified) (3 diffs)
-
inc/formater_auteur.php (added)
-
lang/local_fr.php (modified) (4 diffs)
-
rers_options.php (modified) (2 diffs)
-
styles/perso.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/rers/article.html
r29217 r29614 101 101 </BOUCLE_auteur_principal2> 102 102 </BOUCLE_rerscontact> 103 104 105 103 106 104 107 -
_plugins_/rers/exec/articles.php
r29425 r29614 46 46 $commencer_page = charger_fonction('commencer_page', 'inc'); 47 47 echo $commencer_page("« ". $row['titre'] ." »", "naviguer", "articles", $row['id_rubrique']); 48 49 48 50 49 51 echo debut_grand_cadre(true), -
_plugins_/rers/exec/mots_edit.php
r29217 r29614 188 188 $aff_articles = "'prop','publie'"; 189 189 190 191 192 193 $rers_rub_offres = lire_config('rers/rers_rub_offres'); 194 $rers_rub_demandes = lire_config('rers/rers_rub_demandes'); 195 $rers_rub_vie = lire_config('rers/rers_rub_vie'); 196 197 198 //RERS 199 $out .= afficher_objets('article',"OFFRES", array('FROM' => "spip_articles AS articles LEFT JOIN spip_mots_articles AS lien ON lien.id_article=articles.id_article", 200 "WHERE" => "statut='prop' AND id_rubrique=$rers_rub_offres AND lien.id_mot=$id_mot", 201 'ORDER BY' => "date DESC")); 202 $out .= afficher_objets('article',"DEMANDES", array('FROM' => "spip_articles AS articles LEFT JOIN spip_mots_articles AS lien ON lien.id_article=articles.id_article", 203 "WHERE" => "statut='prop' AND id_rubrique=$rers_rub_demandes AND lien.id_mot=$id_mot", 204 'ORDER BY' => "date DESC")); 205 206 global $connect_statut; //rers 207 if ($connect_statut !== '0minirezo') //RERS 208 {//rers if statut != 0minirezo 209 210 } //RERS 211 else //RERS 212 {// RERS 213 214 $out .= "<br><br><br><hr><h3> Ce qui suit est réservé aux administrateurs</h3>"; //RERS 190 215 $out .= afficher_objets('rubrique','<b>' . _T('info_rubriques_liees_mot') . '</b>', array("FROM" => 'spip_rubriques AS rubrique LEFT JOIN spip_mots_rubriques AS lien ON lien.id_rubrique=rubrique.id_rubrique', 'WHERE' => "lien.id_mot=$id_mot", 'ORDER BY' => "rubrique.titre")); 191 216 … … 195 220 196 221 $out .= afficher_objets('site','<b>' . _T('info_sites_lies_mot') . '</b>', array("FROM" => 'spip_syndic AS syndic LEFT JOIN spip_mots_syndic AS lien ON lien.id_syndic=syndic.id_syndic', 'WHERE' => "lien.id_mot=$id_mot", 'ORDER BY' => "syndic.nom_site DESC")); 222 223 224 }//RERS 197 225 198 226 } -
_plugins_/rers/exec/rers_aide.php
r29217 r29614 30 30 // contenu 31 31 // ... 32 33 34 // AIDE RERS 35 $rers_auteur_webmestre = lire_config('rers/rers_auteur_webmestre'); 36 echo icone_horizontale("Envoyer un message prive au Webmestre ", generer_action_auteur("editer_message","normal/$rers_auteur_webmestre"),"message.gif","", false); 32 37 echo _T('rers_aide_contenu'); 38 39 33 40 // ... 34 41 // fin contenu -
_plugins_/rers/fonds/cfg_rers.html
r29217 r29614 144 144 145 145 146 <h3>Liste des offres et demandes par domaines de savoirs</h3> 147 148 149 150 151 <h4> Offres</h4> 152 <ul> 153 <BOUCLE_jccdom(MOTS){tous}{type_mot='Domaine de savoirs'}> 154 <li>#TITRE 155 <ul> 156 <BOUCLE_jccmot(ARTICLES){statut=prop}{id_mot}{id_rubrique=#CONFIG{rers/rers_rub_offres}}> 157 <li><b>#TITRE</b> 158 <BOUCLE_jccaut(AUTEURS){id_article}> 159 [(#REM) indiquer le nom ? 160 , par #NOM 161 ] 162 </li> 163 </BOUCLE_jccaut> 164 </BOUCLE_jccmot> 165 </ul></li> 166 </BOUCLE_jccdom> 167 </ul> 146 147 <h3>Coordonnées email des auteurs (qui ont un email)</h3> 148 149 Administrateurs :<br /> 150 <BOUCLE_jccemail(AUTEURS){tous}{statut=0minirezo}{par nom}> 151 ["#NOM" <(#EMAIL)>,] 152 </BOUCLE_jccemail> 153 <br /> 154 <br /> 155 156 Rédacteurs : <br /> 157 <BOUCLE_jccemail2(AUTEURS){tous}{statut=1comite}{par nom}> 158 ["#NOM" <(#EMAIL)>,] 159 </BOUCLE_jccemail2> 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 <h3> Offres et demandes </h3> 178 179 <h4> Offres</h4> 180 <ul> 181 <BOUCLE_jccoff(ARTICLES){statut=prop}{id_rubrique=#CONFIG{rers/rers_rub_offres}}> 182 <li>#TITRE 183 <BOUCLE_jccautoff(AUTEURS){id_article}> 184 [(#REM) indiquer le nom ? 185 , par #NOM 186 ] 187 </li> 188 </BOUCLE_jccautoff> 189 </BOUCLE_jccoff> 190 </ul> 191 192 <h4> Demandes</h4> 193 <ul> 194 <BOUCLE_jccdem(ARTICLES){statut=prop}{id_rubrique=#CONFIG{rers/rers_rub_demandes}}> 195 <li>#TITRE 196 <BOUCLE_jccautdem(AUTEURS){id_article}> 197 [(#REM) indiquer le nom ? 198 , par #NOM 199 ] 200 </li> 201 </BOUCLE_jccautdem> 202 </BOUCLE_jccdem> 203 </ul> 204 205 206 207 208 209 210 211 212 213 214 <h3> Offres et demandes par domaines de savoirs </h3> 215 <h4> Offres</h4> 216 <ul> 217 <BOUCLE_jccdom(MOTS){tous}{type_mot="Domaine de savoirs"}> 218 <li>#TITRE 219 <ul> 220 <BOUCLE_jccmot(ARTICLES){statut=prop}{id_mot}{id_rubrique=#CONFIG{rers/rers_rub_offres}}> 221 <li>#TITRE 222 <BOUCLE_jccaut(AUTEURS){id_article}> 223 [(#REM) indiquer le nom ? 224 , par #NOM 225 ] 226 </li> 227 </BOUCLE_jccaut> 228 </BOUCLE_jccmot> 229 </ul></li> 230 </BOUCLE_jccdom> 231 </ul> 232 233 234 168 235 169 236 <h4> Demandes</h4> … … 173 240 <ul> 174 241 <BOUCLE_jccmot2(ARTICLES){statut=prop}{id_mot}{id_rubrique=#CONFIG{rers/rers_rub_demandes}}> 175 <li> <b>#TITRE</b>242 <li>#TITRE 176 243 <BOUCLE_jccaut2(AUTEURS){id_article}> 177 244 [(#REM) indiquer le nom ? … … 186 253 187 254 188 <h3>Coordonnées email des auteurs (qui ont un email)</h3> 189 190 Administrateurs :<br /> 191 <BOUCLE_jccemail(AUTEURS){tous}{statut=0minirezo}{par nom}> 192 ["#NOM" <(#EMAIL)>,] 193 </BOUCLE_jccemail> 194 <br /> 195 <br /> 196 197 Rédacteurs : <br /> 198 <BOUCLE_jccemail2(AUTEURS){tous}{statut=1comite}{par nom}> 199 ["#NOM" <(#EMAIL)>,] 200 </BOUCLE_jccemail2> 201 202 203 204 205 206 207 208 255 -
_plugins_/rers/lang/local_fr.php
r29217 r29614 26 26 27 27 $GLOBALS[$GLOBALS['idx_lang']] = array( 28 29 // A Classer.... 30 'text_article_propose_publication_forum' => " ", // ecrire 31 'texte_en_cours_validation_forum' => " ", // ecrire 32 28 33 29 34 //--- exec/rers_aide.php … … 61 66 //--- icones espace privé 62 67 'icone_a_suivre' => "Accueil espace privé",//spip 63 'icone_edition_site' => "Rubriques OFFRES, DEMANDES, VIE", //spip68 'icone_edition_site' => "Rubriques", //spip 64 69 'titre_forum' => "Forum entre Adhérents", //spip 65 70 'info_forum_interne' => "Forum entre Adhérents", //ecrire … … 185 190 { 186 191 $GLOBALS[$GLOBALS['idx_lang']][info_texte] = "Texte <br /> 187 <div style='border:solid 1px'> 192 <div style='border:dashed 1px'> 193 Conseils pour la rédaction : <br /> 188 194 Pensez à détailler votre fiche d'offre de savoir en 189 195 indiquant par exemple : <br /> … … 208 214 { 209 215 $GLOBALS[$GLOBALS['idx_lang']][info_texte] = "Texte <br /> 210 <div style='border:solid 1px'> 216 <div style='border:dashed 1px'> 217 Conseils pour la rédaction : <br /> 211 218 Pensez à détailler votre fiche de demande de savoir en 212 219 indiquant par exemple : -
_plugins_/rers/rers_options.php
r29425 r29614 28 28 <li><a href='?exec=naviguer&id_rubrique=$rers_rub_offres'>rubrique OFFRES</a></li> 29 29 <li><a href='?exec=naviguer&id_rubrique=$rers_rub_demandes'>rubrique DEMANDES</a></li> 30 <li><a href='?exec=naviguer&id_rubrique=$rers_rub_vie'>rubrique VIE </a></li>30 <li><a href='?exec=naviguer&id_rubrique=$rers_rub_vie'>rubrique VIE DU RERS</a></li> 31 31 <li><a href='?exec=mots_tous'>DOMAINE DE SAVOIRS (classement des offres et demandes par domaines de savoirs)</a></li> 32 32 </ul> … … 35 35 </ul> 36 36 <ul style='padding-left:1em'> 37 <li><a href='?exec=rers_aide'> Guide d'utilisation du site</a></li>38 <li><a href='?exec=message_edit&new=oui&dest=$rers_auteur_webmestre'>une question ? (message privé au webmaster)</a></li>37 <li><a href='?exec=rers_aide'>Aide</a></li> 38 39 39 </ul> 40 40 -
_plugins_/rers/styles/perso.css
r29217 r29614 8 8 Autre solution a creuser.. ROUGE-GRIS : FOND = gris 444444 , BACKGROUND MENU = rouge bordeau 882913 9 9 */ 10 11 12 10 13 11 14 … … 179 182 } 180 183 184 ul, ul.spip { list-style: disc;} 185 ul ul.spip, ol ul.spip { list-style: circle;} 181 186 182 187 /* ------------------------------------------------------------------
