home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 January / maximum-cd-2012-01.iso / DiscContents / digsby_setup.exe / lib / plugins / myspace / res / comment_link.tenjin < prev    next >
Encoding:
Text File  |  2011-02-03  |  458 b   |  13 lines

  1. <?py comments = item.get_comments() ?>
  2. <?py num_comments = max(len(comments), getattr(item, 'numComments', 0)) ?>
  3. <span class="comment_button_section link_section">
  4.   ┬╖ <!--! this line has a dot  -->
  5.     <a href="javascript:null;" class="skinlink link makecommenttxt comment_button">
  6. <?py if num_comments > 0: ?>
  7.     ${{_('Comment')}} (${num_comments})</a>
  8. <?py else: ?>
  9.     ${{_('Comment')}}</a>
  10. <?py #endif ?>
  11. </span>
  12. <?py del num_comments ?>
  13.