X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Fcompiler.icon.php;h=bdf732576d9a138e2bee1d8321705940e10a4fd2;hb=ed4f7de016bb136fae9f72256c827ef09d4ea863;hp=672d29c6255923aafe205f88fefc32746e80f22b;hpb=2ab75571bf840471fa9559292b75852bfce004d3;p=platal.git diff --git a/plugins/compiler.icon.php b/plugins/compiler.icon.php index 672d29c..bdf7325 100644 --- a/plugins/compiler.icon.php +++ b/plugins/compiler.icon.php @@ -1,6 +1,6 @@ _parse_attrs($tag_attrs)); @@ -27,8 +27,8 @@ function smarty_compiler_icon($tag_attrs, &$compiler) if (isset($title)) { $title = pl_entities(trim($title, '\'"'), ENT_QUOTES); - $alt = 'alt="'.$title.'"'; - $title = 'title="'. $title.'" '; + $alt = 'alt="' . $title . '"'; + $title = 'title="' . $title . '" '; } $name = pl_entities(trim($name, '\'"'), ENT_QUOTES); @@ -38,7 +38,10 @@ function smarty_compiler_icon($tag_attrs, &$compiler) $name = $globals->baseurl . '/' . $name; } - return "?>