/trunk/client/bazar/presentations/styles/calendrier.applette.css |
---|
File deleted |
/trunk/client/bazar/bazar.calendrier.applette.php |
---|
32,7 → 32,7 |
// pris connaissance de la licence CeCILL, et que vous en avez accepté les |
// termes. |
// ---- |
// CVS : $Id: bazar.calendrier.applette.php,v 1.2 2005-10-12 21:04:45 ddelon Exp $ |
// CVS : $Id: bazar.calendrier.applette.php,v 1.3 2005-10-14 12:59:24 ddelon Exp $ |
/** |
* bazar_calendrier : programme affichant les evenements du bazar sous forme de Calendrier |
* |
40,7 → 40,7 |
*@package Bazar |
//Auteur original : |
*@author David DELON <david.delon@clapas.net> |
*@version $Revision: 1.2 $ $Date: 2005-10-12 21:04:45 $ |
*@version $Revision: 1.3 $ $Date: 2005-10-14 12:59:24 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
59,12 → 59,11 |
$_GEN_commun['info_applette_nom_fonction'] = $GLOBALS['_CAL_']['nom_fonction']; |
// Balise : CLIENT_BAZAR_CALENDRIER |
$_GEN_commun['info_applette_balise'] = 'BAZAR_CALENDRIER'; |
GEN_stockerStyleExterne ('bazar.calendrier.applette', 'client/bazar/presentations/styles/calendrier.applette.css') ; |
function afficherCalendrier() { |
return GestionAffichageCalendrier(''); |
return GestionAffichageCalendrier('calendrier_applette'); |
} |
/trunk/client/bazar/bazar.calendrier.php |
---|
32,7 → 32,7 |
// pris connaissance de la licence CeCILL, et que vous en avez accepté les |
// termes. |
// ---- |
// CVS : $Id: bazar.calendrier.php,v 1.5 2005-10-12 17:20:33 ddelon Exp $ |
// CVS : $Id: bazar.calendrier.php,v 1.6 2005-10-14 12:59:24 ddelon Exp $ |
/** |
* bazar_calendrier : programme affichant les evenements du bazar sous forme de Calendrier |
* |
40,7 → 40,7 |
*@package Bazar |
//Auteur original : |
*@author David DELON <david.delon@clapas.net> |
*@version $Revision: 1.5 $ $Date: 2005-10-12 17:20:33 $ |
*@version $Revision: 1.6 $ $Date: 2005-10-14 12:59:24 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
if (!defined('BAZ_VOIR_FICHE')) { |
55,7 → 55,7 |
function afficherContenuCorps() { |
return GestionAffichageCalendrier(''); |
return GestionAffichageCalendrier('calendrier'); |
} |
/trunk/client/bazar/bibliotheque/bazar.fonct.cal.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.cal.php,v 1.1 2005-10-12 17:20:33 ddelon Exp $ |
// CVS : $Id: bazar.fonct.cal.php,v 1.2 2005-10-14 12:59:24 ddelon Exp $ |
/** |
* |
* Fonctions calendrier du module bazar |
29,7 → 29,7 |
*@author David Delon <david.delon@clapas.net> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.1 $ $Date: 2005-10-12 17:20:33 $ |
*@version $Revision: 1.2 $ $Date: 2005-10-14 12:59:24 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
64,7 → 64,10 |
} |
function GestionAffichageCalendrier($prefixe_cal) { |
// $type : calendrier |
// $type : calendrier_appplette |
function GestionAffichageCalendrier($type='calendrier') { |
$retour=''; |
122,8 → 125,9 |
$retour.="<br></br>"; |
// Vue Mois |
if (!isset($_GET['id_fiche'])) { |
// Vue Mois calendrier ou vue applette |
if ((!isset($_GET['id_fiche']) && ($type=='calendrier')) || ($type=='calendrier_applette')){ |
// Recherche evenement de la periode selectionnée |
166,19 → 170,36 |
$month->build($selection); |
$retour.= "<table class=\"calendar\"> |
<tr> |
if ($type=='calendrier') { |
$retour.= "<table class=\"calendar\"> |
<tr> |
<th> ". BAZ_LUNDI ."</th> |
<th> ". BAZ_MARDI ."</th> |
<th> ". BAZ_MERCREDI ."</th> |
<th> ". BAZ_JEUDI ."</th> |
<th> ". BAZ_VENDREDI ."</th> |
<th> ". BAZ_SAMEDI ."</th> |
<th> ". BAZ_DIMANCHE ."</th> |
</tr> |
"; |
} |
else { |
$retour.= "<table class=\"calendar\"> |
<tr> |
<th> ". BAZ_LUNDI_COURT ."</th> |
<th> ". BAZ_MARDI_COURT ."</th> |
<th> ". BAZ_MERCREDI_COURT ."</th> |
<th> ". BAZ_JEUDI_COURT ."</th> |
<th> ". BAZ_VENDREDI_COURT ."</th> |
<th> ". BAZ_SAMEDI_COURT ."</th> |
<th> ". BAZ_DIMANCHE_COURT ."</th> |
</tr> |
"; |
} |
<th> ". BAZ_LUNDI ."</th> |
<th> ". BAZ_MARDI ."</th> |
<th> ". BAZ_MERCREDI ."</th> |
<th> ". BAZ_JEUDI ."</th> |
<th> ". BAZ_VENDREDI ."</th> |
<th> ". BAZ_SAMEDI ."</th> |
<th> ". BAZ_DIMANCHE ."</th> |
</tr> |
"; |
$todayStamp=time(); |
$today_ymd=date('Ymd',$todayStamp); |
218,16 → 239,36 |
if ($day->isFirst()) |
$retour.= ( "<tr>\n" ); |
$retour.= ( "<td class=\"".$class."\"><a href=\"".$link."\">".$day->thisDay()."</a>\n" ); |
//$retour.= ( "<td class=\"".$class."\"><a href=\"".$link."\">".$day->thisDay()."</a>\n" ); |
if ($day->isSelected() ) { |
$evenements=$day->getEntry(); |
while ($ligne_evenement=array_pop($evenements)) { |
$url->addQueryString ('id_fiche',$ligne_evenement->bf_id_fiche); |
if ($type=='calendrier') { |
$retour.= "<td class=\"".$class."\">".$day->thisDay()."\n"; |
if ($day->isSelected() ) { |
$evenements=$day->getEntry(); |
while ($ligne_evenement=array_pop($evenements)) { |
$id_fiches=array(); |
$id_fiches[]=$ligne_evenement->bf_id_fiche; |
$url->addQueryString ('id_fiches',$id_fiches); |
$link = $url->getUrl(); |
$retour.= "<a href=\"".$link."\">".$ligne_evenement->bf_titre."</a>\n"; |
$url->removeQueryString ('id_fiches'); |
} |
} |
} |
else { |
$lien_date= "<td class=\"".$class."\">".$day->thisDay()."\n"; |
if ($day->isSelected() ) { |
$evenements=$day->getEntry(); |
$id_fiches=array(); |
while ($ligne_evenement=array_pop($evenements)) { |
$id_fiches[]=$ligne_evenement->bf_id_fiche; |
} |
$url->addQueryString ('id_fiches',$id_fiches); |
$link = $url->getUrl(); |
$retour.= ( "<a href=\"".$link."\">".$ligne_evenement->bf_titre."</a>\n" ); |
$lien_date= "<td class=\"".$class."\"><a href=\"".$link."\">".$day->thisDay()."</a>\n"; |
$url->removeQueryString ('id_fiches'); |
} |
$retour.=$lien_date; |
} |
$retour.= ( "</td>\n" ); |
239,17 → 280,17 |
$retour.= "</table>"; |
return $retour; |
} |
// Vue detail |
if ((isset($_GET['id_fiches']))) { |
$GLOBALS['_PAPYRUS_']['rendu']['CONTENU_CORPS'] = baz_voir_fiches(0,$_GET['id_fiches'] ); |
} |
else { |
// Vue jour |
if (isset($_GET['id_fiche'])) { |
return $retour.baz_voir_fiche(0, $_GET['id_fiche']); |
} |
} |
return $retour; |
; |
} |
?> |
/trunk/client/bazar/bibliotheque/bazar.fonct.rss.php |
---|
35,7 → 35,21 |
return $tableau; |
} |
/** baz_voir_fiches() - Permet de visualiser en detail une liste de fiche au format XHTML |
* |
* @global boolean Rajoute des informations internes à l'application (date de modification, lien vers la page de départ de l'appli) |
* @global integer Tableau d(Identifiant des fiches à afficher |
* |
* @return string HTML |
*/ |
function baz_voir_fiches($danslappli, $idfiches=array()) { |
$res=''; |
foreach($idfiches as $idfiche) { |
$res.=baz_voir_fiche($danslappli, $idfiche); |
} |
return $res; |
} |
/** baz_voir_fiche() - Permet de visualiser en détail une fiche au format XHTML |
* |
* @global boolean Rajoute des informations internes à l'application (date de modification, lien vers la page de départ de l'appli) si à 1 |
/trunk/client/bazar/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.13 2005-10-13 14:43:42 florian Exp $ |
// CVS : $Id: baz_langue_fr.inc.php,v 1.14 2005-10-14 12:59:24 ddelon 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.13 $ $Date: 2005-10-13 14:43:42 $ |
*@version $Revision: 1.14 $ $Date: 2005-10-14 12:59:24 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
define ('BAZ_TITREAPPLI','Gestionnaire d\'annonces et de ressources (Bazar) '); |
303,15 → 303,23 |
define ('BAZ_SAMEDI','Samedi'); |
define ('BAZ_DIMANCHE','Dimanche'); |
define ('BAZ_LUNDI_COURT','Lun'); |
define ('BAZ_MARDI_COURT','Mar'); |
define ('BAZ_MERCREDI_COURT','Mer'); |
define ('BAZ_JEUDI_COURT','Jeu'); |
define ('BAZ_VENDREDI_COURT','Ven'); |
define ('BAZ_SAMEDI_COURT','Sam'); |
define ('BAZ_DIMANCHE_COURT','Dim'); |
define ('BAZ_JANVIER','Janvier'); |
define ('BAZ_FEVRIER','Février'); |
define ('BAZ_FEVRIER','Février'); |
define ('BAZ_MARS','Mars'); |
define ('BAZ_AVRIL','Avril'); |
define ('BAZ_MAI','Mai'); |
define ('BAZ_JUIN','Juin'); |
define ('BAZ_JUILLET','Juillet'); |
define ('BAZ_AOUT','Aoét'); |
define ('BAZ_AOUT','Août'); |
define ('BAZ_SEPTEMBRE','Septembre'); |
define ('BAZ_OCTOBRE','Octobre'); |
define ('BAZ_NOVEMBRE','Novembre'); |
321,6 → 329,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.13 2005/10/13 14:43:42 florian |
* corrections pb accents |
* |
* Revision 1.12 2005/10/12 16:28:37 florian |
* corrections fautes orthographes |
* |