def newlayout
      @item = model.new({:tpl_format=>Optimacms::Template::EXTENSION_DEFAULT, :type_id=>TemplateType::TYPE_LAYOUT})
      item_init_parent
      @item.set_basedirpath_from_parent

      @url_back = url_list
    end
def newlayout
      @item = model.new({:tpl_format=>Optimacms::Template::EXTENSION_DEFAULT, :type_id=>TemplateType::TYPE_LAYOUT})
      item_init_parent
      @item.set_basedirpath_from_parent

      @url_back = url_list
    end
layout