Temp Fix for people who are used to Content Managers being able to manage images.

This commit is contained in:
JT Smith 2002-07-31 03:35:34 +00:00
parent 21a685c0a6
commit cbb0876568
3 changed files with 18 additions and 11 deletions

View file

@ -68,7 +68,6 @@ sub _replacement {
%hash = (
'http://validator.w3.org/check?uri=http%3A%2F%2F'.$session{env}{SERVER_NAME}.
WebGUI::URL::page()=>WebGUI::International::get(399),
WebGUI::URL::page('op=listImages')=>WebGUI::International::get(394),
WebGUI::URL::page('op=viewPageTree')=>WebGUI::International::get(447),
%hash
);
@ -91,6 +90,12 @@ sub _replacement {
%hash
);
}
if (WebGUI::Privilege::isInGroup($session{setting}{groupToManageImages},$session{user}{userId})) {
%hash = (
WebGUI::URL::page('op=listImages')=>WebGUI::International::get(394),
%hash
);
}
%hash = (
WebGUI::URL::page('op=viewHelpIndex')=>WebGUI::International::get(13),
%hash