cvs: pear /Text_Wiki/Text/Wiki/Rule url.php

From: Date: Sat, 22 May 2004 17:16:37 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/Rule url.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-19763@lists.php.net to get a copy of this message
pmjones Sat May 22 13:16:37 2004 EDT Modified files: /pear/Text_Wiki/Text/Wiki/Rule url.php Log: can now set rule conf key 'images' to turn image processing on and off (defaults to true/on) http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Rule/url.php?r1=1.3&r2=1.4&ty=u Index: pear/Text_Wiki/Text/Wiki/Rule/url.php diff -u pear/Text_Wiki/Text/Wiki/Rule/url.php:1.3 pear/Text_Wiki/Text/Wiki/Rule/url.php:1.4 --- pear/Text_Wiki/Text/Wiki/Rule/url.php:1.3 Sun May 2 19:16:46 2004 +++ pear/Text_Wiki/Text/Wiki/Rule/url.php Sat May 22 13:16:37 2004 @@ -16,7 +16,7 @@ // | Authors: Paul M. Jones <pmjones@ciaweb.net> | // +----------------------------------------------------------------------+ // -// $Id: url.php,v 1.3 2004/05/02 23:16:46 pmjones Exp $ +// $Id: url.php,v 1.4 2004/05/22 17:16:37 pmjones Exp $ /** * @@ -281,7 +281,8 @@ $ext = strtolower(substr($href, $pos)); // does the filename extension indicate an image file? - if (in_array($ext, $this->img_ext)) { + if (in_array($ext, $this->img_ext) && + $this->_conf['images']) { // create alt text for the image if (! isset($text) || $text == '') {

« previous php.pear.cvs (#19763) next »