From 86a27a0a0bb161bd76ea252585b0f7569eaf1e36 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 7 Sep 2024 20:27:00 +1000 Subject: [PATCH] initial commit of file from CVS for smeserver-groupmembers-panel on Sat Sep 7 20:27:00 AEST 2024 --- .gitignore | 4 + Makefile | 21 ++ README.md | 16 +- contriborbase | 1 + createlinks | 29 ++ .../bg/etc/e-smith/web/functions/groupmembers | 84 +++++ .../da/etc/e-smith/web/functions/groupmembers | 84 +++++ .../de/etc/e-smith/web/functions/groupmembers | 84 +++++ .../el/etc/e-smith/web/functions/groupmembers | 84 +++++ .../etc/e-smith/web/functions/groupmembers | 103 ++++++ .../es/etc/e-smith/web/functions/groupmembers | 84 +++++ .../et/etc/e-smith/web/functions/groupmembers | 84 +++++ .../fr/etc/e-smith/web/functions/groupmembers | 84 +++++ .../he/etc/e-smith/web/functions/groupmembers | 84 +++++ .../hu/etc/e-smith/web/functions/groupmembers | 84 +++++ .../id/etc/e-smith/web/functions/groupmembers | 84 +++++ .../it/etc/e-smith/web/functions/groupmembers | 84 +++++ .../ja/etc/e-smith/web/functions/groupmembers | 84 +++++ .../nb/etc/e-smith/web/functions/groupmembers | 84 +++++ .../nl/etc/e-smith/web/functions/groupmembers | 84 +++++ .../pl/etc/e-smith/web/functions/groupmembers | 84 +++++ .../etc/e-smith/web/functions/groupmembers | 84 +++++ .../pt/etc/e-smith/web/functions/groupmembers | 84 +++++ .../ro/etc/e-smith/web/functions/groupmembers | 84 +++++ .../ru/etc/e-smith/web/functions/groupmembers | 84 +++++ .../sl/etc/e-smith/web/functions/groupmembers | 84 +++++ .../sv/etc/e-smith/web/functions/groupmembers | 84 +++++ .../th/etc/e-smith/web/functions/groupmembers | 84 +++++ .../tr/etc/e-smith/web/functions/groupmembers | 84 +++++ .../etc/e-smith/web/functions/groupmembers | 84 +++++ .../etc/e-smith/web/functions/groupmembers | 84 +++++ root/etc/e-smith/web/functions/groupmembers | 147 +++++++++ .../web/panels/manager/cgi-bin/groupmembers | 1 + .../esmith/FormMagick/Panel/groupmembers.pm | 307 ++++++++++++++++++ smeserver-groupmembers-panel.spec | 196 +++++++++++ 35 files changed, 2923 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 contriborbase create mode 100644 createlinks create mode 100644 root/etc/e-smith/locale/bg/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/da/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/de/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/el/etc/e-smith/web/functions/groupmembers create mode 100755 root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/es/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/et/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/fr/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/he/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/hu/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/id/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/it/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/ja/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/nb/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/nl/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/pl/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/pt/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/ro/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/ru/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/sl/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/sv/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/th/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/tr/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/groupmembers create mode 100644 root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/groupmembers create mode 100755 root/etc/e-smith/web/functions/groupmembers create mode 120000 root/etc/e-smith/web/panels/manager/cgi-bin/groupmembers create mode 100644 root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/groupmembers.pm create mode 100644 smeserver-groupmembers-panel.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cbb3a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..57804af --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: smeserver-groupmembers-panel +# $Id: Makefile,v 1.1 2020/11/04 16:32:48 michel Exp $ +NAME := smeserver-groupmembers-panel +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 8992135..0538c29 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# smeserver-groupmembers-panel +# smeserver-groupmembers-panel -SMEServer Koozali developed git repo for smeserver-groupmembers-panel smecontribs \ No newline at end of file +SMEServer Koozali developed git repo for smeserver-groupmembers-panel smecontribs + +## Wiki +
https://wiki.koozali.org/ + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-groupmembers-panel&product=SME%20Contribs&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..9b7fd51 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +contribs10 diff --git a/createlinks b/createlinks new file mode 100644 index 0000000..f9967d1 --- /dev/null +++ b/createlinks @@ -0,0 +1,29 @@ +#!/usr/bin/perl -w +use esmith::Build::CreateLinks qw(:all); +# our event specific for updating with yum without reboot +$event = 'smeserver-groupmembers-panel-update'; +#add here the path to your templates needed to expand +#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event + +foreach my $file (qw( + /etc/systemd/system-preset/49-koozali.preset +)) +{ + templates2events( $file, $event ); +} +#action needed in case we have a systemd unit +event_link('systemd-default', $event, '10'); +event_link('systemd-reload', $event, '50'); +#action specific to this package +#event_link('action', $event, '30'); +#services we need to restart +#safe_symlink('restart',root/etc/e-smith/events/$event/services2adjust/service); +#and Server Manager panel link +#panel_link('somefunction', 'manager'); + + + +use esmith::Build::CreateLinks qw(:all); + +##link to panel +panel_link("groupmembers", "manager"); diff --git a/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..12a2f31 --- /dev/null +++ b/root/etc/e-smith/locale/bg/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Редакция на членовете на групата + + + GROUP_TOO_LONG + Грешка: името на групата е твърде дълго. Максималният брой знаци е {$maxLength}. + + + ACCOUNT_CONFLICT + Грешка: групата "{$group}" не може да бъде създадена защото вече има {$type} акаунт с това име. + + + INVALID_GROUP_DESCRIPTION + Грешка: неочаквани или липсващи символи в описанието на групата + + + NO_MEMBERS + Грешка: няма членове в групата. Новата група не бе създадена. + + + CREATED_GROUP + Потребителската група беше успешно съзадена + + + DELETED_GROUP + Успешно премахване на потребителската група + + + MODIFIED_GROUP + Потребителската група бе успешно променена + + + CREATE_ERROR + Възникна грешка по време на създаването на потребителската група. + + + DELETE_ERROR + Възникна грешка по време на премахването на потребителската група. + + + MODIFY_ERROR + Възникна грешка по време на промяната на потребителската група. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Групата съдържа следните членове: + + + NOT_A_GROUP + Грешка: Това не е съществуващ акаунт на група. + + + GROUP_DESC + Кратко описание/Псевдоним на Windows група + + + GROUP_DESC_EXPL + Въведете кратко описание на групата в полето по-долу. Това поле също определя името на групата, както ще го виждат клиентите с Windows. + + + + + IBAYS_WILL_BE_CHANGED + Следните информационни слотове бяха присвоени към тази група и ще бъдат променени за групата Administrator (можете да ги промените в нещо различно след това): + + + CONFIRM_DELETE_GROUP + Сигурни ли сте, че искате да премахнете тази група?

]]>
+
+ + CURRENT_LIST + Текущ списък на потребителските групи

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/da/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..cdbec92 --- /dev/null +++ b/root/etc/e-smith/locale/da/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Rediger gruppe medlemmer + + + GROUP_TOO_LONG + Fejl: Gruppenavn er for langt. Den maksimale længde er {$maxLength} tegn. + + + ACCOUNT_CONFLICT + Fejl: Gruppen "{$group}" kan ikke oprettes fordi der allerede findes en {$type} konto med det navn. + + + INVALID_GROUP_DESCRIPTION + Fejl: Uventede eller manglende tegn i gruppebeskrivelsen + + + NO_MEMBERS + Fejl: Der er ingen medlemmer i gruppen. Gruppen blev ikke oprettet. + + + CREATED_GROUP + Gruppe oprettet + + + DELETED_GROUP + Gruppe fjernet + + + MODIFIED_GROUP + Gruppe ændret + + + CREATE_ERROR + Der opstod en fejl ved oprettelse af gruppen. + + + DELETE_ERROR + Der opstod en fejl ved fjernelse af gruppen. + + + MODIFY_ERROR + Der opstod en fejl ved ændring af gruppen. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Denne gruppe har følgende medlemmer: + + + NOT_A_GROUP + Fejl: Det er ikke en eksisterende gruppekonto. + + + GROUP_DESC + Kort beskrivelse/Windows gruppealias + + + GROUP_DESC_EXPL + Indtast en kort beskrivelse for gruppen nedenfor. Dette felt betegner også gruppenavnet som det ses af Windows-klienterne. + + + + + IBAYS_WILL_BE_CHANGED + Følgende i-bay(s) var tildelt til denne gruppe. De(n) vil blive tildelt gruppen Administrator (det kan ændres senere): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/de/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..77ddda4 --- /dev/null +++ b/root/etc/e-smith/locale/de/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + + + + GROUP_TOO_LONG + FEHLER: Der Gruppenname ist zu lang. Die max. Länge ist {$maxLength} Zeichen. + + + ACCOUNT_CONFLICT + FEHLER: Die Gruppe "{$group}" kann nicht angelegt werden, da bereits ein {$type} Konto mit dem gleichen Namen besteht. + + + INVALID_GROUP_DESCRIPTION + FEHLER: Ungültige oder fehlende Zeichen in der Gruppenbeschreibung. + + + NO_MEMBERS + FEHLER: Keine Mitglieder in der Gruppe. Neue Gruppe wurde nicht angelegt. . + + + CREATED_GROUP + Gruppe wurde angelegt. + + + DELETED_GROUP + Gruppe wurde gelöscht. + + + MODIFIED_GROUP + Gruppe wurde geändert. + + + CREATE_ERROR + Ein Fehler ist beim Anlegen der Benutzergruppe aufgetreten. . + + + DELETE_ERROR + Ein Fehler ist beim Löschen der Benutzergruppe aufgetreten.. + + + MODIFY_ERROR + Ein Fehler ist beim Ändern der Benutzergruppe aufgetreten. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Diese Gruppe enthält folgende Mitglieder: + + + NOT_A_GROUP + FEHLER: Dies ist kein bestehendes Gruppenkonto. + + + GROUP_DESC + Kurzbeschreibung + + + GROUP_DESC_EXPL + Geben Sie unten eine möglichst sinnvolle Kurzbeschreibung für diese Gruppe ein. Diese ist dann auch im Windows-Netzwerk sichtbar. + + + + + IBAYS_WILL_BE_CHANGED + Die folgenden i-bays wurden dieser Gruppe hinzugefügt und werden auf die Admin Gruppe geändert (Sie können dies später ändern): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/el/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..61a73e0 --- /dev/null +++ b/root/etc/e-smith/locale/el/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Διόρθωση μελών ομάδας + + + GROUP_TOO_LONG + Σφάλμα: Το όνομα ομάδας είναι πολυ μακρύ.Το μέγιστο είναι {$maxLength} χαρακτήρες. + + + ACCOUNT_CONFLICT + Σφάλμα: Η ομάδα "{$group}" δεν μπορεί να δημιουργιθεί επειδή υπάρχει ήδη ένας λογαριασμός {$type} με αυτό το όνομα. + + + INVALID_GROUP_DESCRIPTION + Σφάλμα: μη αναμενόμενοι ή ελλείποντες χαρακτήρες στην περιγραφή της ομάδας + + + NO_MEMBERS + Σφάλμα: Δεν υπάρχουν μέλη στην ομάδα. Δεν δημιουργήθηκε ομάδα. + + + CREATED_GROUP + Επιτυχής δημιουργία ομάδας χρηστών + + + DELETED_GROUP + Επιτυχής διαγραφή ομάδας χρηστών + + + MODIFIED_GROUP + Επιτυχής μεταβολή ομάδας χρηστών + + + CREATE_ERROR + Παρουσιάσθηκε κάποιο σφάλμα κατά την δημιουργία της ομάδα. + + + DELETE_ERROR + Παρουσιάσθηκε κάποιο σφάλμα κατά την διαγραφή της ομάδας. + + + MODIFY_ERROR + Παρουσιάσθηκε κάποιο σφάλμα κατά την μεταβολή της ομάδας. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Αυτή η ομάδα περιέχει τα παρακάτω μέλη: + + + NOT_A_GROUP + Σφάλμα: Αυτό δεν είναι ένας υπάρχων λογαριασμός ομάδας. + + + GROUP_DESC + Σύντομη περιγραφή/Windows Group Alias + + + GROUP_DESC_EXPL + Εισάγετε μία σύντομη περιγραφή της ομάδας στο παρακάτω πεδίο. Αυτό το πεδίο προσδιορίζει επίσης το όνομα της ομάδας πού θα είναι ορατό από τους πελάτες Windows. + + + + + IBAYS_WILL_BE_CHANGED + Τα παρακάτω information bays έχουν ανατεθεί σε αυτή την ομάδα και θα αλλάξουν στην ομάδα Διαχειριστή (μπορείτε να τα αλλάξετε σε κατι άλλο μετά): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groupmembers new file mode 100755 index 0000000..5df1a09 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,103 @@ + + + FORM_TITLE + Edit group members + + + GROUP_TOO_LONG + Error: group name is too long.The maximum is {$maxLength} + characters. + + + ACCOUNT_CONFLICT + Error: the group "{$group}" can't be created because there is + already a {$type} account of that name. + + + INVALID_GROUP_DESCRIPTION + Error: unexpected or missing characters in group + description + + + NO_MEMBERS + Error: no members in group. Did not create new group. + + + CREATED_GROUP + Successfully created user group + + + DELETED_GROUP + Successfully removed user group + + + MODIFIED_GROUP + Successfully modifed user group + + + CREATE_ERROR + An error occurred while creating user group. + + + DELETE_ERROR + An error occurred while removing user group. + + + MODIFY_ERROR + An error occurred while modifying user group. + + + GROUP_NAMING + + + + + GROUP_HAS_MEMBERS + This group contains the following members: + + + NOT_A_GROUP + Error: That is not an existing group account. + + + GROUP_DESC + Brief Description/Windows Group Alias + + + GROUP_DESC_EXPL + Input a brief group description in the field below. + This field also designates the group name viewable by + Windows clients. + + + + + IBAYS_WILL_BE_CHANGED + The following information bays were assigned to this group and + will be changed to the Administrator group (you can change them to + something else afterward): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

