macro help moved into individual files
This commit is contained in:
parent
bfaf66f854
commit
13dee87a18
86 changed files with 1978 additions and 0 deletions
31
lib/WebGUI/i18n/English/GroupAdd.pm
Normal file
31
lib/WebGUI/i18n/English/GroupAdd.pm
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
package WebGUI::i18n::English::GroupAdd;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'group add title' => {
|
||||
message => q|Group Add Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'group add body' => {
|
||||
message => q|
|
||||
|
||||
<b>^GroupAdd();</b><br>
|
||||
Using this macro you can allow users to add themselves to a group. The first parameter is the name of the group this user should be added to. The second parameter is a text string for the user to click on to add themselves to this group. The third parameter allows you to specify the name of a template in the Macro/GroupAdd namespace to replace the default template. These variables are available in the template:
|
||||
<p/>
|
||||
<b>group.url</b><br/>
|
||||
The URL with the action to add the user to the group.
|
||||
<p/>
|
||||
<b>group.text</b><br/>
|
||||
The supplied text string for the user to click on.
|
||||
|
||||
<p>
|
||||
<b>NOTE:</b> If the user is not logged in, or or already belongs to the group, or the group is not set to allow auto adds, then no link will be displayed.
|
||||
<p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1112466919,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue