anchor.diff:          undefined ->
               false
       end.
  +
  +get_templates(Context) ->
  +    SiteDir = z_path:site_dir(Context),
  +    TemplatesDir = filename:join(SiteDir, "templates"),
  +    filelib:fold_files(TemplatesDir, ".*", true,
  +                       fun(File, Acc) -> [File|Acc] end, []). 
  +
  +%% @doc Return's list of site's templates.
  +get_site_templates(Context) ->
  +    Templates = get_templates(Context),
  +    [ 
  +      ?RecordToProplists(
  +         zdt_template,
  +         #zdt_template
  +         {
  +           name=filename:basename(Filepath),
  +           origin_name=Filepath
  +         })                   
  +      || Filepath <- Templates
  +    ].
  
positive.code:          panel/2, 
           build_panels/1,
           get_config/2,
           is_address_allowed/2]).
  
      
  modules(Context) ->
  
negative.code:        has_content=true
        }.
  
  %% This function is not used, but rather 
  %% see templates/toolbar.tpl for how the templates panel works
  templates_panel(Context) ->
      #zdt_panel{
         dom_id="zdtb-tpl-templates",
         nav_title="Templates",
         nav_subtitle="Template files, variables etc",
         url="",
  