From: <ru...@us...> - 2009-01-28 09:44:47
|
Revision: 6460 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6460&view=rev Author: rurban Date: 2009-01-28 09:44:44 +0000 (Wed, 28 Jan 2009) Log Message: ----------- Document the new functions in the header Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2009-01-28 09:39:38 UTC (rev 6459) +++ trunk/lib/stdlib.php 2009-01-28 09:44:44 UTC (rev 6460) @@ -86,6 +86,19 @@ isExternalReferrer() charset_convert($from, $to, $data) + string_starts_with($string, $prefix) + string_ends_with($string, $suffix) + array_remove($arr,$value) + longer_timeout($secs=30) + printSimpleTrace($bt) + getMemoryUsage() + binary_search($needle, $haystack) + is_localhost($url) + javascript_quote_string($s) + isSerialized($s) + parse_attributes($line) + is_image ($filename) + compute_tablecell ($table, $i, $j, $imax, $jmax) function: LinkInterWikiLink($link, $linktext) moved to: lib/interwiki.php @@ -414,7 +427,7 @@ } else { // support new syntax: [prefix/image.jpg size=50% border=n] //if (!preg_match("/\.(".$force_img.")/i", $url)) - if (empty($alt)) $alt = ""; + if (empty($alt)) $alt = basename($url); $arr = split(' ',$url); if (!empty($arr)) $url = $arr[0]; if ($alt == "") { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |