macro help moved into individual files
This commit is contained in:
parent
bfaf66f854
commit
13dee87a18
86 changed files with 1978 additions and 0 deletions
32
lib/WebGUI/i18n/English/GroupDelete.pm
Normal file
32
lib/WebGUI/i18n/English/GroupDelete.pm
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
package WebGUI::i18n::English::GroupDelete;
|
||||
|
||||
our $I18N = {
|
||||
|
||||
'group delete title' => {
|
||||
message => q|Group Delete Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
},
|
||||
|
||||
'group delete body' => {
|
||||
message => q|
|
||||
|
||||
<b>^GroupDelete();</b><br>
|
||||
Using this macro you can allow users to delete themselves from a group. The first parameter is the name of the group this user should be deleted from. The second parameter is a text string for the user to click on to delete themselves from this group. The third parameter allows you to specify the name of a template in the Macro/GroupDelete 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 the user does not belong to the group, or the group is not set to allow auto deletes, then no link will be displayed.
|
||||
<p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1112466919,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue