Committer: esavintcev
LJSUP-8857: Updating commenting formA trunk/htdocs/img/subjecticons.gif U trunk/htdocs/stc/lj_base.css U trunk/templates/CommentForm/Form.tmpl
Added: trunk/htdocs/img/subjecticons.gif =================================================================== (Binary files differ) Property changes on: trunk/htdocs/img/subjecticons.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/htdocs/stc/lj_base.css =================================================================== --- trunk/htdocs/stc/lj_base.css 2011-08-29 07:02:49 UTC (rev 19880) +++ trunk/htdocs/stc/lj_base.css 2011-08-29 07:19:02 UTC (rev 19881) @@ -3407,9 +3407,30 @@ *display: inline; text-align: center; } - .b-subjecticons-item IMG { + .b-subjecticon { cursor: pointer; + background-image: url(/img/subjecticons.gif?v=1); + background-repeat: no-repeat; } + .b-subjecticons-default {background-position: 0 0;} + .b-subjecticons-sm01 {background-position: -15px 0;} + .b-subjecticons-sm02 {background-position: -30px 0;} + .b-subjecticons-sm03 {background-position: -45px 0;} + .b-subjecticons-sm04 {background-position: -60px 0;} + .b-subjecticons-sm05 {background-position: -75px 0;} + .b-subjecticons-sm06 {background-position: -90px 0;} + .b-subjecticons-sm07 {background-position: -105px 0;} + .b-subjecticons-sm08 {background-position: -120px 0;} + .b-subjecticons-sm09 {background-position: -140px 0;} + .b-subjecticons-sm10 {background-position: -154px 0;} + .b-subjecticons-md01 {background-position: -178px 0;} + .b-subjecticons-md02 {background-position: -210px 0;} + .b-subjecticons-md05 {background-position: -242px 0;} + .b-subjecticons-md06 {background-position: -267px 0;} + .b-subjecticons-md07 {background-position: -287px 0;} + .b-subjecticons-md08 {background-position: -307px 0;} + .b-subjecticons-md09 {background-position: -324px 0;} + .b-subjecticons-md10 {background-position: -349px 0;} Modified: trunk/templates/CommentForm/Form.tmpl =================================================================== --- trunk/templates/CommentForm/Form.tmpl 2011-08-29 07:02:49 UTC (rev 19880) +++ trunk/templates/CommentForm/Form.tmpl 2011-08-29 07:19:02 UTC (rev 19881) @@ -85,18 +85,18 @@ <input class="textbox" type="text" size="60" maxlength="100" name="subject" id="subject" value="<TMPL_VAR basesubject>" tabindex="20" /> <input type="hidden" id="subjectIconField" name="subjecticon" value="<TMPL_VAR subjicon>"> <TMPL_IF subjicon_none> - <img src="<TMPL_VAR lj_imgprefix>/talk/none.gif" border="0" width="15" height="15" valign="middle" id="subjectIconImage" align="absmiddle" title="Click to change the subject icon" /> + <img src="<TMPL_VAR lj_imgprefix>/spacer.gif" border="0" width="15" height="15" valign="middle" id="subjectIconImage" align="absmiddle" title="Click to change the subject icon" class="b-subjecticon b-subjecticons-default" /> <TMPL_ELSE> - <img src="<TMPL_VAR lj_imgprefix>/talk/<TMPL_VAR subjicon_current_img>" border="0" width="<TMPL_VAR subjicon_current_w>" height="<TMPL_VAR subjicon_current_h>" valign="middle" id="subjectIconImage" /> + <img src="<TMPL_VAR lj_imgprefix>/spacer.gif" border="0" width="<TMPL_VAR subjicon_current_w>" height="<TMPL_VAR subjicon_current_h>" valign="middle" id="subjectIconImage" class="b-subjecticon b-subjecticons-<TMPL_VAR subjicon_current_id>" /> </TMPL_IF> <div class="b-subjecticons"> <ul class="b-subjecticons-items"> <TMPL_LOOP subjicon_types> <TMPL_IF __first__> - <li class="b-subjecticons-item"><img src="<TMPL_VAR lj_imgprefix>/talk/none.gif" border="0" width="15" height="15" id="none" title="No subject icon" /></li> + <li class="b-subjecticons-item"><img src="<TMPL_VAR lj_imgprefix>/spacer.gif" border="0" width="15" height="15" id="none" title="No subject icon" class="b-subjecticon b-subjecticons-default" /></li> </TMPL_IF> <TMPL_LOOP subjicons> - <li class="b-subjecticons-item"><img src="<TMPL_VAR lj_imgprefix>/talk/<TMPL_VAR subjicon_img>" border="0" width="<TMPL_VAR subjicon_w>" height="<TMPL_VAR subjicon_h>" id="<TMPL_VAR subjicon_id>" /></li> + <li class="b-subjecticons-item"><img src="<TMPL_VAR lj_imgprefix>/spacer.gif" border="0" width="<TMPL_VAR subjicon_w>" height="<TMPL_VAR subjicon_h>" id="<TMPL_VAR subjicon_id>" class="b-subjecticon b-subjecticons-<TMPL_VAR subjicon_id>" /></li> </TMPL_LOOP> </TMPL_LOOP> </ul>