Disabled the "edit this template" functionality until it can be implemented in a more robust manner.
This commit is contained in:
parent
eb91400241
commit
ae01b575c8
1 changed files with 6 additions and 5 deletions
|
|
@ -1529,11 +1529,12 @@ sub template {
|
|||
if (_uiLevelChecksOut($uiLevel)) {
|
||||
$label = $label || WebGUI::International::get(356);
|
||||
if (WebGUI::Privilege::isInGroup($session{setting}{templateManagersGroup})) {
|
||||
if ($afterEdit) {
|
||||
$subtext = '<a href="'.WebGUI::URL::page("op=editTemplate&tid=".$value."&namespace=".$namespace
|
||||
."&afterEdit="
|
||||
.WebGUI::URL::escape($afterEdit)).'">'.WebGUI::International::get(741).'</a> / ';
|
||||
}
|
||||
#disabled until we can resolve the "new" wobject problem
|
||||
#if ($afterEdit) {
|
||||
# $subtext = '<a href="'.WebGUI::URL::page("op=editTemplate&tid=".$value."&namespace=".$namespace
|
||||
# ."&afterEdit="
|
||||
# .WebGUI::URL::escape($afterEdit)).'">'.WebGUI::International::get(741).'</a> / ';
|
||||
#}
|
||||
$subtext .= '<a href="'.WebGUI::URL::page("op=listTemplates&namespace=$namespace").'">'
|
||||
.WebGUI::International::get(742).'</a>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue