| 1 | <mt:setvarblock name="action_buttons"> |
|---|
| 2 | <mt:if name="can_administer_blog"> |
|---|
| 3 | <a href="javascript:void(0)" |
|---|
| 4 | onclick="doRemoveItems(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="user" escape="js">', '<__trans phrase="users" escape="js">', 'id', {}, { 'mode': 'remove_user_assoc', 'singular_prompt': '<__trans phrase="Are you sure you want to remove the selected user from this blog?" escape="js">', 'plural_prompt': '<__trans phrase="Are you sure you want to remove the [_1] selected users from this blog?" params="[_1]" escape="js">' }); return false;" |
|---|
| 5 | accesskey="r" |
|---|
| 6 | title="<__trans phrase="Remove selected user(s) (r)">" |
|---|
| 7 | ><__trans phrase="Remove"></a> |
|---|
| 8 | </mt:if> |
|---|
| 9 | </mt:setvarblock> |
|---|
| 10 | |
|---|
| 11 | <mtapp:listing> |
|---|
| 12 | <mt:if name="__first__"> |
|---|
| 13 | <thead> |
|---|
| 14 | <!-- for role_revoke mode --> |
|---|
| 15 | <input type="hidden" name="role_id" value="" /> |
|---|
| 16 | <input type="hidden" name="author_id" value="" /> |
|---|
| 17 | <tr> |
|---|
| 18 | <th class="cb"><input type="checkbox" name="id-head" value="all" class="select" /></th> |
|---|
| 19 | <th id="at-flag si"><img src="<mt:var name="static_uri">images/status_icons/invert-flag.gif" alt="<__trans phrase="Status">" title="<__trans phrase="Status">" width="9" height="9" /></th> |
|---|
| 20 | <th id="at-username"><__trans phrase="Username"></th> |
|---|
| 21 | <th id="at-name"><__trans phrase="Name"></th> |
|---|
| 22 | <mt:if name="filter_key" ne="commenter"> |
|---|
| 23 | <th id="at-roles"><__trans phrase="Roles"></th> |
|---|
| 24 | </mt:if><mt:loop name="more_column_headers"><mt:var name="__value__"></mt:loop> |
|---|
| 25 | </tr> |
|---|
| 26 | </thead> |
|---|
| 27 | <tbody> |
|---|
| 28 | </mt:if> |
|---|
| 29 | <tr class="<mt:if name="__odd__">odd<mt:else>even</mt:if>"> |
|---|
| 30 | <td class="cb"><input<mt:if name="is_administrator"><mt:if name="is_me"> id="sysadmin"</mt:if></mt:if> type="checkbox" name="id" value="<$mt:var name="id"$>" class="select" /></td> |
|---|
| 31 | <mt:if name="usertype_author"> |
|---|
| 32 | <td class="<mt:if name="status_enabled">user-status-enabled<mt:else><mt:if name="status_pending">user-status-pending<mt:else>user-status-disabled</mt:if></mt:if> si"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="_USER_ENABLED">" width="13" height="9" /></td> |
|---|
| 33 | <td><mt:if name="has_edit_access"><a href="<mt:var name="script_url">?__mode=view&_type=author&id=<mt:var name="id">"></mt:if><mt:var name="name" escape="html"><mt:if name="has_edit_access"></a></mt:if></td> |
|---|
| 34 | <mt:else> |
|---|
| 35 | <td class="<mt:if name="status_trusted">status-trusted<mt:else>user-status-enabled</mt:if> si"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<mt:if name="status_trusted"><__trans phrase="Trusted commenter"><mt:else><__trans phrase="Commenter"></mt:if>" width="13" height="9" /></td> |
|---|
| 36 | <td><mt:if name="auth_icon_url"><img src="<mt:var name="auth_icon_url">" height="16" width="16" alt="" title="<mt:var name="auth_icon_url">" border="0" style="background-image: none" /> </mt:if><a href="<mt:var name="script_url">?__mode=view&_type=commenter&id=<mt:var name="id">&blog_id=<mt:var name="blog_id">"><mt:var name="name" escape="html"></a></td> |
|---|
| 37 | </mt:if> |
|---|
| 38 | <td> |
|---|
| 39 | <mt:if name="nickname"><span class="status-name"><mt:var name="nickname" escape="html"></span></mt:if> |
|---|
| 40 | <mt:if name="email"><span class="status-email"><a href="mailto:<mt:var name="email" escape="html">" title="<mt:var name="email" escape="html">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="Email">" width="16" height="9" /></a></span></mt:if> |
|---|
| 41 | <mt:if name="url"><span class="status-link"><a href="<mt:var name="url" escape="html">" title="<mt:var name="url" escape="html">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="Link">" width="16" height="9" /></a></mt:if></span> |
|---|
| 42 | </td> |
|---|
| 43 | <mt:if name="filter_key" ne="commenter"> |
|---|
| 44 | <td> |
|---|
| 45 | <mt:loop name="role_loop" glue=", "><span title="<mt:var name="role_perms" escape="html">" onmouseover="DOM.addClassName(this, 'focus')" onmouseout="DOM.removeClassName(this, 'focus')"><mt:var name="role_name"><mt:if name="can_administer_blog"> <a href="javascript:void(0)" onclick="removeMemberRole(<mt:var name="id">,<mt:var name="role_id">)" class="delete" title="<__trans phrase="Remove this role">"> </a></mt:if></span></mt:loop></td> |
|---|
| 46 | </mt:if><mt:loop name="more_columns"><mt:var name="__value__"></mt:loop> |
|---|
| 47 | </tr> |
|---|
| 48 | <mt:if name="__last__"> |
|---|
| 49 | </tbody> |
|---|
| 50 | </mt:if> |
|---|
| 51 | </mtapp:listing> |
|---|