From b94d5d5059e37c4164f691a8571937b776603a5d Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 2 Nov 2008 17:15:40 +0100 Subject: [PATCH] Move plugin compiler.icon in the core. Signed-off-by: Florent Bruneau --- core | 2 +- plugins/compiler.icon.php | 46 ---------------------------------------------- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 plugins/compiler.icon.php diff --git a/core b/core index 1e9a1d9..906b45b 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 1e9a1d9943b72c5ef31f888e6266dc6322504fee +Subproject commit 906b45bbf7130955dc65a34445b53390d6460b49 diff --git a/plugins/compiler.icon.php b/plugins/compiler.icon.php deleted file mode 100644 index d464900..0000000 --- a/plugins/compiler.icon.php +++ /dev/null @@ -1,46 +0,0 @@ -_parse_attrs($tag_attrs)); - - $alt = 'alt=""'; - - if (isset($title)) { - $title = pl_entities(trim($title, '\'"'), ENT_QUOTES); - $alt = 'alt="'.$title.'"'; - $title = 'title="'. $title.'" '; - } - - $name = pl_entities(trim($name, '\'"'), ENT_QUOTES); - $name = "images/icons/$name.gif"; - if ($full) { - global $globals; - $name = $globals->baseurl . '/' . $name; - } - - return "?> -- 2.1.4