def reviewimport_templates
      # input
      @dirname = params[:dirname]

      # work
      @backup_basedir = Optimacms::BackupMetadata::Backup.make_backup_dir_path @dirname
      @backup_templates_dirpath = File.join(@backup_basedir, "templates")
      @analysis = Optimacms::BackupMetadata::TemplateImport.analyze_data_dir(@backup_templates_dirpath)

    end
def reviewimport_templates
      # input
      @dirname = params[:dirname]

      # work
      @backup_basedir = Optimacms::BackupMetadata::Backup.make_backup_dir_path @dirname
      @backup_templates_dirpath = File.join(@backup_basedir, "templates")
      @analysis = Optimacms::BackupMetadata::TemplateImport.analyze_data_dir(@backup_templates_dirpath)

    end
import templates