Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 39 → Rev 40

/trunk/configuration/baz_config.inc.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: baz_config.inc.php,v 1.7 2005-10-21 16:15:04 florian Exp $
// CVS : $Id: baz_config.inc.php,v 1.8 2005-10-24 09:42:21 florian Exp $
/**
* Fichier de configuration du bazar
*
31,7 → 31,7
*@author Florian SCHMITT <florian@ecole-et-nature.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.7 $ $Date: 2005-10-21 16:15:04 $
*@version $Revision: 1.8 $ $Date: 2005-10-24 09:42:21 $
// +------------------------------------------------------------------------------------------------------+
*/
//==================================== LES FLUX RSS==================================
68,6 → 68,7
define ('BAZ_CHAMPS_ID','ga_id_administrateur'); //Champs index sur la table annuaire
define ('BAZ_CHAMPS_NOM','ga_nom'); //Champs nom sur la table annuaire
define ('BAZ_CHAMPS_PRENOM','ga_prenom'); //Champs prenom sur la table annuaire
define ('BAZ_CHAMPS_STRUCTURE','ga_structure'); //Champs indiquant si c'est une structure qui est identifiée
define ('BAZ_CHAMPS_EMAIL','ga_mail'); //Champs prenom sur la table annuaire
$GLOBALS['_BAZAR_']['url'] = $GLOBALS['_GEN_commun']['url'];
90,7 → 91,10
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* $Log: not supported by cvs2svn $
* Revision 1.7 2005/10/21 16:15:04 florian
* mise a jour appropriation
*
* Revision 1.6 2005/09/30 12:22:54 florian
* Ajouts commentaires pour fiche, modifications graphiques, maj SQL
*
/trunk/bibliotheque/bazar.fonct.rss.php
256,6 → 256,36
$res .= '<div class="BAZ_cadre_fiche_corps">'."\n";
$res .= '<h3>'.BAZ_LES_STRUCTURES_POSSEDANT_UNE_RESSOURCE.'</h3>'."\n";
$requete = 'SELECT '.BAZ_CHAMPS_ID.', '.BAZ_CHAMPS_NOM.' FROM bazar_appropriation,'.BAZ_ANNUAIRE.' WHERE ba_ce_id_fiche='.$GLOBALS['_BAZAR_']['id_fiche'].' AND ba_ce_id_structure='.BAZ_CHAMPS_ID.' ORDER BY '.BAZ_CHAMPS_NOM.' ASC';
$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
if (DB::isError ($resultat)) {
die ($resultat->getMessage().'<br />'.$resultat->getDebugInfo()) ;
}
if ($resultat->numRows()>0) {
$res .= BAZ_IL_Y_A.$resultat->numRows().' ';
if ($resultat->numRows()==1) $res .= BAZ_COMMENTAIRE.'<br />'."\n";
else $res .= BAZ_COMMENTAIRES.'<br />'."\n";
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
$res .= '<div class="bulle_haut">&nbsp;</div>'."\n";
$res .= '<div class="bulle_corps">'."\n";
//affichage du commentaire
$res .= $ligne['bc_commentaire'].'<br />'."\n";
$res .= '</div>'."\n";
$res .= '<div class="bulle_bas">'."\n";
$res .= '<div style="font-size:9px;margin-left:10px;">'.BAZ_PAR.' : <strong>'.$ligne['bc_nom'].'</strong>'.BAZ_ECRIT_LE.$ligne['bc_date'].'</div>'."\n";
//pour les identifiés seulement, administrateurs de la rubrique ou superadmins
if ($est_admin==1) {
$url_comment= $GLOBALS['_BAZAR_']['url'];
$url_comment->addQueryString('action', BAZ_VOIR_FICHE);
$url_comment->addQueryString('id_fiche', $GLOBALS['_BAZAR_']['id_fiche']);
$url_comment->addQueryString('id_commentaire', $ligne['bc_id_commentaire']);
$res .= '<a href="'.$url_comment->getURL().'" style="font-size:9px;float:right;">'.BAZ_SUPPRIMER.'</a>'."\n";
}
$res .= '</div>'."\n";
}
}
else $res .= BAZ_PAS_D_APPROPRIATION.'<br /><br />'."\n";
$res .= '</div>'."\n";
$res .= '<div class="BAZ_cadre_fiche_bas">&nbsp;</div>'."\n";
$res .= '</div>'."\n";
/trunk/bazar.interne.css
24,20 → 24,20
.BAZ_cadre_fiche {color:#000;margin:0 auto;width:654px;}
.BAZ_cadre_fiche a {font: 13px arial, sans-serif;color:#000;text-decoration:none;}
.BAZ_cadre_fiche a:hover {color:#515966;text-decoration:underline;}
.BAZ_cadre_fiche_haut {height:18px;width:654px;background:url(http://educ-envir.org/client/bazar/images/BAZ_cadre_haut.gif) top left;}
.BAZ_cadre_fiche_haut {height:18px;width:654px;background:url(images/BAZ_cadre_haut.gif) top left;}
.BAZ_cadre_fiche_corps {padding:15px 15px 0 15px;font: 13px arial, sans-serif;text-align:justify;line-height: 17px;border-left:solid 1px #000;border-right:solid 1px #000;background:#FFF;}
.BAZ_cadre_fiche_bas {height:18px;width:654px;background:url(http://educ-envir.org/client/bazar/images/BAZ_cadre_bas.gif) top left;}
.BAZ_cadre_fiche_bas {height:18px;width:654px;background:url(images/BAZ_cadre_bas.gif) top left;}
#fiche_image {float:left;height:160px; width:160px;}
#fiche_titre_image {float:left;width:400px; text-align:center; padding:6px; background:#F2B43B; color:#FFF; font: 18px arial, sans-serif;}
#fiche_titre {text-align:center; padding:6px; background:#F2B43B; color:#FFF; font: 18px arial, sans-serif;}
#BAZ_description {margin:10px 0;font: 15px arial, sans-serif;text-align:justify;}
#BAZ_bas_page { height:165px;background:url(http://educ-envir.org/client/bazar/images/BAZ_Enfants.gif) no-repeat bottom right;}
.bulle_haut {margin: 0 auto; margin-top:10px;width:588px;height:20px;background:url(http://educ-envir.org/client/bazar/images/BAZ_encadre_haut.jpg) top left;}
.bulle_corps {margin: 0 auto;width:578px;padding-left:10px;background:url(http://educ-envir.org/client/bazar/images/BAZ_encadre_barre.jpg) repeat-y;}
.bulle_bas {margin: 0 auto; margin-bottom:10px;width:588px;height:20px;background:url(http://educ-envir.org/client/bazar/images/BAZ_encadre_bas.jpg) top left;}
#formation_qualifiante {position:relative;top:197px;left:622px;height:190px;width:30px;background:url(http://test.educ-envir.org/client/bazar/images/BAZ_formation_qualifiante.gif) top right;}
#formation_diplomante {position:relative;top:7px;left:622px;height:190px;width:30px;background:url(http://test.educ-envir.org/client/bazar/images/BAZ_formation_diplomante.gif) top right;}
#formation_continue {position:relative;top:387px;left:622px;height:190px;width:30px;background:url(http://test.educ-envir.org/client/bazar/images/BAZ_formation_continue.gif) top right;}
#BAZ_bas_page { height:165px;background:url(images/BAZ_Enfants.gif) no-repeat bottom right;}
.bulle_haut {margin: 0 auto; margin-top:10px;width:588px;height:20px;background:url(images/BAZ_encadre_haut.jpg) top left;}
.bulle_corps {margin: 0 auto;width:578px;padding-left:10px;background:url(images/BAZ_encadre_barre.jpg) repeat-y;}
.bulle_bas {margin: 0 auto; margin-bottom:10px;width:588px;height:20px;background:url(images/BAZ_encadre_bas.jpg) top left;}
#formation_qualifiante {position:relative;top:197px;left:622px;height:190px;width:30px;background:url(images/BAZ_formation_qualifiante.gif) top right;}
#formation_diplomante {position:relative;top:7px;left:622px;height:190px;width:30px;background:url(images/BAZ_formation_diplomante.gif) top right;}
#formation_continue {position:relative;top:387px;left:622px;height:190px;width:30px;background:url(images/BAZ_formation_continue.gif) top right;}
.centrer {clear:both;margin:0 auto;}
.rubrique {width:150px; text-align:left;font: bold 15px arial, sans-serif; color: #515966;}
.rubrique_bulle {width:90px;text-align:left;font: bold 15px arial, sans-serif; color: #000;}
/trunk/langues/baz_langue_fr.inc.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: baz_langue_fr.inc.php,v 1.17 2005-10-21 16:15:04 florian Exp $
// CVS : $Id: baz_langue_fr.inc.php,v 1.18 2005-10-24 09:42:21 florian Exp $
/**
* Fichier de traduction en français de l'application Bazar
*
30,7 → 30,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.17 $ $Date: 2005-10-21 16:15:04 $
*@version $Revision: 1.18 $ $Date: 2005-10-24 09:42:21 $
// +------------------------------------------------------------------------------------------------------+
*/
define ('BAZ_TITREAPPLI','Gestionnaire d\'annonces et de ressources (Bazar) ');
273,8 → 273,11
define ('BAZ_COORDONNEES','Coordonn&eacute;es');
define ('BAZ_ANNEE_PARUTION','Ann&eacute;e de parution');
define ('BAZ_LANGUE','Langue');
define ('BAZ_THEMEs','');
define ('BAZ_THEMES','');
define ('BAZ_PAS_D_APPROPRIATION','Aucune structure ne s\'est encore appropri&eacute; cette ressource.');
 
 
 
define ('BAZ_IDENTIFIEZ_VOUS_POUR_SAISIR', 'Pour saisir des annonces ou s\'abonner:<br /> identifiez-vous (en bas &agrave; droite), ou inscrivez-vous (le "+" en haut &agrave gauche)');
define ('BAZ_EST_SUPERADMINISTRATEUR', 'Cette personne est un super-administrateur.<br />Il peut modifier le droits des utilisateurs et administrer toutes les rubriques d\'annonces.');
define ('BAZ_CHANGER_SUPERADMINISTRATEUR', 'Changer ses droits de super-administrateur pour en faire un utilisateur sans pouvoir');
294,6 → 297,8
define ('BAZ_RADIO_REDACTEUR', 'r&eacute;dacteur &nbsp;');
define ('BAZ_RADIO_ADMINISTRATEUR', 'administrateur &nbsp;');
 
 
 
//================ Calendrier Bazar =======================================
 
define ('BAZ_LUNDI','Lundi');
321,7 → 326,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* $Log: not supported by cvs2svn $
* Revision 1.17 2005/10/21 16:15:04 florian
* mise a jour appropriation
*
* Revision 1.13 2005/10/13 14:43:42 florian
* corrections pb accents
*