170 Commits

Author SHA1 Message Date
Derick Rethans
0c32618b5c Don't hard code http as scheme anymore 2025-06-12 17:36:10 +01:00
Derick Rethans
d533ba2a71 Fix syntax that disappeared in PHP 8 (I know) 2024-08-09 15:47:52 +01:00
Rasmus Lerdorf
c1bce70ccd Let's not force PHP 7 quite yet 2017-05-06 23:15:10 -07:00
Rasmus Lerdorf
803c5f5a6d How did this ever work? 2017-05-06 06:59:02 -07:00
Rasmus Lerdorf
0a5c1d0a66 PHP 7 tweaks 2016-06-20 07:12:17 -07:00
Rasmus Lerdorf
8f9324c28f Merge changes from @Sobak 2015-01-21 11:31:17 -08:00
Rasmus Lerdorf
966cd9adfa Slight underline regex tweak and WS fixes 2011-06-03 19:03:41 +00:00
Rasmus Lerdorf
7592b68631 tweaks 2011-05-23 17:36:59 +00:00
Rasmus Lerdorf
ae2fadc6d0 A bit if pres2 hacking 2010-11-13 07:46:20 +00:00
Rasmus Lerdorf
89ab61a2bb Javascript syntax highlighting and fix some old links 2007-10-16 18:14:35 +00:00
Rasmus Lerdorf
3f29385d80 Start of OSCON tut 2007-07-21 14:02:53 +00:00
Rasmus Lerdorf
d95cac86d9 So I managed to give half a talk in Keynote and I am back to pres2.
I did like one of my keynote slides, but I can export it as a quicktime
movie, so I have added a movie tag to pres2 to easily embed exported
Keynote slides.
2006-10-23 06:25:28 +00:00
Rasmus Lerdorf
7cd230a48e Add :-: magic to markup_text and link attributes as well 2006-04-17 00:02:08 +00:00
Rasmus Lerdorf
f186acf561 Let's highlight javascript as well and treat .inc as PHP 2006-01-25 02:26:51 +00:00
Derick Rethans
5ce1798f6d - Added support for the class attribute to blurbs, examples, lists and images
- Added support for subtitles
- Added support for the "encoding" attribute for examples
- Added a new tag "div" to be able to use effects on a block of elements
  (Only tested for "hide").
- Spaces to tabs for objects.php
2004-09-13 13:36:38 +00:00
Derick Rethans
b9989c2b17 - Added support for highlighting XML
- Added support for a subtitle in the CSS template
2004-09-02 06:54:14 +00:00
Jesus M. Castagnetto
237e594329 - Added 'talign' attribute to 'image' tag, similar to the one for 'blurb'
- Reused code for generating PDF of example tags including external file
2004-02-08 21:24:26 +00:00
Rasmus Lerdorf
f1dfde3a45 Add bgcolor to the table tag 2004-01-22 22:02:00 +00:00
Andrei Zmievski
882c8fbf20 Fix capitalization of some properties. 2004-01-07 23:04:07 +00:00
Chris Shiflett
723d964453 Getting rid of the superfluous filename to allow for any directory index 2003-11-14 05:27:59 +00:00
Adam Trachtenberg
7935a46a34 Turn lots of global variables into object properties; clean up show.php 2003-10-22 05:03:58 +00:00
Adam Trachtenberg
138ec3c3d8 Move tag display methods into new from individual tags into format-specific display objects. More cleanups to come in preparation for new features, this is just a refactoring. 2003-10-17 06:56:19 +00:00
Shane Caraveo
58b7560375 add xml as a type, but stop notice warnings if we access an unknown filetype 2003-10-09 04:45:51 +00:00
Rasmus Lerdorf
03d8b13960 Silly little intro talk 2003-10-08 22:34:03 +00:00
Sterling Hughes
5c212eb82d properly format the output, by adding the g flag to sed so it replaces all
tabs
2003-08-10 23:12:31 +00:00
Sterling Hughes
082bc9157c guess type in default case 2003-08-10 23:08:12 +00:00
Rasmus Lerdorf
dd4563c11b More href title tags and get rid of the next slide title in the footer
area.  I found it too distracting.  Now if you hover over the nav arrows in
the php2 template you will see the titles of the next and previous slides.
2003-06-22 05:22:00 +00:00
Rasmus Lerdorf
8e4947129e Hovering over the slide title will show you the xml filename you need to
edit to change the slide contents.  Having it as the alt tag on the logo
was not convenient at all.
2003-06-22 02:51:15 +00:00
Shane Caraveo
8935957e19 use the session array, this allows talks to be run without register_globals 2003-06-19 07:53:36 +00:00
Sara Golemon
d8bddf2b75 Fix undefined variable notices 2003-06-16 03:43:03 +00:00
Sterling Hughes
f95cae2853 add a break tag. Simplifies a hack i was commonly doing:
<blurb><![CDATA[<br/><br/>]]></blurb>

