JOIN '.$ci_table.' ci ON c.CategoryId = ci.CategoryId
WHERE (c.TreeLeft BETWEEN '.$object->GetDBField('TreeLeft').' AND '.$object->GetDBField('TreeRight').') AND (ci.ItemPrefix IN ('.$module_prefixes.'))';
var a_toolbar = new ToolBar(undefined, undefined, "'.$base_url.'#MODULE#/admin_templates/img/");
'.$this->toolbarButton('select','la_ToolTip_Save',$tabs).$this->toolbarButton('delete','la_ToolTip_Discard',$tabs).$tabs.'a_toolbar.AddButton( new ToolBarSeparator("sep1") );';
$edit_code.=$this->toolbarButton('approve','la_ToolTip_Publish',$tabs).$this->toolbarButton('decline','la_ToolTip_Decline',$tabs).$tabs.'a_toolbar.AddButton( new ToolBarSeparator("sep2") );';
WHERE (ThemeId = '.(int)$this->Application->GetVar('m_theme').') AND (FilePath = '.$this->Conn->qstr($file_path).') AND (FileName = '.$this->Conn->qstr($file_name.'.tpl').')';
return$this->Conn->GetOne($sql);
}
/**
* Creates a button for editing item in Admin Console