Index: openacs-4/packages/acs-subsite/www/members/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/members/index.tcl,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/acs-subsite/www/members/index.tcl 10 Oct 2003 16:35:03 -0000 1.7
+++ openacs-4/packages/acs-subsite/www/members/index.tcl 12 Oct 2003 19:50:31 -0000 1.8
@@ -15,7 +15,7 @@
}
}
-set page_title "Members"
+set page_title [_ acs-subsite.Members]
set context [list $page_title]
set group_id [application_group::group_id_from_package_id]
@@ -35,7 +35,7 @@
set show_members_list_p 1
} else {
set show_members_list_p 0
- set title "Cannot see the members list"
+ set title [_ acs-subsite.Cannot_see_memb_list]
}
if { $admin_p } {
@@ -49,7 +49,8 @@
set actions {}
if { $admin_p || [parameter::get -parameter "MembersCanInviteMembersP" -default 0] } {
- set actions { "Invite" member-invite }
+ set actions [_ acs-subsite.Invite]
+ lappend actions { member-invite }
}
# TODO: Pagination
@@ -79,50 +80,50 @@
-actions $actions \
-elements {
name {
- label "Name"
+ label "[_ acs-subsite.Name]"
link_url_eval {[acs_community_member_url -user_id $user_id]}
}
email {
- label "Email"
+ label "[_ acs-subsite.Email]"
link_url_col email_url
- link_html { title "Send email to this user" }
+ link_html { title "[_ acs-subsite.Send_email_to_this_user]" }
}
rel_role {
- label "Role"
+ label "[_ acs-subsite.Role]"
display_template {
@members.rel_role_pretty@
- (Make administrator)
+ (#acs-subsite.Make_administrator#)
- (Make member)
+ (#acs-subsite.Make_member#)
}
}
member_state_pretty {
- label "Member State"
+ label "[_ acs-subsite.Member_State]"
display_template {
@members.member_state_pretty@
- (Approve)
+ (#acs-subsite.Approve#)
- (Reject)
+ (#acs-subsite.Reject#)
- (Ban)
+ (#acs-subsite.Ban#)
- (Delete)
+ (#acs-subsite.Delete#)
- (Remove)
+ (#acs-subsite.Remove#)
}
}
} -filters {
member_state {
- label "Member State"
+ label "[_ acs-subsite.Member_State]"
values $member_state_options
where_clause {
mr.member_state = :member_state
@@ -131,15 +132,15 @@
}
} -orderby {
name {
- label "Name"
+ label "[_ acs-subsite.Name]"
orderby "lower(u.first_names || ' ' || u.last_name)"
}
email {
- label "Email"
+ label "[_ acs-subsite.Email]"
orderby "u.email"
}
rel_role {
- label "Role"
+ label "[_ acs-subsite.Role]"
orderby "role.pretty_name"
}
}