Can be replaced with

<break lines="4"/>

The default lines is 1.

(using a blurb adds two lines indentation)

Modifications to some of the other slides too
2003-05-13 16:50:30 +00:00
Sterling Hughes
0b807506da add sql highlighting via code2html 2003-04-30 18:11:31 +00:00
Christian Wenz
6b13d77aa5 typo (*sigh*)
btw, support for NN4 also included (however pres2 breaks there because of a _try_ JavaScript statement; I don't see any current need to put too much effort on making this old browser cooperate)
2003-04-27 16:45:48 +00:00
Christian Wenz
68630725ee navbar is now sticky on older Windows IE versions (tested with v4 and v5.x). On IE6 sticky is supposed to work with CSS. 2003-04-27 16:41:49 +00:00
Rasmus Lerdorf
b7ccaefdf3 I haven't committed my tweaks for a while now 2003-04-26 17:44:23 +00:00
Sterling Hughes
efd941392b add the ability to specify image width and height 2003-03-21 20:52:15 +00:00
Rasmus Lerdorf
04a4ba1225 Some tweaks and some fixes done by the MySQL folks to the bullet
handling in the pdf output
2003-01-22 15:07:38 +00:00
Sterling Hughes
8e8bb3579f spaces to tabs 2002-12-15 18:54:34 +00:00
Sterling Hughes
aef074320f fix empty target in plain html mode 2002-12-15 18:53:38 +00:00
Sterling Hughes
1d1c12b8cf use isset() to avoid property undefined warnings 2002-12-15 18:47:21 +00:00
Rasmus Lerdorf
a01823f1a4 Add new "php2" template 2002-12-15 18:38:51 +00:00
Sascha Schumann
30ddf30b45 fix pdf generation of empty lists 2002-12-11 13:46:33 +00:00
Sascha Schumann
a2bc02cbb3 avoid warning for empty lists
(happens due to automatic conversion from pres1)
2002-12-11 13:15:32 +00:00
Rasmus Lerdorf
3bda4c96be Put the current slide filename in the alt tag of the top-left logo to make
it easy to figure out which on-disk file generated the current slide.
2002-11-29 18:11:49 +00:00
Andrei Zmievski
cf72dae8af Add line numbering capability to examples. 2002-11-21 20:39:20 +00:00
Sterling Hughes
d411395008 add error checking for the formats that require special programs for
highlighting, defaulting to plain text when the program is not present.

Add a utility function that displays plain text, and is used in all the
cases that require it.
2002-11-02 07:06:11 +00:00
Stig Bakken
b549322000 * xhtml fix :) 2002-11-01 21:12:19 +00:00
jim winstead
d1a27b9610 fix *bold* markup 2002-10-28 01:58:45 +00:00
Rasmus Lerdorf
4784e11379 Example of a simple template 2002-10-24 13:51:35 +00:00
jim winstead
1f98f4622a escape double-quotes before passing to shell 2002-10-23 02:03:05 +00:00