anchor.diff:                          ua_class=UAClass
                       },
                       module=Mod,
  -                    erlang_module=z_template:filename_to_modulename(FP, Site),
  +                    erlang_module=ErlMod,
                       filepath=FP,
                       tag=Tag
                   },
  
positive.code:         Basename = filename:basename(Filename, Ext),
          lists:nthtail(PrefixLen, Basename).
  
      opt_erlang_module(Filename, ".erl") ->
          list_to_atom(filename:basename(Filename, ".erl"));
      opt_erlang_module(_Filename, _Ext) ->
          undefined.
  
  
  
negative.code:                             [ 
                                  begin
                                      {UAClass, RelPath} = z_user_agent:filename_split_class(F),
                                      Filepath = filename:join([Dir, Subdir, F]),
                                      #mfile{
                                          filepath=Filepath,
                                          name=RelPath,
                                          module=Module,
                                          erlang_module=case Subdir of
                                                          "templates" -> 
                                                              z_template:filename_to_modulename(Filepath, z_context:site(Context));
                                                          _ ->
                                                              undefined
                                                        end,
                                          prio=Prio,
                                          ua_class=UAClass
                                      }
  