[prev in list] [next in list] [prev in thread] [next in thread]
List: twig-devel
Subject: [twig-devel] Better status image alternate text attributes
From: "Tom Goulet (UID0)" <uid0 () em ! ca>
Date: 2003-06-05 22:40:00
[Download RAW message or body]
Hello,
I switched to using "N" for unread messages and " " for read messages
and "D" for deleted messages and " " for not deleted.
This is how it looks in Lynx if I don't wrap table lines:
> Status [date] from subject
> 06/05/03 12:04 pm Lana Mullen mjllet bomrow r efjqag
> D 06/05/03 12:10 pm Estella Maurer Sinclair Lewis and hundred
> N 06/05/03 12:19 pm Henriette Hilliard Get your confidence up
> N D 06/05/03 12:54 pm Easter Giroux bob.smith look and feel gr
That's about as good as it gets.
I could make a patch but I'm lazy and I got no feedback on my last one
> -P.
This is what I changed:
In the file "features/mail/mail.main.inc.php3" on line 151:
> if( $headers->Unseen == "U" || $headers->Recent == "N" ) { $itemp = TWIGLink( \
> TWIGImage( $img["unread"], "N" ), "mail", "msgview", "path=" . $sorted[$i-1] ); }
> else { $itemp = TWIGLink( TWIGImage( $img["read"], " " ), "mail", "unread", \
> "path=" . $sorted[$i-1] ); }
And on line 179:
> if( $headers->Deleted == "D" ) { $dtemp = TWIGLink( TWIGImage( $img["deleted"], "D" \
> ), "mail", "undelete", "path=" . $sorted[$i-1] ); }
> else { $dtemp = TWIGLink( TWIGImage( $img["undeleted"], " " ), "mail", \
> "delete", "path=" . $sorted[$i-1] ); }
--
Tom Goulet mail: uid0@em.ca
UID0 Unix Consulting web: em.ca/uid0/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic