package WebGUI::i18n::English::Macro_AdminToggle;
our $I18N = {
'macroName' => {
message => q|Admin Toggle|,
lastUpdated => 1128837629,
},
'admin toggle title' => {
message => q|Admin Toggle Macro|,
lastUpdated => 1112466408,
},
'admin toggle body' => {
message => q|
^AdminToggle();
^AdminToggle([enable admin], [disable admin], [template name]);
Places a link on the page which is only visible to content managers and administrators. The link toggles on/off admin mode. You can optionally specify other messages to display like this: ^AdminToggle("Edit On","Edit Off"); This macro optionally takes a third parameter that allows you to specify an alternate template name in the Macro/AdminToggle namespace.
The following variables are available in the template:
toggle.url