Subversion Repositories Applications.papyrus

Compare Revisions

No changes between revisions

Ignore whitespace Rev 689 → Rev 690

/trunk/client/integrateur_wikini/bibliotheque/iw_integrateur.fonct.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: iw_integrateur.fonct.php,v 1.13 2005-12-27 17:25:23 ddelon Exp $
// CVS : $Id: iw_integrateur.fonct.php,v 1.14 2006-01-09 21:58:16 ddelon Exp $
/**
* Fonctions de l'integrateur de page Wikini
*
33,7 → 33,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.13 $ $Date: 2005-12-27 17:25:23 $
*@version $Revision: 1.14 $ $Date: 2006-01-09 21:58:16 $
*
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
155,6 → 155,39
// Detournement des handlers : comme ca on peut faire ce que l'on veut ....
function Method($method) {
 
if ($method=="xml") {
header("Content-type: text/xml");
if ($pages = $this->LoadRecentlyChanged(50)) {
$link=ereg_replace('&','&',$this->Href());
$output = "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>\n";
$output .= '<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">' . "\n";
$output .= "<channel>\n";
$output .= "<title> Derniers changements sur ". $this->config["wakka_name"] . "</title>\n";
$output .= "<link>" . $link . "</link>\n";
$output .= "<description> Derniers changements sur " . $this->config["wakka_name"] . " </description>\n";
$output .= "<language>fr</language>\n";
$output .= '<generator>WikiNi ' . WIKINI_VERSION . "</generator>\n";
foreach ($pages as $i => $page)
{
$output .= "<item>\n";
$output .= "<title>" . $page["tag"] . "</title>\n";
$output .= '<dc:creator>' . $page["user"] . "</dc:creator>\n";
$output .= '<pubDate>' . date("r", strtotime($page['time'])) . "</pubDate>\n";
$output .= "<description> Modification de " . $page["tag"] . " --- par " .$page["user"] /* . " le " . $day ." - ". $hh .":". $mm */ . "</description>\n";
$link=ereg_replace('&','&amp;',$this->Href("",$page["tag"]));
$output .= "<link>" . $link . "&amp;time=" . rawurlencode($page["time"]) . "</link>\n";
$output .= "</item>\n";
}
$output .= "</channel>\n";
$output .= "</rss>\n";
echo $output ;
 
}
exit;
return;
}
 
if ($method=="edit") {
 
$result='';
320,8 → 353,6
 
$GLOBALS['_PAPYRUS_']['erreur']->setActive(0);
 
 
 
global $wiki;
global $wikini_config_defaut;
$sortie='';
437,6 → 468,8
else {
return remplacerEntiteHTLM("<script type=\"text/javascript\" src=\"".IW_CHEMIN_BIBLIO_ACEDITOR."ACeditor.js\"></script><div id=\"wikini_page\">"."\n".$sortie.'</div>'."\n");
}
 
}
 
/trunk/client/projet/presentation/tela.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: tela.php,v 1.3 2005-12-07 11:02:35 jp_milcent Exp $
// CVS : $Id: tela.php,v 1.4 2006-01-09 21:55:19 ddelon Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.3 $
*@version $Revision: 1.4 $
// +------------------------------------------------------------------------------------------------------+
*/
 
53,7 → 53,7
 
$projetNonParticipantListe = & $projetListe ;
$HTML_projetNonParticipantListe = new HTML_listeProjet(true) ;
$entete_liste = array ('Titre des projets et des forums', 'Forums', 'Wikini', 'Documents', 'Participants') ;
$entete_liste = array ('Titre des projets et des forums', 'Forums', 'Wiki','RSS', 'Documents', 'Participants',) ;
$HTML_projetNonParticipantListe->construitEntete($entete_liste) ;
 
$liste_projet = array() ;
96,10 → 96,22
} else {
$document = '-' ;
}
if ($projet->getWikini()) {
$this->_url->addQueryString ('act',PROJET_ACTION_VOIR_WIKINI);
$link=$this->_url->getURL();
$wiki_rss = '<a href="'.$link.'&wiki=DerniersChangementsRSS/xml'.'"><img src="sites/commun/generique/images/rss.gif" alt="rss"/></a>' ;
$this->_url->removeQueryString ('act');
} else {
$wiki_rss = '-' ;
}
$this->_url->addQueryString ('act', PROJET_ACTION_VOIR_PARTICIPANT);
$participant = '<a href="'.$this->_url->getURL().'">voir</a>' ;
$ligne_projet = array ( '', $titre, $forum, // le nom du projet
$wiki_res, $document, $participant) ;
$wiki_res, $wiki_rss,$document, $participant) ;
 
$this->_url->removeQueryString(PROJET_VARIABLE_ACTION);
array_push ($liste_projet, $ligne_projet) ;
118,6 → 130,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2005/12/07 11:02:35 jp_milcent
* Ajout d'attribut alt aux images.
*
* Revision 1.2 2005/11/28 11:15:22 alexandre_tb
* nettoyage URL en sortie de programme
*
/trunk/sites/commun/generique/images/rss.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/sites/commun/generique/images/rss.gif
New file
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property