', $pdata ); //vd($slides); // manually set the first slide to page title and description $s5 = '

'.$gContent->mInfo['title'].'

'; $s5 .= '

'.$gContent->mInfo['description'].'

'; foreach( $slides as $slide ) { if( !empty( $slide ) ) { $s5 .= '
'; if( preg_match( '/<\/h1>/',$slide ) ) { $s5 .= '

'; } $s5 .= $slide.'

'; } } // manually set the last slide with a link back to the wiki page $s5 .= '

'.tra( 'The End' ).'

'; $s5 .= '

'.tra( 'back to the wiki page' ).'

'; $gBitSmarty->assign( 's5', $s5 ); $gBitSmarty->display( 'bitpackage:wiki/s5.tpl' ); die; ?>