[Isocial-svn] SF.net SVN: isocial: [83]
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <agu...@us...> - 2008-03-16 13:46:00
|
Revision: 83 http://isocial.svn.sourceforge.net/isocial/?rev=83&view=rev Author: aguidrevitch Date: 2008-03-16 06:46:01 -0700 (Sun, 16 Mar 2008) Log Message: ----------- getting rid of images Modified Paths: -------------- app/views/message/_rows.tpl public/stylesheets/Message.css Modified: app/views/message/_rows.tpl =================================================================== --- app/views/message/_rows.tpl 2008-03-14 20:16:11 UTC (rev 82) +++ app/views/message/_rows.tpl 2008-03-16 13:46:01 UTC (rev 83) @@ -5,13 +5,7 @@ <tr class="<? if ($target == 'sender' && !$message->is_read) { echo 'new_message'; } ?>"> <td class="msg_icon"> <? if ($target == 'sender') { - echo '<a href="">'; - if (!$message->is_read) { - echo '<img src="/images/email.png" alt="' . $text_helper->translate("New message", array()) . '">'; - } else { - echo '<img src="/images/email_open.png" alt="' . $text_helper->translate("Message is read", array()) . '">'; - } - echo '</a>'; + echo '<a class="'. ($message->is_read ? 'email_open' : 'email_closed') . ' href=""></a>'; } else { echo '<span> </span>'; } Modified: public/stylesheets/Message.css =================================================================== --- public/stylesheets/Message.css 2008-03-14 20:16:11 UTC (rev 82) +++ public/stylesheets/Message.css 2008-03-16 13:46:01 UTC (rev 83) @@ -221,3 +221,15 @@ padding: 7px 0px 0px 0px; color: #999999; } + +.email_closed { + width: 16px; + height: 16px; + background: url('/images/email.png') no-repeat 10px; +} + +.email_open { + width: 16px; + height: 16px; + background: url('/images/email_open.png') no-repeat 10px; +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |