Author: spadkins
Date: Thu Sep  7 06:02:35 2006
New Revision: 6868

Modified:
   p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm

Log:
substitute {tags} in the image url (i.e. {theme})

Modified: p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm
==============================================================================
--- p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm (original)
+++ p5ee/trunk/App-Widget/lib/App/Widget/ImageButton.pm Thu Sep  7 06:02:35 2006
@@ -1,4 +1,3 @@
-
 ######################################################################
 ## $Id$
 ######################################################################
@@ -71,6 +70,8 @@
     $image = $self->get("image");
     my $html_attribs = $self->html_attribs();
     if ($image) {
+        $image      = $self->substitute($image);
+        
         $height     = $self->get("height");
         $width      = $self->get("width");
         $height     = $height ? " height=\"$height\"" : "";
@@ -108,4 +109,3 @@
 }
 
 1;
-

Reply via email to