<html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal" metal:use-macro="here/main_template/macros/master"> <body> <div metal:fill-slot="main"> <div tal:condition="python:not(request.has_key('bs'))" tal:define="dummy python:request.set('bs', '25')"></div> <div class="Desktop" metal:define-macro="roster" > <h3> Portal Members </h3> <table class="SearchResults"> <tr> <td width="16"> <br> </td> <th>Member</th> <th tal:condition="python: here.portal_membership.checkPermission('Manage_users', here.Members)">Listed?</th> </tr> <div tal:define="b_start string:0;b_start request/b_start | b_start; members python: here.portal_membership.getRoster(); Batch python:modules['ZTUtils'].Batch; global batch python:Batch(members, 25, int(b_start), orphan=1)"> <tr tal:repeat="members batch"> <td> <br> </td> <td tal:define="id members/id; homeUrl python: here.portal_membership.getHomeUrl(id, verifyPermission=1)"> <a href="www.here.com" tal:condition="homeUrl" tal:attributes="href homeUrl" tal:content="id">ID</a> <span tal:condition="not:homeUrl" tal:replace="id">ID</span> </td> <td tal:condition="python: here.portal_membership.checkPermission( 'Manage_users', here.Members )" tal:define="listed members/listed"> <span tal:replace="python: listed and 'Yes' or 'No'">Yes...Or No</span> </td> </tr> <tr> <td> <br> </td> <td> <span tal:define="p batch/previous" tal:condition="p"> <a href="" tal:attributes="href string:?b_start=${p/first}">Previous <span tal:replace="p/length">p</span> Members</a> </span> <span tal:define="n batch/next" tal:condition="n"> <a href="" tal:attributes="href string:?b_start=${batch/end}">Next <span tal:replace="n/length">n</span> Members</a> </span> </td> </tr> </div> </table> </div> </div> </body> </html>