| version 1.19, 2006/06/12 16:32:48 |
version 1.20, 2006/06/15 14:11:32 |
| Line 133 function ezin_handle_special_tags(&$str, |
|
| Line 133 function ezin_handle_special_tags(&$str, |
|
| $replacement[] = '<img alt="\\3" title="\\3" border="0" src="\\1"\\2>'; |
$replacement[] = '<img alt="\\3" title="\\3" border="0" src="\\1"\\2>'; |
| $replacement[] = '<img alt="\\3" title="\\3" border="0" src="'.$ezin_url.'\\1"\\2>'; |
$replacement[] = '<img alt="\\3" title="\\3" border="0" src="'.$ezin_url.'\\1"\\2>'; |
| $replacement[] = '<img alt="\\3" title="\\3" border="0" src="'.$repository_url.'\\1"\\2>'; |
$replacement[] = '<img alt="\\3" title="\\3" border="0" src="'.$repository_url.'\\1"\\2>'; |
| $replacement[] = '<img alt="" title="" border="0" src="\\1"\\2>'; |
$replacement[] = '<img alt="" border="0" src="\\1"\\2>'; |
| $replacement[] = '<img alt="" title="" border="0" src="'.$ezin_url.'\\1"\\2>'; |
$replacement[] = '<img alt="" border="0" src="'.$ezin_url.'\\1"\\2>'; |
| $replacement[] = '<img alt="" title="" border="0" src="'.$repository_url.'\\1"\\2>'; |
$replacement[] = '<img alt="" border="0" src="'.$repository_url.'\\1"\\2>'; |
| } /* }}} */ |
} /* }}} */ |
| if (strpos($mask, 'L') !== false) { /* {{{ */ |
if (strpos($mask, 'L') !== false) { /* {{{ */ |
| $pattern[] = '|<link\s+(\w{3,6}://[^>\s]+)([^>]*)>((?:(?!<link).){0,499}?)</link>|si'; |
$pattern[] = '|<link\s+(\w{3,6}://[^>\s]+)([^>]*)>((?:(?!<link).){0,499}?)</link>|si'; |
| Line 576 function ezin_get_upload_image_html($dir |
|
| Line 576 function ezin_get_upload_image_html($dir |
|
| { |
{ |
| $url = ezin_lookup_upload_image($dir, $file_wo_ext); |
$url = ezin_lookup_upload_image($dir, $file_wo_ext); |
| if (strlen($url) > 0) { |
if (strlen($url) > 0) { |
| return sprintf('<img src="%s" border="0">', $url); |
return sprintf('<img src="%s" alt="" border="0">', $url); |
| } |
} |
| return $default_str; |
return $default_str; |
| } /* }}} */ |
} /* }}} */ |