ашч Warning: Undefined property: stdClass::$can_deleted
This commit is contained in:
@@ -102,7 +102,7 @@ $(document).ready(function(){ldelim}
|
||||
{if $tpl->Id == 1}
|
||||
<span title="" class="topleftDir icon_sprite ico_delete_no"></span>
|
||||
{else}
|
||||
{if $tpl->can_deleted==1}
|
||||
{if isset($tpl->can_deleted) && $tpl->can_deleted==1}
|
||||
{if check_permission('template_edit')}
|
||||
<a title="{#TEMPLATES_DELETE#}" dir="{#TEMPLATES_DELETE#}" name="{#TEMPLATES_DELETE_CONF#}" href="index.php?do=templates&action=delete&Id={$tpl->Id}&cp={$sess}" class="topleftDir ConfirmDelete icon_sprite ico_delete"></a>
|
||||
{else}
|
||||
|
||||
Reference in New Issue
Block a user