From 558b061a8308f8b03ac22bceeb9602b832b31358 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 14 Mar 2007 12:40:27 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@442 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- layouts/sample_layout/layout.html | 2 +- modules/plugin/plugin.controller.php | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/layouts/sample_layout/layout.html b/layouts/sample_layout/layout.html index 61525beb9..79b401df9 100644 --- a/layouts/sample_layout/layout.html +++ b/layouts/sample_layout/layout.html @@ -70,7 +70,7 @@ -
+
diff --git a/modules/plugin/plugin.controller.php b/modules/plugin/plugin.controller.php index 064ef6aff..a8603901b 100644 --- a/modules/plugin/plugin.controller.php +++ b/modules/plugin/plugin.controller.php @@ -27,10 +27,8 @@ $attribute = array(); if($vars) { - foreach($vars as $key=>$val) { - debugPrint($val); - debugPrint(strpos('|@|', $val)); - if(strpos('|@|', $val)>0) $val = str_replace('|@|',',',$val); + foreach($vars as $key => $val) { + if(strpos($val,'|@|')>0) $val = str_replace('|@|',',',$val); $attribute[] = sprintf('%s="%s"', $key, str_replace('"','\"',$val)); } }