fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-08-25 03:48 pm

[dw-free] Add alt attribute for locked icon on entries in style=light

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

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

Add alt attribute for private, custom, protected entries in site scheme
comment views.

Patch by [personal profile] rb.

Files modified:
  • cgi-bin/bml/scheme/global.look
--------------------------------------------------------------------------------
diff -r 42d9e8a2718f -r a0fe346a4f78 cgi-bin/bml/scheme/global.look
--- a/cgi-bin/bml/scheme/global.look	Thu Aug 25 20:05:33 2011 +0800
+++ b/cgi-bin/bml/scheme/global.look	Thu Aug 25 23:48:21 2011 +0800
@@ -16,9 +16,9 @@
 loginboxstyle=>{Ss}background: url(/img/silk/identity/user.png) no-repeat; background-color: #fff; background-position: 0px 1px; padding-left: 18px; color: #00C; font-weight: bold;
 commloginboxstyle=>{Ss}background: url(/img/silk/identity/community.png) no-repeat; background-color: #fff; background-position: 0px 2px; padding-left: 19px; color: #00C; font-weight: bold;
 
-SECURITYPRIVATE=>{Ss}<img src="<?imgprefix?>/silk/entry/private.png" width=16 height=16 align=absmiddle>
-SECURITYPROTECTED=>{Ss}<img src="<?imgprefix?>/silk/entry/locked.png" width=14 height=15 align=absmiddle>
-SECURITYGROUPS=>{Ss}<img src="<?imgprefix?>/silk/entry/filtered.png" width=21 height=13 align=absmiddle>
+SECURITYPRIVATE=>{Ss}<img src="<?imgprefix?>/silk/entry/private.png" alt="private" width=16 height=16 align=absmiddle>
+SECURITYPROTECTED=>{Ss}<img src="<?imgprefix?>/silk/entry/locked.png" alt="protected" width=14 height=15 align=absmiddle>
+SECURITYGROUPS=>{Ss}<img src="<?imgprefix?>/silk/entry/filtered.png" alt="custom" idth=21 height=13 align=absmiddle>
 HELP=>{DR}(<a href="%%data%%"><i>help</i></a>)
 INERR=>{DR}<font color="#ff0000"><b>%%data%%</b></font>
 SOERROR=>{DR}<div><b>%%data%%</b></div>
--------------------------------------------------------------------------------