Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 203 → Rev 204

/branches/livraison_menes/bibliotheque/bazar.fonct.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: bazar.fonct.php,v 1.57.2.10 2007-03-07 17:20:19 jp_milcent Exp $
// CVS : $Id: bazar.fonct.php,v 1.57.2.11 2007-03-07 17:40:57 jp_milcent Exp $
/**
*
* Fonctions du module bazar
31,7 → 31,7
*@author Florian Schmitt <florian@ecole-et-nature.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.57.2.10 $ $Date: 2007-03-07 17:20:19 $
*@version $Revision: 1.57.2.11 $ $Date: 2007-03-07 17:40:57 $
// +------------------------------------------------------------------------------------------------------+
*/
 
1053,7 → 1053,7
* @return string le code HTML
*/
function baz_s_inscrire() {
$res= '<h2>'.BAZ_S_INSCRIRE_AUX_ANNONCES.'</h2><br />'."\n";
$res= '<h2>'.BAZ_S_INSCRIRE_AUX_ANNONCES.'</h2>'."\n";
if (isset($_GET['inscrip'])) {
//cas d'une desinscription
if ($_GET['inscrip']==0) {
1070,7 → 1070,7
}
if ($GLOBALS['AUTH']->getAuth()) {
$res .= BAZ_LAIUS_S_ABONNER.'<br /><br />'."\n";
$res .= '<p id="laius_abonnement">'.BAZ_LAIUS_S_ABONNER.'</p>'."\n";
//requete pour obtenir l'id et le label des types d'annonces
$requete = 'SELECT bn_id_nature, bn_label_nature, bn_image_titre '.
'FROM bazar_nature WHERE 1'; /*bn_ce_id_menu='.$GLOBALS['_BAZAR_']['categorie_nature'];*/
1079,12 → 1079,9
die ($resultat->getMessage().$resultat->getDebugInfo()) ;
}
$table = new HTML_Table(array ('width' => '100%', 'class' => 'table_bazar')) ;
$table->addRow(array ('<b>'.BAZ_TYPE_ANNONCES.'</b>',
'<b>'.BAZ_STATUT.'</b>',
'<b>'.BAZ_PASSER_EN.'</b>',
'<b>'.BAZ_RSS.'</b>',)) ;
$table->setRowType (0, 'th') ;
$table = new HTML_Table(array ('width' => '100%', 'class' => 'table_bazar'));
$table->addRow(array(BAZ_TYPE_ANNONCES, BAZ_STATUT, BAZ_PASSER_EN, BAZ_RSS));
$table->setRowType(0, 'th');
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
$tab_parametres_GET = explode ("&", $_SERVER["argv"][0]) ;
1134,10 → 1131,10
}
}
$table->altRowAttributes(1, array('class' => 'ligne_impaire'), array('class' => 'ligne_paire'));
$table->updateColAttributes(0, array('align' => 'center'));
$table->updateColAttributes(1, array('align' => 'center'));
$table->updateColAttributes(2, array('align' => 'center'));
$table->updateColAttributes(3, array('style' => 'text-align:center;'));
$table->updateColAttributes(0, array('id' => 'col1'));
$table->updateColAttributes(1, array('id' => 'col2'));
$table->updateColAttributes(2, array('id' => 'col3'));
$table->updateColAttributes(3, array('id' => 'col4'));
$res.=$table->toHTML() ;
}
else {
1284,6 → 1281,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.57.2.10 2007/03/07 17:20:19 jp_milcent
* Ajout du nettoyage systématique des URLs.
*
* Revision 1.57.2.9 2007/03/06 16:23:24 jp_milcent
* Nettoyage de l'url pour la gestion des droits.
*
/branches/livraison_menes/bazar.interne.css
35,4 → 35,5
.bazar_checkbox {float:left;width:170px;font:10px arial, sans-serif;border:0;}
.lien_wikini {margin: 0;padding:10px 5px;border: 2px solid #DBE8C8;-moz-border-radius:10px;background:#3082AA;}
div.lien_wikini a {padding-left:100px;color:#FFFFFF;}
.table_bazar th{font-weight:bold;}
.table_bazar th{font-weight:bold;}
.table_bazar #col1,.table_bazar #col2,.table_bazar #col3,.table_bazar #col4{text-align:center;}