')"); Markup('sectionend','fulltext','/\(:sectionend:\)/e',"Keep('')"); Markup('sectionextended','fulltext','/\(:sectionextended (.*?):\)/e',"Keep('
')"); SDV($HandleActions['reveal'],'HandleRevealSlides'); SDV($SlideShowFmt, ' reveal.js - Barebones
$Slide
'); function HandleRevealSlides($pagename, $auth = 'read') { global $SlideShowFmt,$FmtV,$ScriptUrl,$Group,$Name; $page = RetrieveAuthPage($pagename, $auth, false, READPAGE_CURRENT); if (!$page) Abort("?cannot read $pagename"); $FmtV['$Slide'] = MarkupToHTML($pagename, $page['text']); FmtPageName($SlideShowFmt, $pagename); PrintFmt($pagename,$SlideShowFmt); exit(); } /* For master control of slides (ALL presentations!) {"secret":"14731768290817665483","socketId":"1ff0f582dc396a71"} Example of working control http://fabien.benetou.fr/pub/home/testingrevealremote/ */ SDV($HandleActions['revealcontrol'],'ControlSlides'); SDV($SlideShowFmtControl, ' reveal.js - Barebones
$Slide
'); function ControlSlides($pagename, $auth = 'read') { global $SlideShowFmtControl,$FmtV,$ScriptUrl,$Group,$Name; $page = RetrieveAuthPage($pagename, $auth, false, READPAGE_CURRENT); if (!$page) Abort("?cannot read $pagename"); $FmtV['$Slide'] = MarkupToHTML($pagename, $page['text']); FmtPageName($SlideShowFmtControl, $pagename); PrintFmt($pagename,$SlideShowFmtControl); exit(); } ?>