Changeset 1660 in ExiteCMS for trunk/includes/templates/main.members.tpl
- Timestamp:
- 08/21/08 16:07:21 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/templates/main.members.tpl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/templates/main.members.tpl
r1186 r1660 33 33 <tr> 34 34 <td class='tbl2'> 35 <b>{$locale.401}</b> 35 {if $order == "username"} 36 <b>{$locale.401}</b> <img src='{$smarty.const.THEME}images/panel_on.gif' alt='' /> 37 {else} 38 <a href='{$smarty.const.FUSION_SELF}?order=username&field={$field}&sortby={$sortby}&country={$country}'><b>{$locale.401}</b></a> 39 {/if} 36 40 </td> 37 41 {if $userdata.user_level >= 102 || $settings.forum_flags} 38 42 <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 39 <b>{$locale.406}</b> 43 {if $order == "country"} 44 <b>{$locale.406}</b> <img src='{$smarty.const.THEME}images/panel_on.gif' alt='' /> 45 {else} 46 <a href='{$smarty.const.FUSION_SELF}?order=country&field={$field}&sortby={$sortby}&country={$country}'><b>{$locale.406}</b></a> 47 {/if} 40 48 </td> 41 49 {/if} 42 50 {if $smarty.const.iSUPERADMIN} 43 51 <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 44 <b>{$locale.409}</b> 52 {if $order == "email"} 53 <b>{$locale.409}</b> <img src='{$smarty.const.THEME}images/panel_on.gif' alt='' /> 54 {else} 55 <a href='{$smarty.const.FUSION_SELF}?order=email&field={$field}&sortby={$sortby}&country={$country}'><b>{$locale.409}</b></a> 56 {/if} 45 57 </td> 46 58 <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> 47 <b>{$locale.405}</b> 59 {if $order == "lastvisit"} 60 <b>{$locale.409}</b> <img src='{$smarty.const.THEME}images/panel_on.gif' alt='' /> 61 {else} 62 <a href='{$smarty.const.FUSION_SELF}?order=lastvisit&field={$field}&sortby={$sortby}&country={$country}'><b>{$locale.405}</b></a> 63 {/if} 48 64 </td> 49 65 {/if} … … 59 75 {if $userdata.user_level >= 102 || $settings.forum_flags} 60 76 <td align='left' width='1%' class='{cycle values='tbl1,tbl2' advance=no}' style='white-space:nowrap'> 61 {$members[id].cc_flag}{if $members[id].user_cc_code == ""}{$members[id].cc_name}{else}<a href='{$smarty.const.FUSION_SELF}? sortby={$sortby}&country={$members[id].user_cc_code}'>{$members[id].cc_name}</a>{/if}77 {$members[id].cc_flag}{if $members[id].user_cc_code == ""}{$members[id].cc_name}{else}<a href='{$smarty.const.FUSION_SELF}?order={$order}&sortby={$sortby}&field={$field}&country={$members[id].user_cc_code}'>{$members[id].cc_name}</a>{/if} 62 78 </td> 63 79 {/if} … … 76 92 {if $smarty.section.id.last} 77 93 </table> 78 <br /> 79 <table align='center' cellpadding='0' cellspacing='1' class='tbl-border'> 80 <tr> 81 <td rowspan='2' class='tbl2'> 82 <a href='{$smarty.const.FUSION_SELF}?sortby=all'>{$locale.404}</a> 83 </td> 84 {foreach from=$search item=letter name=search} 85 {if $smarty.foreach.search.first} 86 {math equation="x/2-1" x=$smarty.foreach.search.total format="%u" assign='break'} 94 <br /> 95 <table align='center' cellpadding='0' cellspacing='1' class='tbl-border'> 96 <tr> 97 {foreach from=$search item=letter name=search} 98 {if $smarty.foreach.search.first} 99 {math equation="x/2-1" x=$smarty.foreach.search.total format="%u" assign='break'} 100 {/if} 101 <td align='center' class='tbl1'> 102 <div class='small'> 103 <a href='{$smarty.const.FUSION_SELF}?field={$field}&sortby={$letter}{if $country !=""}&country={$country}{/if}'>{$letter}</a> 104 </div> 105 </td> 106 {if !$smarty.foreach.search.last && $smarty.foreach.search.index==$break} 107 </tr> 108 <tr> 87 109 {/if} 88 <td align='center' class='tbl1'> 89 <div class='small'> 90 <a href='{$smarty.const.FUSION_SELF}?sortby={$letter}{if $country !=""}&country={$country}{/if}'>{$letter}</a> 91 </div> 92 </td> 93 {if $smarty.foreach.search.index==$break} 94 <td rowspan='2' class='tbl2'> 95 <a href='{$smarty.const.FUSION_SELF}?sortby=all'>{$locale.404}</a> 96 </td> 97 </tr> 98 <tr> 99 {/if} 100 {/foreach} 101 </tr> 102 </table> 110 {/foreach} 111 </tr> 112 </table> 113 <div style='text-align:center'> 114 {buttonlink name=$locale.404|sprintf:$locale.401 link=$smarty.const.FUSION_SELF|cat:"?field=username"|cat:"&order="|cat:$order|cat:"&sortby=all&country="|cat:$country} 115 116 {buttonlink name=$locale.404|sprintf:$locale.409 link=$smarty.const.FUSION_SELF|cat:"?field=email"|cat:"&order="|cat:$order|cat:"&sortby=all&country="|cat:$country} 117 {if $sortby != "all"} 118 119 {buttonlink name=$locale.414 link=$smarty.const.FUSION_SELF|cat:"?field="|cat:$field|cat:"&order="|cat:$order|cat:"&sortby=all"} 120 {/if} 121 </div> 103 122 {/if} 104 123 {sectionelse}
Note: See TracChangeset
for help on using the changeset viewer.
