Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Removed unused MemberList templates (see MemberTableField)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@113278 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 0c177bcbca7ddc1ccf155f4f83ccc36a2bf1503f 1 parent ba4da1f
@chillu chillu authored sminnee committed
View
17 templates/Includes/MemberList_PageControls.ss
@@ -1,17 +0,0 @@
-<% if TotalCount %>
-<div class="PageControls">
- <input name="MemberListStart" id="MemberListStart" type="hidden" value="$MemberListStart" />
- <% if LastLink %><a class="Last" href="$LastLink" title="<% _t('VIEWLAST', 'View last') %> $PageSize <% _t('LASTMEMBERS', 'members') %>"><img src="cms/images/pagination/record-last.png" alt="View last $PageSize members" /></a>
- <% else %><span class="Last"><img src="cms/images/pagination/record-last-g.png" alt="<% _t('VIEWLAST', 'View last') %> $PageSize <% _t('LASTMEMBERS', 'members') %>" /></span><% end_if %>
- <% if FirstLink %><a class="First" href="$FirstLink" title="<% _t('VIEWFIRST', 'View first') %> $PageSize <% _t('FIRSTMEMBERS', 'members') %>"><img src="cms/images/pagination/record-first.png" alt="View first $PageSize members" /></a>
- <% else %><span class="First"><img src="cms/images/pagination/record-first-g.png" alt="<% _t('VIEWFIRST', 'View first') %> $PageSize <% _t('FIRSTMEMBERS', 'members') %>" /></span><% end_if %>
- <% if PrevLink %><a class="Prev" href="$PrevLink" title="<% _t('VIEWPREVIOUS', 'View previous') %> $PageSize <% _t('PREVIOUSMEMBERS', 'members') %>"><img src="cms/images/pagination/record-prev.png" alt="<% _t('VIEWPREVIOUS', 'View previous') %> $PageSize <% _t('PREVIOUSMEMBERS', 'members') %>" /></a>
- <% else %><img class="Prev" src="cms/images/pagination/record-prev-g.png" alt="<% _t('VIEWPREVIOUS', 'View previous') %> $PageSize <% _t('PREVIOUSMEMBERS', 'members') %>" /><% end_if %>
- <span class="Count">
- <% _t('DISPLAYING', 'Displaying') %> $FirstMember <% _t('TO', 'to') %> $LastMember <% _t('OF', 'of') %> $TotalMembers
- </span>
- <% if NextLink %><a class="Next" href="$NextLink" title="<% _t('VIEWNEXT', 'View next') %> $PageSize <% _t('NEXTMEMBERS', 'members') %>"><img src="cms/images/pagination/record-next.png" alt="<% _t('VIEWNEXT', 'View next') %> $PageSize <% _t('NEXTMEMBERS', 'members') %>" /></a>
- <% else %><img class="Next" src="cms/images/pagination/record-next-g.png" alt="<% _t('VIEWNEXT', 'View next') %> $PageSize <% _t('NEXTMEMBERS', 'members') %>" /><% end_if %>
-
-</div>
-<% end_if %>
View
42 templates/Includes/MemberList_Table.ss
@@ -1,42 +0,0 @@
-<% include MemberList_PageControls %>
-<table class="CMSList MemberList">
- <thead>
- <tr>
- <td class="FirstName"><% _t('FN','First Name') %></td>
- <td class="Surname"><% _t('SN','Surname') %></td>
- <td class="Email"><% _t('EMAIL','Email Address') %></td>
- <% if DontShowPassword %>
- <% else %>
- <td class="Password"><% _t('PASSWD','Password') %></td>
- <% end_if %>
- <td>&nbsp;</td>
- </tr>
- </thead>
-
- <tbody>
-
- <% if DontShowPassword %>
- <% control Members %>
- <tr id="member-$ID">
- <td>$FirstName</td>
- <td>$Surname</td>
- <td>$Email</td>
- <td><a class="deletelink" href="admin/security/removememberfromgroup/$GroupID/$ID"><img src="cms/images/delete.gif" alt="delete" /></a></td>
- </tr>
- <% end_control %>
- <% else %>
- <% control Members %>
- <tr id="member-$ID">
- <td>$FirstName</td>
- <td>$Surname</td>
- <td>$Email</td>
- <td>$Password</td>
- <td><a class="deletelink" href="admin/security/removememberfromgroup/$GroupID/$ID"><img src="cms/images/delete.gif" alt="delete" /></a></td>
- </tr>
- <% end_control %>
- <% end_if %>
-
-
- $AddRecordForm.AsTableRow
- </tbody>
-</table>
View
17 templates/MemberList.ss
@@ -1,17 +0,0 @@
-<div id="MemberListField">
- <div class="MemberListFilter">
- <a class="showhide closed" href="#"><% _t('FILTER','Filter',50,'Filter as a verb') %></a>
- <div id="MemberListFilterControls">
- <input id="MemberListBaseGroupID" type="hidden" name="MemberListBaseGroup" value="$GroupID" />
- <input id="MemberListDontShowPassword" type="hidden" name="MemberListDontShowPassword" value="$DontShowPassword" />
- $SearchField
- $OrderByField
- $GroupFilter
- <input id="MemberListFilterButton" type="submit" value="<% _t('FILTER') %>" name="filter" />
- </div>
- </div>
- <div id="MemberList">
- <% include MemberList_Table %>
- </div>
-</div>
-

0 comments on commit 0c177bc

Please sign in to comment.
Something went wrong with that request. Please try again.