Run on registration and alert on new user have been converted to a single workflow.

This commit is contained in:
JT Smith 2006-03-10 03:48:23 +00:00
parent 5956fce2f1
commit 3e60294bb6
33 changed files with 315 additions and 50 deletions

View file

@ -5,7 +5,7 @@ use strict;
our $LANGUAGE = {
label => 'English',
toolbar => 'metal',
toolbar => 'shiny',
languageAbbreviation => 'en', # used by plugins such as javascript helpers and third-party perl modules
locale => 'US' # same as above
};

View file

@ -457,11 +457,6 @@ Be aware that any database links you create here will be available to all conten
lastUpdated => 1031514049
},
'536' => {
message => q|A new user named ^@; has joined the site.|,
lastUpdated => 1031514049
},
'379' => {
message => q|Group ID|,
lastUpdated => 1031514049
@ -512,11 +507,6 @@ Be aware that any database links you create here will be available to all conten
lastUpdated => 1031514049
},
'535' => {
message => q|Group To Alert On New User|,
lastUpdated => 1031514049
},
'87' => {
message => q|Edit Group|,
lastUpdated => 1031514049
@ -802,11 +792,6 @@ to add or remove users from their groups.
lastUpdated => 1036046598
},
'534' => {
message => q|Alert on new user?|,
lastUpdated => 1031514049
},
'400' => {
message => q|Prevent Proxy Caching|,
lastUpdated => 1031514049
@ -3519,16 +3504,6 @@ Optionally, if you are running a sendmail server on the same machine as WebGUI,
lastUpdated => 1120239343,
},
'534 description' => {
message => q|Should someone be alerted when a new user registers anonymously?|,
lastUpdated => 1120239343,
},
'535 description' => {
message => q|What group should be alerted when a new user registers?|,
lastUpdated => 1120239343,
},
'400 description' => {
message => q|Some companies have proxy servers that cause problems with WebGUI. If you're experiencing problems with WebGUI, and you have a proxy server, you may want to set this setting to <i>Yes</i>. Beware that WebGUI's URLs will not be as user-friendly after this feature is turned on.|,
lastUpdated => 1120239343,
@ -3550,8 +3525,8 @@ Optionally, if you are running a sendmail server on the same machine as WebGUI,
},
'559 description' => {
message => q|If there is a command line specified here, it will be executed each time a user registers anonymously.|,
lastUpdated => 1120239343,
message => q|If there is a workflow chosen here, it will be executed each time a user registers anonymously.|,
lastUpdated => 1141956483,
},
'539 description' => {

View file

@ -0,0 +1,48 @@
package WebGUI::i18n::English::Workflow_Activity_NotifyAboutUser;
our $I18N = {
'message help' => {
message => q|Type the message you want to send. Feel free to use macros for additional parameters.|,
context => q|the hover help for the message field|,
lastUpdated => 0,
},
'message' => {
message => q|Message|,
context => q|a label for the message field|,
lastUpdated => 0,
},
'subject help' => {
message => q|The subject of the message that will be sent.|,
context => q|the hover help for the subject field|,
lastUpdated => 0,
},
'subject' => {
message => q|Subject|,
context => q|a label for the subject field|,
lastUpdated => 0,
},
'to help' => {
message => q|The email address to send the message to. You may put in mutliple email addresses seperated by commas.|,
context => q|the hover help for the to field|,
lastUpdated => 0,
},
'to' => {
message => q|To|,
context => q|a label for the to field|,
lastUpdated => 0,
},
'topicName' => {
message => q|Notify About User|,
context => q|The name of this workflow activity.|,
lastUpdated => 0,
},
};
1;

View file

@ -0,0 +1,24 @@
package WebGUI::i18n::English::Workflow_Activity_RunCommandAsUser;
our $I18N = {
'command help' => {
message => q|Type the command you wish to run here. Feel free to use macros for additional parameters.|,
context => q|the hover help for the command field|,
lastUpdated => 0,
},
'command' => {
message => q|Command|,
context => q|a label for the command to be run|,
lastUpdated => 0,
},
'topicName' => {
message => q|Run Command As User|,
context => q|The name of this workflow activity.|,
lastUpdated => 0,
},
};
1;