added: winix function: rmuser
changed: UGContainer<> now uses std::list as a storage
(previously it was using std::vector with pointers)
removed: now we don't have the operator[] for UGContainer<>
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@816 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -40,9 +40,9 @@ notify.o: ../functions/logout.h ../functions/ln.h ../functions/ls.h
|
||||
notify.o: ../functions/man.h ../functions/meta.h ../functions/mkdir.h
|
||||
notify.o: ../functions/mv.h ../functions/nicedit.h ../functions/node.h
|
||||
notify.o: ../functions/passwd.h ../functions/priv.h ../functions/pw.h
|
||||
notify.o: ../functions/reload.h ../functions/rm.h ../functions/sort.h
|
||||
notify.o: ../functions/specialdefault.h ../functions/stat.h
|
||||
notify.o: ../functions/subject.h ../functions/template.h
|
||||
notify.o: ../functions/reload.h ../functions/rm.h ../functions/rmuser.h
|
||||
notify.o: ../functions/sort.h ../functions/specialdefault.h
|
||||
notify.o: ../functions/stat.h ../functions/subject.h ../functions/template.h
|
||||
notify.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
|
||||
notify.o: ../functions/uptime.h ../functions/who.h ../functions/vim.h
|
||||
notifypool.o: notifypool.h ../templates/locale.h
|
||||
@@ -106,12 +106,12 @@ templatesnotify.o: ../functions/meta.h ../functions/mkdir.h ../functions/mv.h
|
||||
templatesnotify.o: ../functions/nicedit.h ../functions/node.h
|
||||
templatesnotify.o: ../functions/passwd.h ../functions/priv.h
|
||||
templatesnotify.o: ../functions/pw.h ../functions/reload.h ../functions/rm.h
|
||||
templatesnotify.o: ../functions/sort.h ../functions/specialdefault.h
|
||||
templatesnotify.o: ../functions/stat.h ../functions/subject.h
|
||||
templatesnotify.o: ../functions/template.h ../functions/tinymce.h
|
||||
templatesnotify.o: ../functions/uname.h ../functions/upload.h
|
||||
templatesnotify.o: ../functions/uptime.h ../functions/who.h
|
||||
templatesnotify.o: ../functions/vim.h ../core/htmlfilter.h
|
||||
templatesnotify.o: ../functions/rmuser.h ../functions/sort.h
|
||||
templatesnotify.o: ../functions/specialdefault.h ../functions/stat.h
|
||||
templatesnotify.o: ../functions/subject.h ../functions/template.h
|
||||
templatesnotify.o: ../functions/tinymce.h ../functions/uname.h
|
||||
templatesnotify.o: ../functions/upload.h ../functions/uptime.h
|
||||
templatesnotify.o: ../functions/who.h ../functions/vim.h ../core/htmlfilter.h
|
||||
templatesnotify.o: ../templates/templates.h ../templates/patterncacher.h
|
||||
templatesnotify.o: ../templates/indexpatterns.h ../templates/patterns.h
|
||||
templatesnotify.o: ../templates/changepatterns.h ../core/sessionmanager.h
|
||||
|
||||
@@ -114,7 +114,7 @@ void Notify::ActivateAccount(const std::wstring & name, const std::wstring & ema
|
||||
msg.code = WINIX_NOTIFY_CODE_CONFIRM_ACCOUNT;
|
||||
msg.name = name;
|
||||
msg.email = email;
|
||||
msg.lang = 0;
|
||||
msg.lang = 0; // !! IMPROVE ME a better language can be chose
|
||||
msg.activate_code = code;
|
||||
msg.template_index = notify_template_activate_account;
|
||||
CreateActivateLink(name, code, msg.item_link);
|
||||
|
||||
@@ -107,11 +107,11 @@ bool res = false;
|
||||
{
|
||||
for(i=users->Begin() ; i != users->End() ; ++i)
|
||||
{
|
||||
if( ((*i)->notify & TemplatesNotifyFunctions::notify_msg.code) != 0 )
|
||||
if( (i->notify & TemplatesNotifyFunctions::notify_msg.code) != 0 )
|
||||
{
|
||||
msg.name = (*i)->name;
|
||||
msg.email = (*i)->email;
|
||||
msg.lang = config->locale_default_index; // !! bedzie osobno dla kazdego uzytkownika
|
||||
msg.name = i->name;
|
||||
msg.email = i->email;
|
||||
msg.lang = config->locale_default_index; // !! IMPROVE ME bedzie osobno dla kazdego uzytkownika
|
||||
|
||||
notify_user.push_back(msg);
|
||||
res = true;
|
||||
|
||||
Reference in New Issue
Block a user