+ ]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." + ]]> + +
diff --git a/root/etc/e-smith/locale/es/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..ab6bc92 --- /dev/null +++ b/root/etc/e-smith/locale/es/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Miembros del grupo + + + GROUP_TOO_LONG + Error: el nombre del grupo es demasiado largo. El máximo es de {$maxLength} caracteres. + + + ACCOUNT_CONFLICT + Error: el grupo "{$group}" no se puede crear porque ya hay una cuenta {$type} con ese nombre. + + + INVALID_GROUP_DESCRIPTION + Error: caracteres erróneos o faltantes en la descripción del grupo + + + NO_MEMBERS + Error: no hay miembros en el grupo. No se creó el nuevo grupo. + + + CREATED_GROUP + Se creó con éxito el grupo de usuario + + + DELETED_GROUP + Se eliminó con éxito el grupo de usuario + + + MODIFIED_GROUP + Se modificó con éxito el grupo de usuario + + + CREATE_ERROR + Ocurrió un error al crear el grupo de usuario. + + + DELETE_ERROR + Ocurrió un error al eliminar el grupo de usuario. + + + MODIFY_ERROR + Ocurrió un error al modificar el grupo de usuario. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Este grupo contiene los siguientes miembros: + + + NOT_A_GROUP + Error: Esa no es una cuenta de grupo existente. + + + GROUP_DESC + Breve Descripción/Alias de Grupo de Windows + + + GROUP_DESC_EXPL + Ingrese una breve descripción en el campo inferior. Este campo también designa el nombre de grupo visible por los clientes Windows. + + + + + IBAYS_WILL_BE_CHANGED + Las siguientes bahías de información se asignaron a este grupo y se cambiarán al grupo del Administrador (puede cambiarlas posteriormente a otra cosa): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/et/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..7f0c777 --- /dev/null +++ b/root/etc/e-smith/locale/et/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Muuda grupi liikmeid + + + GROUP_TOO_LONG + VIGA: grupi nimi on liiga pikk. Nimi võib olla {$maxLength} pikk. + + + ACCOUNT_CONFLICT + Viga: gruppi "{$group}" ei saanud luua kuna on juba kasutajakonto {$type} sellise nimega. + + + INVALID_GROUP_DESCRIPTION + VIGA: sobimatu sümbol grupi kirjelduses + + + NO_MEMBERS + VIGA: pole liikmeid selles grupis. Uut gruppi ei loodud. + + + CREATED_GROUP + Kasutajate grupp edukalt loodud + + + DELETED_GROUP + Kasutajate grupp edukalt kustutatud + + + MODIFIED_GROUP + Kasutajate grupp edukalt muudetud + + + CREATE_ERROR + Kasutajate grupi loomisel ilmnes viga. + + + DELETE_ERROR + Kasutajate grupi eemaldamisel ilmnes viga. + + + MODIFY_ERROR + Kasutajate grupi muutmisel ilmnes viga. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Selles grupis on järgmised liikmed: + + + NOT_A_GROUP + Viga: That is not an existing group account. + + + GROUP_DESC + Brief Description/Windows Group Alias + + + GROUP_DESC_EXPL + Input a brief group description in the field below. This field also designates the group name viewable by Windows clients. + + + + + IBAYS_WILL_BE_CHANGED + The following information bays were assigned to this group and will be changed to the Administrator group (you can change them to something else afterward): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..9150a1b --- /dev/null +++ b/root/etc/e-smith/locale/fr/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Membres du groupe + + + GROUP_TOO_LONG + ERREUR : le nom du groupe est trop long : {$maxLength} caractères au maximum. + + + ACCOUNT_CONFLICT + ERREUR : le groupe "{$group}" ne peut être créé car il existe déjà un compte {$type} avec ce nom. + + + INVALID_GROUP_DESCRIPTION + ERREUR : caractères inattendus ou manquants dans la description du groupe. + + + NO_MEMBERS + ERREUR : aucun membre dans le groupe. Le groupe n'a pas été créé. + + + CREATED_GROUP + Le groupe d'utilisateurs a été créé avec succès. + + + DELETED_GROUP + Le groupe d'utilisateurs a été supprimé avec succès. + + + MODIFIED_GROUP + Le groupe d'utilisateurs a été modifié avec succès. + + + CREATE_ERROR + Une erreur est survenue lors de la création du groupe d'utilisateurs. + + + DELETE_ERROR + Une erreur est survenue lors de la suppression du groupe d'utilisateurs. + + + MODIFY_ERROR + Une erreur est survenue lors de la modification du groupe d'utilisateurs. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Ce groupe contient les membres suivants : + + + NOT_A_GROUP + ERREUR : Compte de groupe inexistant. + + + GROUP_DESC + Brève description / Alias de groupe Windows + + + GROUP_DESC_EXPL + Tapez une brève description du groupe dans le champ ci-dessous. Ce champ correspond également au nom du groupe visible par les clients Windows. + + + + + IBAYS_WILL_BE_CHANGED + Les i-bays suivantes étaient attribuées à ce groupe et vont être réattribuées au groupe de l'administrateur (vous pourrez par la suite les attribuer à un autre groupe) : + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/he/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..c7adf27 --- /dev/null +++ b/root/etc/e-smith/locale/he/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Edit group members + + + GROUP_TOO_LONG + שגיאה: שם קבוצה ארוך מדי. האורך המירבי הוא {$maxLength} תווים. + + + ACCOUNT_CONFLICT + שגיאה: לא ניתן ליצור את הקבוצה "{$group}" מאחר ויש כבר חשבון {$type} בשם זה. + + + INVALID_GROUP_DESCRIPTION + שגיאה: סימון לא חוקי או חסר בתיאור הקבוצה + + + NO_MEMBERS + שגיאה: אין חברים בקבוצה. לא נוצרה קבוצה חדשה. + + + CREATED_GROUP + קבוצה חדשה נוצרה בהצלחה + + + DELETED_GROUP + קבוצת משתמשים הוסרה בהצלחה + + + MODIFIED_GROUP + קבוצת משתמשים שונתה בהצלחה + + + CREATE_ERROR + קרתה שגיאה בעת יצירת קבוצת משתמשים. + + + DELETE_ERROR + קרתה שגיאה בעת הסרת קבוצת משתמשים. + + + MODIFY_ERROR + קרתה שגיאה בעת שינוי קבוצת משתמשים. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + קבוצה זו מכילה את החברים הבאים: + + + NOT_A_GROUP + שגיאה: לא קיים חשבון קבוצה כזה. + + + GROUP_DESC + תיאור קצר \ שם קבוצת עבודה של Windows + + + GROUP_DESC_EXPL + נא להכניס תיאור קצר לקבוצה בשדה למטה. שדה זה מיועד גם לצורך שם קבוצה נראה מלקוחות Windows. + + + + + IBAYS_WILL_BE_CHANGED + ה Ibayים הבאים הוקצו לקבוצה זו וישויכו לקבוצה Administrator (אתה יכול לשייך אותם למשהו אחר אחר כך): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..2aa502f --- /dev/null +++ b/root/etc/e-smith/locale/hu/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Edit group members + + + GROUP_TOO_LONG + Hiba: a csoport neve túl hosszú. Legfeljebb {$maxLength} karakter hosszúságú lehet. + + + ACCOUNT_CONFLICT + Hiba: A "{$group}" nevű csoport nem hozható létre, mert már van egy ilyen nevű {$type} fiók. + + + INVALID_GROUP_DESCRIPTION + Hiba: nem várt, vagy hiányzó karakterek a csoport leírásában + + + NO_MEMBERS + Hiba: nincsenek tagok a csoportban. Nincs új csoport létrehozva. + + + CREATED_GROUP + Felhasználói csoport sikeresen létrehozva + + + DELETED_GROUP + Felhasználói csoport sikeresen törölve + + + MODIFIED_GROUP + Felhasználói csoport sikeresen módosítva + + + CREATE_ERROR + Hiba történt a felhasználói csoport létrehozásakor. + + + DELETE_ERROR + Hiba történt a felhasználói csoport törlésekor. + + + MODIFY_ERROR + Hiba történt a felhasználói csoport módosításakor. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Ennek a csoportnak a tagjai: + + + NOT_A_GROUP + Hiba: Ez egy nem létező csoport. + + + GROUP_DESC + Rövid leírás/Windows csoport alias-név + + + GROUP_DESC_EXPL + Írja be a lenti mezőbe a csoport rövid leírását. Ez a leírás látható lesz a Windows munkaállomásokon is. + + + + + IBAYS_WILL_BE_CHANGED + A következő adattárak hozzá lettek rendelve ehhez a csoporthoz és az Administrator csoporthoz (késöbb ez megváltoztatható): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/id/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..a7db926 --- /dev/null +++ b/root/etc/e-smith/locale/id/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Edit group members + + + GROUP_TOO_LONG + Error: nama grup terlalu panjang.Maksimal {$maxLength} karakter. + + + ACCOUNT_CONFLICT + Error: grup "{$group}" tidak dapat dibuat karena telah ada {$type} akun atas nama tersebut. + + + INVALID_GROUP_DESCRIPTION + Error: karakter yang tidak diharapkan atau hilang dalam deskripsi grup + + + NO_MEMBERS + Error: tidak ada anggota dalam grup. Tidak membuat grup baru + + + CREATED_GROUP + Berhasil membuat user group + + + DELETED_GROUP + Berhasil menghapus user group + + + MODIFIED_GROUP + Berhasil mengubah user group + + + CREATE_ERROR + Terjadi kesalahan saat membuat user group. + + + DELETE_ERROR + Terjadi kesalahan saat menghapus user group. + + + MODIFY_ERROR + Terjadi kesalahan saat mengubah user group. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Grup ini terdiri dari anggota-anggota sbb: + + + NOT_A_GROUP + Error: kelompok akun tersebut tidak ada. + + + GROUP_DESC + Penjelasan Singkat/Nama lain Windows Group + + + GROUP_DESC_EXPL + Masukkan penjelasan singkat dalam ruas dibawah ini. Ruas (field) ini juga menentukan nama grup yang bisa dilihat dari klien Windows. + + + + + IBAYS_WILL_BE_CHANGED + Information bays dibawah ini telah ditetapkan pada grup ini dan akan diubah menjadi grup Administrator (anda dapat mengubahnya menjadi yang lain kemudian): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/it/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..966fc28 --- /dev/null +++ b/root/etc/e-smith/locale/it/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Membri del Gruppo + + + GROUP_TOO_LONG + Errore: il nome del gruppo è troppo lungo. Il massimo è {$maxLength} caratteri. + + + ACCOUNT_CONFLICT + Errore: impossibile creare il gruppo "{$group}" perché esiste già un account {$type} con lo stesso nome. + + + INVALID_GROUP_DESCRIPTION + Errore: carattere inaspettato o mancante nella descrizione del gruppo + + + NO_MEMBERS + Errore: nessun membro nel gruppo. Gruppo non creato. + + + CREATED_GROUP + Gruppo creato con successo + + + DELETED_GROUP + Gruppo rimosso con successo + + + MODIFIED_GROUP + Gruppo modificato con successo + + + CREATE_ERROR + Errore durante la creazione del gruppo. + + + DELETE_ERROR + Errore durante la rimozione del gruppo. + + + MODIFY_ERROR + Errore durante la modifica del gruppo. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Questo gruppo contiene i seguenti membri: + + + NOT_A_GROUP + Errore: gruppo inesistente. + + + GROUP_DESC + Breve Descrizione/Gruppo Windows + + + GROUP_DESC_EXPL + Inserire una breve descrizione nel campo sottostante. Questo campo indica anche il nome del gruppo visibile dai client Windows. + + + + + IBAYS_WILL_BE_CHANGED + Le seguenti information bays appartenevano a questo gruppo e verranno assegnate al gruppo Amministratore (sarà possibile riassegnarle in seguito): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..fb4a5c8 --- /dev/null +++ b/root/etc/e-smith/locale/ja/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Edit group members + + + GROUP_TOO_LONG + Error: group name is too long.The maximum is {$maxLength} characters. + + + ACCOUNT_CONFLICT + Error: the group "{$group}" can't be created because there is already a {$type} account of that name. + + + INVALID_GROUP_DESCRIPTION + Error: unexpected or missing characters in group description + + + NO_MEMBERS + Error: no members in group. Did not create new group. + + + CREATED_GROUP + Successfully created user group + + + DELETED_GROUP + Successfully removed user group + + + MODIFIED_GROUP + Successfully modifed user group + + + CREATE_ERROR + An error occurred while creating user group. + + + DELETE_ERROR + An error occurred while removing user group. + + + MODIFY_ERROR + An error occurred while modifying user group. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + This group contains the following members: + + + NOT_A_GROUP + Error: That is not an existing group account. + + + GROUP_DESC + Brief Description/Windows Group Alias + + + GROUP_DESC_EXPL + Input a brief group description in the field below. This field also designates the group name viewable by Windows clients. + + + + + IBAYS_WILL_BE_CHANGED + The following information bays were assigned to this group and will be changed to the Administrator group (you can change them to something else afterward): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..f73296f --- /dev/null +++ b/root/etc/e-smith/locale/nb/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Rediger gruppemedlemmer + + + GROUP_TOO_LONG + Feil: gruppenavnet er for langt. maksimumslengden er {$maxLength} tegn. + + + ACCOUNT_CONFLICT + Feil: gruppen "{$group}" kan ikke opprettes fordi det allerede er en en {$type} konto med det navnet. + + + INVALID_GROUP_DESCRIPTION + Feil:uventet eller manglende tegn i gruppe beskrivelsen + + + NO_MEMBERS + Feil: ingen medlemmer i gruppen. Gruppen ble ikke opprettet. + + + CREATED_GROUP + Gruppen ble opprettet + + + DELETED_GROUP + Gruppen ble fjernet + + + MODIFIED_GROUP + Gruppen ble endret + + + CREATE_ERROR + En feil oppsto under opprettelsen av gruppen. + + + DELETE_ERROR + En feil oppsto under fjerning av brukergruppen. + + + MODIFY_ERROR + En feil oppsto under endring av brukergruppen. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Gruppen inneholder følgende medlemmer: + + + NOT_A_GROUP + Feil: Dette er ikke en eksisterende gruppe konto. + + + GROUP_DESC + Kort beskrivelse/Windows gruppe kallenavn + + + GROUP_DESC_EXPL + Skriv inn en kort beskrivelse i feltet nedenfor. Feltet blir også gruppenavnet som blir synlig for Windows klienter. + + + + + IBAYS_WILL_BE_CHANGED + Følgene I-Bays er tilknyttet gruppen, og vil bli endret til Administratorgruppen (du kan bytte de til noe annet senere): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..503d54a --- /dev/null +++ b/root/etc/e-smith/locale/nl/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Groepsleden wijzigen + + + GROUP_TOO_LONG + Fout: De groepsnaam is te lang. De maximale lengte is {$maxLength} tekens. + + + ACCOUNT_CONFLICT + Fout: de groep "{$group}" kan niet worden toegevoegd omdat er al een {$type} account met die naam bestaat. + + + INVALID_GROUP_DESCRIPTION + Fout: onverwachte of ontbrekende tekens in de groepsbeschrijving + + + NO_MEMBERS + Fout: Geen groepsleden geselecteerd voor de groep. De groep is niet toegevoegd. + + + CREATED_GROUP + Gebruikersgroep is met succes toegevoegd + + + DELETED_GROUP + Gebruikersgroep is met succes verwijderd + + + MODIFIED_GROUP + Gebruikersgroep is met succes gewijzigd + + + CREATE_ERROR + Er is een fout opgetreden bij het toevoegen van de gebruikersgroep. + + + DELETE_ERROR + Er is een fout opgetreden bij het verwijderen van de gebruikersgroep. + + + MODIFY_ERROR + Er is een fout opgetreden bij het wijzigen van de gebruikersgroep. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Deze groep bevat de volgende leden: + + + NOT_A_GROUP + Fout: Dat is niet een bestaande gebruikersgroep. + + + GROUP_DESC + Korte beschrijving/Windows groep pseudoniem + + + GROUP_DESC_EXPL + Voer een korte groep beschrijving in het veld hieronder in. Dit veld bepaald ook de groepsnaam zichtbaar voor Windows gebruikers. + + + + + IBAYS_WILL_BE_CHANGED + De volgende informatiebaaien waren toegewezen aan deze groep en zullen worden veranderd in de beheerdersgroep (u kunt deze naderhand weer wijzigen): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..2b49168 --- /dev/null +++ b/root/etc/e-smith/locale/pl/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Edytuj członków grupy + + + GROUP_TOO_LONG + Błąd: nazwa grupy jest za długa. Maksymalna długość wynosi {$maxLength} znaków. + + + ACCOUNT_CONFLICT + Błąd: grupa "{$group}" nie mogła być utworzona, ponieważ konto {$type} jest już zajęte. + + + INVALID_GROUP_DESCRIPTION + Błąd: nieoczekiwane lub brakujące znaki w opisie grupy + + + NO_MEMBERS + Błąd: brak członków dla grupy. Nie można utworzyć nowej grupy. + + + CREATED_GROUP + Pomyślnie utworzona nowa grupa + + + DELETED_GROUP + Pomyślnie usunięta grupa użytkowników + + + MODIFIED_GROUP + Pomyślnie zmodyfikowana grupa użytkowników + + + CREATE_ERROR + Wystąpił błąd podczas tworzenia grupy użytkowników. + + + DELETE_ERROR + Wystąpił błąd podczas usunięcia grupy użytkowników. + + + MODIFY_ERROR + Wystąpił błąd podczas modyfikowania grupy użytkowników. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Grupa ta składa się z następujących członków: + + + NOT_A_GROUP + Błąd: To konto nie istnieje. + + + GROUP_DESC + Krótki opis / Alias grupy Windows + + + GROUP_DESC_EXPL + Wpisz krótki opis grupy w polu poniżej. To pole również wyznacza nazwę grupy widzianej przez klientów systemu Windows. + + + + + IBAYS_WILL_BE_CHANGED + Poniższy magazyn danych był przypisany do tej grupy i zostanie zmieniony na grupę administratora (można ją później zmienić): + + + CONFIRM_DELETE_GROUP + Czy na pewno chcesz usunąć tę grupę?

]]>
+
+ + CURRENT_LIST + Lista grup użytkowników

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..4b00d12 --- /dev/null +++ b/root/etc/e-smith/locale/pt-br/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Editar Membros do Grupo + + + GROUP_TOO_LONG + Erro: nome de grupo muito longo. O máximo é de {$maxLength} caracteres. + + + ACCOUNT_CONFLICT + Erro: o grupo "{$group}" não pode ser criado porque já existe a conta {$type} com esse nome. + + + INVALID_GROUP_DESCRIPTION + Erro: a descrição do grupo tem caracteres inesperados ou está vazia + + + NO_MEMBERS + Erro: grupo sem membros. Grupo não criado. + + + CREATED_GROUP + Grupo de usuários criado com sucesso + + + DELETED_GROUP + Grupo de usuários removido com sucesso + + + MODIFIED_GROUP + Grupo de usuários modificado com sucesso + + + CREATE_ERROR + Um erro ocorreu enquanto criava grupo de usuários. + + + DELETE_ERROR + Um erro ocorreu enquanto removia grupo de usuários. + + + MODIFY_ERROR + Um erro ocorreu enquanto modificava grupo de usuários. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Este grupo contém os seguintes membros: + + + NOT_A_GROUP + Erro: Isto não é uma conta de grupo existente. + + + GROUP_DESC + Breve Descrição/pseudônimo de grupo Windows + + + GROUP_DESC_EXPL + Entre com uma breve descrição do grupo no campo abaixo. Este campo também indica o nome de grupo visto pelos clientes Windows. + + + + + IBAYS_WILL_BE_CHANGED + Os seguintes compartilhamentos foram designados para este grupo e serão trocados para o grupo Administrador (e você poderá trocá-los para qualquer coisa diferente mais tarde): + + + CONFIRM_DELETE_GROUP + Tem certeza que deseja remover este grupo?

]]>
+
+ + CURRENT_LIST + Lista atual de grupos de usuários

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..a4ddef6 --- /dev/null +++ b/root/etc/e-smith/locale/pt/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Editar Membros do Grupo + + + GROUP_TOO_LONG + Erro: nome de grupo muito longo. O máximo é de {$maxLength} caracteres. + + + ACCOUNT_CONFLICT + Erro: o grupo "{$group}" não pode ser criado porque já existe a conta {$type} com esse nome. + + + INVALID_GROUP_DESCRIPTION + Erro: caracter inesperado ou ausente na descrição do grupo + + + NO_MEMBERS + Erro: grupo sem membros. Grupo não criado. + + + CREATED_GROUP + Grupo de usuários criado com sucesso + + + DELETED_GROUP + Grupo de usuários removido com sucesso + + + MODIFIED_GROUP + Grupo de usuários modificado com sucesso + + + CREATE_ERROR + Um erro ocorreu enquanto criava grupo de usuários. + + + DELETE_ERROR + Um erro ocorreu enquanto removia grupo de usuários. + + + MODIFY_ERROR + Um erro ocorreu enquanto modificava grupo de usuários. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Este grupo contem os seguintes membros: + + + NOT_A_GROUP + Erro: Isto não é uma conta de grupo existente. + + + GROUP_DESC + Breve Descrição/Janela pseudônimo de grupo + + + GROUP_DESC_EXPL + Entre com breve descrição do grupo no campo abaixo. Este campo tambem indica nome de grupo visto na janela do cliente. + + + + + IBAYS_WILL_BE_CHANGED + Os seguintes compartilhamentos foram designados para este grupo e serão trocados para o grupo Administrador (e você poderá trocá-los para qualquer coisa diferente mais tarde): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..503ecd2 --- /dev/null +++ b/root/etc/e-smith/locale/ro/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Editeză membrii grupului + + + GROUP_TOO_LONG + Eroare: numele este prea lung. Maxim {$maxLength} caractere. + + + ACCOUNT_CONFLICT + Eroare: grupul "{$group}" nu poate fi creat deorece există deja un cont de tipul {$type} cu același nume + + + INVALID_GROUP_DESCRIPTION + Eroare: caracter neașteptat sau lipsă în descrierea grupului + + + NO_MEMBERS + Eroare: nu există nici un membru în grup. Nu s-a creat grup. + + + CREATED_GROUP + Grup creat cu succes + + + DELETED_GROUP + Grup șters cu succes + + + MODIFIED_GROUP + Grup modificat cu succes + + + CREATE_ERROR + A apărut o eroare în timpul creerii grupului. + + + DELETE_ERROR + A apărut o eroare în timpul ștergerii grupului. + + + MODIFY_ERROR + A apărut o eroare în timpul modificării grupului. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Acest grup cuprinde următorii membrii: + + + NOT_A_GROUP + Eroare: Grup inexistent. + + + GROUP_DESC + Descriere sumară/Alias de grup Windows + + + GROUP_DESC_EXPL + Introduceți o scurtă descriere în câmpul de dedesupt. Acest câmp este deasemenea numele grupului vizibil in clienții Windows + + + + + IBAYS_WILL_BE_CHANGED + Următoarele i-bay-uri erau asignate acestui grup și vor fi alocate grupului administratorilor (le puteți modifica mai târziu după dorință): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..3e33fff --- /dev/null +++ b/root/etc/e-smith/locale/ru/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Изменить членов группы + + + GROUP_TOO_LONG + Ошибка: слишком длинное имя группы. Максимум {$maxLength} символов. + + + ACCOUNT_CONFLICT + Ошибка: группа "{$group}" не может быть создана, т.к. уже есть {$type} учётная запись с таким именем. + + + INVALID_GROUP_DESCRIPTION + Ошибка: неожиданные или отсутствующие символы в описании группы + + + NO_MEMBERS + Ошибка: нет членов в группе. Новая группа не создана. + + + CREATED_GROUP + Группа пользователей успешно создана + + + DELETED_GROUP + Группа пользователей успешно удалена + + + MODIFIED_GROUP + Группа пользователей успешно изменена + + + CREATE_ERROR + Произошла ошибка при создании группы пользователей. + + + DELETE_ERROR + Произошла ошибка при удалении группы пользователей. + + + MODIFY_ERROR + Произошла ошибка при изменении группы пользователей. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Члены этой группы: + + + NOT_A_GROUP + Ошибка: Несуществующая учётная запись группы. + + + GROUP_DESC + Короткое описание/Windows псевдоним группы + + + GROUP_DESC_EXPL + Введите короткое описание в поле ниже. Это поле так же обозначает имя группы видимое Windows клиентам. + + + + + IBAYS_WILL_BE_CHANGED + Следующие информационные блоки были назначены этой группе и могут быть изменены администратором группы (вы можете изменить их на что-то еще позже): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..d51273f --- /dev/null +++ b/root/etc/e-smith/locale/sl/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Edit group members + + + GROUP_TOO_LONG + Napaka: ime skupine uporabnikov je predolgo. Maksimalna dolzina je {$maxLength} znakov. + + + ACCOUNT_CONFLICT + Napaka: skupina uporabnikov z imenom "{$group}" ne morete dodati, saj ze obstaja uporabniski racun {$type} z enakim imenom. + + + INVALID_GROUP_DESCRIPTION + Napaka: nepricakovani ali manjkajoci znak se je pojavil v polju opisa skupine + + + NO_MEMBERS + Napaka: v skupini se ni nobenega uporabnika. Nobena skupina ni bila ustvarjena. + + + CREATED_GROUP + Uporabniska skupina je bila uspesno ustvarjena + + + DELETED_GROUP + Uporabniska skupina je bila uspesno odstanjena + + + MODIFIED_GROUP + Uporabniska skupina je bila uspesno posodobljena + + + CREATE_ERROR + Pri ustvarjanju uporabniske skupine je prislo do napake. + + + DELETE_ERROR + Pri odstanjevanju uporabniske skupine je prislo do napake. + + + MODIFY_ERROR + Pri posodabljanju uporabniske skupine je prislo do napake. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Ta skupina vsebuje naslednje clane: + + + NOT_A_GROUP + Napaka: To ni obstojeca skupina uporabnikov. + + + GROUP_DESC + Kratek opis/Psevdonim za Windows skupino + + + GROUP_DESC_EXPL + Vpisite kratek opis v spodnje polje. To polje tudi predstavlja ime skupine, ki jo vidijo Windows odjemalci. + + + + + IBAYS_WILL_BE_CHANGED + Naslednji informacijski listi so dodeljeni tej skupini in bodo spremenjeni v Skrbnikovo skupino (to lahko kasneje tudi spremenite): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..222efbc --- /dev/null +++ b/root/etc/e-smith/locale/sv/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Gruppmedlemmar + + + GROUP_TOO_LONG + Fel: Gruppens namn är för långt. Maximal längd är {$maxLength} tecken. + + + ACCOUNT_CONFLICT + Fel: gruppen "{$group}" kan inte skapas eftersom det redan finns ett {$type} konto med detta namn. + + + INVALID_GROUP_DESCRIPTION + Fel: ej tillåtet eller saknat tecken i gruppbeskrivningen + + + NO_MEMBERS + Fel: Inga medlemmar i denna grupp. Skapade ingen ny grupp. + + + CREATED_GROUP + Skapade en användargrupp + + + DELETED_GROUP + Raderade användargrupp + + + MODIFIED_GROUP + Ändrade användargrupp + + + CREATE_ERROR + Ett fel inträffade vid skapandet av användargrupp. + + + DELETE_ERROR + Ett fel inträffade vid borttagning av användargrupp. + + + MODIFY_ERROR + Ett fel uppstod vid ändring av användargrupp. + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Denna grupp innehåller följande medlemmar: + + + NOT_A_GROUP + Fel: Detta är inte en existerande grupp. + + + GROUP_DESC + Kort beskrivning/Windows gruppalias + + + GROUP_DESC_EXPL + Ange en kort beskrivning i fältet nedan. Detta fält anger även gruppnamnet som syns Windows-klienter. + + + + + IBAYS_WILL_BE_CHANGED + Följande informations bay var tilldelad denna grupp och kommer att ändras till Administratörsgruppen (du kan ändra dessa till något annat efteråt): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/th/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..1b9abe3 --- /dev/null +++ b/root/etc/e-smith/locale/th/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Edit group members + + + GROUP_TOO_LONG + ข้อผิดพลาด: ชื่อกลุ่มยาวเกินไป ความยาวสูงสุดคือ {$maxLength} ตัวอักษร + + + ACCOUNT_CONFLICT + ผิดพลาด: ไม่สามารถสร้างกลุ่ม "{$group}" เนื่องจากมีบัญชีชนิด {$type} ที่มีชื่อนี้อยู่แล้ว + + + INVALID_GROUP_DESCRIPTION + ผิดพลาด: มีสามารถตีความหรือไม่มีตัวอักษรในรายละเอียดของกลุ่ม + + + NO_MEMBERS + ผิดพลาด: ไม่มีสมาชิกในกลุ่ม ไม่ได้ทำการสร้างกลุ่มใหม่ + + + CREATED_GROUP + สร้างกลุ่มผู้ใช้เสร็จสิ้นแล้ว + + + DELETED_GROUP + ลบกลุ่มผู้ใช้เสร็จสิ้นแล้ว + + + MODIFIED_GROUP + แก้ไขกลุ่มผู้ใช้เสร็จสิ้นแล้ว + + + CREATE_ERROR + เกิดข้อผิดพลาดขณะสร้างกลุ่มผู้ใช้ + + + DELETE_ERROR + เกิดข้อผิดพลาดขณะลบกลุ่มผู้ใช้ + + + MODIFY_ERROR + เกิดข้อผิดพลาดขณะแก้ไขกลุ่มผู้ใช้ + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + กลุ่มนี้มีสมาชิกต่อไปนี้: + + + NOT_A_GROUP + ผิดพลาด: ไม่มีชื่อบัญชีกลุ่มนี้อยู่ + + + GROUP_DESC + คำอธิบายโดยย่อ/Windows Group Alia + + + GROUP_DESC_EXPL + ป้อนคำอธิบายกลุ่มสั้นในช่องด้านล่าง ฟิลด์นี้ยังกำหนดชื่อกลุ่มที่จะมองเห็นโดยเครื่องลูกที่เป็นระบบ Windows + + + + + IBAYS_WILL_BE_CHANGED + information bays ที่ถูกกำหนดให้กับกลุ่มต่อไปนี้จะถูกเปลี่ยนให้เป็น "กลุ่มผู้ดูแลระบบ" (คุณสามารถเปลี่ยนให้อย่างอื่นได้ภายหลัง) + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..5cc22c5 --- /dev/null +++ b/root/etc/e-smith/locale/tr/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + Grup üyelerini düzenle + + + GROUP_TOO_LONG + Hata: grup adı çok uzun.En fazla {$maxLength} karakterden oluşmalıdır. + + + ACCOUNT_CONFLICT + Hata: "{$group}" gurubu oluşturulamıyor, {$type} hesabına ait aynı grup var. + + + INVALID_GROUP_DESCRIPTION + Hata: grup açıklamasında geçersiz karakter(ler) bulunuyor + + + NO_MEMBERS + Hata: grupta üye bulunamadı. Yeni grup oluşturulamıyor. + + + CREATED_GROUP + Kullanıcı gurubu başarıyla oluşturuldu + + + DELETED_GROUP + Kullanıcı gurubu başarıyla silindi + + + MODIFIED_GROUP + Kullanıcı gurubu başarıyla değiştirildi + + + CREATE_ERROR + Kullanıcı gurubu oluşturulurken hata oluştu + + + DELETE_ERROR + Kullanıcı gurubu silinirken hata oluştu + + + MODIFY_ERROR + Kullanıcı gurubu değiştirilirken hata oluştu + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + Bu gurubun üyeleri: + + + NOT_A_GROUP + Hata: Bu grup mevcut değil. + + + GROUP_DESC + Kısa Açıklama/Windows Grubu Takma Adı + + + GROUP_DESC_EXPL + Aşağıdaki alana kısa bir grup açıklaması giriniz. Bu alan aynı zamanda Windows istemcileri tarafından görülebilen grup adıdır. + + + + + IBAYS_WILL_BE_CHANGED + Listedeki i-bays bu guruba bağlanmıştır ve Yönetici gurubuna bağlamıştır (daha sonra bunların bağlı olduğu gurubu değiştirebilirsiniz): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..b1c3169 --- /dev/null +++ b/root/etc/e-smith/locale/zh-cn/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + 编辑组成员 + + + GROUP_TOO_LONG + 错误:组名太长,最大为{$maxLength}个字符。 + + + ACCOUNT_CONFLICT + 错误:组"{$group}"不能被删除,因为该组已有一个{$type}账号。 + + + INVALID_GROUP_DESCRIPTION + 错误:组描述中包含未知字符或缺少字符 + + + NO_MEMBERS + 错误:组中没有成员。不能创建新组。 + + + CREATED_GROUP + 已创建用户组 + + + DELETED_GROUP + 已删除用户组 + + + MODIFIED_GROUP + 已修改用户组 + + + CREATE_ERROR + 创建用户组时出错。 + + + DELETE_ERROR + 删除用户组时出错。 + + + MODIFY_ERROR + 修改用户组时出错。 + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + 这个组包含如下成员: + + + NOT_A_GROUP + 错误:那不是一个已存在的组账户。 + + + GROUP_DESC + 简介/Windows组别名 + + + GROUP_DESC_EXPL + 在下面的位置中输入一个简短的组说明,这个位置也可被Windows客户端查看。 + + + + + IBAYS_WILL_BE_CHANGED + 以下i-bay已被分配到此组,并且将被指定为管理员组(您可以稍后修改它们): + + + CONFIRM_DELETE_GROUP + Are you sure you wish to remove this group?

]]>
+
+ + CURRENT_LIST + Current list of User Groups

]]>
+
+ + DELETE_DESCRIPTION + {$group}." ]]> + +
diff --git a/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/groupmembers new file mode 100644 index 0000000..0483415 --- /dev/null +++ b/root/etc/e-smith/locale/zh-tw/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,84 @@ + + + FORM_TITLE + 編輯群組成員 + + + GROUP_TOO_LONG + 錯誤:群組名稱太長。最多 {$maxLength} 字元。 + + + ACCOUNT_CONFLICT + 錯誤:群組 "{$group}" 無法被建立,因為因為已經有相同名稱 {$type} 的帳號。 + + + INVALID_GROUP_DESCRIPTION + 錯誤:群組描述中存在未預期或遺失的字元 + + + NO_MEMBERS + 錯誤:群組中無成員。勿建立新群組。 + + + CREATED_GROUP + 成功建立使用者群組 + + + DELETED_GROUP + 成功移除使用者群組 + + + MODIFIED_GROUP + 成功變更使用者群組 + + + CREATE_ERROR + 建立使用者群組時產生錯誤 + + + DELETE_ERROR + 移除使用者群組時產生錯誤 + + + MODIFY_ERROR + 變更使用者群組時產生錯誤 + + + GROUP_NAMING + + + + GROUP_HAS_MEMBERS + 此群組包含以下成員: + + + NOT_A_GROUP + 錯誤:此非既有群組帳號。 + + + GROUP_DESC + 簡短描述/視窗群組別名 + + + GROUP_DESC_EXPL + 請於下方欄位輸入群組簡短描述。此欄位在視窗客戶端可由指定的群組名稱來檢視。 + + + + + IBAYS_WILL_BE_CHANGED + 下列訊息被指定到此群組,而且將被改成管理員群組(您隨後可修改): + + + CONFIRM_DELETE_GROUP + 您確定希望移除此群組?

]]>
+
+ + CURRENT_LIST + 即時使用者群組列表

]]>
+
+ + DELETE_DESCRIPTION + {$group}。" ]]> + +
diff --git a/root/etc/e-smith/web/functions/groupmembers b/root/etc/e-smith/web/functions/groupmembers new file mode 100755 index 0000000..58425dd --- /dev/null +++ b/root/etc/e-smith/web/functions/groupmembers @@ -0,0 +1,147 @@ +#!/usr/bin/perl -wT + +# vim: ft=xml ts=4 sw=4 et: +#---------------------------------------------------------------------- +# heading : Collaboration +# description : GROUP_MEMBERS +# navigation : 2000 2200 +#---------------------------------------------------------------------- +#---------------------------------------------------------------------- +# copyright (C) 2002-2005 Mitel Networks Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Technical support for this program is available from Mitel Networks +# Please visit our web site www.mitel.com/sme/ for details. +#---------------------------------------------------------------------- + + +use strict; +use esmith::FormMagick::Panel::groupmembers; +my $f = esmith::FormMagick::Panel::groupmembers->new(); +$f->display(); + +=head1 TESTING + + +=begin testing + +use esmith::FormMagick::Tester; +use esmith::TestUtils; +use esmith::AccountsDB; +my $panel = 'groups'; +my $panel_path = "/etc/e-smith/web/functions/".$panel; +my $ua = esmith::FormMagick::Tester->new(); + + +is (mode($panel_path), '4750', "Check permissions on script"); +ok ($ua->get_panel($panel), "ABOUT TO RUN L10N TESTS"); +is ($ua->{status}, 200, "200 OK"); +like($ua->{content}, qr/FORM_TITLE/, "Saw untranslated form title"); +ok ($ua->set_language("en"), "Set language to English"); +ok ($ua->get_panel($panel), "Get panel"); + +is ($ua->{status}, 200, "200 OK"); + +like($ua->{content}, qr/Create, remove, or change/, "Saw translated form title"); + +# Testing changes + +ok ($ua->get_panel($panel), "Testing panel retrieval"); +can_ok($ua, "field"); + +# Destructive testing: + +ok ($ua->follow('Click here to create a user group'), "Followed link to create group"); +is ($ua->{status}, 200, "200 OK" ); +can_ok($ua, "field"); +ok($ua->field('groupName' => 'aaaaaeve') , "Set GroupName"); +ok($ua->field('groupDesc' => 'sample'), "Set GroupDesc"); + +if (destruction_ok()) { + +ok ($ua->click('Create'), "Clicked create"); +is ($ua->{status}, 200, "200 OK" ); +like ($ua->{content}, qr/created user group/, "Saw create success message"); +ok ($ua->get_panel($panel), "Get panel"); +like ($ua->{content}, qr/aaaaaeve/, "Saw newly created everygroup link"); +ok ($ua->follow('Modify'), "modifying aaaaaeve"); +is ($ua->{status}, 200, "200 OK "); +ok ($ua->field('groupDesc' => 'Everyone') , "Set group desc to 'Everyone'"); + +#putting this in a test fails. why? +$ua->field('groupMembers' => 'admin'); +ok ($ua->click('Modify')); +is ($ua->{status}, 200, "200 OK"); +like ($ua->{content}, qr/Successfully/, "Saw modification success message"); +ok (my $acct = esmith::AccountsDB->open()); +ok (my $everg = $acct->get('aaaaaeve'), "Got an aaaaaeveg out of the db"); +ok ($everg->prop('Members') eq 'admin', "aaaaaeve has admin as its member"); + +ok ($ua->get_panel($panel), "Get panel"); +like ($ua->{content}, qr/aaaaaeve/, "Saw modified everygroup link"); +ok ($ua->follow('Remove'), "removing aaaaaeve"); +is ($ua->{status}, 200, "200 OK"); +ok ($ua->click('Remove')); +is ($ua->{status}, 200, "200 OK"); +like ($ua->{content}, qr/Successfully/, "Saw removal success message"); +ok ($ua->get_panel($panel), "Get panel"); +unlike ($ua->{content}, qr/aaaaaeve/, "Saw no everygroup"); +} + +=end testing + +=cut + +__DATA__ +
+ + + + + CREATE_GROUP + GROUP_NAMING + + + + + + GROUP_DESC_EXPL + + + + + + REMOVE_USER_GROUP + + + + + + + + + + + + + + + +
diff --git a/root/etc/e-smith/web/panels/manager/cgi-bin/groupmembers b/root/etc/e-smith/web/panels/manager/cgi-bin/groupmembers new file mode 120000 index 0000000..edf900e --- /dev/null +++ b/root/etc/e-smith/web/panels/manager/cgi-bin/groupmembers @@ -0,0 +1 @@ +../../../functions/groupmembers \ No newline at end of file diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/groupmembers.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/groupmembers.pm new file mode 100644 index 0000000..5a0c9b3 --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/groupmembers.pm @@ -0,0 +1,307 @@ +#!/usr/bin/perl -w + + +package esmith::FormMagick::Panel::groupmembers; + +use strict; + +use esmith::FormMagick; +use esmith::ConfigDB; +use esmith::AccountsDB; +use File::Basename; +use Exporter; +use Carp; + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw( + + show_initial + genUsers + modify_group + get_accounts_prop + get_description + get_cgi_param +); + +our $accounts = esmith::AccountsDB->open() || die "Couldn't open accounts"; +our $db = esmith::ConfigDB->open || die "Couldn't open config db"; + +our $VERSION = sprintf '%d.%03d', q$Revision: 1.38 $ =~ /: (\d+).(\d+)/; + + + +=pod + +=head1 NAME + +esmith::FormMagick::Panels::groups - useful panel functions + +=head1 SYNOPSIS + + use esmith::FormMagick::Panels::groups; + + my $panel = esmith::FormMagick::Panel::groups->new(); + $panel->display(); + +=head1 DESCRIPTION + +=cut + + +=head2 new(); + +Exactly as for esmith::FormMagick + +=begin testing + +$ENV{ESMITH_ACCOUNT_DB} = "10e-smith-base/accounts.conf"; +$ENV{ESMITH_CONFIG_DB} = "10e-smith-base/configuration.conf"; + +use_ok('esmith::FormMagick::Panel::groups'); +use vars qw($panel); +ok($panel = esmith::FormMagick::Panel::groups->new(), "Create panel object"); +isa_ok($panel, 'esmith::FormMagick::Panel::groups'); + +=end testing + +=cut + +sub new { + shift; + my $self = esmith::FormMagick->new(); + $self->{calling_package} = (caller)[0]; + bless $self; + return $self; +} + + +=head1 ACCESSORS + +=head2 get_cgi_param FM FIELD + +Returns the named CGI parameter as a string + +=cut + +sub get_cgi_param { + my $fm = shift; + my $param = shift; + + return ( $fm->{'cgi'}->param($param) ); +} + + +=head2 get_accounts_prop ITEM PROP + +A simple accessor for esmith::ConfigDB::Record::prop + +=cut + +sub get_accounts_prop { + my $fm = shift; + my $item = shift; + my $prop = shift; + + my $record = $accounts->get($item); + + if ($record) { + return $record->prop($prop); + } + else { + return ''; + } + +} + + +=head2 get_description + +Get the Description for the group named in the CGI argument "GroupName" + +=cut + +sub get_description { + my $fm = shift; + my $group = $fm->{'cgi'}->param('groupName'); + return ( $fm->get_accounts_prop( $group, 'Description' ) ); +} + +=head1 ACTION + + +=head2 show_initial FM + +Show the "start" page for this panel + +=cut + +sub show_initial () { + my $fm = shift; + my $q = $fm->{cgi}; + + my $UserName = $ENV{'REMOTE_USER'} ||''; + my $record = $accounts->get($UserName); + my $dg=$record->prop('delegatedGroups')||''; + $dg =~ s/ //g; + my @g = split(/,/, $dg); + my %delegatedGroups; + foreach my $k ( @g ) + { + $delegatedGroups{$k}=1; + } + + $q->Delete('groupName'); + + my $params = $fm->build_cgi_params(); + + my $numGroups = $accounts->groups; + + if ( $numGroups == 0 ) { + print $q->Tr($q->td( + '

