cvs: presentations /slides/intro chs.jpg img_resize.php slashdot.rdf pres2 objects.php pres2/images blank.gif
| From: | Rasmus Lerdorf | Date: | Wed, 08 Oct 2003 22:34:04 +0000 |
| Subject: | cvs: presentations /slides/intro chs.jpg img_resize.php slashdot.rdf pres2 objects.php pres2/images blank.gif | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-826@lists.php.net to get a copy of this message | ||
rasmus Wed Oct 8 18:34:04 2003 EDT
Added files:
/presentations/slides/intro chs.jpg
Modified files:
/pres2 objects.php
/pres2/images blank.gif
/presentations/slides/intro img_resize.php slashdot.rdf
Log:
Silly little intro talk
Index: pres2/objects.php
diff -u pres2/objects.php:1.146 pres2/objects.php:1.147
--- pres2/objects.php:1.146 Sun Aug 10 19:12:31 2003
+++ pres2/objects.php Wed Oct 8 18:34:02 2003
@@ -119,6 +119,7 @@
|rrggbb|word| Colour a word
^N^ Superscript
@N@ Subscript
+ **word** Blink
#id# Entity
*/
function markup_text($str) {
@@ -127,6 +128,11 @@
$ret = preg_replace('/#([[:alnum:]]+?)#/','&\1;',$ret);
$ret = preg_replace('/\b_([\S ]+?)_\b/','<u>\1</u>',$ret);
+ //blink
+ $ret = str_replace('\*',chr(1),$ret);
+ $ret = preg_replace('/\*\*([\S
]+?)\*\*/','<blink>\1</blink>',$ret);
+ $ret = str_replace(chr(1),'\*',$ret);
+
//bold
$ret = str_replace('\*',chr(1),$ret);
$ret = preg_replace('/\*([\S ]+?)\*/','<strong>\1</strong>',$ret);
@@ -934,6 +940,7 @@
function pdf() {
global $pdf, $pdf_x, $pdf_cx, $pdf_cy, $pdf_y, $pdf_font, $slideDir;
+ if(strstr($this->filename,"blank")) return;
if(isset($this->title)) {
$pdf_cy = pdf_get_value($pdf, "texty");
pdf_set_text_pos($pdf,$pdf_cx,$pdf_cy);
Index: pres2/images/blank.gif
Index: presentations/slides/intro/img_resize.php
diff -u presentations/slides/intro/img_resize.php:1.4 presentations/slides/intro/img_resize.php:1.5
--- presentations/slides/intro/img_resize.php:1.4 Wed Nov 20 21:06:26 2002
+++ presentations/slides/intro/img_resize.php Wed Oct 8 18:34:04 2003
@@ -1,11 +1,11 @@
<?
Header('Content-Type: image/png');
$height = 600;
-$txt = 'Carl in his strawberry hat';
+$txt = 'Carl hacking';
$size = ImageTTFBbox(25,0,'timesi',$txt);
$txt_w = abs($size[2]-$size[0]);
$txt_h = abs($size[6]-$size[1]);
-$bg = ImageCreateFromJpeg('img_resize.jpg');
+$bg = ImageCreateFromJpeg('chs.jpg');
$img_width = imagesx($bg);
$img_height = imagesy($bg);
$width = ($height)/$img_height * $img_width;
Index: presentations/slides/intro/slashdot.rdf
diff -u presentations/slides/intro/slashdot.rdf:1.5 presentations/slides/intro/slashdot.rdf:1.6
--- presentations/slides/intro/slashdot.rdf:1.5 Sat Apr 26 13:44:23 2003
+++ presentations/slides/intro/slashdot.rdf Wed Oct 8 18:34:04 2003
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@@ -17,53 +17,53 @@
</image>
<item>
-<title>Local Root Hole in Linux Kernels</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/199208</link>
+<title>Protein Researchers Win Nobel Prize In Chemistry</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/1945229</link>
</item>
<item>
-<title>MySQL 4 Declared Production-Ready</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/1854213</link>
+<title>Disgruntled Fan Arrested, Indicted For Spam Attacks</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/1857213</link>
</item>
<item>
-<title>LGP Announces Game Development Team</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/1818202</link>
+<title>A Cluster Of Pocket PCs</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/1818203</link>
</item>
<item>
-<title>Wavy Lenses Extend Depth of Field in Digital Imaging</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/1547249</link>
+<title>New 3D CPU Water Cooling Method</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/188243</link>
</item>
<item>
-<title>BusinessWeek on Wi-Fi</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/1545235</link>
+<title>Secure Programming Cookbook for C and C++</title>
+<link>http://slashdot.org/article.pl?sid=03/09/30/1644222</link>
</item>
<item>
-<title>Spider-Man Has Back Problems</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/1532202</link>
+<title>Top 10 Software Titles Every Home PC Needs?</title>
+<link>http://slashdot.org/article.pl?sid=03/10/07/2033253</link>
</item>
<item>
-<title>Imagining Numbers</title>
-<link>http://slashdot.org/article.pl?sid=03/03/11/2127216</link>
+<title>Michigan To Purchase Record 130,000 Laptops</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/1439215</link>
</item>
<item>
-<title>Freenet 0.5.1 Released, P2P Network Stabilizing</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/1354244</link>
+<title>MS Patents IM Feature Used Since At Least 1996</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/135237</link>
</item>
<item>
-<title>How Google Grows...and Grows...and Grows</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/1338232</link>
+<title>China Plans Manned Space Flight October 15</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/1332256</link>
</item>
<item>
-<title>XML Co-Creator says XML Is Too Hard For Programmers</title>
-<link>http://slashdot.org/article.pl?sid=03/03/18/0712248</link>
+<title>Apple Sets Oct. 24th Release For Mac OS X 10.3</title>
+<link>http://slashdot.org/article.pl?sid=03/10/08/1253215</link>
</item>
<textinput>