mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 19:59:54 +09:00
issue 575 remove title auto generation
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9899 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
30a9d499ab
commit
5b0c8f555a
1 changed files with 4 additions and 1 deletions
|
|
@ -44,6 +44,7 @@
|
|||
$height = $xml_obj->attrs->height;
|
||||
$align = $xml_obj->attrs->align;
|
||||
$alt = $xml_obj->attrs->alt;
|
||||
$title = $xml_obj->attrs->title;
|
||||
$border = (int)$xml_obj->attrs->border;
|
||||
$link_url = $xml_obj->attrs->link_url;
|
||||
$open_window = $xml_obj->attrs->open_window;
|
||||
|
|
@ -73,7 +74,9 @@
|
|||
$attr_output = array("src=\"".$src."\"");
|
||||
if($alt) {
|
||||
$attr_output[] = "alt=\"".$alt."\"";
|
||||
$attr_output[] = "title=\"".$alt."\"";
|
||||
}
|
||||
if($title) {
|
||||
$attr_output[] = "title=\"".$title."\"";
|
||||
}
|
||||
if($margin) {
|
||||
$style = trim(preg_replace('/margin[a-z\-]*[ ]*:[ ]*[0-9 a-z]+(;| )/i','', $style)).';';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue