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
The URL to activate or deactivate Admin mode.

toggle.text
The Internationalized label for turning on or off Admin (depending on the state of the macro), or the text that you supply to the macro.

|, lastUpdated => 1112466919, }, '516' => { message => q|Turn Admin On!|, lastUpdated => 1031514049 }, '517' => { message => q|Turn Admin Off!|, lastUpdated => 1031514049 }, }; 1;