Most recent edit on 2008-01-22 06:05:57 by LuigiBrosse [[spam]]
Additions:
Afficher tous les chapitres à la suite
Insérer cette fonction dans manager/frontinc/functions.php :
Deletions:
aclaeltacac
cnorel
Afficher tous les chapitres ÃÂ la suite
Insérer cette fonction dans manager/frontinc/functions.php :
Edited on 2007-11-26 19:36:43 by PastrMonca
Additions:
aclaeltacac
Afficher tous les chapitres ÃÂ la suite
Insérer cette fonction dans manager/frontinc/functions.php :
Deletions:
Afficher tous les chapitres à la suite
Insérer cette fonction dans manager/frontinc/functions.php :
Edited on 2007-11-15 19:44:16 by GetroVic4t
Additions:
cnorel
Afficher tous les chapitres à la suite
Insérer cette fonction dans manager/frontinc/functions.php :
Deletions:
Afficher tous les chapitres à la suite
Insérer cette fonction dans manager/frontinc/functions.php :
Edited on 2006-01-25 13:33:44 by SebastienFievet [Ajout de l'indentation]
Additions:
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}
Deletions:
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}
while (!$GLOBALS['_PX_render']['m']->art->pages->EOF()) {
}
Edited on 2006-01-25 13:33:08 by SebastienFievet [Ajout d'une accolade fermante délimitant la fin de la fonction]
Additions:
}
}
Oldest known version of this page was edited on 2005-04-15 01:21:54 by ClaireRoubey [nouvelle fonction : pxArtPageContentAll]
Page view:
Display the content of every article page
Insert this function in
manager/frontinc/functions.php :
/**
Display the content of every article page.
@proto function pxArtPageContentAll
@param string s Substitution string for the page_title ('%s')
*/
function pxArtPageContentAll
($s =
'%s')
{
while (!
$GLOBALS['_PX_render']['m']->
art->
pages->
EOF()) {
echo sprintf($s,
$GLOBALS['_PX_render']['m']->
art->
pages->
f('page_title'));
echo textParseContent
($GLOBALS['_PX_render']['m']->
art->
pages->
f('page_content'));
$GLOBALS['_PX_render']['m']->
art->
pages->
moveNext();
}
Afficher tous les chapitres à la suite
Insérer cette fonction dans
manager/frontinc/functions.php :
/**
Display the content of every article page.
@proto function pxArtPageContentAll
@param string s Substitution string for the page_title ('%s')
*/
function pxArtPageContentAll
($s =
'%s')
{
while (!
$GLOBALS['_PX_render']['m']->
art->
pages->
EOF()) {
echo sprintf($s,
$GLOBALS['_PX_render']['m']->
art->
pages->
f('page_title'));
echo textParseContent
($GLOBALS['_PX_render']['m']->
art->
pages->
f('page_content'));
$GLOBALS['_PX_render']['m']->
art->
pages->
moveNext();
}