Message Text |
Note : this post has been corrected to bring informations to the reader
Hello,
If you want a cleaner presentation on displaylinks when you have two or more votes criteria, you can write :
<IF {SWITCH_RATINGS} and {LINKVOTES}> <table><tr><td>{PALL_LANG_GENERAL_RATING}: </td><td>{LINKSTARS} ({LINKRATING}/{MAXVOTE}, {L_LANG_GENERAL_VOTES} {LINKVOTES}) </td></tr> <tr><td> {PALL_LANG_GENERAL_RATING}:</td><td>{LINKSTYLERATINGSTARS} ({LINKSTYLERATINGRATING}/{MAXVOTE}, {L_LANG_GENERAL_VOTES} {LINKSTYLERATINGVOTES}) </td></tr></table> </IF>
but surely NOT :
<table><tr><td> <IF {SWITCH_RATINGS} and {LINKSTYLERATINGVOTES}>{PALL_LANG_GENERAL_RATING2}: </IF></td><td><IF {SWITCH_RATINGS} and {LINKSTYLERATINGVOTES}>{LINKSTYLERATINGSTARS} ({LINKSTYLERATINGRATING}/{MAXVOTE}, {L_LANG_GENERAL_VOTES} {LINKSTYLERATINGVOTES}) </IF></td></tr> <tr><td><IF {SWITCH_RATINGS} ... </IF></table></tr></td> ... have been included for a better presentation)
thank you
CC |