diff --git a/README b/README.md similarity index 93% rename from README rename to README.md index 31b1a6e..47e84c2 100644 --- a/README +++ b/README.md @@ -1,9 +1,12 @@ -Ever wondered what would happen if someone was crazy enough -to combine XML, PHP, HTML, CSS, JavaScript, Flash and -ActionScript in one application? Well, here it is. The new -and improved PHP presentation system. +# PHP presentation system -Used PHP extensions: pcre, xml, optional: pdf, ming +This repo holds the PHP presentation system hosted on https://talks.php.net. + +You can find the presentations under https://github.com/php/presentations. + +This system works perfectly for PHP 5.3 and needs the XML extension. + +## Files Brief walkthrough of how this all hangs together: @@ -108,6 +111,8 @@ property and that the display() method for each one looks something like this: And then you can have html(), flash(), text(), svg(), jpg() methods for each one. +## Contributing + Have a look at the TODO file for a list of things to start working on. If we all pitch in a bit we should all end up with cool-looking presentations through this very flexible system. diff --git a/display.php b/display.php index 24f07ff..4ff475f 100644 --- a/display.php +++ b/display.php @@ -55,13 +55,6 @@ class html extends display { // allow caching if($cache_ok) header("Last-Modified: " . date("r", filemtime($this->presentationDir.'/'.$presentation->slides[$this->slideNum]->filename))); $HEAD_RAND = << -function change_mode() { - document.cookie="display_mode="+document.modes_form.modes.options[document.modes_form.modes.selectedIndex].value+"|"+document.modes_form.speaker.checked; - top.location=top.location.href; -} - diff --git a/index.php b/index.php index 6ca79f3..c67aaef 100644 --- a/index.php +++ b/index.php @@ -97,7 +97,7 @@