rfe: Button to Turn Admin Off on Admin Accordian (#475)

This commit is contained in:
JT Smith 2009-04-29 14:34:42 +00:00
parent ad88a1da5f
commit e98fc02e9b
5 changed files with 21 additions and 8 deletions

View file

@ -1,5 +1,6 @@
7.7.5
- Adding StoryManager.
- rfe: Button to Turn Admin Off on Admin Accordian (#475)
- fixed #10223: Calendar List View Ignores Event Permissions (dhelsten)
- fixed #10226: html2text dropping text
- fixed #10210: Generated Message-Id invalid (patch basis from tektek)

View file

@ -37,20 +37,25 @@ my $session = start(); # this line required
installStoryManagerTables($session);
sm_upgradeConfigFiles($session);
sm_updateDailyWorkflow($session);
turnOffAdmin($session);
correctEventTemplateVariables($session);
finish($session); # this line required
#----------------------------------------------------------------------------
# Describe what our function does
#sub exampleFunction {
# my $session = shift;
# print "\tWe're doing some stuff here that you should know about... " unless $quiet;
# # and here's our code
# print "DONE!\n" unless $quiet;
#}
sub turnOffAdmin {
my $session = shift;
print "\tAdding admin off link to admin console." unless $quiet;
$session->config->addToHash("adminConsole","adminConsoleOff", {
"icon" => "adminConsoleOff.gif",
"group" => "12",
"uiLevel" => 1,
"url" => "^PageUrl(\"\",op=switchOffAdmin);",
"title" => "^International(12,WebGUI);"
});
print "OK\n" unless $quiet;
}
sub installStoryManagerTables {
my ($session) = @_;

View file

@ -380,6 +380,13 @@
"title" : "^International(spectre,Spectre);",
"groupSetting" : "groupIdAdminSpectre"
},
"adminConsoleOff" : {
"icon" : "adminConsoleOff.gif",
"uiLevel" : 1,
"group" : "12",
"url" : "^PageUrl(\"\",op=switchOffAdmin);",
"title" : "^International(12,WebGUI);"
},
"contentFilters" : {
"icon" : "contentFilters.gif",
"uiLevel" : 3,

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B