mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +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;
|
$height = $xml_obj->attrs->height;
|
||||||
$align = $xml_obj->attrs->align;
|
$align = $xml_obj->attrs->align;
|
||||||
$alt = $xml_obj->attrs->alt;
|
$alt = $xml_obj->attrs->alt;
|
||||||
|
$title = $xml_obj->attrs->title;
|
||||||
$border = (int)$xml_obj->attrs->border;
|
$border = (int)$xml_obj->attrs->border;
|
||||||
$link_url = $xml_obj->attrs->link_url;
|
$link_url = $xml_obj->attrs->link_url;
|
||||||
$open_window = $xml_obj->attrs->open_window;
|
$open_window = $xml_obj->attrs->open_window;
|
||||||
|
|
@ -73,7 +74,9 @@
|
||||||
$attr_output = array("src=\"".$src."\"");
|
$attr_output = array("src=\"".$src."\"");
|
||||||
if($alt) {
|
if($alt) {
|
||||||
$attr_output[] = "alt=\"".$alt."\"";
|
$attr_output[] = "alt=\"".$alt."\"";
|
||||||
$attr_output[] = "title=\"".$alt."\"";
|
}
|
||||||
|
if($title) {
|
||||||
|
$attr_output[] = "title=\"".$title."\"";
|
||||||
}
|
}
|
||||||
if($margin) {
|
if($margin) {
|
||||||
$style = trim(preg_replace('/margin[a-z\-]*[ ]*:[ ]*[0-9 a-z]+(;| )/i','', $style)).';';
|
$style = trim(preg_replace('/margin[a-z\-]*[ ]*:[ ]*[0-9 a-z]+(;| )/i','', $style)).';';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue