From: Andrew V. <av...@us...> - 2005-03-29 09:14:50
|
Update of /cvsroot/mailmanager/mailmanager/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2779 Modified Files: Tag: db-backend FilterSettings.zpt Log Message: Users and groups now listed from the database. Index: FilterSettings.zpt =================================================================== RCS file: /cvsroot/mailmanager/mailmanager/www/FilterSettings.zpt,v retrieving revision 1.22 retrieving revision 1.22.2.1 diff -u -d -r1.22 -r1.22.2.1 --- FilterSettings.zpt 26 Dec 2004 20:33:28 -0000 1.22 +++ FilterSettings.zpt 29 Mar 2005 09:14:32 -0000 1.22.2.1 @@ -192,18 +192,18 @@ <td> <select name="assign_user"> <option value="" i18n:translate="default">Default</option> - <option tal:repeat="person python:sequence.sort(here.agents.keys())" - tal:attributes="value person" - tal:content="person"> + <option tal:repeat="person here/sql/listUsers" + tal:attributes="value person/username" + tal:content="person/username"> Administrator </option> </select> <tal:i18n i18n:translate="or">or</tal:i18n> <select name="assign_group"> <option value="" i18n:translate="default">Default</option> - <option tal:repeat="grp python:sequence.sort(here.groups.keys())" - tal:attributes="value grp" - tal:content="grp"> + <option tal:repeat="grp here/sql/listGroups" + tal:attributes="value grp/id" + tal:content="grp/group_name"> Team </option> </select> |