Macro Help pruning, up to and including GroupText
This commit is contained in:
parent
5e0d948840
commit
3682e2b433
30 changed files with 14 additions and 514 deletions
|
|
@ -8,9 +8,10 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'group add title' => {
|
||||
message => q|Group Add Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
message => q|Group Add Macro Template Variables|,
|
||||
lastUpdated => 1184690370,
|
||||
},
|
||||
|
||||
'group.url' => {
|
||||
message => q|The URL with the action to add the user to the group.|,
|
||||
lastUpdated => 1149218343,
|
||||
|
|
@ -21,32 +22,6 @@ our $I18N = {
|
|||
lastUpdated => 1149218343,
|
||||
},
|
||||
|
||||
|
||||
'group add body' => {
|
||||
message => q|
|
||||
|
||||
<p><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.</p>
|
||||
|
||||
<p><b>NOTE:</b> All these conditions must be met for the link to be displayed:
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li>User must be logged in.</li>
|
||||
<li>User must not already belong to the group.</li>
|
||||
<li>The group must exist.</li>
|
||||
<li>The group must be set up to allow auto adds.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p>This Macro may not be nested inside other Macros.</p>
|
||||
|
||||
<p>These variables are available in the template:</p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1168622402,
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue