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)) {
|
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>';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue