Disabled the "edit this template" functionality until it can be implemented in a more robust manner.

This commit is contained in:
JT Smith 2002-12-14 17:18:19 +00:00
parent eb91400241
commit ae01b575c8

View file

@ -1529,11 +1529,12 @@ sub template {
if (_uiLevelChecksOut($uiLevel)) { if (_uiLevelChecksOut($uiLevel)) {
$label = $label || WebGUI::International::get(356); $label = $label || WebGUI::International::get(356);
if (WebGUI::Privilege::isInGroup($session{setting}{templateManagersGroup})) { if (WebGUI::Privilege::isInGroup($session{setting}{templateManagersGroup})) {
if ($afterEdit) { #disabled until we can resolve the "new" wobject problem
$subtext = '<a href="'.WebGUI::URL::page("op=editTemplate&tid=".$value."&namespace=".$namespace #if ($afterEdit) {
."&afterEdit=" # $subtext = '<a href="'.WebGUI::URL::page("op=editTemplate&tid=".$value."&namespace=".$namespace
.WebGUI::URL::escape($afterEdit)).'">'.WebGUI::International::get(741).'</a> / '; # ."&afterEdit="
} # .WebGUI::URL::escape($afterEdit)).'">'.WebGUI::International::get(741).'</a> / ';
#}
$subtext .= '<a href="'.WebGUI::URL::page("op=listTemplates&namespace=$namespace").'">' $subtext .= '<a href="'.WebGUI::URL::page("op=listTemplates&namespace=$namespace").'">'
.WebGUI::International::get(742).'</a>'; .WebGUI::International::get(742).'</a>';
} }