root/ip/tags/release_1_3_0_53/templates/common/acp/admin_voting_body.tpl
| 111 | 163 | ||
|---|---|---|---|
50 | 50 | ||
51 | if( (navigator.userAgent.indexOf("MSIE") >= 0) && document && document.body && document.body.style) | 51 | if( (navigator.userAgent.indexOf("MSIE") >= 0) && document && document.body && document.body.style) |
52 | { | 52 | { |
53 | document.write( '<span '+sOnStyle+'onclick="__on('+sVar+');__off('+sOn+');__on('+sOff+');" id="'+sOn+'" title="Click here to show details"'+sSymStyle+'>+<\/span>' + | 53 | document.write( '<span ' + sOnStyle + 'onclick="__on(' + sVar + ');__off(' + sOn + ');__on(' + sOff + ');" id="' + sOn + '" title="Click here to show details"' + sSymStyle + '>+<\/span>' + '<span ' + sOffStyle + 'onclick="__off(' + sVar + ');__off(' + sOff + ');__on(' + sOn + ');" id="' + sOff + '" title="Click here to hide details"' + sSymStyle+'>-<\/span>' ); |
54 | '<span '+sOffStyle+'onclick="__off('+sVar+');__off('+sOff+');__on('+sOn+');" id="'+sOff+'" title="Click here to hide details"'+sSymStyle+'>-<\/span>' ); | ||
55 | } | 54 | } |
56 | else | 55 | else |
57 | { | 56 | { |
... | ... | ||
72 | 71 | ||
73 | <table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0"> | 72 | <table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0"> |
74 | <tr> | 73 | <tr> |
75 | <th height="20" nowrap="nowrap">{L_VOTE_ID}</th> | 74 | <th nowrap="nowrap">{L_VOTE_ID}</th> |
76 | <th height="20" nowrap="nowrap">{L_POLL_TOPIC}</th> | 75 | <th nowrap="nowrap">{L_POLL_TOPIC}</th> |
77 | <th height="20" nowrap="nowrap">{L_VOTE_USERNAME}</th> | 76 | <th nowrap="nowrap">{L_VOTE_USERNAME}</th> |
78 | <th height="20" nowrap="nowrap">{L_VOTE_END_DATE}</th> | 77 | <th nowrap="nowrap">{L_VOTE_END_DATE}</th> |
79 | </tr> | 78 | </tr> |
80 | <!-- BEGIN votes --> | 79 | <!-- BEGIN votes --> |
81 | <tr> | 80 | <tr> |
82 | <td class="{votes.COLOR} row-center"><span class="gensmall">{votes.VOTE_ID}</span></td> | 81 | <td class="{votes.COLOR} row-center" style="height: 32px;"><span class="gensmall">{votes.VOTE_ID}</span> <script type="text/javascript">onoff('vote{votes.VOTE_ID}_switch', false);</script> </td> |
83 | <td class="{votes.COLOR}"><span class="genmed"> | 82 | <td class="{votes.COLOR}"><span class="genmed"><a href="{votes.LINK}"><b>{votes.DESCRIPTION}</b></a></span><br /></td> |
84 | <script type="text/javascript"> | ||
85 | <!-- | ||
86 | onoff('vote{votes.VOTE_ID}_switch', false); | ||
87 | //--> | ||
88 | </script> | ||
89 | <a href="{votes.LINK}">{votes.DESCRIPTION}</a></span><br /> | ||
90 | </td> | ||
91 | <td class="{votes.COLOR}"><span class="gensmall">{votes.USER}</span></td> | 83 | <td class="{votes.COLOR}"><span class="gensmall">{votes.USER}</span></td> |
92 | <td class="{votes.COLOR} row-center"><span class="gensmall">{votes.VOTE_DURATION}</span></td> | 84 | <td class="{votes.COLOR} row-center"><span class="gensmall">{votes.VOTE_DURATION}</span></td> |
93 | </tr> | 85 | </tr> |
Download diff