POD for 3 macros, and internationalized error messages for two macros.
This commit is contained in:
parent
eb98d68777
commit
f007395c50
5 changed files with 61 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ our $I18N = {
|
|||
message => q|
|
||||
|
||||
<b>^EditableToggle; or ^EditableToggle();</b><br>
|
||||
Exactly the same as AdminToggle, except that the toggle is only displayed if the user has the rights to edit the current page. This macro takes up to three parameters. The first is a label for "Turn Admin On", the second is a label for "Turn Admin Off", and the third is the name of a template in the Macro/EditableToggle namespace to replace the default template.
|
||||
Exactly the same as AdminToggle, except that the toggle is only displayed if the user has the rights to edit the current Asset. This macro takes up to three parameters. The first is a label for "Turn Admin On", the second is a label for "Turn Admin Off", and the third is the name of a template in the Macro/EditableToggle namespace to replace the default template.
|
||||
<p>
|
||||
The following variables are available in the template:
|
||||
<p/>
|
||||
|
|
@ -28,7 +28,7 @@ The Internationalized label for turning on or off Admin (depending on the state
|
|||
<p/>
|
||||
|
||||
|,
|
||||
lastUpdated => 1112466919,
|
||||
lastUpdated => 1134799755,
|
||||
},
|
||||
|
||||
'516' => {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,11 @@ our $I18N = {
|
|||
lastUpdated => 1128838230,
|
||||
},
|
||||
|
||||
'execute error' => {
|
||||
message => q|SECURITY VIOLATION|,
|
||||
lastUpdated => 1134850023,
|
||||
},
|
||||
|
||||
'execute title' => {
|
||||
message => q|Execute Macro|,
|
||||
lastUpdated => 1112466408,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue