mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-07-29 08:01 am

[dw-free] Investigate using cgi-bin/imageconf.pl instead of scattering image URLs all over the place

[commit: http://hg.dwscoalition.org/dw-free/rev/d7c12ffffc2c]

http://bugs.dwscoalition.org/show_bug.cgi?id=1207

Another syntax error. Testing is optional around here.

Patch by [staff profile] mark.

Files modified:
  • htdocs/search.bml
--------------------------------------------------------------------------------
diff -r 5a27d47df846 -r d7c12ffffc2c htdocs/search.bml
--- a/htdocs/search.bml	Thu Jul 29 06:45:48 2010 +0000
+++ b/htdocs/search.bml	Thu Jul 29 08:01:21 2010 +0000
@@ -166,10 +166,10 @@ body<=
             if $match->{security} eq 'usemask' && ! $mu->equals( $remote );
 
         my $icon = {
-                public => '',
-                private => LJ::img( "security-private",   "" );
-                usemask => LJ::img( "security-groups",    "" );
-                access  => LJ::img( "security-protected", "" );
+                public  => '',
+                private => LJ::img( "security-private",   "" ),
+                usemask => LJ::img( "security-groups",    "" ),
+                access  => LJ::img( "security-protected", "" ),
             }->{$match->{security}};
 
         my $tags = join( ', ', map { "<strong>" . $match->{tags}->{$_} . "</strong>" } keys %{ $match->{tags} } );
--------------------------------------------------------------------------------