' . $fm->localise("NO_GROUPS") . '

')); + + } + else { + print "" + . $fm->localise("GROUP") + . " " + . $fm->localise('DESCRIPTION') + . "" + . $fm->localise('ACTION') + . ""; + foreach my $group ( $accounts->groups() ) { + next if %delegatedGroups and not $delegatedGroups{$group->key}; + $params = $fm->build_cgi_params( $group->key ); + print "" . "" + . $group->key . "" . "" + . $group->prop('Description') . "" + . "" + . $fm->localise("MODIFY") . "" + . ""; + + } + print $q->end_table,"\n"; + } + return; +} + + +=head2 modify_group FM + +Modify a group's description and membership roster + +=cut + +sub modify_group { + + my $fm = shift; + my $q = $fm->{'cgi'}; + + my @members = $q->param('groupMembers'); + my $groupName = $q->param('groupName'); + + $accounts->get($groupName)->set_prop( 'Members', join ( ',', @members ) ); + + # Untaint groupName before use in system() + ($groupName) = ($groupName =~ /^([a-z][\-\_\.a-z0-9]*)$/); + $fm->clear_params(); + return system("/sbin/e-smith/signal-event", "group-modify", "$groupName") ? + $fm->error('MODIFY_ERROR') : $fm->success('MODIFIED_GROUP'); +} + + +=head1 UTILITY FUNCTIONS + +=head2 build_cgi_params() + +Builds a CGI query string, using various sensible +defaults and esmith::FormMagick's props_to_query_string() method. + +=cut + +sub build_cgi_params { + my ( $fm, $group ) = @_; + + my %props = ( + page => 0, + page_stack => "", + ".id" => $fm->{cgi}->param('.id') || "", + groupName => $group, + ); + + return $fm->props_to_query_string( \%props ); +} + +=head2 genUsers MEMBERS + +Takes a comma delimited list of users and returns a string of +html checkboxes for all system users with the members of the group +in $fm->{cgi}->parm('groupName')checked. + +=cut + +sub genUsers () { + my $fm = shift; + my $members = ""; + my $group = $fm->{'cgi'}->param('groupName'); + + if ($accounts->get($group)) { + $members = $accounts->get($group)->prop('Members'); + } + my %members; + foreach my $member ( split ( /,/, $members ) ) { + $members{$member} = 1; + } + my @users = sort { $a->key() cmp $b->key() } $accounts->users(); + + # include Administrator at beginning of list + + my $out = "\n " + . $fm->localise('GROUP_MEMBERS') + . "\n \n" + . " \n" + . " \n" + . " \n \n \n"; + foreach my $user (@users) { + my $checked = ""; + if ( $members{ $user->key() } ) { + $checked = "checked"; + } + my $name; + if ( $user eq 'admin' ) { $name = 'Administrator'; } + else { + $name = $user->prop('FirstName') . " " . $user->prop('LastName'); + } + + $out .=" \n" + . " \n \n \n"; + + } + + $out .= "
Administrator (admin)
key + . "\">$name (".$user->key.")
\n \n \n"; + return $out; +} + +=head2 clear_params + +This method clears-out the parameters used in form submission so that they are +not inadvertenly picked-up where they should not be. + +=cut + +sub clear_params +{ + my $self = shift; + my $q = $self->{cgi}; + + $q->delete('groupMembers'); + $q->delete('groupDesc'); + $q->delete('groupName'); +} diff --git a/smeserver-groupmembers-panel.spec b/smeserver-groupmembers-panel.spec new file mode 100644 index 0000000..3de1f6b --- /dev/null +++ b/smeserver-groupmembers-panel.spec @@ -0,0 +1,196 @@ +# $Id: smeserver-groupmembers-panel.spec,v 1.3 2021/08/22 05:13:53 terryfage Exp $ +# Authority: mweinber +# Name: Michael Weinberger + +Summary: stripped groups panel. only members can added and removed +%define name smeserver-groupmembers-panel +Name: %{name} +%define version 1.0.4 +%define release 4 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: Networking/Daemons +Source: %{name}-%{version}.tar.xz +BuildRoot: /var/tmp/%{name}-buildroot/ +BuildArch: noarch +BuildRequires: e-smith-devtools +Requires: smeserver-userpanel +Requires: smeserver-release >= 10 +Requires: e-smith-formmagick >= 1.4.0-12 +AutoReq: no + +%changelog +* Sat Sep 07 2024 cvs2git.sh aka Brian Read 1.0.4-4.sme +- Roll up patches and move to git repo [SME: 12338] + +* Sat Sep 07 2024 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Sun Aug 22 2021 Terry Fage 1.0.4-3.sme +- apply locale 2013-07-14 patch + +* Sat Mar 27 2021 Brian Read 1.0.4-2.sme +- Add Update event to createlinks [SME: 11081] + +* Sat Mar 27 2021 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + Sat May 21 2008 --> Sat May 17 2008 or Wed May 21 2008 or Sat May 24 2008 or .... + +* Wed Nov 04 2020 Michel Begue 1.0.4-1.sme +- first import for sme 10 [SME: 11081] + +* Thu Jun 09 2016 Jean-Philipe Pialasse 1.0.2-2.sme +- Add Update event to createlinks wrong module path [SME: 9562] + +* Mon Jun 16 2014 JP Pialasse 1.0.2-1.sme +- initial import to SME9 contribs + +* Sun Jul 14 2013 JP Pialasse 1.0.1-31.sme +- apply locale 2013-07-14 patch + +* Tue Mar 20 2012 SME Translation Server 1.0.1-30.el6 +- apply locale 2012-03-20 patch + +* Wed Apr 27 2011 SME Translation Server 1.0.1-29.sme +- apply locale 2011-04-27 patch + +* Sun Mar 06 2011 SME Translation Server 1.0.1-28.sme +- apply locale 2011-03-06 patch + +* Sun May 23 2010 SME Translation Server 1.0.1-27.sme +- apply locale 2010-05-23 patch + +* Tue Mar 02 2010 SME Translation Server 1.0.1-26.sme +- apply locale 2010-03-02 patch + +* Tue Oct 27 2009 SME Translation Server 1.0.1-25.sme +- apply locale 2009-10-27 patch + +* Mon Aug 24 2009 SME Translation Server 1.0.1-24.sme +- apply locale 2009-08-24 patch + +* Wed May 20 2009 SME Translation Server 1.0.1-23.sme +- apply locale 2009-05-20 patch + +* Mon Apr 27 2009 SME Translation Server 1.0.1-22.sme +- apply locale 2009-04-27 patch + +* Tue Mar 03 2009 SME Translation Server +- apply locale 2009-03-03 patch + +* Sun Mar 1 2009 Jonathan Martens 1.0.1-20 +- Apply 1 Mar 2009 locale patch [SME: 5018] + +* Sat Jan 31 2009 Jonathan Martens 1.0.1-19 +- Apply 31 Jan 2009 locale patch [SME: 4951] + +* Thu Jan 1 2009 Jonathan Martens 1.0.1-18 +- Apply 1 Jan 2009 locale patch [SME: 4900] + +* Sun Nov 30 2008 Jonathan Martens 1.0.1-17 +- Apply 30 Nov 2008 locale patch + +* Mon Nov 17 2008 Jonathan Martens 1.0.1-16 +- Apply 17 Nov 2008 locale patch + +* Wed Nov 5 2008 Jonathan Martens 1.0.1-15 +- Apply 5 Nov 2008 locale patch + +* Tue Oct 14 2008 Jonathan Martens 1.0.1-14 +- Apply 14 Oct 2008 locale patch + +* Tue Jul 1 2008 Jonathan Martens 1.0.1-13 +- Apply 1 July 2008 locale patch + +* Fri Jun 27 2008 Jonathan Martens 1.0.1-12 +- Apply 27 Jun 2008 locale patch + +* Wed May 21 2008 Jonathan Martens 1.0.1-11 + Sat May 21 2008 --> Sat May 17 2008 or Wed May 21 2008 or Sat May 24 2008 or .... +- Apply 21 May 2008 locale patch + +* Mon May 5 2008 Jonathan Martens 1.0.1-10 +- Apply 5 May 2008 locale patch + +* Sat Apr 26 2008 Jonathan Martens 1.0.1-9 +- Add common tags to e-smith-formmagick's general + +* Wed Apr 23 2008 Jonathan Martens 1.0.1-8 +- Added missing locale patch to source control +- Fixed changelog day + +* Wed Apr 23 2008 Michael Weinberger 1.0.1-7 +- Pootle fix of German locale file, 2nd + +* Wed Apr 23 2008 Michael Weinberger 1.0.1-6 +- Pootle fix of German locale file + +* Wed Apr 23 2008 Michael Weinberger 1.0.1-5 +- Fixed messed up German locale file + +* Tue Apr 22 2008 Jonathan Martens 1.0.1-4 +- Added 22 April 2008 locale patch + +* Tue Apr 1 2008 Shad L. Lords 1.0.1-3 +- Update to UTF-8 translations + +* Wed Mar 05 2008 Michael Weinberger 1.0.1-2 + Changed header description to "Group members" + +* Tue Mar 04 2008 Michael Weinberger 1.0.1-1 + Panel navigation & localization + Spec file fix + +* Fri May 04 2007 Michael Weinberger + Version 1.0.1 +- Add Update event to createlinksed German heading property +- added delegatedGroups option +* Tue Jan 23 2007 Michael Weinberger +- Initial release + +%description +A stripped groups panel. Only members can be added and removed +This panel can be delegated to users using the smeserver-userpanel + +********************************************* +* After installation run: +* /etc/e-smith/events/actions/navigation-conf +********************************************* + +By default the user can edit all groups. You can restrict the +access to a comma separeted list of groups defined defined in +property 'delegatedGroups' in the user's account record. + +Example: You want permit user 'jsixpack' to edit the group members +of the groups 'sales' and 'devel': + +db accounts setprop jsixpack delegatedGroups sales,devel + +%prep +%setup -n %{name}-%{version} + + +%build +perl createlinks + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-filelist +find $RPM_BUILD_ROOT -depth -type f -print |\ + sed -e "s@^$RPM_BUILD_ROOT@@g" \ + -e "s@^/etc/e-smith/locale/@%attr(0644,root,root) &@"\ + -e "s@^/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/@%attr(0644,root,root) &@"\ + -e "s@^/etc/e-smith/web/functions/groupmembers@%attr(0500,root,root) &@"\ + >> %{name}-%{version}-filelist +find $RPM_BUILD_ROOT -depth -type l -print |\ + sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root)